pactas_itero 0.6.0 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (52) hide show
  1. checksums.yaml +4 -4
  2. data/.codeclimate.yml +15 -0
  3. data/.rubocop.yml +765 -0
  4. data/CHANGELOG.md +34 -1
  5. data/Gemfile +3 -1
  6. data/README.md +3 -1
  7. data/Rakefile +7 -4
  8. data/lib/pactas_itero/api/contracts.rb +12 -0
  9. data/lib/pactas_itero/api/customers.rb +2 -0
  10. data/lib/pactas_itero/api/invoices.rb +3 -2
  11. data/lib/pactas_itero/api/oauth.rb +3 -2
  12. data/lib/pactas_itero/api/orders.rb +2 -0
  13. data/lib/pactas_itero/api/rated_items.rb +10 -1
  14. data/lib/pactas_itero/api.rb +9 -7
  15. data/lib/pactas_itero/client.rb +32 -26
  16. data/lib/pactas_itero/configurable.rb +9 -8
  17. data/lib/pactas_itero/default.rb +17 -18
  18. data/lib/pactas_itero/error.rb +45 -44
  19. data/lib/pactas_itero/ext/hash/camelize_keys.rb +12 -10
  20. data/lib/pactas_itero/response/raise_error.rb +5 -5
  21. data/lib/pactas_itero/version.rb +3 -1
  22. data/lib/pactas_itero.rb +5 -3
  23. metadata +16 -83
  24. data/Gemfile.lock +0 -92
  25. data/pactas_itero.gemspec +0 -37
  26. data/spec/fixtures/bearer_token.json +0 -5
  27. data/spec/fixtures/commit_order_response.json +0 -50
  28. data/spec/fixtures/contract.json +0 -46
  29. data/spec/fixtures/contract_cancellation_preview_response.json +0 -73
  30. data/spec/fixtures/contract_termination_response.json +0 -79
  31. data/spec/fixtures/contracts.json +0 -48
  32. data/spec/fixtures/create_order_response.json +0 -17
  33. data/spec/fixtures/create_rated_item.json +0 -8
  34. data/spec/fixtures/customer.json +0 -23
  35. data/spec/fixtures/customers.json +0 -40
  36. data/spec/fixtures/invoice.json +0 -22
  37. data/spec/fixtures/invoice_download.pdf +0 -0
  38. data/spec/fixtures/invoices.json +0 -46
  39. data/spec/fixtures/order.json +0 -15
  40. data/spec/fixtures/payment_transaction.json +0 -37
  41. data/spec/fixtures/rated_items.json +0 -12
  42. data/spec/fixtures/self_service_token.json +0 -6
  43. data/spec/pactas_itero/api/contracts_spec.rb +0 -165
  44. data/spec/pactas_itero/api/customers_spec.rb +0 -229
  45. data/spec/pactas_itero/api/invoices_spec.rb +0 -103
  46. data/spec/pactas_itero/api/oauth_spec.rb +0 -44
  47. data/spec/pactas_itero/api/orders_spec.rb +0 -102
  48. data/spec/pactas_itero/api/payment_transactions_spec.rb +0 -66
  49. data/spec/pactas_itero/api/rated_items_spec.rb +0 -113
  50. data/spec/pactas_itero/client_spec.rb +0 -316
  51. data/spec/pactas_itero_spec.rb +0 -39
  52. data/spec/spec_helper.rb +0 -100
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 47ede807d9f024bbe91fe7e02c664c4cb37a91a3d3ed7e1d95e976ddb1f78c9f
4
- data.tar.gz: 78e54d2380a7f3fa107f8efcbefb78aa3f8769cc3a5953e61dcad30fc5cb65a2
3
+ metadata.gz: 993950d87b187cf5e0b54727452b031dc19ce17c75cc7163ee728648ab00391a
4
+ data.tar.gz: 8a719e09d3ddff36c4fa7c320f89032edd56074ea3df2e96a7be8226bacf6033
5
5
  SHA512:
6
- metadata.gz: cea919a09293ade0837cfdffb9dcb31a675c4ee0c3b33b38542a71b66760d308beb8ae888935a7d9cd0fbf6bcc60c2da6451c6a1e721d298fd8ec74d0504441f
7
- data.tar.gz: 3071aec00f907381d62695962f2548338de436467ba08b4fc59b14987fd2aa6c41c91aad1677dd74d11fc8652c54544fe483c50eaae6f105cdabe694b031b9e4
6
+ metadata.gz: f383857f10fba81859b5859e22b87c539c824aa1b8334107da48977f4d1fcd9ddd2efa0fd46c29086bdd38db911fd502c650a8f9e9f1ce6523c8010cef6663d0
7
+ data.tar.gz: b2692fc994d34361c98c0e4ffab9dd88860c20aae63203437ba3d7aaad452a1315d6b10a8a7cdb5961b66447654b28404ac829951b42b648b5902e43dfe68daa
data/.codeclimate.yml ADDED
@@ -0,0 +1,15 @@
1
+ ---
2
+ version: "2"
3
+ plugins:
4
+ duplication:
5
+ enabled: true
6
+ eslint:
7
+ enabled: false
8
+ fixme:
9
+ enabled: true
10
+ rubocop:
11
+ enabled: false
12
+ exclude_patterns:
13
+ - spec/**/*
14
+ - vendor/**/*
15
+ - gems/**/*