zillabyte-cli 0.1.34 → 0.1.35

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,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MjRmMTIyNzM1MmYyMWE5YTU4OTVkYWNkMjg4NjFmOTNhMWIyYWY3Mw==
4
+ ODE2ZmMyNWQ3NzlhNmY2NGYzNGMwMTE1MTUxMDM4MzM2NjFlZTM4ZA==
5
5
  data.tar.gz: !binary |-
6
- YjZjNzEwMjM1ODEwMGU5MTU0NzA4ZDU0MGM1MjI5ODNmYjUzNDBkOQ==
6
+ YjM3YTA4NzYwZDVkZjIzZGNhOGMzZGM3YmZiZDc0ZjkxZmFmZjc4OQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- MjRhZTMxZTJkODcwY2MxOWYyMzk1NjBiMTM4NmY4OTE0YzdlZmUyYTg0Njdk
10
- YWUyMThkMjQwZDg5ZTY5OGFlZDllZDhmMzMyNTc2MTQ5ZGM0MTMxMWQ4MDc1
11
- ZjhhZWJjODIyY2FhYjFhZDRhZDUzMTY5Yjg3N2NkNTRhY2E0Nzc=
9
+ NTlhNDgxNWFkOGM1OTBiZTJhODk4MGFmOWEyMjE2YTVlY2M3N2MwYmE1OTMw
10
+ ZDFiMzcwYzM3YzdkY2JiMzFkYWM3ODIwZTUwMTViM2E3ZmY4OGNkZTg0NTZi
11
+ MWIyZjhjOTE1MmUzYjA2MGM4MDNlZGVhMWJkZDRkNWFhMWE5Nzc=
12
12
  data.tar.gz: !binary |-
13
- ODEyYmVmYWUzMzAwY2MzZWRiNmFjNWNhYzdkNTBhYzY5Y2I1ZmRjNGUxMjA1
14
- NzU1ODdkMTkyNGE2MTE1ZWQyNmFkNmRhODYyN2I2MjlhY2M2Mzc2OTY0NGM4
15
- YTNkMzZkZmU5NTdiMGIyNWZkNDVhMzQzNWIwMWM2ODIzY2IxM2I=
13
+ MzA4MDQzOWU5ZmE2ZmU5MWJmODU2Y2RmNjljNzE2NzcxNDRkY2Y4ZWIyMzUw
14
+ MDFhZmE3OTk4Y2U5ODc2OTg1YjA2ZTViN2IxYWZhMzNkY2ZjZjUyZTIxNWMz
15
+ NzU0NTcwZTlkMzUzY2Q2NjI4NDczZjVkNWQ0MWNlNWEwYWYyZjU=
@@ -1,5 +1,5 @@
1
1
  module Zillabyte
2
2
  module CLI
3
- VERSION = "0.1.34"
3
+ VERSION = "0.1.35"
4
4
  end
5
5
  end
@@ -627,9 +627,9 @@ class Zillabyte::Command::Flows < Zillabyte::Command::Base
627
627
  end
628
628
 
629
629
 
630
- # flows:test
630
+ # flows:local
631
631
  #
632
- # Tests a local flow with sample data.
632
+ # Run a flow locally with sample data.
633
633
  #
634
634
  # --config CONFIG_FILE # Use the given config file
635
635
  # --input INPUT_FILE # Uses a CSV for component input (only applicable for components)
@@ -638,7 +638,7 @@ class Zillabyte::Command::Flows < Zillabyte::Command::Base
638
638
  # --dir DIR # Flow directory
639
639
  # -i, --interactive # Interactively control input and read output (only applicable for apps)
640
640
  #
641
- def test
641
+ def local
642
642
  dir = options[:dir]
643
643
  if dir.nil?
644
644
  dir = Dir.pwd
@@ -680,7 +680,9 @@ class Zillabyte::Command::Flows < Zillabyte::Command::Base
680
680
  runner.run(meta, dir, self, options)
681
681
 
682
682
  end
683
- alias_command "test", "flows:test"
683
+ alias_command "test", "flows:local"
684
+ alias_command "local", "flows:local"
685
+
684
686
 
685
687
 
686
688
  # flows:kill ID
@@ -1248,8 +1248,9 @@ module Zillabyte; module Runner; class MultilangOperation
1248
1248
  rescue JSON::ParserError
1249
1249
  cdisplay("invalid JSON")
1250
1250
  next
1251
- rescue Exception => e
1252
- cdisplay e
1251
+ rescue => e
1252
+ cdisplay e.message
1253
+ cdisplay e.backtrace
1253
1254
  end
1254
1255
  end
1255
1256
  end
@@ -1363,8 +1364,7 @@ module Zillabyte; module Runner; class MultilangOperation
1363
1364
  begin
1364
1365
  write_message write_stream, HANDSHAKE_MESSAGE
1365
1366
  msg = read_message(read_stream)
1366
- rescue Exception => e
1367
- cdisplay(e)
1367
+ rescue => e
1368
1368
  cdisplay("Error handshaking node")
1369
1369
  raise e
1370
1370
  end
@@ -1380,8 +1380,9 @@ module Zillabyte; module Runner; class MultilangOperation
1380
1380
  if obj["command"] != "done"
1381
1381
  raise "Invalid response from multilang #{msg}"
1382
1382
  end
1383
- rescue Exception => e
1384
- cdisplay(e)
1383
+ rescue => e
1384
+ cdisplay("Error beginning cycle")
1385
+ raise e
1385
1386
  end
1386
1387
  end
1387
1388
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zillabyte-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.34
4
+ version: 0.1.35
5
5
  platform: ruby
6
6
  authors:
7
7
  - zillabyte
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-08-20 00:00:00.000000000 Z
11
+ date: 2014-08-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake