zillabyte-cli 0.0.12 → 0.0.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +15 -0
- data/lib/zillabyte/cli/#logs.rb# +12 -0
- data/lib/zillabyte/cli/flows.rb +63 -28
- data/lib/zillabyte/cli/relations.rb +30 -8
- data/lib/zillabyte/cli/templates/python/#simple_function.py# +27 -0
- data/lib/zillabyte-cli/version.rb +2 -2
- data/zillabyte-cli.gemspec +1 -0
- metadata +21 -32
- data/lib/zillabyte-cli/version.rb~ +0 -5
checksums.yaml
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
---
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
NDQxYTUwOWJlM2ZjNDc2NjEyZGYxYzIxMjJiOGNhOGIxMzFiM2YzMg==
|
5
|
+
data.tar.gz: !binary |-
|
6
|
+
ZTFlNWQ5MDYwMjFlYjdlMmY0MGMwNmQ5MTNkNTg0ZDExMjdmNDY5Mw==
|
7
|
+
SHA512:
|
8
|
+
metadata.gz: !binary |-
|
9
|
+
MzhlMTRkYmUxYjRmNDljNDEyMzYwMGQxZWMzMDNhZGJkZmY4OWM3ZmViM2Mx
|
10
|
+
ZTIwOGU3OGVmNjBhN2Q5NTVjYTY2NDMyYTlmYWRhYjYzNTQ1Y2EzYWJmYzRm
|
11
|
+
NjYwNzAyNjlhNzVkMDQyM2JhNGEzNDM5ODJmNjg3NTE4YWJmMzE=
|
12
|
+
data.tar.gz: !binary |-
|
13
|
+
MGRhYWEyYzU1NWE5OWFjZjMxMzkwZDY4NWJiMzQ0YzU3YTkxOWMzZWRiZmY5
|
14
|
+
YTcyODcyOTliZjk5MjRhMWJlMWZlNWZiNmJhZWI0MTI1ODZjNWU0NzU4ZmM5
|
15
|
+
NjI4OGNlMzkyNmZjNzFlNTJmNTE4NTViZjk5NTI0YzliNWQ5YWI=
|
data/lib/zillabyte/cli/flows.rb
CHANGED
@@ -6,6 +6,7 @@ require 'indentation'
|
|
6
6
|
require 'open3'
|
7
7
|
require 'securerandom'
|
8
8
|
require 'colorize'
|
9
|
+
require 'time_difference'
|
9
10
|
|
10
11
|
# manage custom flows
|
11
12
|
#
|
@@ -51,6 +52,7 @@ class Zillabyte::Command::Flows < Zillabyte::Command::Base
|
|
51
52
|
#
|
52
53
|
def push
|
53
54
|
|
55
|
+
since = Time.now.utc.to_s
|
54
56
|
dir = options[:directory] || shift_argument || Dir.pwd
|
55
57
|
res = api.flows.push_directory dir, progress, options
|
56
58
|
|
@@ -59,6 +61,24 @@ class Zillabyte::Command::Flows < Zillabyte::Command::Base
|
|
59
61
|
else
|
60
62
|
display "flow ##{res['id']} #{res['action']}"
|
61
63
|
end
|
64
|
+
|
65
|
+
display "Starting up your flow...please wait..."
|
66
|
+
previous_logs = {}
|
67
|
+
while true
|
68
|
+
all_logs = api.logs.get(res['id'], "_ALL_", {:since => since})
|
69
|
+
all_logs.each_pair do |op, logs|
|
70
|
+
next if logs.length == 0
|
71
|
+
difference = previous_logs[op] ? logs - previous_logs[op] : logs
|
72
|
+
difference.each do |log|
|
73
|
+
if ["start_up", "error"].include?(log["category"])
|
74
|
+
display log["line"]
|
75
|
+
end
|
76
|
+
exit(0) if log["line"].downcase.include?("flow deployed")
|
77
|
+
end
|
78
|
+
previous_logs[op] = logs
|
79
|
+
end
|
80
|
+
sleep(0.5)
|
81
|
+
end
|
62
82
|
|
63
83
|
end
|
64
84
|
alias_command "push", "flows:push"
|
@@ -199,7 +219,7 @@ class Zillabyte::Command::Flows < Zillabyte::Command::Base
|
|
199
219
|
|
200
220
|
|
201
221
|
|
202
|
-
# flow:show FLOW_ID [
|
222
|
+
# flow:show FLOW_ID [OPERATION_NAME]
|
203
223
|
#
|
204
224
|
# streams logs from the distributed workers
|
205
225
|
#
|
@@ -211,9 +231,9 @@ class Zillabyte::Command::Flows < Zillabyte::Command::Base
|
|
211
231
|
flow_id = options[:flow] || shift_argument
|
212
232
|
operation_id = options[:operation] || shift_argument || '_ALL_'
|
213
233
|
tail = options[:tail]
|
214
|
-
|
234
|
+
category = options[:verbose] || '_ALL_'
|
215
235
|
carry_settings = {
|
216
|
-
:
|
236
|
+
:category => category
|
217
237
|
}
|
218
238
|
api_options = {}
|
219
239
|
|
@@ -255,16 +275,27 @@ class Zillabyte::Command::Flows < Zillabyte::Command::Base
|
|
255
275
|
else
|
256
276
|
# List the flows
|
257
277
|
response = api.flows.list_cycles(flow_id)
|
258
|
-
|
278
|
+
# TODO List the sequence number for this flow.
|
279
|
+
display "Most recent cyles of the flow:"
|
280
|
+
headings = ["State", "Start", "End", "Duration"]
|
281
|
+
rows = response["cycles"]
|
282
|
+
rows = rows.map do |row|
|
283
|
+
start_time = DateTime.parse(row["start"]).strftime("%m/%d/%Y %I:%M%p")
|
284
|
+
end_time = row["end"].nil? ? "---" : DateTime.parse(row["end"]).strftime("%m/%d/%Y %I:%M%p")
|
285
|
+
duration = end_time == "---" ? "---" : TimeDifference.between(DateTime.parse(row["start"]), DateTime.parse(row["end"])).in_minutes.to_s + " minutes"
|
286
|
+
[row["state"], start_time, end_time , duration ] #TODO Pretty print time
|
287
|
+
end
|
288
|
+
display Terminal::Table.new(:headings => headings, :rows => rows).to_s
|
289
|
+
display "Total number of cycles executed: #{response['total']}"
|
290
|
+
end
|
291
|
+
if response["body"]
|
292
|
+
display response["body"]
|
293
|
+
elsif response["error"]
|
294
|
+
error response["error"]
|
259
295
|
end
|
260
|
-
|
261
|
-
|
262
|
-
display response
|
263
296
|
end
|
264
297
|
|
265
298
|
|
266
|
-
|
267
|
-
|
268
299
|
# flows:test [TEST_DATASET_ID]
|
269
300
|
#
|
270
301
|
# tests a local flow with sample data
|
@@ -739,28 +770,29 @@ class Zillabyte::Command::Flows < Zillabyte::Command::Base
|
|
739
770
|
|
740
771
|
def show_log_output(lines, settings = {})
|
741
772
|
|
742
|
-
@colors ||= [:green, :yellow, :magenta, :cyan, :light_black, :light_green, :light_yellow, :light_blue, :light_magenta, :light_cyan]
|
743
|
-
|
744
773
|
max_category_size = 0
|
774
|
+
settings["start_up"] = :green
|
775
|
+
settings["kill"] = :yellow
|
776
|
+
settings["ipc"] = :cyan
|
777
|
+
settings["error"] = :red
|
778
|
+
settings["system"] = :white
|
779
|
+
settings["run"] = :magenta
|
745
780
|
all_lines = []
|
746
781
|
|
747
782
|
lines.each_pair do |operation, lines|
|
748
|
-
settings[operation] ||= {}
|
749
|
-
settings[operation][:color] ||= @colors.shift
|
750
783
|
lines.each do |line_h|
|
751
784
|
|
752
785
|
line = line_h['line']
|
753
|
-
|
786
|
+
category = line_h['category']
|
754
787
|
date = line_h['date']
|
755
788
|
|
756
789
|
all_lines << {
|
757
790
|
:line => line,
|
758
|
-
:category =>
|
759
|
-
:
|
760
|
-
:color => settings[operation][:color],
|
791
|
+
:category => category,
|
792
|
+
:color => settings[category],
|
761
793
|
:date => date
|
762
794
|
}
|
763
|
-
max_category_size = [max_category_size,
|
795
|
+
max_category_size = [max_category_size, category.size].max
|
764
796
|
|
765
797
|
if settings[:since]
|
766
798
|
settings[:since] = [date, settings[:since]].max
|
@@ -776,22 +808,25 @@ class Zillabyte::Command::Flows < Zillabyte::Command::Base
|
|
776
808
|
a[:date] <=> b[:date]
|
777
809
|
end
|
778
810
|
|
779
|
-
|
811
|
+
requested_category = settings[:category]
|
780
812
|
|
781
813
|
all_lines.each do |h|
|
782
814
|
color = h[:color]
|
783
815
|
|
784
|
-
case h[:
|
785
|
-
when
|
786
|
-
|
787
|
-
when '
|
788
|
-
next if ['
|
789
|
-
when '
|
790
|
-
|
791
|
-
|
816
|
+
case h[:category]
|
817
|
+
when nil
|
818
|
+
next
|
819
|
+
when 'start_up'
|
820
|
+
next if ['kill', 'run', 'ipc'].member?(requested_category)
|
821
|
+
when 'run'
|
822
|
+
next if ['kill', 'start_up', 'ipc'].member?(requested_category)
|
823
|
+
when 'ipc'
|
824
|
+
next if ['kill', 'start_up', 'run'].member?(requested_category)
|
825
|
+
when 'kill'
|
826
|
+
next if ['start_up', 'run', 'ipc'].member?(requested_category)
|
792
827
|
end
|
793
828
|
|
794
|
-
display "#{h[:category].rjust(max_category_size)} #{h[:
|
829
|
+
display "#{h[:category].rjust(max_category_size)} - #{h[:date]} UTC - #{h[:line]}".colorize(color)
|
795
830
|
end
|
796
831
|
|
797
832
|
settings
|
@@ -33,6 +33,7 @@ class Zillabyte::Command::Relations < Zillabyte::Command::Base
|
|
33
33
|
rows = response.body.map do |row|
|
34
34
|
headings = row.keys if headings.size == 0
|
35
35
|
row["columns"] = row["columns"].map{|c| c['type']}.join(',')
|
36
|
+
row["aliases"] = row["aliases"].map{|a| a['name']}.join(',')
|
36
37
|
vals = row.values_at *headings
|
37
38
|
vals
|
38
39
|
end
|
@@ -124,11 +125,12 @@ class Zillabyte::Command::Relations < Zillabyte::Command::Base
|
|
124
125
|
#
|
125
126
|
# creates a new relation
|
126
127
|
#
|
127
|
-
# --schema SCHEMA #
|
128
|
+
# --schema SCHEMA # Column names and types in the format "field_1:type_1,field_2:type_2,..."
|
128
129
|
# --public SCOPE # Make the relation public
|
129
130
|
# --file FILE # A data file
|
130
131
|
# --type FILE_TYPE # type of data file [csv (default), xlsx]
|
131
132
|
# --description DESCRIPTION # Description of relation contents
|
133
|
+
# --aliases ALIASES # Relation name aliases in the format "alias_1,alias_2,..."
|
132
134
|
#
|
133
135
|
def create
|
134
136
|
|
@@ -141,8 +143,9 @@ class Zillabyte::Command::Relations < Zillabyte::Command::Base
|
|
141
143
|
schema = options[:schema] if options[:schema]
|
142
144
|
is_public = options[:public] || nil
|
143
145
|
description = options[:description] || nil
|
146
|
+
aliases = options[:aliases] || nil
|
144
147
|
|
145
|
-
hash = set_relation_properties(schema,is_public,description)
|
148
|
+
hash = set_relation_properties(schema,is_public,description,aliases)
|
146
149
|
if file
|
147
150
|
type ||= File.extname(file).gsub(".", "")
|
148
151
|
rows = sanity_check_file(file,type, {"columns" => hash[:schema]})
|
@@ -190,8 +193,7 @@ class Zillabyte::Command::Relations < Zillabyte::Command::Base
|
|
190
193
|
|
191
194
|
# relations:pull ID OUTPUT
|
192
195
|
#
|
193
|
-
# pulls relation data into OUTPUT
|
194
|
-
# if s3 parameters specified, pulls relation data to S3_BUCKET/OUTPUT/
|
196
|
+
# pulls relation data into OUTPUT.gz
|
195
197
|
#
|
196
198
|
# --type TYPE # interpret file as type [csv, xlsx]
|
197
199
|
#
|
@@ -201,8 +203,8 @@ class Zillabyte::Command::Relations < Zillabyte::Command::Base
|
|
201
203
|
file = options[:file] || shift_argument
|
202
204
|
error "no id given" if id.nil?
|
203
205
|
error "no output file given" if file.nil?
|
206
|
+
file = file+".gz"
|
204
207
|
type = options[:type]
|
205
|
-
type ||= File.extname(file).gsub(".", "")
|
206
208
|
|
207
209
|
res = self.api.data.pull(id)
|
208
210
|
if(res["uri"])
|
@@ -239,7 +241,7 @@ class Zillabyte::Command::Relations < Zillabyte::Command::Base
|
|
239
241
|
|
240
242
|
# relations:pull:s3 ID S3_KEY S3_SECRET S3_BUCKET S3_FILE_PATH
|
241
243
|
#
|
242
|
-
# pulls relation data to S3_BUCKET/FILE_PATH/
|
244
|
+
# pulls relation data to S3_BUCKET/FILE_PATH/part***.gz
|
243
245
|
#
|
244
246
|
# --type TYPE # interpret file as type [csv, xlsx]
|
245
247
|
#
|
@@ -331,7 +333,27 @@ class Zillabyte::Command::Relations < Zillabyte::Command::Base
|
|
331
333
|
|
332
334
|
|
333
335
|
|
334
|
-
def set_relation_properties(schema,is_public,description)
|
336
|
+
def set_relation_properties(schema,is_public,description,aliases)
|
337
|
+
if aliases.nil?
|
338
|
+
display "If you would like to give alias names to your relation, please enter them below. (comma separated, only letters, number and underscore allowed)"
|
339
|
+
aliases = ask.strip
|
340
|
+
end
|
341
|
+
while true
|
342
|
+
aliases = aliases.strip.split(",").map{|x| x.strip}.uniq
|
343
|
+
all_valid = true
|
344
|
+
aliases.each do |a|
|
345
|
+
if(!(a =~ /^[a-zA-Z0-9\_]+$/i))
|
346
|
+
display "\"#{a}\" contains illegal characters. Only letters, numbers and underscore are allowed in alias names."
|
347
|
+
display "If you would like to give alias names to your relation, please enter them below. (comma separated, only letters, number and underscore allowed)"
|
348
|
+
aliases = ask.strip
|
349
|
+
all_valid = false
|
350
|
+
break
|
351
|
+
end
|
352
|
+
end
|
353
|
+
break if all_valid
|
354
|
+
end
|
355
|
+
display "Will use the following aliases for this relation: #{aliases}" if !aliases.empty?
|
356
|
+
|
335
357
|
if description.nil?
|
336
358
|
display "Enter a description for your relation (defaults to empty string)."
|
337
359
|
description = ask.strip
|
@@ -389,7 +411,7 @@ class Zillabyte::Command::Relations < Zillabyte::Command::Base
|
|
389
411
|
end
|
390
412
|
end
|
391
413
|
|
392
|
-
{:schema => schema, :public => is_public, :description => description}
|
414
|
+
{:schema => schema, :public => is_public, :description => description, :aliases => aliases}
|
393
415
|
end
|
394
416
|
|
395
417
|
def sanity_check_file(file,type,dataset)
|
@@ -0,0 +1,27 @@
|
|
1
|
+
import zillabyte
|
2
|
+
|
3
|
+
def prep(controller):
|
4
|
+
return
|
5
|
+
|
6
|
+
# This is the heart of your algorithm. It's processed on every
|
7
|
+
# web page. This algorithm is run in parallel on possibly hundreds
|
8
|
+
# of machines.
|
9
|
+
def execute(controller, tup):
|
10
|
+
if("hello world" in tup.values["html"]):
|
11
|
+
controller.emit("has_hello_world",{"url":tup.values["url"]})
|
12
|
+
return
|
13
|
+
|
14
|
+
zillabyte.simple_function(\
|
15
|
+
# This directive instructs zillabyte to give your function every
|
16
|
+
# web page in our known universe. Your function will have access
|
17
|
+
# to two fields: URL and HTML
|
18
|
+
matches = "select * from web_pa", \
|
19
|
+
|
20
|
+
# This directive tells Zillabyte what kind of data your function
|
21
|
+
# produces. In this case, we're saying we will emit a tuple that
|
22
|
+
# is one-column wide and contains the field 'URL'
|
23
|
+
emits = [["has_hello_world", [{"url":"string"}]]], \
|
24
|
+
|
25
|
+
prepare = prep, \
|
26
|
+
execute = execute\
|
27
|
+
)
|
data/zillabyte-cli.gemspec
CHANGED
metadata
CHANGED
@@ -1,20 +1,18 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: zillabyte-cli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
5
|
-
prerelease:
|
4
|
+
version: 0.0.13
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- zillabyte
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date: 2014-
|
11
|
+
date: 2014-03-07 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: rake
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
17
|
- - ! '>='
|
20
18
|
- !ruby/object:Gem::Version
|
@@ -22,7 +20,6 @@ dependencies:
|
|
22
20
|
type: :development
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
24
|
- - ! '>='
|
28
25
|
- !ruby/object:Gem::Version
|
@@ -30,7 +27,6 @@ dependencies:
|
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
28
|
name: netrc
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
31
|
- - ~>
|
36
32
|
- !ruby/object:Gem::Version
|
@@ -38,7 +34,6 @@ dependencies:
|
|
38
34
|
type: :runtime
|
39
35
|
prerelease: false
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
37
|
requirements:
|
43
38
|
- - ~>
|
44
39
|
- !ruby/object:Gem::Version
|
@@ -46,7 +41,6 @@ dependencies:
|
|
46
41
|
- !ruby/object:Gem::Dependency
|
47
42
|
name: rest-client
|
48
43
|
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
44
|
requirements:
|
51
45
|
- - ~>
|
52
46
|
- !ruby/object:Gem::Version
|
@@ -54,7 +48,6 @@ dependencies:
|
|
54
48
|
type: :runtime
|
55
49
|
prerelease: false
|
56
50
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
51
|
requirements:
|
59
52
|
- - ~>
|
60
53
|
- !ruby/object:Gem::Version
|
@@ -62,7 +55,6 @@ dependencies:
|
|
62
55
|
- !ruby/object:Gem::Dependency
|
63
56
|
name: excon
|
64
57
|
requirement: !ruby/object:Gem::Requirement
|
65
|
-
none: false
|
66
58
|
requirements:
|
67
59
|
- - ~>
|
68
60
|
- !ruby/object:Gem::Version
|
@@ -70,7 +62,6 @@ dependencies:
|
|
70
62
|
type: :runtime
|
71
63
|
prerelease: false
|
72
64
|
version_requirements: !ruby/object:Gem::Requirement
|
73
|
-
none: false
|
74
65
|
requirements:
|
75
66
|
- - ~>
|
76
67
|
- !ruby/object:Gem::Version
|
@@ -78,7 +69,6 @@ dependencies:
|
|
78
69
|
- !ruby/object:Gem::Dependency
|
79
70
|
name: terminal-table
|
80
71
|
requirement: !ruby/object:Gem::Requirement
|
81
|
-
none: false
|
82
72
|
requirements:
|
83
73
|
- - ~>
|
84
74
|
- !ruby/object:Gem::Version
|
@@ -86,7 +76,6 @@ dependencies:
|
|
86
76
|
type: :runtime
|
87
77
|
prerelease: false
|
88
78
|
version_requirements: !ruby/object:Gem::Requirement
|
89
|
-
none: false
|
90
79
|
requirements:
|
91
80
|
- - ~>
|
92
81
|
- !ruby/object:Gem::Version
|
@@ -94,7 +83,6 @@ dependencies:
|
|
94
83
|
- !ruby/object:Gem::Dependency
|
95
84
|
name: activesupport
|
96
85
|
requirement: !ruby/object:Gem::Requirement
|
97
|
-
none: false
|
98
86
|
requirements:
|
99
87
|
- - ~>
|
100
88
|
- !ruby/object:Gem::Version
|
@@ -102,7 +90,6 @@ dependencies:
|
|
102
90
|
type: :runtime
|
103
91
|
prerelease: false
|
104
92
|
version_requirements: !ruby/object:Gem::Requirement
|
105
|
-
none: false
|
106
93
|
requirements:
|
107
94
|
- - ~>
|
108
95
|
- !ruby/object:Gem::Version
|
@@ -110,7 +97,6 @@ dependencies:
|
|
110
97
|
- !ruby/object:Gem::Dependency
|
111
98
|
name: bundler
|
112
99
|
requirement: !ruby/object:Gem::Requirement
|
113
|
-
none: false
|
114
100
|
requirements:
|
115
101
|
- - ~>
|
116
102
|
- !ruby/object:Gem::Version
|
@@ -118,7 +104,6 @@ dependencies:
|
|
118
104
|
type: :runtime
|
119
105
|
prerelease: false
|
120
106
|
version_requirements: !ruby/object:Gem::Requirement
|
121
|
-
none: false
|
122
107
|
requirements:
|
123
108
|
- - ~>
|
124
109
|
- !ruby/object:Gem::Version
|
@@ -126,7 +111,6 @@ dependencies:
|
|
126
111
|
- !ruby/object:Gem::Dependency
|
127
112
|
name: colorize
|
128
113
|
requirement: !ruby/object:Gem::Requirement
|
129
|
-
none: false
|
130
114
|
requirements:
|
131
115
|
- - ~>
|
132
116
|
- !ruby/object:Gem::Version
|
@@ -134,7 +118,6 @@ dependencies:
|
|
134
118
|
type: :runtime
|
135
119
|
prerelease: false
|
136
120
|
version_requirements: !ruby/object:Gem::Requirement
|
137
|
-
none: false
|
138
121
|
requirements:
|
139
122
|
- - ~>
|
140
123
|
- !ruby/object:Gem::Version
|
@@ -142,7 +125,6 @@ dependencies:
|
|
142
125
|
- !ruby/object:Gem::Dependency
|
143
126
|
name: chronic
|
144
127
|
requirement: !ruby/object:Gem::Requirement
|
145
|
-
none: false
|
146
128
|
requirements:
|
147
129
|
- - ~>
|
148
130
|
- !ruby/object:Gem::Version
|
@@ -150,7 +132,6 @@ dependencies:
|
|
150
132
|
type: :runtime
|
151
133
|
prerelease: false
|
152
134
|
version_requirements: !ruby/object:Gem::Requirement
|
153
|
-
none: false
|
154
135
|
requirements:
|
155
136
|
- - ~>
|
156
137
|
- !ruby/object:Gem::Version
|
@@ -158,7 +139,6 @@ dependencies:
|
|
158
139
|
- !ruby/object:Gem::Dependency
|
159
140
|
name: ascii_charts
|
160
141
|
requirement: !ruby/object:Gem::Requirement
|
161
|
-
none: false
|
162
142
|
requirements:
|
163
143
|
- - ~>
|
164
144
|
- !ruby/object:Gem::Version
|
@@ -166,7 +146,6 @@ dependencies:
|
|
166
146
|
type: :runtime
|
167
147
|
prerelease: false
|
168
148
|
version_requirements: !ruby/object:Gem::Requirement
|
169
|
-
none: false
|
170
149
|
requirements:
|
171
150
|
- - ~>
|
172
151
|
- !ruby/object:Gem::Version
|
@@ -174,7 +153,6 @@ dependencies:
|
|
174
153
|
- !ruby/object:Gem::Dependency
|
175
154
|
name: indentation
|
176
155
|
requirement: !ruby/object:Gem::Requirement
|
177
|
-
none: false
|
178
156
|
requirements:
|
179
157
|
- - ~>
|
180
158
|
- !ruby/object:Gem::Version
|
@@ -182,7 +160,6 @@ dependencies:
|
|
182
160
|
type: :runtime
|
183
161
|
prerelease: false
|
184
162
|
version_requirements: !ruby/object:Gem::Requirement
|
185
|
-
none: false
|
186
163
|
requirements:
|
187
164
|
- - ~>
|
188
165
|
- !ruby/object:Gem::Version
|
@@ -190,7 +167,6 @@ dependencies:
|
|
190
167
|
- !ruby/object:Gem::Dependency
|
191
168
|
name: aws-sdk
|
192
169
|
requirement: !ruby/object:Gem::Requirement
|
193
|
-
none: false
|
194
170
|
requirements:
|
195
171
|
- - ~>
|
196
172
|
- !ruby/object:Gem::Version
|
@@ -198,11 +174,24 @@ dependencies:
|
|
198
174
|
type: :runtime
|
199
175
|
prerelease: false
|
200
176
|
version_requirements: !ruby/object:Gem::Requirement
|
201
|
-
none: false
|
202
177
|
requirements:
|
203
178
|
- - ~>
|
204
179
|
- !ruby/object:Gem::Version
|
205
180
|
version: 1.33.0
|
181
|
+
- !ruby/object:Gem::Dependency
|
182
|
+
name: time_difference
|
183
|
+
requirement: !ruby/object:Gem::Requirement
|
184
|
+
requirements:
|
185
|
+
- - ! '>='
|
186
|
+
- !ruby/object:Gem::Version
|
187
|
+
version: '0'
|
188
|
+
type: :runtime
|
189
|
+
prerelease: false
|
190
|
+
version_requirements: !ruby/object:Gem::Requirement
|
191
|
+
requirements:
|
192
|
+
- - ! '>='
|
193
|
+
- !ruby/object:Gem::Version
|
194
|
+
version: '0'
|
206
195
|
description: The Official Zillabyte CLI Gem
|
207
196
|
email:
|
208
197
|
- gem@zillabyte.com
|
@@ -225,6 +214,7 @@ files:
|
|
225
214
|
- lib/zillabyte/api/zillalogs.rb
|
226
215
|
- lib/zillabyte/api.rb
|
227
216
|
- lib/zillabyte/auth.rb
|
217
|
+
- lib/zillabyte/cli/#logs.rb#
|
228
218
|
- lib/zillabyte/cli/auth.rb
|
229
219
|
- lib/zillabyte/cli/base.rb
|
230
220
|
- lib/zillabyte/cli/config.rb
|
@@ -238,6 +228,7 @@ files:
|
|
238
228
|
- lib/zillabyte/cli/sources.rb
|
239
229
|
- lib/zillabyte/cli/templates/js/simple_function.js
|
240
230
|
- lib/zillabyte/cli/templates/js/zillabyte.conf.yaml
|
231
|
+
- lib/zillabyte/cli/templates/python/#simple_function.py#
|
241
232
|
- lib/zillabyte/cli/templates/python/requirements.txt
|
242
233
|
- lib/zillabyte/cli/templates/python/simple_function.py
|
243
234
|
- lib/zillabyte/cli/templates/python/zillabyte.conf.yaml
|
@@ -255,7 +246,6 @@ files:
|
|
255
246
|
- lib/zillabyte/helpers.rb
|
256
247
|
- lib/zillabyte/queries.rb
|
257
248
|
- lib/zillabyte-cli/version.rb
|
258
|
-
- lib/zillabyte-cli/version.rb~
|
259
249
|
- lib/zillabyte-cli.rb
|
260
250
|
- LICENSE
|
261
251
|
- README.md
|
@@ -266,26 +256,25 @@ files:
|
|
266
256
|
homepage: http://www.zillabyte.com
|
267
257
|
licenses:
|
268
258
|
- MIT
|
259
|
+
metadata: {}
|
269
260
|
post_install_message:
|
270
261
|
rdoc_options: []
|
271
262
|
require_paths:
|
272
263
|
- lib
|
273
264
|
required_ruby_version: !ruby/object:Gem::Requirement
|
274
|
-
none: false
|
275
265
|
requirements:
|
276
266
|
- - ! '>='
|
277
267
|
- !ruby/object:Gem::Version
|
278
268
|
version: '0'
|
279
269
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
280
|
-
none: false
|
281
270
|
requirements:
|
282
271
|
- - ! '>='
|
283
272
|
- !ruby/object:Gem::Version
|
284
273
|
version: '0'
|
285
274
|
requirements: []
|
286
275
|
rubyforge_project:
|
287
|
-
rubygems_version: 1.
|
276
|
+
rubygems_version: 2.1.10
|
288
277
|
signing_key:
|
289
|
-
specification_version:
|
278
|
+
specification_version: 4
|
290
279
|
summary: The Official Zillabyte CLI Gem
|
291
280
|
test_files: []
|