adn_viewer 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/adn_viewer.rb +1 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c1d4ca5ea92a2c8e3ddad633326198febe92004b
4
- data.tar.gz: 220660651188b5d77f0d8bbb363d243c8f628d84
3
+ metadata.gz: a64f8ef98073a19d40457cfe43b41fa9f3d6301e
4
+ data.tar.gz: 8a36a3c71c2af171f9262bafbb854c839a9c7a37
5
5
  SHA512:
6
- metadata.gz: 0c12958ebeca498f74201db98cf0dabdc01ccf5bf7f6d1a54f659c00eb33f90d91a1428e36da53e2575e7f435c207b31da5560d6c38bd68f841eca1ef8a164d0
7
- data.tar.gz: 4a97eecbbaa47acd278ebb2c68ee88cd2aee798a9c250c223d6520b1bf43d71373a0199b51a94e66039116806d6c135e326e5de41798c64d63a4b05b89cf6108
6
+ metadata.gz: 1191a8015f2dd655015e1fe3a79a427148cb910b39c3ddb96f97711aaa743dc5a9876e432b606e3fc592fe569caf4add9e40b6abab0f4367dcf83f4993b9bc0f
7
+ data.tar.gz: c4985c82e099fc2017915b35cd8f923fbd914460f21d72afb22fc8ea8887f62c35d65c0293ad572f615c4774e7ac4fdfd25c38fe617ab046ac8c22d5d99d0ea0
data/lib/adn_viewer.rb CHANGED
@@ -17,7 +17,7 @@ class Adn_Viewer
17
17
  request["content-type"] = 'application/json'
18
18
  request["authorization"] = 'Bearer ' + token
19
19
  request.body = "{\"bucketKey\":\"" + name + "\",\"policy\":\"" + policy + "\"}"
20
- http.request(request).read_body
20
+ puts JSON.parse(http.request(request).read_body)
21
21
  end
22
22
 
23
23
  def self.check_bucket(token, name)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: adn_viewer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pratham Makhni Alag