restful_resource 2.13.1 → 2.13.3

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: 7d41b3df9f2b3940094af5308e6c9d1dbcae7a591e7b2238e1407b5c4b980a18
4
- data.tar.gz: 48c54c2ca77114c110944e89f8e776e1b31a8a1c389ac93a7bb910199182e4e8
3
+ metadata.gz: f578b915d89258f07c42764c2145d2c2d312a5c433150b8ffc9aaf0928ac9afd
4
+ data.tar.gz: 474ee1332121730907f668e7f27f8e9eedd68c97039a5460be734bf8eaf32611
5
5
  SHA512:
6
- metadata.gz: bea15b2b11ab4a947b2b6a6ebe2c7712ac4e451093dd276e91f7d73c743700b5c0edf48b34433d2199bb47b29fe49c8a79a5b42bb0196053b59ce799afcf5ba8
7
- data.tar.gz: 7e7728d05b28b28b84f129b56ea41e90db3971b68d5e46a2b371643501544817e04d7b9b39c41d8c1479a102a9bfd004f157dd9ddea18ea42471d5e8274050a8
6
+ metadata.gz: 200b5161e691223658fdc487251f1136b13a099c7bc59fef225080455c40d720239d6a6924b3935edc5bcf9aa42e8668d71983955aa04c1e8e049879f170e5db
7
+ data.tar.gz: e28af4d1460c452b0a51d966e3899a0ded290dc79177d85b320d94a22b4d61a88a2a1acae1b5179021bba6c6f925b0c8d3923875a9fdbcbf8a60335dbc8f4239
data/CHANGELOG.md CHANGED
@@ -1,4 +1,13 @@
1
1
  # Changelog
2
+ 2.13.3
3
+ ---
4
+
5
+ - Added double splat operator to resolve failures when fetching data from finance app
6
+
7
+ 2.13.2
8
+ ---
9
+
10
+ - Added double splat operator to resolve failures when fetching data from other projects
2
11
 
3
12
  2.13.1
4
13
  ---
@@ -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
@@ -13,11 +13,11 @@ module RestfulResource
13
13
  with_validations(data: data) { super }
14
14
  end
15
15
 
16
- def get(*)
16
+ def get(**)
17
17
  with_validations { super }
18
18
  end
19
19
 
20
- def delete(*)
20
+ def delete(id, **)
21
21
  with_validations { super }
22
22
  end
23
23
 
@@ -1,3 +1,3 @@
1
1
  module RestfulResource
2
- VERSION = '2.13.1'.freeze
2
+ VERSION = '2.13.3'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: restful_resource
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.13.1
4
+ version: 2.13.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Santoro
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2022-09-07 00:00:00.000000000 Z
12
+ date: 2022-11-01 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler