turbot 0.0.16 → 0.0.17
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +15 -0
- data/lib/turbot/command/bots.rb +5 -2
- data/lib/turbot/version.rb +1 -1
- metadata +23 -40
checksums.yaml
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
---
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
NGE4OWNmOTA5ZTBhODY4MTBmNGY5NDZlZGYxYzEyY2Q4MGM2NDg3Yg==
|
5
|
+
data.tar.gz: !binary |-
|
6
|
+
NDc1MTBhOGNhZTJkNTJhOTI2NGQyMDQyOTM1YTk1NDQ3ZjQ4Mjk3ZA==
|
7
|
+
SHA512:
|
8
|
+
metadata.gz: !binary |-
|
9
|
+
NWZlY2U0YzFhZjg5Njc0NDEwOWZmMWYwMmI5ODQxYmZiZjJmZGY0NjBmNGQ3
|
10
|
+
ODgxNzI2NGJiOTI3MjJkMTI2M2VkM2M4ODRiNjAxOGFlNmVjYWVmZWYxYWYz
|
11
|
+
YmUwYWY0Njc4NjMyZjA5YmFiNWVjY2E2MmQ2ZDJhODFmNGEzNjI=
|
12
|
+
data.tar.gz: !binary |-
|
13
|
+
OGNjYmEwOGJiNjQ1ZjBjNDQwMDRkNzA5YjhjMmUwNzM3MmEyNGU0MDdmOWFj
|
14
|
+
OTNlZjUwMjYwNDFkMTE5MTM0ZjE0MWI5ZWJjMjJmZmRmYTI2NWMzM2YwY2Uz
|
15
|
+
ODU3MzY1YWRjYWVhYTA2Y2ViNmFiMjA4ZTQxZDYwMjI5ODRiY2U=
|
data/lib/turbot/command/bots.rb
CHANGED
@@ -272,18 +272,21 @@ class Turbot::Command::Bots < Turbot::Command::Base
|
|
272
272
|
count = 0
|
273
273
|
config = parsed_manifest(Dir.pwd)
|
274
274
|
puts "Sending to angler... "
|
275
|
+
|
276
|
+
api.destroy_draft_data(bot)
|
277
|
+
|
275
278
|
result = ""
|
276
279
|
run_scraper_each_line("#{scraper_path} #{bot}") do |line|
|
277
280
|
batch << JSON.parse(line)
|
278
281
|
spinner(count)
|
279
282
|
if count % 20 == 0
|
280
|
-
result = api.
|
283
|
+
result = api.create_draft_data(bot, config, batch.to_json)
|
281
284
|
batch = []
|
282
285
|
end
|
283
286
|
count += 1
|
284
287
|
end
|
285
288
|
if !batch.empty?
|
286
|
-
result = api.
|
289
|
+
result = api.create_draft_data(bot, config, batch.to_json)
|
287
290
|
end
|
288
291
|
puts "Sent #{count} records."
|
289
292
|
index_name = "#{bot}-#{config['data_type']}"
|
data/lib/turbot/version.rb
CHANGED
metadata
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: turbot
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
5
|
-
prerelease:
|
4
|
+
version: 0.0.17
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Turbot
|
@@ -14,7 +13,6 @@ dependencies:
|
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: netrc
|
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: :runtime
|
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: rest-client
|
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: launchy
|
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: rubyzip
|
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: json-schema
|
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,23 +97,20 @@ dependencies:
|
|
110
97
|
- !ruby/object:Gem::Dependency
|
111
98
|
name: turbot-api
|
112
99
|
requirement: !ruby/object:Gem::Requirement
|
113
|
-
none: false
|
114
100
|
requirements:
|
115
101
|
- - '='
|
116
102
|
- !ruby/object:Gem::Version
|
117
|
-
version: 0.0.
|
103
|
+
version: 0.0.8
|
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
|
125
|
-
version: 0.0.
|
110
|
+
version: 0.0.8
|
126
111
|
- !ruby/object:Gem::Dependency
|
127
112
|
name: excon
|
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
|
@@ -183,6 +166,22 @@ files:
|
|
183
166
|
- lib/turbot/updater.rb
|
184
167
|
- lib/turbot/version.rb
|
185
168
|
- lib/vendor/turbot/okjson.rb
|
169
|
+
- schema/schemas/company-schema.json
|
170
|
+
- schema/schemas/includes/address.json
|
171
|
+
- schema/schemas/includes/base-statement.json
|
172
|
+
- schema/schemas/includes/company.json
|
173
|
+
- schema/schemas/includes/filing.json
|
174
|
+
- schema/schemas/includes/license-data.json
|
175
|
+
- schema/schemas/includes/officer.json
|
176
|
+
- schema/schemas/includes/previous_name.json
|
177
|
+
- schema/schemas/includes/share-parcel-data.json
|
178
|
+
- schema/schemas/includes/share-parcel.json
|
179
|
+
- schema/schemas/includes/subsidiary-relationship-data.json
|
180
|
+
- schema/schemas/includes/total-shares.json
|
181
|
+
- schema/schemas/licence-schema.json
|
182
|
+
- schema/schemas/primary-data-schema.json
|
183
|
+
- schema/schemas/share-parcel-schema.json
|
184
|
+
- schema/schemas/subsidiary-relationship-schema.json
|
186
185
|
- spec/helper/legacy_help.rb
|
187
186
|
- spec/helper/pg_dump_restore_spec.rb
|
188
187
|
- spec/schemas/dummy_schema.json
|
@@ -216,45 +215,29 @@ files:
|
|
216
215
|
- templates/manifest.json
|
217
216
|
- templates/python/scraper.py
|
218
217
|
- templates/ruby/scraper.rb
|
219
|
-
- schema/schemas/company-schema.json
|
220
|
-
- schema/schemas/includes/address.json
|
221
|
-
- schema/schemas/includes/base-statement.json
|
222
|
-
- schema/schemas/includes/company.json
|
223
|
-
- schema/schemas/includes/filing.json
|
224
|
-
- schema/schemas/includes/license-data.json
|
225
|
-
- schema/schemas/includes/officer.json
|
226
|
-
- schema/schemas/includes/previous_name.json
|
227
|
-
- schema/schemas/includes/share-parcel-data.json
|
228
|
-
- schema/schemas/includes/share-parcel.json
|
229
|
-
- schema/schemas/includes/subsidiary-relationship-data.json
|
230
|
-
- schema/schemas/includes/total-shares.json
|
231
|
-
- schema/schemas/licence-schema.json
|
232
|
-
- schema/schemas/primary-data-schema.json
|
233
|
-
- schema/schemas/share-parcel-schema.json
|
234
|
-
- schema/schemas/subsidiary-relationship-schema.json
|
235
218
|
homepage: http://turbot.com/
|
236
219
|
licenses:
|
237
220
|
- MIT
|
221
|
+
metadata: {}
|
238
222
|
post_install_message:
|
239
223
|
rdoc_options: []
|
240
224
|
require_paths:
|
241
225
|
- lib
|
242
226
|
required_ruby_version: !ruby/object:Gem::Requirement
|
243
|
-
none: false
|
244
227
|
requirements:
|
245
228
|
- - ! '>='
|
246
229
|
- !ruby/object:Gem::Version
|
247
230
|
version: 1.9.2
|
248
231
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
249
|
-
none: false
|
250
232
|
requirements:
|
251
233
|
- - ! '>='
|
252
234
|
- !ruby/object:Gem::Version
|
253
235
|
version: '0'
|
254
236
|
requirements: []
|
255
237
|
rubyforge_project:
|
256
|
-
rubygems_version:
|
238
|
+
rubygems_version: 2.2.2
|
257
239
|
signing_key:
|
258
|
-
specification_version:
|
240
|
+
specification_version: 4
|
259
241
|
summary: Client library and CLI to deploy apps on Turbot.
|
260
242
|
test_files: []
|
243
|
+
has_rdoc:
|