footrest 0.5.3 → 0.5.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/footrest/response_middleware.rb +2 -2
- data/lib/footrest/version.rb +1 -1
- metadata +5 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: be977a54a8e40ac5206e41dde7e61f108041caebef68dd02e70bc7729cd827a8
|
4
|
+
data.tar.gz: '0958476e1cfba7825facf00d3f72067b666a16b66babc2c6e458dccbfae2335d'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 140f2e7ec60b8841ca9148036456ef803cec9a042fdbd239094605f97ac16ecbaa9c9b3240e21594d4fd136ca4439c4c8fcc6dd211fb0e19250cfe33d8eba81a
|
7
|
+
data.tar.gz: 9770fe04f0f9ec7015bc8081c177fb17714b883ac530a7688b94652f54f052fbf6a6dbf088641a72bf2d92263c0ea32ee8339d599348b41be669346eaea2495e
|
@@ -10,8 +10,8 @@ module Footrest
|
|
10
10
|
end
|
11
11
|
|
12
12
|
# Store a Proc that receives the body and returns the parsed result.
|
13
|
-
def self.define_parser(parser = nil)
|
14
|
-
@parser = parser ||
|
13
|
+
def self.define_parser(parser = nil, &block)
|
14
|
+
@parser = parser || block
|
15
15
|
end
|
16
16
|
|
17
17
|
def self.inherited(subclass)
|
data/lib/footrest/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: footrest
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Duane Johnson
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2023-01-23 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rake
|
@@ -187,14 +187,13 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
187
187
|
- !ruby/object:Gem::Version
|
188
188
|
version: '0'
|
189
189
|
requirements: []
|
190
|
-
|
191
|
-
rubygems_version: 2.6.13
|
190
|
+
rubygems_version: 3.1.6
|
192
191
|
signing_key:
|
193
192
|
specification_version: 4
|
194
193
|
summary: REST APIs
|
195
194
|
test_files:
|
196
|
-
- spec/footrest/client_spec.rb
|
197
195
|
- spec/footrest/http_error_spec.rb
|
198
|
-
- spec/footrest/
|
196
|
+
- spec/footrest/client_spec.rb
|
199
197
|
- spec/footrest/request_spec.rb
|
198
|
+
- spec/footrest/pagination_spec.rb
|
200
199
|
- spec/spec_helper.rb
|