recurly 3.11.0 → 3.12.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: d7c4b3b9b2cedb2d4a270b6389398aee741897f30a51cfd00eae35746a3a7aeb
4
- data.tar.gz: ce7e3f717867391e5fe8166e20b99e245860e49cc771776162b2907849e0782f
3
+ metadata.gz: 6fbbc51d9581d1be4fbafd9fab7349da3899ec1e8f5671d877a50c009f7fbbd4
4
+ data.tar.gz: 0a11dc64ecf1af2c558a51f8726d73899092438e41cac6e59d62a5c18b2bfa84
5
5
  SHA512:
6
- metadata.gz: 536849cb9480c6aedee06f854acef1a3c7da72c24fddf80adefcd58e55cdbcc743b96fd20f8cda811813d946f5d77078801595903345ed58405b54f0884ba86a
7
- data.tar.gz: 926318d0ce21e23ecaadb98a9b6ad1e4403bce42bfcc7cbb09847643ba0080832612edbfe6df7edc1c98af71ca282cb7580abf00d20a32f05b1353b852cb85b1
6
+ metadata.gz: 73c0913d4674dcf603b1c8a5430a38bea1d9c5cb467ff2e901be0ff6aec290dbc1a68d245f1b6f3d6075c42f306f3cccb331f4dd43d8036a59ee62914dc364ff
7
+ data.tar.gz: d9d9ba2b0b3368edd0663f0e02d4ab1aeab803363ee928293e4c573131ae2093400178b52500f212074c02987ed6c3338da26aa7ff8a75393566b10b4a5f593d
@@ -1,5 +1,5 @@
1
1
  [bumpversion]
2
- current_version = 3.11.0
2
+ current_version = 3.12.0
3
3
  parse = (?P<major>\d+)
4
4
  \.(?P<minor>\d+)
5
5
  \.(?P<patch>\d+)
@@ -1,8 +1,21 @@
1
1
  # Changelog
2
2
 
3
- ## [3.11.0](https://github.com/recurly/recurly-client-ruby/tree/HEAD)
3
+ ## [3.12.0](https://github.com/recurly/recurly-client-ruby/tree/HEAD)
4
4
 
5
- [Full Changelog](https://github.com/recurly/recurly-client-ruby/compare/3.10.0...HEAD)
5
+ [Full Changelog](https://github.com/recurly/recurly-client-ruby/compare/3.11.0...HEAD)
6
+
7
+ **Implemented enhancements:**
8
+
9
+ - Mon Aug 31 19:44:58 UTC 2020 Upgrade API version v2019-10-10 [\#632](https://github.com/recurly/recurly-client-ruby/pull/632) ([douglasmiller](https://github.com/douglasmiller))
10
+
11
+ **Merged pull requests:**
12
+
13
+ - Release 3.12.0 [\#633](https://github.com/recurly/recurly-client-ruby/pull/633) ([douglasmiller](https://github.com/douglasmiller))
14
+ - Code of Conduct [\#631](https://github.com/recurly/recurly-client-ruby/pull/631) ([bhelx](https://github.com/bhelx))
15
+
16
+ ## [3.11.0](https://github.com/recurly/recurly-client-ruby/tree/3.11.0) (2020-08-21)
17
+
18
+ [Full Changelog](https://github.com/recurly/recurly-client-ruby/compare/3.10.0...3.11.0)
6
19
 
7
20
  **Implemented enhancements:**
8
21
 
@@ -0,0 +1,130 @@
1
+
2
+ # Contributor Covenant Code of Conduct
3
+
4
+ ## Our Pledge
5
+
6
+ We as members, contributors, and leaders pledge to make participation in our
7
+ community a harassment-free experience for everyone, regardless of age, body
8
+ size, visible or invisible disability, ethnicity, sex characteristics, gender
9
+ identity and expression, level of experience, education, socio-economic status,
10
+ nationality, personal appearance, race, religion, or sexual identity
11
+ and orientation.
12
+
13
+ We pledge to act and interact in ways that contribute to an open, welcoming,
14
+ diverse, inclusive, and healthy community.
15
+
16
+ ## Our Standards
17
+
18
+ Examples of behavior that contributes to a positive environment for our
19
+ community include:
20
+
21
+ * Demonstrating empathy and kindness toward other people
22
+ * Being respectful of differing opinions, viewpoints, and experiences
23
+ * Giving and gracefully accepting constructive feedback
24
+ * Accepting responsibility and apologizing to those affected by our mistakes,
25
+ and learning from the experience
26
+ * Focusing on what is best not just for us as individuals, but for the
27
+ overall community
28
+
29
+ Examples of unacceptable behavior include:
30
+
31
+ * The use of sexualized language or imagery, and sexual attention or
32
+ advances of any kind
33
+ * Trolling, insulting or derogatory comments, and personal or political attacks
34
+ * Public or private harassment
35
+ * Publishing others' private information, such as a physical or email
36
+ address, without their explicit permission
37
+ * Other conduct which could reasonably be considered inappropriate in a
38
+ professional setting
39
+
40
+ ## Enforcement Responsibilities
41
+
42
+ Community leaders are responsible for clarifying and enforcing our standards of
43
+ acceptable behavior and will take appropriate and fair corrective action in
44
+ response to any behavior that they deem inappropriate, threatening, offensive,
45
+ or harmful.
46
+
47
+ Community leaders have the right and responsibility to remove, edit, or reject
48
+ comments, commits, code, wiki edits, issues, and other contributions that are
49
+ not aligned to this Code of Conduct, and will communicate reasons for moderation
50
+ decisions when appropriate.
51
+
52
+ ## Scope
53
+
54
+ This Code of Conduct applies within all community spaces, and also applies when
55
+ an individual is officially representing the community in public spaces.
56
+ Examples of representing our community include using an official e-mail address,
57
+ posting via an official social media account, or acting as an appointed
58
+ representative at an online or offline event.
59
+
60
+ ## Enforcement
61
+
62
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
63
+ reported to the community leaders responsible for enforcement at
64
+ dx@recurly.com.
65
+ All complaints will be reviewed and investigated promptly and fairly.
66
+
67
+ All community leaders are obligated to respect the privacy and security of the
68
+ reporter of any incident.
69
+
70
+ ## Enforcement Guidelines
71
+
72
+ Community leaders will follow these Community Impact Guidelines in determining
73
+ the consequences for any action they deem in violation of this Code of Conduct:
74
+
75
+ ### 1. Correction
76
+
77
+ **Community Impact**: Use of inappropriate language or other behavior deemed
78
+ unprofessional or unwelcome in the community.
79
+
80
+ **Consequence**: A private, written warning from community leaders, providing
81
+ clarity around the nature of the violation and an explanation of why the
82
+ behavior was inappropriate. A public apology may be requested.
83
+
84
+ ### 2. Warning
85
+
86
+ **Community Impact**: A violation through a single incident or series
87
+ of actions.
88
+
89
+ **Consequence**: A warning with consequences for continued behavior. No
90
+ interaction with the people involved, including unsolicited interaction with
91
+ those enforcing the Code of Conduct, for a specified period of time. This
92
+ includes avoiding interactions in community spaces as well as external channels
93
+ like social media. Violating these terms may lead to a temporary or
94
+ permanent ban.
95
+
96
+ ### 3. Temporary Ban
97
+
98
+ **Community Impact**: A serious violation of community standards, including
99
+ sustained inappropriate behavior.
100
+
101
+ **Consequence**: A temporary ban from any sort of interaction or public
102
+ communication with the community for a specified period of time. No public or
103
+ private interaction with the people involved, including unsolicited interaction
104
+ with those enforcing the Code of Conduct, is allowed during this period.
105
+ Violating these terms may lead to a permanent ban.
106
+
107
+ ### 4. Permanent Ban
108
+
109
+ **Community Impact**: Demonstrating a pattern of violation of community
110
+ standards, including sustained inappropriate behavior, harassment of an
111
+ individual, or aggression toward or disparagement of classes of individuals.
112
+
113
+ **Consequence**: A permanent ban from any sort of public interaction within
114
+ the community.
115
+
116
+ ## Attribution
117
+
118
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage],
119
+ version 2.0, available at
120
+ https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
121
+
122
+ Community Impact Guidelines were inspired by [Mozilla's code of conduct
123
+ enforcement ladder](https://github.com/mozilla/diversity).
124
+
125
+ [homepage]: https://www.contributor-covenant.org
126
+
127
+ For answers to common questions about this code of conduct, see the FAQ at
128
+ https://www.contributor-covenant.org/faq. Translations are available at
129
+ https://www.contributor-covenant.org/translations.
130
+
@@ -7,6 +7,10 @@ however, we may not get to these right away. Although we try to be quick, our pr
7
7
  writing code. If you want a timely response (especially if you have an emergency), we recommend
8
8
  you contact our [official support team](https://support.recurly.com/).
9
9
 
10
+ ## Code of Conduct
11
+
12
+ Please note that this project is released with a [Contributor Code of Conduct](CODE_OF_CONDUCT.md). By participating in this project you agree to abide by its terms.
13
+
10
14
  #### Table Of Contents
11
15
 
12
16
  * [I don't want to read this whole thing, I just have a question!!!](#i-dont-want-to-read-this-whole-thing-i-just-have-a-question)
@@ -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.11'
8
+ gem 'recurly', '~> 3.12'
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.
data/README.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # Recurly
2
2
 
3
+ [![Rubygems](https://img.shields.io/static/v1?label=rubygems&message=recurly&color=purple)](https://rubygems.org/gems/recurly)
4
+ [![Contributor Covenant](https://img.shields.io/badge/Contributor%20Covenant-v2.0%20adopted-ff69b4.svg)](code_of_conduct.md)
5
+
3
6
  This repository houses the official ruby client for Recurly's V3 API.
4
7
 
5
8
  > *Note*:
@@ -67,7 +67,7 @@ module Recurly
67
67
  define_attribute :name, String
68
68
 
69
69
  # @!attribute plan_codes
70
- # @return [Array[String]] List of plan codes to which this coupon applies. See `applies_to_all_plans`
70
+ # @return [Array[String]] List of plan codes to which this coupon applies. Required if `applies_to_all_plans` is false. Overrides `applies_to_all_plans` when `applies_to_all_plans` is true.
71
71
  define_attribute :plan_codes, Array, { :item_type => String }
72
72
 
73
73
  # @!attribute redeem_by_date
@@ -18,6 +18,10 @@ module Recurly
18
18
  # @return [Array[String]] A list of coupon_codes to be redeemed on the subscription during the change. Only allowed if timeframe is now and you change something about the subscription that creates an invoice.
19
19
  define_attribute :coupon_codes, Array, { :item_type => String }
20
20
 
21
+ # @!attribute custom_fields
22
+ # @return [Array[CustomField]] The custom fields will only be altered when they are included in a request. Sending an empty array will not remove any existing values. To remove a field send the name with a null or empty value.
23
+ define_attribute :custom_fields, Array, { :item_type => :CustomField }
24
+
21
25
  # @!attribute net_terms
22
26
  # @return [Integer] Integer representing the number of days after an invoice's creation that the invoice will become past due. If an invoice's net terms are set to '0', it is due 'On Receipt' and will become past due 24 hours after it’s created. If an invoice is due net 30, it will become past due at 31 days exactly.
23
27
  define_attribute :net_terms, Integer
@@ -22,6 +22,10 @@ module Recurly
22
22
  # @return [DateTime] Created at
23
23
  define_attribute :created_at, DateTime
24
24
 
25
+ # @!attribute custom_fields
26
+ # @return [Array[CustomField]] The custom fields will only be altered when they are included in a request. Sending an empty array will not remove any existing values. To remove a field send the name with a null or empty value.
27
+ define_attribute :custom_fields, Array, { :item_type => :CustomField }
28
+
25
29
  # @!attribute deleted_at
26
30
  # @return [DateTime] Deleted at
27
31
  define_attribute :deleted_at, DateTime
@@ -22,6 +22,10 @@ module Recurly
22
22
  # @return [DateTime] Created at
23
23
  define_attribute :created_at, DateTime
24
24
 
25
+ # @!attribute custom_fields
26
+ # @return [Array[CustomField]] The custom fields will only be altered when they are included in a request. Sending an empty array will not remove any existing values. To remove a field send the name with a null or empty value.
27
+ define_attribute :custom_fields, Array, { :item_type => :CustomField }
28
+
25
29
  # @!attribute deleted_at
26
30
  # @return [DateTime] Deleted at
27
31
  define_attribute :deleted_at, DateTime
@@ -1,3 +1,3 @@
1
1
  module Recurly
2
- VERSION = "3.11.0"
2
+ VERSION = "3.12.0"
3
3
  end
@@ -15797,13 +15797,17 @@ components:
15797
15797
  applies_to_all_plans:
15798
15798
  type: boolean
15799
15799
  title: Applies to all plans?
15800
- description: The coupon is valid for all plans if true. If false then
15800
+ description: |
15801
+ The coupon is valid for all plans if true. If false then
15801
15802
  `plans` and `plans_names` will list the applicable plans.
15802
15803
  default: true
15803
15804
  plan_codes:
15804
15805
  type: array
15805
15806
  title: Plan codes
15806
- description: List of plan codes to which this coupon applies. See `applies_to_all_plans`
15807
+ description: |
15808
+ List of plan codes to which this coupon applies. Required
15809
+ if `applies_to_all_plans` is false. Overrides `applies_to_all_plans`
15810
+ when `applies_to_all_plans` is true.
15807
15811
  items:
15808
15812
  type: string
15809
15813
  duration:
@@ -19163,6 +19167,8 @@ components:
19163
19167
  invoice_collection:
19164
19168
  title: Invoice Collection
19165
19169
  "$ref": "#/components/schemas/InvoiceCollection"
19170
+ custom_fields:
19171
+ "$ref": "#/components/schemas/CustomFields"
19166
19172
  created_at:
19167
19173
  type: string
19168
19174
  format: date-time
@@ -19271,6 +19277,8 @@ components:
19271
19277
  - evenly
19272
19278
  - at_range_end
19273
19279
  - at_range_start
19280
+ custom_fields:
19281
+ "$ref": "#/components/schemas/CustomFields"
19274
19282
  po_number:
19275
19283
  type: string
19276
19284
  title: Purchase order number
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.11.0
4
+ version: 3.12.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-08-21 00:00:00.000000000 Z
11
+ date: 2020-08-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -125,6 +125,7 @@ files:
125
125
  - ".travis.yml"
126
126
  - ".yardopts"
127
127
  - CHANGELOG.md
128
+ - CODE_OF_CONDUCT.md
128
129
  - CONTRIBUTING.md
129
130
  - GETTING_STARTED.md
130
131
  - Gemfile
@@ -289,7 +290,7 @@ metadata:
289
290
  changelog_uri: https://github.com/recurly/recurly-client-ruby/blob/master/CHANGELOG.md
290
291
  documentation_uri: https://recurly.github.io/recurly-client-ruby/
291
292
  homepage_uri: https://github.com/recurly/recurly-client-ruby
292
- source_code_uri: https://github.com/recurly/recurly-client-ruby/tree/3.11.0
293
+ source_code_uri: https://github.com/recurly/recurly-client-ruby/tree/3.12.0
293
294
  post_install_message:
294
295
  rdoc_options: []
295
296
  require_paths: