proboscis_cli 0.0.6 → 0.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4578f24a079b4789659c3a0446a4ac1f20b40fae53512f977f0628c184e8f044
4
- data.tar.gz: 7b6a3aef023c40eaf5b1d27061189eac4ffbc54ee62baf957d37adcaad87523a
3
+ metadata.gz: f4f632a964f736abf931e8d14dbf01313710bd1cd9cde5fb95055903ee93c0d1
4
+ data.tar.gz: 82244db7f3fbaab6439ffa51f44cb9588de5598fec41ad4eac1ecd22b6280cc5
5
5
  SHA512:
6
- metadata.gz: 6f9edf6526cfbb3f1dd817032494f3f301f5d0d727740f967086c4524f46f90a115c607febb60fd0e3f5609313a6a9decc574755de5eaab756eece3164d69260
7
- data.tar.gz: e3d92f0981d2c9023f44791ae91600ff7d6944c569355d81aec35a4bc6aecf819d674697465de13e6e771748420b0209034b93ac0149edc2165c38d9d24345ad
6
+ metadata.gz: a89bb59acdf1e03ad2cf10fe97336d6feaa6d393db29b43269fb95f22861fbb04e72ca3c81388ce6ea6f8ce0e55281c39d8bad2620ce1e4c64571536533a34ea
7
+ data.tar.gz: af8c2f8f6517a8d69ffb6a8f1a88a4155704c0c3accf17b094d03a33e8d4d4eccc70c60e1aedfa0db2a29adf4b683767c36549e264f8335feb1296959a6ca273
@@ -1,3 +1,3 @@
1
1
  module ProboscisCli
2
- VERSION = '0.0.6'
2
+ VERSION = '0.0.7'
3
3
  end
data/lib/proboscis_cli.rb CHANGED
@@ -34,11 +34,11 @@ class Worker
34
34
 
35
35
  def self.client_list(environment)
36
36
  response = HTTParty.get("#{@host}/api/api/clients", headers: {"X-Authorization" => @auth_code})
37
- if response.code != 200
37
+ if response.code != 200
38
38
  puts "Unable to get the client list.."
39
39
  exit -1
40
- end
41
- @client_list = JSON::parse(response.body)["content"]
40
+ end
41
+ @client_list = JSON::parse(response.body)
42
42
  end
43
43
 
44
44
  def self.client(environment, client_id)
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'proboscis_cli'
3
- s.version = '0.0.6'
3
+ s.version = '0.0.7'
4
4
  s.date = '2018-04-10'
5
5
  s.summary = "A cli client for proboscis"
6
6
  s.description = "A cli client for proboscis"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: proboscis_cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Simon Roy
@@ -88,8 +88,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
88
88
  - !ruby/object:Gem::Version
89
89
  version: '0'
90
90
  requirements: []
91
- rubyforge_project:
92
- rubygems_version: 2.7.3
91
+ rubygems_version: 3.0.1
93
92
  signing_key:
94
93
  specification_version: 4
95
94
  summary: A cli client for proboscis