proboscis_cli 0.0.9 → 0.1.0

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: 0bee81a2e9633353e72ede751c7d2b0b560561893e40652de31ab594d526a0f0
4
- data.tar.gz: 25070cd1877ab2f1c771b1234c35671b1023485403fdd6086d93f3ebce24285e
3
+ metadata.gz: 5840c0c18402852bb98c40cf7f197421efde9782d16086145597d5bf4f95888e
4
+ data.tar.gz: 8d79311402a8cfaccc6e386789c0ad9df0b932aee2dbb94741aa18ee39a12c93
5
5
  SHA512:
6
- metadata.gz: 0adeef4a89e8517ff9a8f7e8ea8a083cbc645ac7b15a6d4c3d17c848c6293f23c897e98ecfdb33d004aebbfad3cb54a783cb45d9b1a83e9f619511e2d736392d
7
- data.tar.gz: 0b603ac4d69b29171deb500885ab815885f0d72f4dc78f17e040655c37c33fb2604091aea67755f69d65ac71d46d7ca64040d2cb05b2922faa9f34504484a6c8
6
+ metadata.gz: 03cf8eb0a43d393cfe82e8eaed6aa5bf9466193b3ebeb45d4a197f42d87dcd277a0f36b9bc6f1f14dfbc1582b627a3b5acdb3cc4d2cb11a9ed72a72237ba1236
7
+ data.tar.gz: 9272ef301098306bb369cc95c1b2a2774182ac154ca1ff4249116b517075a3b3e0603095fa4256055567e822c8aeb684bc24762b205366c0afbef83c06fd367c
data/lib/proboscis_cli.rb CHANGED
@@ -94,6 +94,7 @@ end
94
94
  class CashWorker < Worker
95
95
  def self.worker_ip(subpath)
96
96
  key = "#{subpath.gsub('_', '-')}_WORKER_IP"
97
+ puts @infra_info
97
98
  if(!@infra_info[key])
98
99
  puts "Unable to find target WORKER_IP in #{@infra_info}. Is the machine up?"
99
100
  end
@@ -127,10 +128,11 @@ class Proboscis
127
128
  end
128
129
 
129
130
  def self.get_machine(target, type)
130
- if type == 'c'
131
- target == 'server' ? Server : Worker
132
- else
131
+ puts type
132
+ if type == 'CASH_REPLENISHMENT'
133
133
  target == 'server' ? CashServer : CashWorker
134
+ else
135
+ target == 'server' ? Server : Worker
134
136
  end
135
137
  end
136
138
 
@@ -1,3 +1,3 @@
1
1
  module ProboscisCli
2
- VERSION = '0.0.9'
2
+ VERSION = '0.1.0'
3
3
  end
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'proboscis_cli'
3
- s.version = '0.0.9'
3
+ s.version = '0.1.0'
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.9
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Simon Roy