restful_resource 2.13.0 → 2.13.2

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: cec2e659ed71ca619e9330f081ea3fca44f3c8c81f99b64c61da09fdfb10eba3
4
- data.tar.gz: 3bb1d23623d56833ccd47633322b198acae8167cd60a55112fcd5e3a93f73ec4
3
+ metadata.gz: 36bbd2bfdffe77fbc26d4948c376309393f85329b5a697cdcf0b0938011cf7bf
4
+ data.tar.gz: 9c1665fe70c03b0560bfd3bb3d7704a75047da68cd881ac6778516fc5258a209
5
5
  SHA512:
6
- metadata.gz: 9c4c9daef6e98629a3cbfd5dff8def60dec64c9c9dcc2c98522a27936fffa898f8621c56dbbc535327e4560bb3481618bf3d7c450084a61cfd8b74fa92881b90
7
- data.tar.gz: 2be3a33eefb0985c586ccdd42dcbc8dce6cd0b62bc0789eab7f0fbc50d150d032da23daf8893ace5cd79b4a51d546f1ef5ffc0b4b501d909fce5cdbf5eef9395
6
+ metadata.gz: a6617def5e30de5e69bd8e95e5214c01b8ca3dd41081829adb0e8f187ffff63547751dff378f22b917945186308314c79df4049c1c0e424063b8876ba1734982
7
+ data.tar.gz: af12bbdaf7e6320171c9866f44c91942bc5e2a2db94660433ff19b2699605f18a941b96f3536274e66ad1683e1989eb4c371a6a32a08eb0712972301d7b46799
data/.circleci/config.yml CHANGED
@@ -6,17 +6,11 @@ jobs:
6
6
  ruby:
7
7
  type: string
8
8
  docker:
9
- - image: cimg/ruby:<< parameters.ruby >>
9
+ - image: 'cimg/ruby:<< parameters.ruby >>'
10
10
  steps:
11
11
  - checkout
12
12
  - run: bundle install
13
- - run:
14
- name: rspec
15
- command: |
16
- bundle exec rspec --format progress \
17
- --format RspecJunitFormatter --out test-results/rspec.xml
18
- - store_test_results:
19
- path: test-results
13
+ - run: bundle exec rspec
20
14
 
21
15
  workflows:
22
16
  version: 2
@@ -25,4 +19,4 @@ workflows:
25
19
  - test:
26
20
  matrix:
27
21
  parameters:
28
- ruby: ['2.7', '3.0']
22
+ ruby: ['2.7', '3.1']
data/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # Changelog
2
2
 
3
+ 2.13.2
4
+ ---
5
+
6
+ - Added double splat operator to resolve failures when fetching data from other projects
7
+
8
+ 2.13.1
9
+ ---
10
+
11
+ - Update activesupport requirement from ~> 6.0 to >= 6, < 8 (#152)
12
+
3
13
  2.13.0
4
14
  ---
5
15
 
@@ -110,7 +110,7 @@ module RestfulResource
110
110
  Enumerator.new do |y|
111
111
  next_page = 1
112
112
  begin
113
- resources = where(conditions.merge(page: next_page))
113
+ resources = where(**conditions.merge(page: next_page))
114
114
  resources.each do |resource|
115
115
  y << resource
116
116
  end
@@ -1,3 +1,3 @@
1
1
  module RestfulResource
2
- VERSION = '2.13.0'.freeze
2
+ VERSION = '2.13.2'.freeze
3
3
  end
@@ -26,7 +26,7 @@ Gem::Specification.new do |spec|
26
26
  spec.add_development_dependency 'rspec-its'
27
27
  spec.add_development_dependency 'rspec_junit_formatter'
28
28
 
29
- spec.add_dependency 'activesupport', '~> 6.0'
29
+ spec.add_dependency 'activesupport', '>= 6', '< 8'
30
30
  spec.add_dependency 'faraday', '~> 1.0'
31
31
  spec.add_dependency 'faraday-cdn-metrics', '~> 0.2'
32
32
  spec.add_dependency 'faraday-encoding'
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: restful_resource
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.13.0
4
+ version: 2.13.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Santoro
8
8
  - Federico Rebora
9
- autorequire:
9
+ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2021-11-05 00:00:00.000000000 Z
12
+ date: 2022-10-31 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -113,16 +113,22 @@ dependencies:
113
113
  name: activesupport
114
114
  requirement: !ruby/object:Gem::Requirement
115
115
  requirements:
116
- - - "~>"
116
+ - - ">="
117
+ - !ruby/object:Gem::Version
118
+ version: '6'
119
+ - - "<"
117
120
  - !ruby/object:Gem::Version
118
- version: '6.0'
121
+ version: '8'
119
122
  type: :runtime
120
123
  prerelease: false
121
124
  version_requirements: !ruby/object:Gem::Requirement
122
125
  requirements:
123
- - - "~>"
126
+ - - ">="
127
+ - !ruby/object:Gem::Version
128
+ version: '6'
129
+ - - "<"
124
130
  - !ruby/object:Gem::Version
125
- version: '6.0'
131
+ version: '8'
126
132
  - !ruby/object:Gem::Dependency
127
133
  name: faraday
128
134
  requirement: !ruby/object:Gem::Requirement
@@ -291,7 +297,7 @@ homepage: http://www.github.com/carwow/restful_resource
291
297
  licenses:
292
298
  - MIT
293
299
  metadata: {}
294
- post_install_message:
300
+ post_install_message:
295
301
  rdoc_options: []
296
302
  require_paths:
297
303
  - lib
@@ -306,8 +312,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
306
312
  - !ruby/object:Gem::Version
307
313
  version: '0'
308
314
  requirements: []
309
- rubygems_version: 3.1.4
310
- signing_key:
315
+ rubygems_version: 3.1.6
316
+ signing_key:
311
317
  specification_version: 4
312
318
  summary: A simple activerecord inspired rest resource base class implemented using
313
319
  rest-client