recurly 3.18.1 → 3.21.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (80) hide show
  1. checksums.yaml +4 -4
  2. data/.bumpversion.cfg +1 -1
  3. data/.changelog_config.yaml +11 -0
  4. data/.github/workflows/ci.yml +29 -0
  5. data/.github/workflows/docs.yml +1 -1
  6. data/CHANGELOG.md +254 -163
  7. data/GETTING_STARTED.md +1 -1
  8. data/lib/recurly/client/operations.rb +212 -134
  9. data/lib/recurly/client.rb +5 -3
  10. data/lib/recurly/errors/api_errors.rb +2 -0
  11. data/lib/recurly/pager.rb +1 -1
  12. data/lib/recurly/requests/account_create.rb +4 -0
  13. data/lib/recurly/requests/account_purchase.rb +4 -0
  14. data/lib/recurly/requests/account_update.rb +4 -0
  15. data/lib/recurly/requests/add_on_create.rb +3 -3
  16. data/lib/recurly/requests/add_on_pricing.rb +4 -0
  17. data/lib/recurly/requests/add_on_update.rb +1 -1
  18. data/lib/recurly/requests/address.rb +1 -1
  19. data/lib/recurly/requests/billing_info_create.rb +6 -2
  20. data/lib/recurly/requests/billing_info_verify.rb +14 -0
  21. data/lib/recurly/requests/dunning_campaigns_bulk_update.rb +18 -0
  22. data/lib/recurly/requests/invoice_address.rb +1 -1
  23. data/lib/recurly/requests/invoice_collect.rb +1 -1
  24. data/lib/recurly/requests/line_item_create.rb +6 -2
  25. data/lib/recurly/requests/plan_create.rb +12 -0
  26. data/lib/recurly/requests/plan_pricing.rb +5 -1
  27. data/lib/recurly/requests/plan_ramp_interval.rb +18 -0
  28. data/lib/recurly/requests/plan_ramp_pricing.rb +18 -0
  29. data/lib/recurly/requests/plan_update.rb +8 -0
  30. data/lib/recurly/requests/pricing.rb +4 -0
  31. data/lib/recurly/requests/purchase_create.rb +1 -1
  32. data/lib/recurly/requests/shipping_address_create.rb +1 -1
  33. data/lib/recurly/requests/shipping_address_update.rb +1 -1
  34. data/lib/recurly/requests/subscription_change_billing_info_create.rb +14 -0
  35. data/lib/recurly/requests/subscription_change_create.rb +12 -0
  36. data/lib/recurly/requests/subscription_create.rb +10 -2
  37. data/lib/recurly/requests/subscription_pause.rb +1 -1
  38. data/lib/recurly/requests/subscription_purchase.rb +10 -2
  39. data/lib/recurly/requests/subscription_ramp_interval.rb +18 -0
  40. data/lib/recurly/requests/subscription_update.rb +5 -1
  41. data/lib/recurly/resources/account.rb +4 -0
  42. data/lib/recurly/resources/account_balance_amount.rb +4 -0
  43. data/lib/recurly/resources/account_mini.rb +4 -0
  44. data/lib/recurly/resources/add_on_pricing.rb +4 -0
  45. data/lib/recurly/resources/address.rb +1 -1
  46. data/lib/recurly/resources/billing_info.rb +5 -1
  47. data/lib/recurly/resources/billing_info_updated_by.rb +1 -1
  48. data/lib/recurly/resources/dunning_campaign.rb +50 -0
  49. data/lib/recurly/resources/dunning_campaigns_bulk_update_response.rb +18 -0
  50. data/lib/recurly/resources/dunning_cycle.rb +58 -0
  51. data/lib/recurly/resources/dunning_interval.rb +18 -0
  52. data/lib/recurly/resources/invoice.rb +6 -2
  53. data/lib/recurly/resources/invoice_address.rb +1 -1
  54. data/lib/recurly/resources/line_item.rb +11 -3
  55. data/lib/recurly/resources/payment_method.rb +4 -0
  56. data/lib/recurly/resources/plan.rb +12 -0
  57. data/lib/recurly/resources/plan_pricing.rb +5 -1
  58. data/lib/recurly/resources/plan_ramp_interval.rb +18 -0
  59. data/lib/recurly/resources/plan_ramp_pricing.rb +18 -0
  60. data/lib/recurly/resources/pricing.rb +4 -0
  61. data/lib/recurly/resources/shipping_address.rb +1 -1
  62. data/lib/recurly/resources/subscription.rb +12 -0
  63. data/lib/recurly/resources/subscription_change.rb +12 -0
  64. data/lib/recurly/resources/subscription_change_billing_info.rb +14 -0
  65. data/lib/recurly/resources/subscription_change_preview.rb +12 -0
  66. data/lib/recurly/resources/subscription_ramp_interval_response.rb +22 -0
  67. data/lib/recurly/resources/tax_detail.rb +26 -0
  68. data/lib/recurly/resources/tax_info.rb +4 -0
  69. data/lib/recurly/resources/transaction.rb +5 -1
  70. data/lib/recurly/version.rb +1 -1
  71. data/openapi/api.yaml +976 -162
  72. data/scripts/build +2 -2
  73. data/scripts/format +2 -2
  74. data/scripts/prepare-release +43 -29
  75. data/scripts/release +5 -20
  76. metadata +23 -10
  77. data/.github_changelog_generator +0 -8
  78. data/.travis.yml +0 -14
  79. data/scripts/bump +0 -11
  80. data/scripts/changelog +0 -14
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 116deeff1797454126fb1dcdf1aa3b4c597706b801108db0fe733e03f29e2d96
4
- data.tar.gz: 1393beaf04029829abef57a7daf685891bdf1181f32452af2d772d1bce8eb1ec
3
+ metadata.gz: b9218a6c207426f02771031f66b2f5def8e22805b4dd7e0d565909a943404bff
4
+ data.tar.gz: 3269a3003e8446cabf915d742a554eb94af0f3e6fe5511de6f602b6adf41e287
5
5
  SHA512:
6
- metadata.gz: af7712df32a93b5091d892b77b5dacba27c2f6bb3fe48fffedce730b652c466c2e02e772243c5c5c43a83434490c15b172295e1df93d4287b975b36f42aeebdc
7
- data.tar.gz: 53b2ded880393c1c81909b6d2ec7e5fc7da73827ede6b6fdd7030defa15a9f707821d28de4d8aee9951f1c99e7a80ef8d0685feaced8c330fce9dfe1ea4ef927
6
+ metadata.gz: f0dfe2d431ebbcacc24aa32c9bed1477e0ecec23235c6ed63bcfd94a2640508da40d635b30b205515c88f14d4f51f7b2e00a39f0c0fb6d36bab56730285885b5
7
+ data.tar.gz: 0b76576ac5143019670a2c69320c801ac7c47df22661b703ee393313dbac7a3b542c46e2ff5dbfb0a9a04136f0389ab934957b0d9e3427838c60ffe6b44dd5ba
data/.bumpversion.cfg CHANGED
@@ -1,5 +1,5 @@
1
1
  [bumpversion]
2
- current_version = 3.18.1
2
+ current_version = 3.21.0
3
3
  parse = (?P<major>\d+)
4
4
  \.(?P<minor>\d+)
5
5
  \.(?P<patch>\d+)
@@ -0,0 +1,11 @@
1
+ ---
2
+ owner: recurly
3
+ repo: recurly-client-ruby
4
+ tag_matcher: ^3\..*
5
+ required_issue_labels:
6
+ - V3
7
+ exclude_labels:
8
+ - bug?
9
+ - internal
10
+ - duplicate
11
+ - question
@@ -0,0 +1,29 @@
1
+ name: CI
2
+ on: [push]
3
+ concurrency:
4
+ group: ${{ github.ref }}
5
+ cancel-in-progress: true
6
+ jobs:
7
+ build:
8
+ runs-on: ubuntu-latest
9
+ name: Ruby ${{ matrix.ruby }} tests
10
+ strategy:
11
+ matrix:
12
+ ruby: [2.4, 2.5, 2.6, 2.7, 3.0]
13
+ steps:
14
+ - uses: actions/checkout@v3
15
+ - name: Setup ruby
16
+ uses: ruby/setup-ruby@v1
17
+ with:
18
+ ruby-version: ${{ matrix.ruby }}
19
+ - run: ./scripts/build
20
+ - run: ./scripts/test
21
+ buildall:
22
+ if: ${{ always() }}
23
+ runs-on: ubuntu-latest
24
+ name: Build (matrix)
25
+ needs: build
26
+ steps:
27
+ - name: Check build matrix status
28
+ if: ${{ needs.build.result != 'success' }}
29
+ run: exit 1
@@ -1,7 +1,7 @@
1
1
  on:
2
2
  release:
3
3
  types:
4
- - published
4
+ - released
5
5
  name: Documentation
6
6
  jobs:
7
7
  build: