cloudpassage 0.0.12 → 0.0.13

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: d77e74007fb07ead19ff4c8842e051e22ea1e608
4
- data.tar.gz: 5e4d95af5ee895661392e2e365af996b03082560
3
+ metadata.gz: 3e92cb4059f477571d964f49fd2735f21fa121be
4
+ data.tar.gz: 1c8bc29d6f6066131997878759fb8f59dc2051dd
5
5
  SHA512:
6
- metadata.gz: 096a1822e79653eb41a769423da2d176131dabd1dd5061ffd580ac4cc5322b2aed9ac8241df708bb8198834c943ace377b1eb7a80f9d254d6973c5ecc191256a
7
- data.tar.gz: b12a7f69945c869ad4b4a1055df43ef5f3ebf7c4ff119f8f7fb9dc247eaf05e5d975c9826916be8caa231a50e91d2023bd4e526efb880aafdcc12f69d111a9c1
6
+ metadata.gz: ac02633823a20bf061125ac4f417f450057ca385552a7d2815f80613f46ea8331c7ecb913ff7ad28bc07ab31531a846be9f23b3fecbe9366fe98d865a89f5553
7
+ data.tar.gz: fe1098d718b49f46534bb8d9ce88ab1caa8b0200ad47255130a692b0aa9da3aea46bdeac2afdd1431115bbe899a5ed9601f052b2ec0b9ab8c09564c150e6b31d
@@ -93,12 +93,12 @@ module Cloudpassage
93
93
 
94
94
  def enable_account(username)
95
95
  payload = {:account => {:active=>true}}
96
- @server.commands.get(json.parse(@base_resource[username].put(payload.to_json, headers))['command']['id'])
96
+ @server.commands.get(JSON.parse(@base_resource[username].put(payload.to_json, headers))['command']['id'])
97
97
  end
98
98
 
99
99
  def disable_account(username)
100
100
  payload = {:account => {:active=>false}}
101
- @server.commands.get(json.parse(@base_resource[username].put(payload.to_json, headers))['command']['id'])
101
+ @server.commands.get(JSON.parse(@base_resource[username].put(payload.to_json, headers))['command']['id'])
102
102
  end
103
103
 
104
104
  def reset(username, opts = {})
@@ -1,4 +1,4 @@
1
1
  module Cloudpassage
2
2
  # Version
3
- VERSION = '0.0.12'
3
+ VERSION = '0.0.13'
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cloudpassage
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.12
4
+ version: 0.0.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - mshea