endpointer 0.0.2 → 0.0.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
  SHA1:
3
- metadata.gz: bc331a3a040610cc6532a7a9ca8efb99a91076f7
4
- data.tar.gz: 7a398693347e0bdfc2b737db2bab9b63b2236a0c
3
+ metadata.gz: 80103af678623b6b3a044fb127198464eeeb71a8
4
+ data.tar.gz: dfb7c6566395d2b087c70bbf7ef90fcd16dccd27
5
5
  SHA512:
6
- metadata.gz: 6b1ace4fe1e824dbadbcaa67b2a28d8b77b6cfe44ddf880eb3958f222e8c2efd5e9ca0103b1e8e44bf57d5dbad8681d719fcaa78819f7a5fcef95e806c72288f
7
- data.tar.gz: bd145e7528efdf64b91bdf01f30071857e8bf1155c3b9ad55916bfecf02b7fd7ccb7ad7fc7be52810234095894afc9b1896c53d90da80e3572489b319fca47a0
6
+ metadata.gz: 93a4cdf6e55b2843ec0bd7eed665201f17953a816fcc521e6021b99f58b8fc74802eabc67e1295a6ee3208564ec627288c4162c5ed78d512e4d9089d861174ef
7
+ data.tar.gz: e30e9d22a95f63a12cedd110d5f97a0038a2d16789db8ef069cd6fe67b582cf8e3da0e89acc7df18bb33e4d94173551e21c4c216fa620051f445dde955e5d9d1
@@ -18,9 +18,10 @@ module Endpointer
18
18
  url = File.join(create_hostname(resource), create_path(request))
19
19
  response = RestClient.send(method,
20
20
  url,
21
- request.body.string,
21
+ request.body.read,
22
22
  create_headers(request, resource)
23
23
  )
24
+ request.body.rewind
24
25
  rescue RestClient::ExceptionWithResponse => e
25
26
  response = e.response
26
27
  end
@@ -1,3 +1,3 @@
1
1
  module Endpointer
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: endpointer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Zen Kyprianou