async-rest 0.16.0 → 0.17.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/lib/async/rest/representation.rb +1 -1
- data/lib/async/rest/version.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +1 -1
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b8b711b28f3b500c7d4cf7730fb6a91d210b2e03b6a8f4b3af26aaf71124a2ed
|
4
|
+
data.tar.gz: 52f0a4d55f68c67a3e0947e333c186a66c775dc0b1784217932ae9abdac5d2fa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ad395d69a4c5db1ef31f7a59182e07045a82e028553f95efe11355668c061107e98fc8e5c7c957c85b876d283cab47f3f1d28771042a91aed242d7ee44f6df91
|
7
|
+
data.tar.gz: 186cc200fbdc8c16ffccb89300f80fd8e58ee34af6cafa3d0165291d032553626eb2c58369d22de6b2522c44a9d198e188c918b316ba194a95423d1d42e5364a
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
@@ -47,7 +47,7 @@ module Async
|
|
47
47
|
# @returns [Representation] the representation of the resource.
|
48
48
|
def self.for(resource, response, &block)
|
49
49
|
if block_given?
|
50
|
-
return yield(
|
50
|
+
return yield(resource, response, self)
|
51
51
|
else
|
52
52
|
return self.new(resource, value: response.read, metadata: response.headers)
|
53
53
|
end
|
data/lib/async/rest/version.rb
CHANGED
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
metadata.gz.sig
CHANGED
Binary file
|