recurly 3.19.0 → 3.20.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.bumpversion.cfg +1 -1
- data/.github/workflows/ci.yml +29 -0
- data/CHANGELOG.md +12 -1
- data/GETTING_STARTED.md +1 -1
- data/lib/recurly/requests/add_on_pricing.rb +1 -1
- data/lib/recurly/requests/plan_pricing.rb +1 -1
- data/lib/recurly/requests/pricing.rb +1 -1
- data/lib/recurly/requests/subscription_change_create.rb +1 -1
- data/lib/recurly/requests/subscription_update.rb +1 -1
- data/lib/recurly/resources/account_balance_amount.rb +4 -0
- data/lib/recurly/resources/add_on_pricing.rb +1 -1
- data/lib/recurly/resources/plan_pricing.rb +1 -1
- data/lib/recurly/resources/pricing.rb +1 -1
- data/lib/recurly/resources/subscription_change.rb +1 -1
- data/lib/recurly/resources/subscription_change_preview.rb +1 -1
- data/lib/recurly/version.rb +1 -1
- data/openapi/api.yaml +21 -18
- metadata +4 -4
- data/.travis.yml +0 -16
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ed73ee37fbf904928bbca6c33b9c25a5c90480a6f273a60f16dec881c32adf7c
|
4
|
+
data.tar.gz: a8ec25c89f448f7ebe60d0634c1798a59225e3b3399400222e1293a8a369b81e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c1abc2de53c27aa6e123b064e5ab3b32fe774561fa72a827881ceaca60fb6fd09a5e39fae8431be831e263460166e9b745495e9cd1be28dcae38327581363905
|
7
|
+
data.tar.gz: 60890a7b28b38005b5139af7febb27c76320ebac313286f8b75fc0f10e5b2aa995b76d999ca741aa3244da6ed27d1ffb1aea6d92c7290aea32aa6011c65fcc6e
|
data/.bumpversion.cfg
CHANGED
@@ -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
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,16 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## [3.20.0](https://github.com/recurly/recurly-client-ruby/tree/3.20.0) (2022-06-16)
|
4
|
+
|
5
|
+
[Full Changelog](https://github.com/recurly/recurly-client-ruby/compare/3.19.0...3.20.0)
|
6
|
+
|
7
|
+
|
8
|
+
**Merged Pull Requests**
|
9
|
+
|
10
|
+
- Generated Latest Changes for v2019-10-10 [#775](https://github.com/recurly/recurly-client-ruby/pull/775) ([recurly-integrations](https://github.com/recurly-integrations))
|
11
|
+
|
12
|
+
|
13
|
+
|
3
14
|
## [3.19.0](https://github.com/recurly/recurly-client-ruby/tree/3.19.0) (2022-04-15)
|
4
15
|
|
5
16
|
[Full Changelog](https://github.com/recurly/recurly-client-ruby/compare/3.18.1...3.19.0)
|
@@ -416,7 +427,7 @@
|
|
416
427
|
|
417
428
|
**Merged Pull Requests**
|
418
429
|
|
419
|
-
- V3 Update v2018-08-09 [#460](https://github.com/recurly/recurly-client-ruby/pull/460) ([aaron-
|
430
|
+
- V3 Update v2018-08-09 [#460](https://github.com/recurly/recurly-client-ruby/pull/460) ([aaron-junot](https://github.com/aaron-junot))
|
420
431
|
- Small fixes for private beta [#458](https://github.com/recurly/recurly-client-ruby/pull/458) ([bhelx](https://github.com/bhelx))
|
421
432
|
- Use Net-http-persistent for persistent connection [#408](https://github.com/recurly/recurly-client-ruby/pull/408) ([bhelx](https://github.com/bhelx))
|
422
433
|
- Update to API 2018-06-06 [#407](https://github.com/recurly/recurly-client-ruby/pull/407) ([bhelx](https://github.com/bhelx))
|
data/GETTING_STARTED.md
CHANGED
@@ -5,7 +5,7 @@ This repository houses the official ruby client for Recurly's V3 API.
|
|
5
5
|
In your Gemfile, add `recurly` as a dependency.
|
6
6
|
|
7
7
|
```ruby
|
8
|
-
gem 'recurly', '~> 3.
|
8
|
+
gem 'recurly', '~> 3.20'
|
9
9
|
```
|
10
10
|
|
11
11
|
> *Note*: We try to follow [semantic versioning](https://semver.org/) and will only apply breaking changes to major versions.
|
@@ -11,7 +11,7 @@ module Recurly
|
|
11
11
|
define_attribute :currency, String
|
12
12
|
|
13
13
|
# @!attribute tax_inclusive
|
14
|
-
# @return [Boolean]
|
14
|
+
# @return [Boolean] This field is deprecated. Please do not use it.
|
15
15
|
define_attribute :tax_inclusive, :Boolean
|
16
16
|
|
17
17
|
# @!attribute unit_amount
|
@@ -15,7 +15,7 @@ module Recurly
|
|
15
15
|
define_attribute :setup_fee, Float
|
16
16
|
|
17
17
|
# @!attribute tax_inclusive
|
18
|
-
# @return [Boolean]
|
18
|
+
# @return [Boolean] This field is deprecated. Please do not use it.
|
19
19
|
define_attribute :tax_inclusive, :Boolean
|
20
20
|
|
21
21
|
# @!attribute unit_amount
|
@@ -11,7 +11,7 @@ module Recurly
|
|
11
11
|
define_attribute :currency, String
|
12
12
|
|
13
13
|
# @!attribute tax_inclusive
|
14
|
-
# @return [Boolean]
|
14
|
+
# @return [Boolean] This field is deprecated. Please do not use it.
|
15
15
|
define_attribute :tax_inclusive, :Boolean
|
16
16
|
|
17
17
|
# @!attribute unit_amount
|
@@ -55,7 +55,7 @@ module Recurly
|
|
55
55
|
define_attribute :shipping, :SubscriptionChangeShippingCreate
|
56
56
|
|
57
57
|
# @!attribute tax_inclusive
|
58
|
-
# @return [Boolean]
|
58
|
+
# @return [Boolean] This field is deprecated. Please do not use it.
|
59
59
|
define_attribute :tax_inclusive, :Boolean
|
60
60
|
|
61
61
|
# @!attribute timeframe
|
@@ -55,7 +55,7 @@ module Recurly
|
|
55
55
|
define_attribute :shipping, :SubscriptionShippingUpdate
|
56
56
|
|
57
57
|
# @!attribute tax_inclusive
|
58
|
-
# @return [Boolean] This field is deprecated.
|
58
|
+
# @return [Boolean] This field is deprecated. Please do not use it.
|
59
59
|
define_attribute :tax_inclusive, :Boolean
|
60
60
|
|
61
61
|
# @!attribute terms_and_conditions
|
@@ -13,6 +13,10 @@ module Recurly
|
|
13
13
|
# @!attribute currency
|
14
14
|
# @return [String] 3-letter ISO 4217 currency code.
|
15
15
|
define_attribute :currency, String
|
16
|
+
|
17
|
+
# @!attribute processing_prepayment_amount
|
18
|
+
# @return [Float] Total amount for the prepayment credit invoices in a `processing` state on the account.
|
19
|
+
define_attribute :processing_prepayment_amount, Float
|
16
20
|
end
|
17
21
|
end
|
18
22
|
end
|
@@ -11,7 +11,7 @@ module Recurly
|
|
11
11
|
define_attribute :currency, String
|
12
12
|
|
13
13
|
# @!attribute tax_inclusive
|
14
|
-
# @return [Boolean]
|
14
|
+
# @return [Boolean] This field is deprecated. Please do not use it.
|
15
15
|
define_attribute :tax_inclusive, :Boolean
|
16
16
|
|
17
17
|
# @!attribute unit_amount
|
@@ -15,7 +15,7 @@ module Recurly
|
|
15
15
|
define_attribute :setup_fee, Float
|
16
16
|
|
17
17
|
# @!attribute tax_inclusive
|
18
|
-
# @return [Boolean]
|
18
|
+
# @return [Boolean] This field is deprecated. Please do not use it.
|
19
19
|
define_attribute :tax_inclusive, :Boolean
|
20
20
|
|
21
21
|
# @!attribute unit_amount
|
@@ -11,7 +11,7 @@ module Recurly
|
|
11
11
|
define_attribute :currency, String
|
12
12
|
|
13
13
|
# @!attribute tax_inclusive
|
14
|
-
# @return [Boolean]
|
14
|
+
# @return [Boolean] This field is deprecated. Please do not use it.
|
15
15
|
define_attribute :tax_inclusive, :Boolean
|
16
16
|
|
17
17
|
# @!attribute unit_amount
|
@@ -71,7 +71,7 @@ module Recurly
|
|
71
71
|
define_attribute :subscription_id, String
|
72
72
|
|
73
73
|
# @!attribute tax_inclusive
|
74
|
-
# @return [Boolean]
|
74
|
+
# @return [Boolean] This field is deprecated. Please do not use it.
|
75
75
|
define_attribute :tax_inclusive, :Boolean
|
76
76
|
|
77
77
|
# @!attribute unit_amount
|
@@ -71,7 +71,7 @@ module Recurly
|
|
71
71
|
define_attribute :subscription_id, String
|
72
72
|
|
73
73
|
# @!attribute tax_inclusive
|
74
|
-
# @return [Boolean]
|
74
|
+
# @return [Boolean] This field is deprecated. Please do not use it.
|
75
75
|
define_attribute :tax_inclusive, :Boolean
|
76
76
|
|
77
77
|
# @!attribute unit_amount
|
data/lib/recurly/version.rb
CHANGED
data/openapi/api.yaml
CHANGED
@@ -15426,11 +15426,13 @@ components:
|
|
15426
15426
|
- ko-KR
|
15427
15427
|
- nl-BE
|
15428
15428
|
- nl-NL
|
15429
|
+
- pl-PL
|
15429
15430
|
- pt-BR
|
15430
15431
|
- pt-PT
|
15431
15432
|
- ro-RO
|
15432
15433
|
- ru-RU
|
15433
15434
|
- sk-SK
|
15435
|
+
- sv-SE
|
15434
15436
|
- tr-TR
|
15435
15437
|
- zh-CN
|
15436
15438
|
cc_emails:
|
@@ -15556,11 +15558,13 @@ components:
|
|
15556
15558
|
- ko-KR
|
15557
15559
|
- nl-BE
|
15558
15560
|
- nl-NL
|
15561
|
+
- pl-PL
|
15559
15562
|
- pt-BR
|
15560
15563
|
- pt-PT
|
15561
15564
|
- ro-RO
|
15562
15565
|
- ru-RU
|
15563
15566
|
- sk-SK
|
15567
|
+
- sv-SE
|
15564
15568
|
- tr-TR
|
15565
15569
|
- zh-CN
|
15566
15570
|
cc_emails:
|
@@ -15714,6 +15718,12 @@ components:
|
|
15714
15718
|
format: float
|
15715
15719
|
title: Amount
|
15716
15720
|
description: Total amount the account is past due.
|
15721
|
+
processing_prepayment_amount:
|
15722
|
+
type: number
|
15723
|
+
format: float
|
15724
|
+
title: Amount
|
15725
|
+
description: Total amount for the prepayment credit invoices in a `processing`
|
15726
|
+
state on the account.
|
15717
15727
|
InvoiceAddress:
|
15718
15728
|
allOf:
|
15719
15729
|
- "$ref": "#/components/schemas/Address"
|
@@ -19127,9 +19137,8 @@ components:
|
|
19127
19137
|
type: boolean
|
19128
19138
|
title: Tax Inclusive?
|
19129
19139
|
default: false
|
19130
|
-
description:
|
19131
|
-
|
19132
|
-
feature) must be enabled to use this flag.
|
19140
|
+
description: This field is deprecated. Please do not use it.
|
19141
|
+
deprecated: true
|
19133
19142
|
PlanUpdate:
|
19134
19143
|
type: object
|
19135
19144
|
properties:
|
@@ -19294,9 +19303,8 @@ components:
|
|
19294
19303
|
type: boolean
|
19295
19304
|
title: Tax Inclusive?
|
19296
19305
|
default: false
|
19297
|
-
description:
|
19298
|
-
|
19299
|
-
feature) must be enabled to use this flag.
|
19306
|
+
description: This field is deprecated. Please do not use it.
|
19307
|
+
deprecated: true
|
19300
19308
|
required:
|
19301
19309
|
- currency
|
19302
19310
|
- unit_amount
|
@@ -19318,9 +19326,8 @@ components:
|
|
19318
19326
|
type: boolean
|
19319
19327
|
title: Tax Inclusive?
|
19320
19328
|
default: false
|
19321
|
-
description:
|
19322
|
-
|
19323
|
-
feature) must be enabled to use this flag.
|
19329
|
+
description: This field is deprecated. Please do not use it.
|
19330
|
+
deprecated: true
|
19324
19331
|
required:
|
19325
19332
|
- currency
|
19326
19333
|
- unit_amount
|
@@ -20289,9 +20296,8 @@ components:
|
|
20289
20296
|
type: boolean
|
20290
20297
|
title: Tax Inclusive?
|
20291
20298
|
default: false
|
20292
|
-
description:
|
20293
|
-
|
20294
|
-
feature) must be enabled to use this flag.
|
20299
|
+
description: This field is deprecated. Please do not use it.
|
20300
|
+
deprecated: true
|
20295
20301
|
quantity:
|
20296
20302
|
type: integer
|
20297
20303
|
title: Subscription quantity
|
@@ -20401,9 +20407,8 @@ components:
|
|
20401
20407
|
type: boolean
|
20402
20408
|
title: Tax Inclusive?
|
20403
20409
|
default: false
|
20404
|
-
description:
|
20405
|
-
|
20406
|
-
feature) must be enabled to use this flag.
|
20410
|
+
description: This field is deprecated. Please do not use it.
|
20411
|
+
deprecated: true
|
20407
20412
|
quantity:
|
20408
20413
|
type: integer
|
20409
20414
|
title: Quantity
|
@@ -20862,9 +20867,7 @@ components:
|
|
20862
20867
|
type: boolean
|
20863
20868
|
title: Tax Inclusive?
|
20864
20869
|
default: false
|
20865
|
-
description: This field is deprecated.
|
20866
|
-
subscription's tax inclusivity. Use the POST subscription change route
|
20867
|
-
instead.
|
20870
|
+
description: This field is deprecated. Please do not use it.
|
20868
20871
|
deprecated: true
|
20869
20872
|
shipping:
|
20870
20873
|
"$ref": "#/components/schemas/SubscriptionShippingUpdate"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: recurly
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.20.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Recurly
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-06-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -119,10 +119,10 @@ files:
|
|
119
119
|
- ".changelog_config.yaml"
|
120
120
|
- ".github/ISSUE_TEMPLATE/bug-report.md"
|
121
121
|
- ".github/ISSUE_TEMPLATE/question-or-other.md"
|
122
|
+
- ".github/workflows/ci.yml"
|
122
123
|
- ".github/workflows/docs.yml"
|
123
124
|
- ".gitignore"
|
124
125
|
- ".rspec"
|
125
|
-
- ".travis.yml"
|
126
126
|
- ".yardopts"
|
127
127
|
- CHANGELOG.md
|
128
128
|
- CODE_OF_CONDUCT.md
|
@@ -300,7 +300,7 @@ metadata:
|
|
300
300
|
changelog_uri: https://github.com/recurly/recurly-client-ruby/blob/master/CHANGELOG.md
|
301
301
|
documentation_uri: https://recurly.github.io/recurly-client-ruby/
|
302
302
|
homepage_uri: https://github.com/recurly/recurly-client-ruby
|
303
|
-
source_code_uri: https://github.com/recurly/recurly-client-ruby/tree/3.
|
303
|
+
source_code_uri: https://github.com/recurly/recurly-client-ruby/tree/3.20.0
|
304
304
|
post_install_message:
|
305
305
|
rdoc_options: []
|
306
306
|
require_paths:
|
data/.travis.yml
DELETED
@@ -1,16 +0,0 @@
|
|
1
|
-
sudo: false
|
2
|
-
language: ruby
|
3
|
-
rvm:
|
4
|
-
- 2.4
|
5
|
-
- 2.5
|
6
|
-
- 2.6
|
7
|
-
- 2.7
|
8
|
-
- 3.0
|
9
|
-
bundler_args: --binstubs
|
10
|
-
before_install:
|
11
|
-
- sudo apt-get update && sudo apt-get install apt-transport-https ca-certificates -y && sudo update-ca-certificates
|
12
|
-
- gem update --system
|
13
|
-
- gem install bundler
|
14
|
-
dist: focal
|
15
|
-
script:
|
16
|
-
- ./scripts/test
|