zillabyte-cli 0.9.20 → 0.9.21
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 +13 -5
- data/lib/zillabyte-cli/version.rb +1 -1
- data/lib/zillabyte/api/components.rb +2 -2
- data/lib/zillabyte/cli/base.rb +15 -0
- data/lib/zillabyte/cli/data.rb +31 -1
- data/lib/zillabyte/cli/download.rb +67 -0
- data/lib/zillabyte/cli/flows.rb +91 -37
- data/lib/zillabyte/helpers.rb +12 -1
- metadata +28 -43
- data/lib/#zillabyte-cli.rb# +0 -5
- data/lib/zillabyte/cli/#logs.rb# +0 -12
- data/lib/zillabyte/cli/#repl.rb# +0 -43
- data/lib/zillabyte/cli/templates/python/#simple_function.py# +0 -27
- data/lib/zillabyte/runner.rb +0 -6
- data/lib/zillabyte/runner/app_runner.rb +0 -320
- data/lib/zillabyte/runner/component_operation.rb +0 -636
- data/lib/zillabyte/runner/component_runner.rb +0 -337
- data/lib/zillabyte/runner/multilang_operation.rb +0 -1662
- data/lib/zillabyte/runner/operation.rb +0 -18
checksums.yaml
CHANGED
@@ -1,7 +1,15 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
OGNjNWZjOTI0NzM5OTA3Y2MwZGQ2NDZiOTEwZTJjMmVlOTU4ZGM5NQ==
|
5
|
+
data.tar.gz: !binary |-
|
6
|
+
MmE5ZjA2ZDM5Njc2ZGY2Y2FhMzA0NTEyMGI1MTIxYTZjYmFjOTgyMg==
|
5
7
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
|
8
|
+
metadata.gz: !binary |-
|
9
|
+
MjhhMTNlMjgwYTM3YjY0OTU3OWE3ZmUwMTQzN2QzMDRkMDA5NTZlODU2MmEw
|
10
|
+
NjVmZWJhODAwNjcxNmY4ZGRmNTA0N2ZmM2ExYTQ2ODNiNWRhNzVlNjhkNzhm
|
11
|
+
NGU0ODExNjBjMzYxNTZhYzVhZWY1MDJhM2VmZjZlNWFkNDI3Nzk=
|
12
|
+
data.tar.gz: !binary |-
|
13
|
+
MjczNTMzZDBlMDM1OTZmNjkyODI1MGJiZmI5ZDU5NTVjNmIyZDMwNWM1ZGNk
|
14
|
+
NjAzM2ZlYWMwYjhjZGE3NDUzYWMwYjQ0NzAzYzBhMjNhNTFlZjViNTZkM2Zj
|
15
|
+
ZTRmZDAzMWNlM2M1NDBlZTEwMTAzMmQzN2UzOWViN2NjNjY5Mzg=
|
@@ -19,12 +19,12 @@ class Zillabyte::API::Components < Zillabyte::API::Flows
|
|
19
19
|
|
20
20
|
body = res.body
|
21
21
|
body.map do |component|
|
22
|
-
next if component["
|
22
|
+
next if component["nodes"].nil?
|
23
23
|
|
24
24
|
inputs = ""
|
25
25
|
outputs = ""
|
26
26
|
|
27
|
-
nodes = component["
|
27
|
+
nodes = component["nodes"]
|
28
28
|
next if nodes.nil?
|
29
29
|
nodes.each do |node|
|
30
30
|
if node["type"] == "input" or node["type"] == "source"
|
data/lib/zillabyte/cli/base.rb
CHANGED
@@ -170,6 +170,21 @@ class Zillabyte::Command::Base
|
|
170
170
|
def session
|
171
171
|
self
|
172
172
|
end
|
173
|
+
|
174
|
+
def version_okay?(current_version, min_version)
|
175
|
+
current_version = current_version.split(".").map {|v| v.to_i}
|
176
|
+
minimum_version = min_version.split(".").map {|v| v.to_i}
|
177
|
+
if current_version[0] > minimum_version[0]
|
178
|
+
return true
|
179
|
+
elsif current_version[0] == minimum_version[0]
|
180
|
+
if current_version[1] > minimum_version[1]
|
181
|
+
return true
|
182
|
+
elsif current_version[1] == minimum_version[1]
|
183
|
+
return true if current_version[2] >= minimum_version[2]
|
184
|
+
end
|
185
|
+
end
|
186
|
+
return false
|
187
|
+
end
|
173
188
|
|
174
189
|
|
175
190
|
end
|
data/lib/zillabyte/cli/data.rb
CHANGED
@@ -169,6 +169,36 @@ class Zillabyte::Command::Data < Zillabyte::Command::Base
|
|
169
169
|
|
170
170
|
|
171
171
|
|
172
|
+
|
173
|
+
|
174
|
+
|
175
|
+
# data:readme ID FILE
|
176
|
+
#
|
177
|
+
# Attaches a README file to a dataset
|
178
|
+
#
|
179
|
+
# #HIDDEN
|
180
|
+
def readme
|
181
|
+
|
182
|
+
id = options[:id] || shift_argument
|
183
|
+
file = options[:file] || shift_argument
|
184
|
+
error("no id given", type) if id.nil?
|
185
|
+
error("no file given", type) if file.nil?
|
186
|
+
error("file doesn't exist") unless File.exists?(file)
|
187
|
+
content = File.read(file)
|
188
|
+
|
189
|
+
res = self.api.request(
|
190
|
+
:expects => 200,
|
191
|
+
:method => :post,
|
192
|
+
:path => "/relations/#{CGI.escape(id)}/readme",
|
193
|
+
:body => {:filename => file, :content => content}.to_json
|
194
|
+
)
|
195
|
+
|
196
|
+
display "README updated"
|
197
|
+
end
|
198
|
+
|
199
|
+
|
200
|
+
|
201
|
+
|
172
202
|
# data:append ID FILE
|
173
203
|
#
|
174
204
|
# Adds data to an existing dataset.
|
@@ -406,7 +436,7 @@ class Zillabyte::Command::Data < Zillabyte::Command::Base
|
|
406
436
|
if options[:no_truncation]
|
407
437
|
obj[heading]
|
408
438
|
else
|
409
|
-
if obj[heading].to_s.size > 30
|
439
|
+
if obj[heading].to_s.size > 30 && type != "json"
|
410
440
|
obj[heading].to_s[0..30] + "..."
|
411
441
|
else
|
412
442
|
obj[heading]
|
@@ -0,0 +1,67 @@
|
|
1
|
+
require("zillabyte/cli/base")
|
2
|
+
|
3
|
+
# HIDDEN: downloads the zillabyte openGMB jar
|
4
|
+
#
|
5
|
+
class Zillabyte::Command::Download < Zillabyte::Command::Base
|
6
|
+
|
7
|
+
MIN_LOCAL_JAR_VERSION = "0.0.1"
|
8
|
+
LATEST_JAR_VERSION = "0.0.1"
|
9
|
+
MIN_JAVA_VERSION = "1.7.0"
|
10
|
+
|
11
|
+
# --local # HIDDEN
|
12
|
+
def jar(local = false)
|
13
|
+
local = true if options[:local]
|
14
|
+
|
15
|
+
# Check that java exists
|
16
|
+
display "Checking Java Runtime Environment version..."
|
17
|
+
java_version = `java -version 2>&1`
|
18
|
+
match = /(\d+\.\d+\.\d+)/.match(java_version)
|
19
|
+
if match
|
20
|
+
java_version = match.captures.first
|
21
|
+
display "JRE #{java_version} found."
|
22
|
+
if !version_okay?(java_version, MIN_JAVA_VERSION)
|
23
|
+
display "Your version of the Java Runtime Environment, #{java_version}, is incompatible with the Zillabyte jar. Please install JRE version > #{MIN_JAVA_VERSION}."
|
24
|
+
return
|
25
|
+
end
|
26
|
+
else
|
27
|
+
display "Java Runtime Environment not found. Please install JRE version > #{MIN_JAVA_VERSION}."
|
28
|
+
return
|
29
|
+
end
|
30
|
+
|
31
|
+
# Create the jar home if it doesn't exist
|
32
|
+
require ('fileutils')
|
33
|
+
jar_home = "#{Dir.home}/.zillabyte/jars"
|
34
|
+
FileUtils.mkdir_p(jar_home)
|
35
|
+
|
36
|
+
# Check the jar version
|
37
|
+
jars = Dir.glob("#{jar_home}/*.jar")
|
38
|
+
current_jar_version = "0.0.0"
|
39
|
+
if local
|
40
|
+
# For zb engineers: use dev open_gmb jar from local repo
|
41
|
+
# Delete old jar(s)
|
42
|
+
FileUtils.rm_rf("#{jar_home}/.", secure: true) if !jars.empty?
|
43
|
+
# Copy new jar from gmb
|
44
|
+
`cp ~/zb1/motherbrain.jvm/open_grandmotherbrain/target/#{LATEST_JAR_VERSION}.jar #{jar_home}`
|
45
|
+
current_jar_version = LATEST_JAR_VERSION
|
46
|
+
else
|
47
|
+
if !jars.empty?
|
48
|
+
current_jar_version = /^(\d+\.\d+\.\d+)\.jar$/.match(jars.first.split("/").last).captures.first
|
49
|
+
display "Found Zillabyte jar version #{current_jar_version}."
|
50
|
+
end
|
51
|
+
if jars.size > 1 or !version_okay?(current_jar_version, MIN_LOCAL_JAR_VERSION)
|
52
|
+
# delete the old jar(s)
|
53
|
+
FileUtils.rm_rf("#{jar_home}/.", secure: true) if !jars.empty?
|
54
|
+
|
55
|
+
# download the new jar
|
56
|
+
display "The Zillabyte jar was not found or your jar is outdated. Downloading the latest Zillabyte local jar..."
|
57
|
+
`cd #{jar_home} && curl -O https://s3.amazonaws.com/downloads.zillabyte.com/#{LATEST_JAR_VERSION}.jar`
|
58
|
+
current_jar_version = LATEST_JAR_VERSION
|
59
|
+
end
|
60
|
+
end
|
61
|
+
|
62
|
+
# Return the jar path
|
63
|
+
"#{jar_home}/#{current_jar_version}.jar"
|
64
|
+
end
|
65
|
+
alias_command "jar", "download:jar"
|
66
|
+
|
67
|
+
end
|
data/lib/zillabyte/cli/flows.rb
CHANGED
@@ -100,13 +100,11 @@ class Zillabyte::Command::Flows < Zillabyte::Command::Base
|
|
100
100
|
flows.each do |flow|
|
101
101
|
if flow_name == flow["name"]
|
102
102
|
if flow["state"] == "RUNNING"
|
103
|
-
|
104
|
-
|
105
|
-
input = ask
|
106
|
-
|
103
|
+
|
104
|
+
display "This flow is already running and will be terminated. Continue? [y/N]: ", false
|
105
|
+
input = ask
|
107
106
|
if !(input.downcase == "y" || input.downcase == "yes")
|
108
107
|
return
|
109
|
-
|
110
108
|
end
|
111
109
|
end
|
112
110
|
break
|
@@ -114,9 +112,6 @@ class Zillabyte::Command::Flows < Zillabyte::Command::Base
|
|
114
112
|
end
|
115
113
|
end
|
116
114
|
|
117
|
-
|
118
|
-
|
119
|
-
|
120
115
|
res = api.flows.push_directory dir, hash, session, options
|
121
116
|
|
122
117
|
if res['error']
|
@@ -125,7 +120,7 @@ class Zillabyte::Command::Flows < Zillabyte::Command::Base
|
|
125
120
|
display "#{flow_type} ##{res['id']} #{res['action']}" if type.nil?
|
126
121
|
end
|
127
122
|
|
128
|
-
display "Setting up your #{flow_type}...please wait..." if type.nil?
|
123
|
+
display "Setting up your #{flow_type}... please wait..." if type.nil?
|
129
124
|
sleep(2) # wait for kill command
|
130
125
|
|
131
126
|
hash = self.api.logs.get(res['id'], nil, options)
|
@@ -134,8 +129,12 @@ class Zillabyte::Command::Flows < Zillabyte::Command::Base
|
|
134
129
|
elsif flow_type == "component"
|
135
130
|
fetch_logs(hash, "_ALL_", ["Component registered", "STOP_LOGGING"])
|
136
131
|
end
|
137
|
-
|
138
|
-
|
132
|
+
|
133
|
+
if type == "json"
|
134
|
+
display "{}"
|
135
|
+
else
|
136
|
+
display "Flow deployed: #{get_flow_ui_link(res).colorize(:light_yellow)}"
|
137
|
+
end
|
139
138
|
|
140
139
|
end
|
141
140
|
alias_command "push", "flows:push"
|
@@ -316,7 +315,10 @@ class Zillabyte::Command::Flows < Zillabyte::Command::Base
|
|
316
315
|
:body => options.to_json
|
317
316
|
)
|
318
317
|
|
319
|
-
return if res.body.nil?
|
318
|
+
return if res.body.nil?
|
319
|
+
error(res.body["error"], type) if res.body["error"]
|
320
|
+
return if res.body["state"].nil?
|
321
|
+
|
320
322
|
flow_state = res.body["state"]
|
321
323
|
if type.nil?
|
322
324
|
display "State: #{flow_state}"
|
@@ -627,24 +629,23 @@ class Zillabyte::Command::Flows < Zillabyte::Command::Base
|
|
627
629
|
|
628
630
|
|
629
631
|
|
630
|
-
# flows:local
|
632
|
+
# flows:local [RPC_ARGS]
|
631
633
|
#
|
632
634
|
# Run a flow locally with sample data.
|
633
635
|
#
|
634
|
-
# --config CONFIG_FILE # Use the given config file
|
635
|
-
# --input INPUT_FILE # Uses a CSV for component input (only applicable for components)
|
636
|
-
# --output OUTPUT_FILE # Writes sink output to a file
|
637
|
-
# --cycles CYCLES # Number of cycles to emit [default 1] (only applicable for apps)
|
638
636
|
# --dir DIR # Flow directory
|
639
|
-
#
|
637
|
+
# --input_file INTPUT_FILE # Input csv file containing parameters for multiple queries
|
638
|
+
# --env ENV # HIDDEN
|
639
|
+
# --use_local_jar # HIDDEN
|
640
640
|
#
|
641
641
|
def local
|
642
|
-
|
642
|
+
dir = options[:dir]
|
643
643
|
if dir.nil?
|
644
644
|
dir = Dir.pwd
|
645
645
|
else
|
646
646
|
dir = File.expand_path(dir)
|
647
647
|
end
|
648
|
+
env = options[:env] || "prod"
|
648
649
|
|
649
650
|
# Get the flow_type
|
650
651
|
require("zillabyte/api/flows")
|
@@ -654,37 +655,90 @@ class Zillabyte::Command::Flows < Zillabyte::Command::Base
|
|
654
655
|
exit
|
655
656
|
end
|
656
657
|
|
658
|
+
if meta["flow_type"] == "component"
|
659
|
+
file = options[:input_file]
|
660
|
+
|
661
|
+
component_input_stream = nil
|
662
|
+
fields = []
|
663
|
+
meta["nodes"].each do |node|
|
664
|
+
if node["type"] == "input"
|
665
|
+
component_input_stream = node["name"]
|
666
|
+
fields = node["fields"].map {|field| field.keys.first}
|
667
|
+
break
|
668
|
+
end
|
669
|
+
end
|
670
|
+
|
671
|
+
component_args = []
|
672
|
+
if file
|
673
|
+
require('csv')
|
674
|
+
CSV.foreach(file) do |line|
|
675
|
+
line_arg = {}
|
676
|
+
line.each_with_index do |l, i|
|
677
|
+
line_arg[fields[i]] = l
|
678
|
+
end
|
679
|
+
component_args << line_arg
|
680
|
+
end
|
681
|
+
else
|
682
|
+
args = {}
|
683
|
+
count = 0
|
684
|
+
while(true) do
|
685
|
+
next_arg = shift_argument
|
686
|
+
break if next_arg.nil?
|
687
|
+
args[fields[count]] = next_arg
|
688
|
+
count += 1
|
689
|
+
end
|
690
|
+
component_args << args if !args.empty?
|
691
|
+
end
|
692
|
+
|
693
|
+
if component_args.empty?
|
694
|
+
display "No input arguments given for RPC. Please see 'zillabyte help test' or 'zillabyte help local' for details."
|
695
|
+
exit(1)
|
696
|
+
end
|
697
|
+
component_args = {component_input_stream => component_args}
|
698
|
+
end
|
699
|
+
|
657
700
|
# Check that multilang version is atleast 0.1.0
|
658
701
|
version = meta["multilang_version"] || "0.0.0"
|
659
|
-
|
660
|
-
if version_arr.empty? || (version_arr[0] == 0 && version_arr[1] < 1)
|
702
|
+
if !version_okay?(version, Zillabyte::CLI::VERSION)
|
661
703
|
display "The version of zillabyte used in your flow is outdated."
|
662
704
|
display "Please upgrade your zillabyte gem via 'bundle update zillabyte; gem cleanup zillabyte'"
|
663
705
|
return
|
664
706
|
end
|
665
707
|
|
666
|
-
|
667
|
-
|
668
|
-
|
669
|
-
runner = Zillabyte::Runner::ComponentRunner.new()
|
670
|
-
when "app"
|
671
|
-
require("zillabyte/runner/app_runner")
|
672
|
-
runner = Zillabyte::Runner::AppRunner.new()
|
673
|
-
else
|
674
|
-
# Default to App
|
675
|
-
require("zillabyte/runner/app_runner")
|
676
|
-
runner = Zillabyte::Runner::AppRunner.new()
|
677
|
-
end
|
678
|
-
|
679
|
-
# Start Runner
|
680
|
-
runner.run(meta, dir, self, options)
|
708
|
+
# Take care of downloading the jar
|
709
|
+
local = options[:env] == "local" || options[:use_local_jar] ? true : false
|
710
|
+
jar_path = Zillabyte::Command::Download.new.jar(local)
|
681
711
|
|
712
|
+
# Submit app to jar
|
713
|
+
require('pty')
|
714
|
+
require('json')
|
715
|
+
require('shellwords')
|
716
|
+
cmd = "java -jar #{jar_path} --flow.name #{meta["name"]} --flow.class #{meta["flow_type"]} --directory #{dir}"
|
717
|
+
if env == "test" or env == "staging"
|
718
|
+
cmd += " --api.host test.api.zillabyte.com --api.port 80"
|
719
|
+
elsif env == "prod"
|
720
|
+
cmd += " --api.host api.zillabyte.com --api.port 80"
|
721
|
+
end
|
722
|
+
cmd += " --rpc.args #{Shellwords.escape(component_args.to_json)}" if component_args
|
723
|
+
|
724
|
+
match_str = "[f#{meta["name"]}]"
|
725
|
+
display "Begin local execution..."
|
726
|
+
PTY.spawn(cmd) do |r, w, pid|
|
727
|
+
done_cycle = false
|
728
|
+
r.each do |line|
|
729
|
+
#display line
|
730
|
+
if(line.include? match_str)
|
731
|
+
line = line.chomp!.split(match_str).last
|
732
|
+
display line if !done_cycle
|
733
|
+
end
|
734
|
+
done_cycle = true if(line.include? "[app] Transitioned to state WAITING" or line.include? "[app] Transitioned to state IDLE")
|
735
|
+
end
|
736
|
+
end
|
682
737
|
end
|
683
738
|
alias_command "test", "flows:local"
|
684
739
|
alias_command "local", "flows:local"
|
685
740
|
|
686
741
|
|
687
|
-
|
688
742
|
# flows:kill ID
|
689
743
|
#
|
690
744
|
# Kills the given flow.
|
data/lib/zillabyte/helpers.rb
CHANGED
@@ -311,7 +311,18 @@ module Zillabyte
|
|
311
311
|
require 'pathname'
|
312
312
|
Pathname.new(dir).relative_path_from(Pathname.new(Dir.pwd)).to_s
|
313
313
|
end
|
314
|
-
|
314
|
+
|
315
|
+
def get_flow_ui_link(res)
|
316
|
+
if res['id']
|
317
|
+
if ENV['ZILLABYTE_API_HOST'] == "api.zillabyte.com"
|
318
|
+
"http://app.zillabyte.com/flows/#{res['id']}"
|
319
|
+
else
|
320
|
+
"http://#{ENV['ZILLABYTE_API_HOST']}:#{ENV['ZILLABYTE_API_PORT']}/flows/#{res['id']}"
|
321
|
+
end
|
322
|
+
else
|
323
|
+
"http://app.zillabyte.com/flows"
|
324
|
+
end
|
325
|
+
end
|
315
326
|
|
316
327
|
end
|
317
328
|
end
|
metadata
CHANGED
@@ -1,139 +1,139 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: zillabyte-cli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.21
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- zillabyte
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-10-
|
11
|
+
date: 2014-10-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - ! '>='
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '0'
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - ! '>='
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: netrc
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - ~>
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: 0.7.7
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - ~>
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: 0.7.7
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rest-client
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - ~>
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: 1.6.1
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- -
|
52
|
+
- - ~>
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: 1.6.1
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: excon
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- -
|
59
|
+
- - ~>
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: '0.31'
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- -
|
66
|
+
- - ~>
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0.31'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: terminal-table
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- -
|
73
|
+
- - ~>
|
74
74
|
- !ruby/object:Gem::Version
|
75
75
|
version: '1.4'
|
76
76
|
type: :runtime
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- -
|
80
|
+
- - ~>
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '1.4'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: activesupport
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
|
-
- -
|
87
|
+
- - ~>
|
88
88
|
- !ruby/object:Gem::Version
|
89
89
|
version: 3.2.11
|
90
90
|
type: :runtime
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
|
-
- -
|
94
|
+
- - ~>
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: 3.2.11
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: multi_json
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
|
-
- -
|
101
|
+
- - ~>
|
102
102
|
- !ruby/object:Gem::Version
|
103
103
|
version: '1.0'
|
104
104
|
type: :runtime
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
|
-
- -
|
108
|
+
- - ~>
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: '1.0'
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
112
|
name: colorize
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
114
114
|
requirements:
|
115
|
-
- -
|
115
|
+
- - ~>
|
116
116
|
- !ruby/object:Gem::Version
|
117
117
|
version: '0.6'
|
118
118
|
type: :runtime
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
|
-
- -
|
122
|
+
- - ~>
|
123
123
|
- !ruby/object:Gem::Version
|
124
124
|
version: '0.6'
|
125
125
|
- !ruby/object:Gem::Dependency
|
126
126
|
name: indentation
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|
128
128
|
requirements:
|
129
|
-
- -
|
129
|
+
- - ~>
|
130
130
|
- !ruby/object:Gem::Version
|
131
131
|
version: '0.1'
|
132
132
|
type: :runtime
|
133
133
|
prerelease: false
|
134
134
|
version_requirements: !ruby/object:Gem::Requirement
|
135
135
|
requirements:
|
136
|
-
- -
|
136
|
+
- - ~>
|
137
137
|
- !ruby/object:Gem::Version
|
138
138
|
version: '0.1'
|
139
139
|
description: The Official Zillabyte CLI Gem
|
@@ -151,7 +151,6 @@ files:
|
|
151
151
|
- bin/zb
|
152
152
|
- bin/zbd
|
153
153
|
- bin/zillabyte
|
154
|
-
- lib/#zillabyte-cli.rb#
|
155
154
|
- lib/zillabyte-cli.rb
|
156
155
|
- lib/zillabyte-cli/version.rb
|
157
156
|
- lib/zillabyte/api.rb
|
@@ -169,8 +168,6 @@ files:
|
|
169
168
|
- lib/zillabyte/api/zillalogs.rb
|
170
169
|
- lib/zillabyte/auth.rb
|
171
170
|
- lib/zillabyte/cli.rb
|
172
|
-
- lib/zillabyte/cli/#logs.rb#
|
173
|
-
- lib/zillabyte/cli/#repl.rb#
|
174
171
|
- lib/zillabyte/cli/apps.rb
|
175
172
|
- lib/zillabyte/cli/auth.rb
|
176
173
|
- lib/zillabyte/cli/base.rb
|
@@ -178,6 +175,7 @@ files:
|
|
178
175
|
- lib/zillabyte/cli/config.rb
|
179
176
|
- lib/zillabyte/cli/counters.rb
|
180
177
|
- lib/zillabyte/cli/data.rb
|
178
|
+
- lib/zillabyte/cli/download.rb
|
181
179
|
- lib/zillabyte/cli/flows.rb
|
182
180
|
- lib/zillabyte/cli/git.rb
|
183
181
|
- lib/zillabyte/cli/help.rb
|
@@ -206,7 +204,6 @@ files:
|
|
206
204
|
- lib/zillabyte/cli/templates/components/ruby/Gemfile
|
207
205
|
- lib/zillabyte/cli/templates/components/ruby/component.rb.erb
|
208
206
|
- lib/zillabyte/cli/templates/components/ruby/zillabyte.conf.yaml
|
209
|
-
- lib/zillabyte/cli/templates/python/#simple_function.py#
|
210
207
|
- lib/zillabyte/cli/untitled.md
|
211
208
|
- lib/zillabyte/cli/version.rb
|
212
209
|
- lib/zillabyte/cli/zillalogs.rb
|
@@ -216,12 +213,6 @@ files:
|
|
216
213
|
- lib/zillabyte/common/session.rb
|
217
214
|
- lib/zillabyte/common/tar.rb
|
218
215
|
- lib/zillabyte/helpers.rb
|
219
|
-
- lib/zillabyte/runner.rb
|
220
|
-
- lib/zillabyte/runner/app_runner.rb
|
221
|
-
- lib/zillabyte/runner/component_operation.rb
|
222
|
-
- lib/zillabyte/runner/component_runner.rb
|
223
|
-
- lib/zillabyte/runner/multilang_operation.rb
|
224
|
-
- lib/zillabyte/runner/operation.rb
|
225
216
|
- zillabyte-cli.gemspec
|
226
217
|
- zillabyte_emails.csv
|
227
218
|
- zillaconf.json
|
@@ -229,28 +220,22 @@ homepage: http://www.zillabyte.com
|
|
229
220
|
licenses:
|
230
221
|
- MIT
|
231
222
|
metadata: {}
|
232
|
-
post_install_message:
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
(1) Register for an auth token at http://zillabyte.com
|
238
|
-
(2) Log in by running 'zillabyte login' in the command line
|
239
|
-
(3) Build an empty app by running 'zillabyte apps:init'
|
240
|
-
Or... check out our Quick Starts by visiting http://docs.zillabyte.com/
|
241
|
-
|
242
|
-
Questions, comments? Please visit us at http://docs.zillabyte.com
|
223
|
+
post_install_message: ! "\nGetting Started with Zillabyte\n==============================\n\n(1)
|
224
|
+
Register for an auth token at http://zillabyte.com\n(2) Log in by running 'zillabyte
|
225
|
+
login' in the command line\n(3) Build an empty app by running 'zillabyte apps:init'\n
|
226
|
+
\ Or... check out our Quick Starts by visiting http://docs.zillabyte.com/\n\nQuestions,
|
227
|
+
comments? Please visit us at http://docs.zillabyte.com\n"
|
243
228
|
rdoc_options: []
|
244
229
|
require_paths:
|
245
230
|
- lib
|
246
231
|
required_ruby_version: !ruby/object:Gem::Requirement
|
247
232
|
requirements:
|
248
|
-
- -
|
233
|
+
- - ! '>='
|
249
234
|
- !ruby/object:Gem::Version
|
250
235
|
version: '0'
|
251
236
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
252
237
|
requirements:
|
253
|
-
- -
|
238
|
+
- - ! '>='
|
254
239
|
- !ruby/object:Gem::Version
|
255
240
|
version: '0'
|
256
241
|
requirements: []
|