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 +8 -8
- data/lib/zillabyte-cli/version.rb +1 -1
- data/lib/zillabyte/cli/flows.rb +6 -4
- data/lib/zillabyte/runner/multilang_operation.rb +7 -6
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ODE2ZmMyNWQ3NzlhNmY2NGYzNGMwMTE1MTUxMDM4MzM2NjFlZTM4ZA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
YjM3YTA4NzYwZDVkZjIzZGNhOGMzZGM3YmZiZDc0ZjkxZmFmZjc4OQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
NTlhNDgxNWFkOGM1OTBiZTJhODk4MGFmOWEyMjE2YTVlY2M3N2MwYmE1OTMw
|
10
|
+
ZDFiMzcwYzM3YzdkY2JiMzFkYWM3ODIwZTUwMTViM2E3ZmY4OGNkZTg0NTZi
|
11
|
+
MWIyZjhjOTE1MmUzYjA2MGM4MDNlZGVhMWJkZDRkNWFhMWE5Nzc=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MzA4MDQzOWU5ZmE2ZmU5MWJmODU2Y2RmNjljNzE2NzcxNDRkY2Y4ZWIyMzUw
|
14
|
+
MDFhZmE3OTk4Y2U5ODc2OTg1YjA2ZTViN2IxYWZhMzNkY2ZjZjUyZTIxNWMz
|
15
|
+
NzU0NTcwZTlkMzUzY2Q2NjI4NDczZjVkNWQ0MWNlNWEwYWYyZjU=
|
data/lib/zillabyte/cli/flows.rb
CHANGED
@@ -627,9 +627,9 @@ class Zillabyte::Command::Flows < Zillabyte::Command::Base
|
|
627
627
|
end
|
628
628
|
|
629
629
|
|
630
|
-
# flows:
|
630
|
+
# flows:local
|
631
631
|
#
|
632
|
-
#
|
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
|
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:
|
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
|
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
|
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
|
1384
|
-
cdisplay(
|
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.
|
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-
|
11
|
+
date: 2014-08-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|