pactas_itero 0.7.0 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (54) hide show
  1. checksums.yaml +4 -4
  2. data/.codeclimate.yml +15 -0
  3. data/.rubocop.yml +765 -0
  4. data/CHANGELOG.md +15 -0
  5. data/Gemfile +2 -0
  6. data/Rakefile +3 -0
  7. data/lib/pactas_itero/api/contracts.rb +7 -0
  8. data/lib/pactas_itero/api/customers.rb +2 -0
  9. data/lib/pactas_itero/api/invoices.rb +2 -0
  10. data/lib/pactas_itero/api/oauth.rb +2 -0
  11. data/lib/pactas_itero/api/orders.rb +2 -0
  12. data/lib/pactas_itero/api/rated_items.rb +11 -2
  13. data/lib/pactas_itero/api.rb +2 -0
  14. data/lib/pactas_itero/client.rb +11 -9
  15. data/lib/pactas_itero/configurable.rb +8 -6
  16. data/lib/pactas_itero/default.rb +7 -5
  17. data/lib/pactas_itero/error.rb +39 -35
  18. data/lib/pactas_itero/ext/hash/camelize_keys.rb +6 -3
  19. data/lib/pactas_itero/response/raise_error.rb +3 -1
  20. data/lib/pactas_itero/version.rb +3 -1
  21. data/lib/pactas_itero.rb +3 -1
  22. metadata +11 -83
  23. data/Gemfile.lock +0 -112
  24. data/bin/setup +0 -7
  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_changes.json +0 -22
  31. data/spec/fixtures/contract_termination_response.json +0 -79
  32. data/spec/fixtures/contracts.json +0 -48
  33. data/spec/fixtures/create_order_response.json +0 -17
  34. data/spec/fixtures/create_rated_item.json +0 -8
  35. data/spec/fixtures/customer.json +0 -23
  36. data/spec/fixtures/customers.json +0 -40
  37. data/spec/fixtures/invoice.json +0 -22
  38. data/spec/fixtures/invoice_download.pdf +0 -0
  39. data/spec/fixtures/invoices.json +0 -46
  40. data/spec/fixtures/order.json +0 -15
  41. data/spec/fixtures/payment_transaction.json +0 -37
  42. data/spec/fixtures/rated_items.json +0 -12
  43. data/spec/fixtures/self_service_token.json +0 -6
  44. data/spec/pactas_itero/api/contracts_spec.rb +0 -193
  45. data/spec/pactas_itero/api/customers_spec.rb +0 -231
  46. data/spec/pactas_itero/api/invoices_spec.rb +0 -103
  47. data/spec/pactas_itero/api/oauth_spec.rb +0 -44
  48. data/spec/pactas_itero/api/orders_spec.rb +0 -102
  49. data/spec/pactas_itero/api/payment_transactions_spec.rb +0 -66
  50. data/spec/pactas_itero/api/rated_items_spec.rb +0 -113
  51. data/spec/pactas_itero/client_spec.rb +0 -312
  52. data/spec/pactas_itero_spec.rb +0 -37
  53. data/spec/spec_helper.rb +0 -100
  54. data/yarn-error.log +0 -43
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1c640237f33f075e2b01065f84283d9a8c68a95badd3816ee0aaa908401037b8
4
- data.tar.gz: b373eb25ecad679c10529e6072b15757a39c4bd33337784cba586b4ad1ae163d
3
+ metadata.gz: 993950d87b187cf5e0b54727452b031dc19ce17c75cc7163ee728648ab00391a
4
+ data.tar.gz: 8a719e09d3ddff36c4fa7c320f89032edd56074ea3df2e96a7be8226bacf6033
5
5
  SHA512:
6
- metadata.gz: f5b1565b63af992bbc298f3113d0abc997a6fc0e475181edd03be4d1043273da6cdaa9b5b5a825be245ab836ce3ba2ba24badae369436c941b5b0a3c651844a0
7
- data.tar.gz: f425d601137f812f8468de3484c9fc4754901db3bedba5b342a755b2924dae92b6dd19263e90e6ba25ec17f527055d3cea799836028a3e619a04a14795bace36
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/**/*