recurly 3.18.0 → 3.18.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f73605b156b9fb01202aa7e645dc1b63425d93bd313066df8b15906e50c36bb6
4
- data.tar.gz: 4cd5071da40d218c08ddda384f8e6a2038c20d40d8b272899412d53cddf432ae
3
+ metadata.gz: 116deeff1797454126fb1dcdf1aa3b4c597706b801108db0fe733e03f29e2d96
4
+ data.tar.gz: 1393beaf04029829abef57a7daf685891bdf1181f32452af2d772d1bce8eb1ec
5
5
  SHA512:
6
- metadata.gz: 465e7e473d60a4c6c158bd3a373146f218da96b3dc39f07e2d844d90c0e83a68ed554f61885df1283546d17c3b56eeb537b23aea9365282e94aa99f52eae6104
7
- data.tar.gz: 51cde06f4c57df5d30aa5300e68497f7ea233257f77b1ee1a3900c43bd0a74e1abfd9511412f138dfcad5a7e0e93a154789fa55bd9f68f1e0586aa1cd2cc022c
6
+ metadata.gz: af7712df32a93b5091d892b77b5dacba27c2f6bb3fe48fffedce730b652c466c2e02e772243c5c5c43a83434490c15b172295e1df93d4287b975b36f42aeebdc
7
+ data.tar.gz: 53b2ded880393c1c81909b6d2ec7e5fc7da73827ede6b6fdd7030defa15a9f707821d28de4d8aee9951f1c99e7a80ef8d0685feaced8c330fce9dfe1ea4ef927
data/.bumpversion.cfg CHANGED
@@ -1,5 +1,5 @@
1
1
  [bumpversion]
2
- current_version = 3.18.0
2
+ current_version = 3.18.1
3
3
  parse = (?P<major>\d+)
4
4
  \.(?P<minor>\d+)
5
5
  \.(?P<patch>\d+)
data/.travis.yml CHANGED
@@ -5,6 +5,7 @@ rvm:
5
5
  - 2.5
6
6
  - 2.6
7
7
  - 2.7
8
+ - 3.0
8
9
  bundler_args: --binstubs
9
10
  before_install:
10
11
  - gem update --system
data/CHANGELOG.md CHANGED
@@ -1,8 +1,20 @@
1
1
  # Changelog
2
2
 
3
- ## [3.18.0](https://github.com/recurly/recurly-client-ruby/tree/HEAD)
3
+ ## [3.18.1](https://github.com/recurly/recurly-client-ruby/tree/HEAD)
4
4
 
5
- [Full Changelog](https://github.com/recurly/recurly-client-ruby/compare/3.17.0...HEAD)
5
+ [Full Changelog](https://github.com/recurly/recurly-client-ruby/compare/3.18.0...HEAD)
6
+
7
+ **Fixed bugs:**
8
+
9
+ - Fixing issues with ruby 3.0 [\#665](https://github.com/recurly/recurly-client-ruby/pull/665) ([douglasmiller](https://github.com/douglasmiller))
10
+
11
+ **Merged pull requests:**
12
+
13
+ - Release 3.18.1 [\#666](https://github.com/recurly/recurly-client-ruby/pull/666) ([douglasmiller](https://github.com/douglasmiller))
14
+
15
+ ## [3.18.0](https://github.com/recurly/recurly-client-ruby/tree/3.18.0) (2021-01-22)
16
+
17
+ [Full Changelog](https://github.com/recurly/recurly-client-ruby/compare/3.17.0...3.18.0)
6
18
 
7
19
  **Implemented enhancements:**
8
20
 
@@ -33,10 +45,6 @@
33
45
  - Latest Changes for 2019-10-10 \(tax\_identifier / tax\_identifier\_type\) [\#654](https://github.com/recurly/recurly-client-ruby/pull/654) ([douglasmiller](https://github.com/douglasmiller))
34
46
  - Latest Changes for 2019-10-10 [\#651](https://github.com/recurly/recurly-client-ruby/pull/651) ([douglasmiller](https://github.com/douglasmiller))
35
47
 
36
- **Fixed bugs:**
37
-
38
- - Refund API V2 Error Details [\#652](https://github.com/recurly/recurly-client-ruby/issues/652)
39
-
40
48
  **Merged pull requests:**
41
49
 
42
50
  - Release 3.16.0 [\#656](https://github.com/recurly/recurly-client-ruby/pull/656) ([douglasmiller](https://github.com/douglasmiller))
@@ -348,7 +356,7 @@
348
356
 
349
357
  ## [3.0.0.beta.4](https://github.com/recurly/recurly-client-ruby/tree/3.0.0.beta.4) (2019-04-04)
350
358
 
351
- [Full Changelog](https://github.com/recurly/recurly-client-ruby/compare/3.0.0.beta.1...3.0.0.beta.4)
359
+ [Full Changelog](https://github.com/recurly/recurly-client-ruby/compare/3.0.0.beta.3...3.0.0.beta.4)
352
360
 
353
361
  **Merged pull requests:**
354
362
 
@@ -361,6 +369,14 @@
361
369
  - \[V3\] Test more versions of ruby [\#397](https://github.com/recurly/recurly-client-ruby/pull/397) ([drewish](https://github.com/drewish))
362
370
  - Allow faraday 0.12 for compatibility with oauth2 gem [\#396](https://github.com/recurly/recurly-client-ruby/pull/396) ([drewish](https://github.com/drewish))
363
371
 
372
+ ## [3.0.0.beta.3](https://github.com/recurly/recurly-client-ruby/tree/3.0.0.beta.3) (2018-08-27)
373
+
374
+ [Full Changelog](https://github.com/recurly/recurly-client-ruby/compare/3.0.0.beta.2...3.0.0.beta.3)
375
+
376
+ ## [3.0.0.beta.2](https://github.com/recurly/recurly-client-ruby/tree/3.0.0.beta.2) (2018-07-17)
377
+
378
+ [Full Changelog](https://github.com/recurly/recurly-client-ruby/compare/3.0.0.beta.1...3.0.0.beta.2)
379
+
364
380
 
365
381
 
366
382
  \* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)*
@@ -299,7 +299,7 @@ module Recurly
299
299
  end
300
300
 
301
301
  def interpolate_path(path, **options)
302
- validate_path_parameters!(options)
302
+ validate_path_parameters!(**options)
303
303
  options.each do |k, v|
304
304
  # We need to encode the values for the url
305
305
  options[k] = ERB::Util.url_encode(v.to_s)
@@ -330,7 +330,7 @@ module Recurly
330
330
  end
331
331
  end
332
332
 
333
- def scope_by_site(path, **options)
333
+ def scope_by_site(path, options)
334
334
  if site = site_id || options[:site_id]
335
335
  # Ensure that we are only including the site_id once because the Pager operations
336
336
  # will use the cursor returned from the API which may already have these components
data/lib/recurly/pager.rb CHANGED
@@ -116,7 +116,7 @@ module Recurly
116
116
 
117
117
  def fetch_next!(options)
118
118
  path = extract_path(self.next)
119
- page = @client.send(:get, path, options)
119
+ page = @client.send(:get, path, **options)
120
120
  @data = page.data.map { |d| JSONParser.from_json(d) }
121
121
  @has_more = page.has_more
122
122
  @next = page.next
@@ -1,3 +1,3 @@
1
1
  module Recurly
2
- VERSION = "3.18.0"
2
+ VERSION = "3.18.1"
3
3
  end
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.18.0
4
+ version: 3.18.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Recurly
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-01-22 00:00:00.000000000 Z
11
+ date: 2021-02-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -293,7 +293,7 @@ metadata:
293
293
  changelog_uri: https://github.com/recurly/recurly-client-ruby/blob/master/CHANGELOG.md
294
294
  documentation_uri: https://recurly.github.io/recurly-client-ruby/
295
295
  homepage_uri: https://github.com/recurly/recurly-client-ruby
296
- source_code_uri: https://github.com/recurly/recurly-client-ruby/tree/3.18.0
296
+ source_code_uri: https://github.com/recurly/recurly-client-ruby/tree/3.18.1
297
297
  post_install_message:
298
298
  rdoc_options: []
299
299
  require_paths: