recurly 3.8.0 → 3.9.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: 5e07115aaa76b090899e7a8b3fbd473aa4c3d9b53f1a0c2e6610bb48e3cfd2c0
4
- data.tar.gz: 0e9dd8516ed793916175fb8e500894925cfe030f8fa6a3b1457420ab3b23a12f
3
+ metadata.gz: c78adbb9e018c19c91b8e026154020e76d7fff8e7ebc9baf607fadec225fb098
4
+ data.tar.gz: d7b030ca1ac7685f7e64cc0dfebd004e2d8d80e5a09d302a4c5c19eeff5ccc5e
5
5
  SHA512:
6
- metadata.gz: 1b159f6322d33ebdac54a9645c9f791c2bbbc22f42b1b398c4f478b657322f001bfc3275870918e2bca88d599d2409fdf3863a485afd0ee5e2d17c67db012362
7
- data.tar.gz: 06ed96e99e5e910accf623edd708d36bfa38d439ee4ec7b7e59cdfb8b13cba09e4061ce827e03e66144823c5cd95df4c2741e9e5dd9ee746611ba4a8ef55e817
6
+ metadata.gz: e1e5228bcb2376263a5c295bb848742961f36859f5b4f473bbbcada42b3ade93ef92630087cf9cedf008e1abd92a89bfcc937cd780ef5ecefb23603ad2c87c28
7
+ data.tar.gz: 915f88d6ef1e03e955d3e45d46920993c4f08a04539fde04d879d6d7a39c9cf6049d36e3a1c0fe570269e999006dc03e94546b708ce6474a5e935108e2aa5017
@@ -1,5 +1,5 @@
1
1
  [bumpversion]
2
- current_version = 3.8.0
2
+ current_version = 3.9.0
3
3
  parse = (?P<major>\d+)
4
4
  \.(?P<minor>\d+)
5
5
  \.(?P<patch>\d+)
@@ -1,8 +1,20 @@
1
1
  # Changelog
2
2
 
3
- ## [3.8.0](https://github.com/recurly/recurly-client-ruby/tree/HEAD)
3
+ ## [3.9.0](https://github.com/recurly/recurly-client-ruby/tree/HEAD)
4
4
 
5
- [Full Changelog](https://github.com/recurly/recurly-client-ruby/compare/3.7.0...HEAD)
5
+ [Full Changelog](https://github.com/recurly/recurly-client-ruby/compare/3.8.0...HEAD)
6
+
7
+ **Implemented enhancements:**
8
+
9
+ - Mon Jul 6 14:48:05 UTC 2020 Upgrade API version v2019-10-10 [\#608](https://github.com/recurly/recurly-client-ruby/pull/608) ([douglasmiller](https://github.com/douglasmiller))
10
+
11
+ **Merged pull requests:**
12
+
13
+ - Release 3.9.0 [\#609](https://github.com/recurly/recurly-client-ruby/pull/609) ([douglasmiller](https://github.com/douglasmiller))
14
+
15
+ ## [3.8.0](https://github.com/recurly/recurly-client-ruby/tree/3.8.0) (2020-07-01)
16
+
17
+ [Full Changelog](https://github.com/recurly/recurly-client-ruby/compare/3.7.0...3.8.0)
6
18
 
7
19
  **Implemented enhancements:**
8
20
 
@@ -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'
8
+ gem 'recurly', '~> 3.9'
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 :add_on_source, String
12
12
 
13
13
  # @!attribute code
14
- # @return [String] Add-on code
14
+ # @return [String] If `add_on_source` is set to `plan_add_on` or left blank, then plan's add-on `code` should be used. If `add_on_source` is set to `item`, then the `code` from the associated item should be used.
15
15
  define_attribute :code, String
16
16
 
17
17
  # @!attribute quantity
@@ -6,8 +6,12 @@ module Recurly
6
6
  module Requests
7
7
  class SubscriptionAddOnUpdate < Request
8
8
 
9
+ # @!attribute add_on_source
10
+ # @return [String] Used to determine where the associated add-on data is pulled from. If this value is set to `plan_add_on` or left blank, then add_on data will be pulled from the plan's add-ons. If the associated `plan` has `allow_any_item_on_subscriptions` set to `true` and this field is set to `item`, then the associated add-on data will be pulled from the site's item catalog.
11
+ define_attribute :add_on_source, String
12
+
9
13
  # @!attribute code
10
- # @return [String] If a code is provided without an id, the subscription add-on attributes will be set to the current value for those attributes on the plan add-on unless provided in the request.
14
+ # @return [String] If a code is provided without an id, the subscription add-on attributes will be set to the current value for those attributes on the plan add-on unless provided in the request. If `add_on_source` is set to `plan_add_on` or left blank, then plan's add-on `code` should be used. If `add_on_source` is set to `item`, then the `code` from the associated item should be used.
11
15
  define_attribute :code, String
12
16
 
13
17
  # @!attribute id
@@ -1,3 +1,3 @@
1
1
  module Recurly
2
- VERSION = "3.8.0"
2
+ VERSION = "3.9.0"
3
3
  end
@@ -17948,6 +17948,9 @@ components:
17948
17948
  `plan` has `allow_any_item_on_subscriptions` set to `true` and this field is set to `item`, then
17949
17949
  the associated add-on data will be pulled from the site's item catalog.
17950
17950
  default: plan_add_on
17951
+ enum:
17952
+ - plan_add_on
17953
+ - item
17951
17954
  quantity:
17952
17955
  type: integer
17953
17956
  title: Add-on quantity
@@ -18001,6 +18004,9 @@ components:
18001
18004
  type: string
18002
18005
  title: Add-on code
18003
18006
  maxLength: 50
18007
+ description: |
18008
+ If `add_on_source` is set to `plan_add_on` or left blank, then plan's add-on `code` should be used.
18009
+ If `add_on_source` is set to `item`, then the `code` from the associated item should be used.
18004
18010
  add_on_source:
18005
18011
  type: string
18006
18012
  title: Add-on source
@@ -18010,6 +18016,9 @@ components:
18010
18016
  `plan` has `allow_any_item_on_subscriptions` set to `true` and this field is set to `item`, then
18011
18017
  the associated add-on data will be pulled from the site's item catalog.
18012
18018
  default: plan_add_on
18019
+ enum:
18020
+ - plan_add_on
18021
+ - item
18013
18022
  quantity:
18014
18023
  type: integer
18015
18024
  title: Quantity
@@ -18061,7 +18070,21 @@ components:
18061
18070
  description: |
18062
18071
  If a code is provided without an id, the subscription add-on attributes
18063
18072
  will be set to the current value for those attributes on the plan add-on
18064
- unless provided in the request.
18073
+ unless provided in the request. If `add_on_source` is set to `plan_add_on`
18074
+ or left blank, then plan's add-on `code` should be used. If `add_on_source`
18075
+ is set to `item`, then the `code` from the associated item should be used.
18076
+ add_on_source:
18077
+ type: string
18078
+ title: Add-on source
18079
+ description: |
18080
+ Used to determine where the associated add-on data is pulled from. If this value is set to
18081
+ `plan_add_on` or left blank, then add_on data will be pulled from the plan's add-ons. If the associated
18082
+ `plan` has `allow_any_item_on_subscriptions` set to `true` and this field is set to `item`, then
18083
+ the associated add-on data will be pulled from the site's item catalog.
18084
+ default: plan_add_on
18085
+ enum:
18086
+ - plan_add_on
18087
+ - item
18065
18088
  quantity:
18066
18089
  type: integer
18067
18090
  title: Quantity
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.8.0
4
+ version: 3.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Recurly
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-07-01 00:00:00.000000000 Z
11
+ date: 2020-07-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -284,7 +284,7 @@ metadata:
284
284
  changelog_uri: https://github.com/recurly/recurly-client-ruby/blob/master/CHANGELOG.md
285
285
  documentation_uri: https://recurly.github.io/recurly-client-ruby/
286
286
  homepage_uri: https://github.com/recurly/recurly-client-ruby
287
- source_code_uri: https://github.com/recurly/recurly-client-ruby/tree/3.8.0
287
+ source_code_uri: https://github.com/recurly/recurly-client-ruby/tree/3.9.0
288
288
  post_install_message:
289
289
  rdoc_options: []
290
290
  require_paths: