Merge pull request #5 from allolex/add_product_resource

Add product resources
Update Coveralls badge in readme
Added Gemnasium badge
Add missing tests for Order.get
Only attributes with values should be parametrized
Add Order invoice resources and attributes

- Create Order#invoices
- Create Order::InvoiceCollection
- Create Order::Invoice
- Use DateTime for all dates
Add simple attributes to Order
Add Order#null_custom_fields
Add Order#placed_on using DateTime
Add Order#currency and Order::Currency
Fix broken members list build in Order::InvoiceCollection

I accidentally committed a class with essential code commented out.
Add Order#order_status and Order::Status
Add Order#total_value and Order::Value
Add Order#delivery and Order::DeliveryDetails
Add contact detail resources and integrate with Order

- Add Order::PartyDetails
- Add Order::Contact
- Add Order#parties
Make regexes more idiomatic and readable

- Use === when boolean return value is wanted
- Store regex in a constant
Add missing Order resources
Remove jruby support pending later investigation

Getting this error message. It appears to have something to do with DateTime or Date.

Nacre::Order.get should make a request to the correct endpoint
     Failure/Error: resource = described_class.get(range)
     NoMethodError:
       undefined method `/' for "000":String
     # ./lib/nacre/order/invoice.rb:15:in `tax_date='
     # ./lib/nacre/abstract_resource.rb:30:in `attributes='
     # ./lib/nacre/abstract_resource.rb:28:in `attributes='
     # ./lib/nacre/abstract_resource.rb:24:in `initialize'
     # ./lib/nacre/order/invoice_collection.rb:11:in `initialize'
     # ./lib/nacre/order/invoice_collection.rb:10:in `initialize'
     # ./lib/nacre/order.rb:40:in `invoices='
     # ./lib/nacre/abstract_resource.rb:30:in `attributes='
     # ./lib/nacre/abstract_resource.rb:28:in `attributes='
     # ./lib/nacre/abstract_resource.rb:24:in `initialize'
     # ./lib/nacre/abstract_resource.rb:37:in `from_json'
     # ./lib/nacre/abstract_resource.rb:43:in `get'
     # ./spec/lib/nacre/order_spec.rb:185:in `(root)'
Fix style issues detected by HoundCI
Merge pull request #8 from allolex/order_resources

Order resources