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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 26ab0148b98834201d42e7055654d043077bad78b227d2524f1debff48175654
4
- data.tar.gz: 99fde3b0d62ecca89557ad7bc5161d9fa1396cea16d0ca1885fd76e0d87f22d0
3
+ metadata.gz: b8b711b28f3b500c7d4cf7730fb6a91d210b2e03b6a8f4b3af26aaf71124a2ed
4
+ data.tar.gz: 52f0a4d55f68c67a3e0947e333c186a66c775dc0b1784217932ae9abdac5d2fa
5
5
  SHA512:
6
- metadata.gz: c42fb4730717aa2e916aef02d9fa4ba310acaf6c2a35f6a6f721f4bf9b655196fc09c44ebeedd50bdbba529a823114068d29a4fb9b624c59a7386b9464aefa75
7
- data.tar.gz: f6e76697202ef2141bf9a7b65af0b59139f76174266f800759f5ad9be6202880205f63b899331a1ce6b37574dc008301eff869407493b732d2b9b6b7cd248d76
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(response, resource, self)
50
+ return yield(resource, response, self)
51
51
  else
52
52
  return self.new(resource, value: response.read, metadata: response.headers)
53
53
  end
@@ -5,6 +5,6 @@
5
5
 
6
6
  module Async
7
7
  module REST
8
- VERSION = "0.16.0"
8
+ VERSION = "0.17.0"
9
9
  end
10
10
  end
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: async-rest
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.16.0
4
+ version: 0.17.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams
metadata.gz.sig CHANGED
Binary file