recurly 4.38.0 → 4.39.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: aa823beffdec114f5d986cfb91ec4bb6a5cba19405c8cfaca99ad2e86afce539
4
- data.tar.gz: 210e3425783dce9f8fcb61e214e565341fe8baad3838010f40bce46cff32946a
3
+ metadata.gz: 9834825d05fc3ef9111a875a8fae61f5938d458f8127974130b2655e9c8aeb06
4
+ data.tar.gz: f206903d330ff561a2acb319410148bcfcd3e5824811f0ef637ddc45d9ee2c8d
5
5
  SHA512:
6
- metadata.gz: 65e58303ed5ed372250923908976d6be83697160dab1b45d499d6ef1a876d07f4b129faccf6ecb26005c1c0e18c08d80e5e16d5288731f9f600b2c3ceabaf72a
7
- data.tar.gz: 810071a34225cbb1598730a1ff16b2cf8fad9a64bd6fc3c13a09dc3c23a496f5b788daffcb06eca9da0e380ae38eef589a0cf17c5315b1227e5199cb543c90d2
6
+ metadata.gz: d2ae09ec231a22717cc08f125a0e0c89d1092c7653d04a3ad37abbb66af61589a8ce2ff46a0584d1f749184a4303f2eecb1799e08227bf1f5220e781567ef5b0
7
+ data.tar.gz: 4af28009963ed13fb24367ef7485bb92372296861af6391fa2555da4e79df605234063041fb568ff6c61dc834e082706ca1534616ad7d5d5ce6ff2a8136d27b9
data/.bumpversion.cfg CHANGED
@@ -1,5 +1,5 @@
1
1
  [bumpversion]
2
- current_version = 4.38.0
2
+ current_version = 4.39.0
3
3
  parse = (?P<major>\d+)
4
4
  \.(?P<minor>\d+)
5
5
  \.(?P<patch>\d+)
@@ -0,0 +1,27 @@
1
+ name: PR Review
2
+
3
+ on:
4
+ pull_request:
5
+ types:
6
+ - opened
7
+ - repoened
8
+ - edited
9
+ - synchronize
10
+ - labeled
11
+ - unlabeled
12
+
13
+ concurrency:
14
+ group: ${{ github.workflow }} - ${{ github.ref }}
15
+ cancel-in-progress: true
16
+
17
+ jobs:
18
+ label-checker:
19
+ runs-on: ubuntu-latest
20
+ name: Label Checker
21
+ steps:
22
+ - name: Check Labels
23
+ uses: docker://agilepathway/pull-request-label-checker:latest
24
+ with:
25
+ one_of: V4
26
+ repo_token: ${{ secrets.GITHUB_TOKEN }}
27
+
data/CHANGELOG.md CHANGED
@@ -1,5 +1,16 @@
1
1
  # Changelog
2
2
 
3
+ ## [4.39.0](https://github.com/recurly/recurly-client-ruby/tree/4.39.0) (2023-07-26)
4
+
5
+ [Full Changelog](https://github.com/recurly/recurly-client-ruby/compare/4.38.0...4.39.0)
6
+
7
+
8
+ **Merged Pull Requests**
9
+
10
+ - Generated Latest Changes for v2021-02-25 (App Management - External Subscriptions) [#859](https://github.com/recurly/recurly-client-ruby/pull/859) ([recurly-integrations](https://github.com/recurly-integrations))
11
+
12
+
13
+
3
14
  ## [4.38.0](https://github.com/recurly/recurly-client-ruby/tree/4.38.0) (2023-06-01)
4
15
 
5
16
  [Full Changelog](https://github.com/recurly/recurly-client-ruby/compare/4.37.0...4.38.0)
@@ -160,6 +171,9 @@
160
171
  [Full Changelog](https://github.com/recurly/recurly-client-ruby/compare/4.23.0...4.24.0)
161
172
 
162
173
 
174
+ **Merged Pull Requests**
175
+
176
+ - Add Webhooks::verify_signature [#794](https://github.com/recurly/recurly-client-ruby/pull/794) ([jguidry-recurly](https://github.com/jguidry-recurly))
163
177
 
164
178
 
165
179
 
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', '~> 4.38'
8
+ gem 'recurly', '~> 4.39'
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.
@@ -22,6 +22,10 @@ module Recurly
22
22
  # @return [Boolean] An indication of whether or not the external subscription will auto-renew at the expiration date.
23
23
  define_attribute :auto_renew, :Boolean
24
24
 
25
+ # @!attribute canceled_at
26
+ # @return [DateTime] When the external subscription was canceled in the external platform.
27
+ define_attribute :canceled_at, DateTime
28
+
25
29
  # @!attribute created_at
26
30
  # @return [DateTime] When the external subscription was created in Recurly.
27
31
  define_attribute :created_at, DateTime
@@ -42,6 +46,10 @@ module Recurly
42
46
  # @return [String] System-generated unique identifier for an external subscription ID, e.g. `e28zov4fw0v2`.
43
47
  define_attribute :id, String
44
48
 
49
+ # @!attribute in_grace_period
50
+ # @return [Boolean] An indication of whether or not the external subscription is in a grace period.
51
+ define_attribute :in_grace_period, :Boolean
52
+
45
53
  # @!attribute last_purchased
46
54
  # @return [DateTime] When a new billing event occurred on the external subscription in conjunction with a recent billing period, reactivation or upgrade/downgrade.
47
55
  define_attribute :last_purchased, DateTime
@@ -55,9 +63,17 @@ module Recurly
55
63
  define_attribute :quantity, Integer
56
64
 
57
65
  # @!attribute state
58
- # @return [String] External subscriptions can be active, canceled, expired, or future.
66
+ # @return [String] External subscriptions can be active, canceled, expired, or past_due.
59
67
  define_attribute :state, String
60
68
 
69
+ # @!attribute trial_ends_at
70
+ # @return [DateTime] When the external subscription trial period ends in the external platform.
71
+ define_attribute :trial_ends_at, DateTime
72
+
73
+ # @!attribute trial_started_at
74
+ # @return [DateTime] When the external subscription trial period started in the external platform.
75
+ define_attribute :trial_started_at, DateTime
76
+
61
77
  # @!attribute updated_at
62
78
  # @return [DateTime] When the external subscription was updated in Recurly.
63
79
  define_attribute :updated_at, DateTime
@@ -1,3 +1,3 @@
1
1
  module Recurly
2
- VERSION = "4.38.0"
2
+ VERSION = "4.39.0"
3
3
  end
data/openapi/api.yaml CHANGED
@@ -23765,6 +23765,12 @@ components:
23765
23765
  description: An indication of whether or not the external subscription will
23766
23766
  auto-renew at the expiration date.
23767
23767
  default: false
23768
+ in_grace_period:
23769
+ type: boolean
23770
+ title: In grace period
23771
+ description: An indication of whether or not the external subscription is
23772
+ in a grace period.
23773
+ default: false
23768
23774
  app_identifier:
23769
23775
  type: string
23770
23776
  title: App identifier
@@ -23778,18 +23784,37 @@ components:
23778
23784
  state:
23779
23785
  type: string
23780
23786
  description: External subscriptions can be active, canceled, expired, or
23781
- future.
23787
+ past_due.
23788
+ default: active
23782
23789
  activated_at:
23783
23790
  type: string
23784
23791
  format: date-time
23785
23792
  title: Activated at
23786
23793
  description: When the external subscription was activated in the external
23787
23794
  platform.
23795
+ canceled_at:
23796
+ type: string
23797
+ format: date-time
23798
+ title: Canceled at
23799
+ description: When the external subscription was canceled in the external
23800
+ platform.
23788
23801
  expires_at:
23789
23802
  type: string
23790
23803
  format: date-time
23791
23804
  title: Expires at
23792
23805
  description: When the external subscription expires in the external platform.
23806
+ trial_started_at:
23807
+ type: string
23808
+ format: date-time
23809
+ title: Trial started at
23810
+ description: When the external subscription trial period started in the
23811
+ external platform.
23812
+ trial_ends_at:
23813
+ type: string
23814
+ format: date-time
23815
+ title: Trial ends at
23816
+ description: When the external subscription trial period ends in the external
23817
+ platform.
23793
23818
  created_at:
23794
23819
  type: string
23795
23820
  format: date-time
@@ -25039,6 +25064,7 @@ components:
25039
25064
  - venmo
25040
25065
  - wire_transfer
25041
25066
  - braintree_v_zero
25067
+ - boleto
25042
25068
  CardTypeEnum:
25043
25069
  type: string
25044
25070
  enum:
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: 4.38.0
4
+ version: 4.39.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Recurly
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-06-01 00:00:00.000000000 Z
11
+ date: 2023-07-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -121,6 +121,7 @@ files:
121
121
  - ".github/ISSUE_TEMPLATE/question-or-other.md"
122
122
  - ".github/workflows/ci.yml"
123
123
  - ".github/workflows/docs.yml"
124
+ - ".github/workflows/pr-review.yml"
124
125
  - ".gitignore"
125
126
  - ".rspec"
126
127
  - ".yardopts"
@@ -344,7 +345,7 @@ metadata:
344
345
  changelog_uri: https://github.com/recurly/recurly-client-ruby/blob/master/CHANGELOG.md
345
346
  documentation_uri: https://recurly.github.io/recurly-client-ruby/
346
347
  homepage_uri: https://github.com/recurly/recurly-client-ruby
347
- source_code_uri: https://github.com/recurly/recurly-client-ruby/tree/4.38.0
348
+ source_code_uri: https://github.com/recurly/recurly-client-ruby/tree/4.39.0
348
349
  post_install_message:
349
350
  rdoc_options: []
350
351
  require_paths: