turbot 0.0.31 → 0.0.33

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,7 +1,15 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 63a50a991f01d97eccb3b81bd91ec01e8283bcd4
4
- data.tar.gz: 033f5a762128b3060e385c39a93333e9a2ab3fca
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ MTBkOGJkOWNiYjhiZWViN2JmNzgwN2M5Y2I4NDZmZGE3YzY1NjgwMA==
5
+ data.tar.gz: !binary |-
6
+ MzcxNjIxMzAyMjliZjM4OGY4MmQwMmI2MWY0NmU3NDdjMmM3NmZmMw==
5
7
  SHA512:
6
- metadata.gz: 7a09713ea6e5355e0cc4db8e7d259b092761a631382d84f3e6e2e804634fb4e1c3fff93c502f8aacadc0934c3ff16691139bf30502bb7b5196295d37953bc554
7
- data.tar.gz: 65dfa81262d92982df9b918133b0e84f82b56c7358f2f602bfb43f1acb19e4a3c5885f91a26de13c25740d72f3122d86a78d7f667c51ccd0e248af919a249b4c
8
+ metadata.gz: !binary |-
9
+ YzFjNjRhNWI4ZTYzYzQ1ODZkMTRlZDdlYzRhOGY4Y2NiOTAxZGViZWMzMDlh
10
+ OTVmNGYyZmJjOGRhOTM5ODc3ZGI0NDQxODYwYTczYTBlYTVlMTM5OTIyYTlm
11
+ NWI1NGE0ODJlNTdiZWY1MjI2MjRjOWRhYjRjMzc1OTBlYmRhNDY=
12
+ data.tar.gz: !binary |-
13
+ MTkzNTRhZGI4ZmNkMDQ4NzIxZTRiNWE2NmJmODllNmFlYjNmYjgzMTA3OWNm
14
+ YzQ2NmRhNjViYWNiMzdlMWZmMDM4ZmU0NDk2MDQwNTdlZDVkOTZlNDMwYTVi
15
+ YWY1NDI4YzU3ZTRmYzAwYzViNmEwMDU2NTdiNDI4NjQyZTVmZjk=
@@ -311,7 +311,7 @@ class PreviewRunner < TurbotRunner::BaseRunner
311
311
  def handle_valid_record(record, data_type)
312
312
  #spinner(@count)
313
313
  @count += 1
314
- @batch << record
314
+ @batch << record.merge(:data_type => data_type)
315
315
 
316
316
  if @count % 20 == 0
317
317
  result = submit_batch
@@ -1,3 +1,3 @@
1
1
  module Turbot
2
- VERSION = "0.0.31"
2
+ VERSION = "0.0.33"
3
3
  end
@@ -0,0 +1,50 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-04/schema#",
3
+ "title": "Simple Licence Schema",
4
+ "type": "object",
5
+ "properties": {
6
+ "source_url": {
7
+ "description": "Place where this fact can be verified",
8
+ "type": "string"
9
+ },
10
+ "sample_date": {
11
+ "description": "Date on which this fact was known to be true",
12
+ "type": "string"
13
+ },
14
+ "confidence": {
15
+ "description": "Confidence in accuracy of data",
16
+ "type": "string",
17
+ "enum": ["HIGH", "MEDIUM", "LOW"]
18
+ },
19
+ "company_name": {
20
+ "description": "Name of the company holding the licence",
21
+ "type": "string"
22
+ },
23
+ "company_jurisdiction": {
24
+ "description": "Jurisdiction where company is based",
25
+ "type": "string"
26
+ },
27
+ "licence_number": {
28
+ "description": "Licence number or code",
29
+ "type": "string"
30
+ },
31
+ "jurisdiction_classification": {
32
+ "description": "Description of how regulator classifies licence",
33
+ "type": "string"
34
+ },
35
+ "regulator": {
36
+ "description": "The regulating body that issued the licence",
37
+ "type": "string"
38
+ },
39
+ "licence_jurisdiction": {
40
+ "description": "Jurisdiction where licence is issued",
41
+ "type": "string"
42
+ },
43
+ "category": {
44
+ "description": "Category of licence",
45
+ "type": "string",
46
+ "enum": ["Financial"]
47
+ }
48
+ },
49
+ "required": ["source_url", "sample_date", "company_name", "company_jurisdiction"]
50
+ }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: turbot
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.31
4
+ version: 0.0.33
5
5
  platform: ruby
6
6
  authors:
7
7
  - Turbot
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-07-02 00:00:00.000000000 Z
11
+ date: 2014-07-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: netrc
@@ -42,42 +42,42 @@ dependencies:
42
42
  name: launchy
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - '>='
45
+ - - ! '>='
46
46
  - !ruby/object:Gem::Version
47
47
  version: 0.3.2
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: 0.3.2
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rubyzip
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - '>='
59
+ - - ! '>='
60
60
  - !ruby/object:Gem::Version
61
61
  version: 1.0.0
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: 1.0.0
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: json-schema
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - '>='
73
+ - - ! '>='
74
74
  - !ruby/object:Gem::Version
75
75
  version: '0'
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: '0'
83
83
  - !ruby/object:Gem::Dependency
@@ -86,14 +86,14 @@ dependencies:
86
86
  requirements:
87
87
  - - '='
88
88
  - !ruby/object:Gem::Version
89
- version: 3.2.17
89
+ version: 4.1.4
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
- version: 3.2.17
96
+ version: 4.1.4
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: turbot-api
99
99
  requirement: !ruby/object:Gem::Requirement
@@ -126,14 +126,14 @@ dependencies:
126
126
  name: excon
127
127
  requirement: !ruby/object:Gem::Requirement
128
128
  requirements:
129
- - - '>='
129
+ - - ! '>='
130
130
  - !ruby/object:Gem::Version
131
131
  version: '0'
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'
139
139
  description: Client library and command-line tool to deploy and manage apps on Turbot.
@@ -175,6 +175,23 @@ files:
175
175
  - lib/turbot/updater.rb
176
176
  - lib/turbot/version.rb
177
177
  - lib/vendor/turbot/okjson.rb
178
+ - schema/schemas/company-schema.json
179
+ - schema/schemas/includes/address.json
180
+ - schema/schemas/includes/base-statement.json
181
+ - schema/schemas/includes/company.json
182
+ - schema/schemas/includes/filing.json
183
+ - schema/schemas/includes/license-data.json
184
+ - schema/schemas/includes/officer.json
185
+ - schema/schemas/includes/previous_name.json
186
+ - schema/schemas/includes/share-parcel-data.json
187
+ - schema/schemas/includes/share-parcel.json
188
+ - schema/schemas/includes/subsidiary-relationship-data.json
189
+ - schema/schemas/includes/total-shares.json
190
+ - schema/schemas/licence-schema.json
191
+ - schema/schemas/primary-data-schema.json
192
+ - schema/schemas/share-parcel-schema.json
193
+ - schema/schemas/simple-licence-schema.json
194
+ - schema/schemas/subsidiary-relationship-schema.json
178
195
  - spec/helper/legacy_help.rb
179
196
  - spec/helper/pg_dump_restore_spec.rb
180
197
  - spec/schemas/dummy_schema.json
@@ -208,22 +225,6 @@ files:
208
225
  - templates/manifest.json
209
226
  - templates/python/scraper.py
210
227
  - templates/ruby/scraper.rb
211
- - schema/schemas/company-schema.json
212
- - schema/schemas/includes/address.json
213
- - schema/schemas/includes/base-statement.json
214
- - schema/schemas/includes/company.json
215
- - schema/schemas/includes/filing.json
216
- - schema/schemas/includes/license-data.json
217
- - schema/schemas/includes/officer.json
218
- - schema/schemas/includes/previous_name.json
219
- - schema/schemas/includes/share-parcel-data.json
220
- - schema/schemas/includes/share-parcel.json
221
- - schema/schemas/includes/subsidiary-relationship-data.json
222
- - schema/schemas/includes/total-shares.json
223
- - schema/schemas/licence-schema.json
224
- - schema/schemas/primary-data-schema.json
225
- - schema/schemas/share-parcel-schema.json
226
- - schema/schemas/subsidiary-relationship-schema.json
227
228
  homepage: http://turbot.com/
228
229
  licenses:
229
230
  - MIT
@@ -234,18 +235,19 @@ require_paths:
234
235
  - lib
235
236
  required_ruby_version: !ruby/object:Gem::Requirement
236
237
  requirements:
237
- - - '>='
238
+ - - ! '>='
238
239
  - !ruby/object:Gem::Version
239
240
  version: 1.9.2
240
241
  required_rubygems_version: !ruby/object:Gem::Requirement
241
242
  requirements:
242
- - - '>='
243
+ - - ! '>='
243
244
  - !ruby/object:Gem::Version
244
245
  version: '0'
245
246
  requirements: []
246
247
  rubyforge_project:
247
- rubygems_version: 2.0.14
248
+ rubygems_version: 2.2.2
248
249
  signing_key:
249
250
  specification_version: 4
250
251
  summary: Client library and CLI to deploy apps on Turbot.
251
252
  test_files: []
253
+ has_rdoc: