turbot 0.1.9 → 0.1.10

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,15 @@
1
+ ---
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ NDdlZDEyMThiYjYyODczNTY0ODAwZGVmZTAzMDUyOTIwY2UyZmVlYQ==
5
+ data.tar.gz: !binary |-
6
+ MTNhOGMwNGI1NWYxOWU5ZjI1NmZjNTNjNTJhN2E5NjA5YzhhMDZmOA==
7
+ SHA512:
8
+ metadata.gz: !binary |-
9
+ ZGIzMmVjN2IwM2JmYzczZDEwYmQ5OGM3Zjk2YzJmMmM5YmQyNTM5MjNiOGRk
10
+ ZjlhYTAwYTlkYjUyZTAwMzc1NDdjNzUzNjBiMmI5NzdlYjE1ODUxMDczYmNk
11
+ NGM2ODI4MzJjM2Y5YTIwZWM5YjFhYzNkODk1OTdlOWU0NzJlMmM=
12
+ data.tar.gz: !binary |-
13
+ YjhlODFjN2UzNTQ1ODMxNmY3ZmI3MTAwMmZlMjZhYzZjYmE2Y2M2MDgyMjNj
14
+ MThmYTY2ZjdhNDBhMGQ3YjdhZTc1NmMwYjk3OGE4OTY1ODc5ODM1M2M0ZDdl
15
+ ODFhZjUyZTZkY2NjNDlhYTUxNzJkODIwMzZiNjczZGU5YjcyNzc=
@@ -1,3 +1,3 @@
1
1
  module Turbot
2
- VERSION = "0.1.9"
2
+ VERSION = "0.1.10"
3
3
  end
@@ -1,4 +1,3 @@
1
-
2
1
  {
3
2
  "$schema": "http://json-schema.org/draft-04/schema#",
4
3
  "title": "Company Schema",
metadata CHANGED
@@ -1,126 +1,155 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: turbot
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.9
5
- prerelease:
4
+ version: 0.1.10
6
5
  platform: ruby
7
6
  authors:
8
7
  - Turbot
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2014-12-23 00:00:00.000000000 Z
11
+ date: 2015-01-27 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: turbotlib
16
- requirement: &10099200 !ruby/object:Gem::Requirement
17
- none: false
15
+ requirement: !ruby/object:Gem::Requirement
18
16
  requirements:
19
17
  - - ~>
20
18
  - !ruby/object:Gem::Version
21
19
  version: 0.0.8
22
20
  type: :runtime
23
21
  prerelease: false
24
- version_requirements: *10099200
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ~>
25
+ - !ruby/object:Gem::Version
26
+ version: 0.0.8
25
27
  - !ruby/object:Gem::Dependency
26
28
  name: netrc
27
- requirement: &10098660 !ruby/object:Gem::Requirement
28
- none: false
29
+ requirement: !ruby/object:Gem::Requirement
29
30
  requirements:
30
31
  - - ~>
31
32
  - !ruby/object:Gem::Version
32
33
  version: 0.7.7
33
34
  type: :runtime
34
35
  prerelease: false
35
- version_requirements: *10098660
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ~>
39
+ - !ruby/object:Gem::Version
40
+ version: 0.7.7
36
41
  - !ruby/object:Gem::Dependency
37
42
  name: rest-client
38
- requirement: &10098180 !ruby/object:Gem::Requirement
39
- none: false
43
+ requirement: !ruby/object:Gem::Requirement
40
44
  requirements:
41
45
  - - ~>
42
46
  - !ruby/object:Gem::Version
43
47
  version: 1.6.1
44
48
  type: :runtime
45
49
  prerelease: false
46
- version_requirements: *10098180
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ~>
53
+ - !ruby/object:Gem::Version
54
+ version: 1.6.1
47
55
  - !ruby/object:Gem::Dependency
48
56
  name: launchy
49
- requirement: &10097620 !ruby/object:Gem::Requirement
50
- none: false
57
+ requirement: !ruby/object:Gem::Requirement
51
58
  requirements:
52
59
  - - ! '>='
53
60
  - !ruby/object:Gem::Version
54
61
  version: 0.3.2
55
62
  type: :runtime
56
63
  prerelease: false
57
- version_requirements: *10097620
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ! '>='
67
+ - !ruby/object:Gem::Version
68
+ version: 0.3.2
58
69
  - !ruby/object:Gem::Dependency
59
70
  name: rubyzip
60
- requirement: &10097160 !ruby/object:Gem::Requirement
61
- none: false
71
+ requirement: !ruby/object:Gem::Requirement
62
72
  requirements:
63
73
  - - ! '>='
64
74
  - !ruby/object:Gem::Version
65
75
  version: 1.0.0
66
76
  type: :runtime
67
77
  prerelease: false
68
- version_requirements: *10097160
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ! '>='
81
+ - !ruby/object:Gem::Version
82
+ version: 1.0.0
69
83
  - !ruby/object:Gem::Dependency
70
84
  name: json-schema
71
- requirement: &10096760 !ruby/object:Gem::Requirement
72
- none: false
85
+ requirement: !ruby/object:Gem::Requirement
73
86
  requirements:
74
87
  - - ! '>='
75
88
  - !ruby/object:Gem::Version
76
89
  version: '0'
77
90
  type: :runtime
78
91
  prerelease: false
79
- version_requirements: *10096760
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ! '>='
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
80
97
  - !ruby/object:Gem::Dependency
81
98
  name: activesupport
82
- requirement: &10096140 !ruby/object:Gem::Requirement
83
- none: false
99
+ requirement: !ruby/object:Gem::Requirement
84
100
  requirements:
85
- - - =
101
+ - - '='
86
102
  - !ruby/object:Gem::Version
87
103
  version: 4.1.4
88
104
  type: :runtime
89
105
  prerelease: false
90
- version_requirements: *10096140
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - '='
109
+ - !ruby/object:Gem::Version
110
+ version: 4.1.4
91
111
  - !ruby/object:Gem::Dependency
92
112
  name: turbot-api
93
- requirement: &10095560 !ruby/object:Gem::Requirement
94
- none: false
113
+ requirement: !ruby/object:Gem::Requirement
95
114
  requirements:
96
- - - =
115
+ - - '='
97
116
  - !ruby/object:Gem::Version
98
117
  version: 0.0.14
99
118
  type: :runtime
100
119
  prerelease: false
101
- version_requirements: *10095560
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - '='
123
+ - !ruby/object:Gem::Version
124
+ version: 0.0.14
102
125
  - !ruby/object:Gem::Dependency
103
126
  name: turbot-runner
104
- requirement: &10095060 !ruby/object:Gem::Requirement
105
- none: false
127
+ requirement: !ruby/object:Gem::Requirement
106
128
  requirements:
107
- - - =
129
+ - - '='
108
130
  - !ruby/object:Gem::Version
109
- version: 0.1.14
131
+ version: 0.1.22
110
132
  type: :runtime
111
133
  prerelease: false
112
- version_requirements: *10095060
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - '='
137
+ - !ruby/object:Gem::Version
138
+ version: 0.1.22
113
139
  - !ruby/object:Gem::Dependency
114
140
  name: excon
115
- requirement: &10094660 !ruby/object:Gem::Requirement
116
- none: false
141
+ requirement: !ruby/object:Gem::Requirement
117
142
  requirements:
118
143
  - - ! '>='
119
144
  - !ruby/object:Gem::Version
120
145
  version: '0'
121
146
  type: :runtime
122
147
  prerelease: false
123
- version_requirements: *10094660
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - ! '>='
151
+ - !ruby/object:Gem::Version
152
+ version: '0'
124
153
  description: Client library and command-line tool to deploy and manage apps on Turbot.
125
154
  email: support@turbot.com
126
155
  executables:
@@ -160,6 +189,28 @@ files:
160
189
  - lib/turbot/updater.rb
161
190
  - lib/turbot/version.rb
162
191
  - lib/vendor/turbot/okjson.rb
192
+ - schema/schemas/company-schema.json
193
+ - schema/schemas/financial-payment-schema.json
194
+ - schema/schemas/includes/address.json
195
+ - schema/schemas/includes/alternative_name.json
196
+ - schema/schemas/includes/company.json
197
+ - schema/schemas/includes/filing.json
198
+ - schema/schemas/includes/financial-payment-data-object.json
199
+ - schema/schemas/includes/industry_code.json
200
+ - schema/schemas/includes/licence-data-object.json
201
+ - schema/schemas/includes/officer.json
202
+ - schema/schemas/includes/previous_name.json
203
+ - schema/schemas/includes/share-parcel-data.json
204
+ - schema/schemas/includes/share-parcel.json
205
+ - schema/schemas/includes/subsidiary-relationship-data.json
206
+ - schema/schemas/includes/total-shares.json
207
+ - schema/schemas/licence-schema.json
208
+ - schema/schemas/primary-data-schema.json
209
+ - schema/schemas/share-parcel-schema.json
210
+ - schema/schemas/simple-financial-payment-schema.json
211
+ - schema/schemas/simple-licence-schema.json
212
+ - schema/schemas/simple-subsidiary-schema.json
213
+ - schema/schemas/subsidiary-relationship-schema.json
163
214
  - spec/helper/legacy_help.rb
164
215
  - spec/helper/pg_dump_restore_spec.rb
165
216
  - spec/schemas/dummy_schema.json
@@ -189,58 +240,29 @@ files:
189
240
  - templates/manifest.json
190
241
  - templates/python/scraper.py
191
242
  - templates/ruby/scraper.rb
192
- - schema/schemas/company-schema.json
193
- - schema/schemas/financial-payment-schema.json
194
- - schema/schemas/includes/address.json
195
- - schema/schemas/includes/alternative_name.json
196
- - schema/schemas/includes/company.json
197
- - schema/schemas/includes/filing.json
198
- - schema/schemas/includes/financial-payment-data-object.json
199
- - schema/schemas/includes/identifier.json
200
- - schema/schemas/includes/industry_code.json
201
- - schema/schemas/includes/licence-data-object.json
202
- - schema/schemas/includes/officer.json
203
- - schema/schemas/includes/organisation.json
204
- - schema/schemas/includes/permission.json
205
- - schema/schemas/includes/person.json
206
- - schema/schemas/includes/person_name.json
207
- - schema/schemas/includes/previous_name.json
208
- - schema/schemas/includes/share-parcel-data.json
209
- - schema/schemas/includes/share-parcel.json
210
- - schema/schemas/includes/subsidiary-relationship-data.json
211
- - schema/schemas/includes/total-shares.json
212
- - schema/schemas/includes/unknown_entity_type.json
213
- - schema/schemas/licence-schema.json
214
- - schema/schemas/primary-data-schema.json
215
- - schema/schemas/rich-licence-schema.json
216
- - schema/schemas/share-parcel-schema.json
217
- - schema/schemas/simple-financial-payment-schema.json
218
- - schema/schemas/simple-licence-schema.json
219
- - schema/schemas/simple-subsidiary-schema.json
220
- - schema/schemas/subsidiary-relationship-schema.json
221
243
  homepage: http://turbot.com/
222
244
  licenses:
223
245
  - MIT
246
+ metadata: {}
224
247
  post_install_message:
225
248
  rdoc_options: []
226
249
  require_paths:
227
250
  - lib
228
251
  required_ruby_version: !ruby/object:Gem::Requirement
229
- none: false
230
252
  requirements:
231
253
  - - ! '>='
232
254
  - !ruby/object:Gem::Version
233
255
  version: 1.9.2
234
256
  required_rubygems_version: !ruby/object:Gem::Requirement
235
- none: false
236
257
  requirements:
237
258
  - - ! '>='
238
259
  - !ruby/object:Gem::Version
239
260
  version: '0'
240
261
  requirements: []
241
262
  rubyforge_project:
242
- rubygems_version: 1.8.11
263
+ rubygems_version: 2.2.2
243
264
  signing_key:
244
- specification_version: 3
265
+ specification_version: 4
245
266
  summary: Client library and CLI to deploy apps on Turbot.
246
267
  test_files: []
268
+ has_rdoc:
@@ -1,12 +0,0 @@
1
- {
2
- "name": "Identifier",
3
- "description": "An identifier for an entity (possibly other things, e.g. securities in the future). Examples are tax IDs, non-profit IDs, SEC CIK numbers, Federal Reserve RSSD id. The main requirements for an identifier is that they should be well-defined, and issued by a government or have statutory standing",
4
- "type": "object",
5
- "properties": { "code": { "type": "string" },
6
- "code_scheme_id": {
7
- "type": "string",
8
- "description": "An identifier representing the identifier scheme. Some examples of this are us_fein (US Federal tax number), us_sec_cik (US Securities and Exchange Commission CIK), gb_ccew (Charity Commission of England & Wales), lei (Global Legal Entity Identifier Schems)"
9
- }
10
- },
11
- "required": [ "code", "code_scheme_id" ]
12
- }
@@ -1,57 +0,0 @@
1
- {
2
- "title": "Organisation",
3
- "type": "object",
4
- "description": "An entity which is a distinct organisation, but is not a company nor an individual. Examples include governments and governmental entities (e.g. Multilateral Devoelpment Banks, Government Departments, municipalities, etc), and also membership organisations",
5
- "properties": {
6
- "name": {
7
- "type": "string",
8
- "description": "Name of the entity",
9
- "minLength": 1
10
- },
11
- "jurisdiction": {
12
- "type": "string",
13
- "description": "Name of the jurisdiction in which the entity is incorporated/domiciled (use global for global entities, e.g. UN)"
14
- },
15
- "website": {
16
- "type": "string",
17
- "minLength": 5
18
- },
19
- "telephone_number": {
20
- "type": "string",
21
- "minLength": 4
22
- },
23
- "fax_number": {
24
- "type": "string",
25
- "minLength": 4
26
- },
27
- "registered_address": {
28
- "$ref": "address.json"
29
- },
30
- "headquarters_address": {
31
- "$ref": "address.json"
32
- },
33
- "mailing_address": {
34
- "$ref": "address.json"
35
- },
36
- "industry_codes": {
37
- "type": "array",
38
- "items": {
39
- "$ref": "industry_code.json"
40
- }
41
- },
42
- "previous_names": {
43
- "type": "array",
44
- "items": {
45
- "$ref": "previous_name.json"
46
- }
47
- },
48
- "alternative_names": {
49
- "type": "array",
50
- "items": {
51
- "$ref": "alternative_name.json"
52
- }
53
- }
54
- },
55
- "required": ["name"]
56
- }
57
-
@@ -1,27 +0,0 @@
1
- { "oneOf":
2
- [
3
- {
4
- "type": ["string","null"],
5
- "minLength": 2
6
- },
7
- {
8
- "name": "Permission",
9
- "description": "A permission issued by a government or regulatory body to an entity to do something. This may be fine grained,e.g. to sell liquor, to accept customer deposits, or broader, e.g to operate as a bank, a restaurant. It may also be permission to do something physical, such as explore for oil in a given area, or mine for iron ore",
10
- "type": "object",
11
- "properties": { "activity_name": { "type": "string" },
12
- "activity_id": { "type":"string" },
13
- "permission_type": {
14
- "enum": ["operating", "exploration", "exploitation"],
15
- "description":"types of permission, such as 'operating', 'exploration', 'exploitation'"
16
- },
17
- "restrictions": { "type":"array",
18
- "description":"conditions or restrictions on the permissions",
19
- "items": { "type":"string" }
20
- },
21
- "other_attributes": { }
22
- },
23
- "required": ["activity_name"]
24
- }
25
- ]
26
- }
27
-
@@ -1,54 +0,0 @@
1
- {
2
- "title": "Person",
3
- "type": "object",
4
- "description": "A person, for example, referenced in some other context, e.g. director of a company, shareholder, licence-holder, lobbyist",
5
- "properties": {
6
- "name": {
7
- "oneOf": [
8
- { "type": "string",
9
- "minLength": 1
10
- },
11
- { "$ref": "person_name.json" }
12
- ]
13
- },
14
- "jurisdiction": {
15
- "type": "string",
16
- "description": "Name of the jurisdiction in which the entity is based"
17
- },
18
- "website": {
19
- "type": "string",
20
- "minLength": 5
21
- },
22
- "telephone_number": {
23
- "type": "string",
24
- "minLength": 4
25
- },
26
- "fax_number": {
27
- "type": "string",
28
- "minLength": 4
29
- },
30
- "registered_address": {
31
- "$ref": "address.json"
32
- },
33
- "headquarters_address": {
34
- "$ref": "address.json"
35
- },
36
- "mailing_address": {
37
- "$ref": "address.json"
38
- },
39
- "industry_codes": {
40
- "type": "array",
41
- "items": {
42
- "$ref": "industry_code.json"
43
- }
44
- },
45
- "alternative_names": {
46
- "type": "array",
47
- "items": {
48
- "$ref": "alternative_name.json"
49
- }
50
- }
51
- },
52
- "required": ["name"]
53
- }
54
-
@@ -1,47 +0,0 @@
1
- { "oneOf":
2
- [
3
- {
4
- "type": ["string",null],
5
- "minLength": 2
6
- },
7
- {
8
- "description": "The name of a person as an object",
9
- "type": "object",
10
- "properties": {
11
- "given_name": {
12
- "type": ["string",null],
13
- "description": "The given name (often first name) of a person, as opposed to their family name. Following FOAF practice, this is preferred to first_name",
14
- "minLength": 1
15
- },
16
- "family_name": {
17
- "type": ["string",null],
18
- "description": "The family name (often last name) of a person, as opposed to their family name. Following FOAF practice, this is preferred to last_name",
19
- "minLength": 1
20
- },
21
- "first_name": {
22
- "type": ["string",null],
23
- "minLength": 1
24
- },
25
- "middle_name": {
26
- "type": ["string",null],
27
- "minLength": 1
28
- },
29
- "last_name": {
30
- "type": ["string",null],
31
- "minLength": 1
32
- },
33
- "title": {
34
- "type": ["string",null],
35
- "description": "Title such as Mr, Ms, Dr etc",
36
- "minLength": 1
37
- },
38
- "suffixes": {
39
- "type": ["string",null],
40
- "description": "Any suffixes, including degrees, honours (OBE), ordinals (John Smith Jr, Bill Jones II) etc",
41
- "minLength": 1
42
- }
43
- }
44
- }
45
- ]
46
- }
47
-
@@ -1,57 +0,0 @@
1
- {
2
- "title": "UnknownEntityType",
3
- "type": "object",
4
- "description": "An entity of unknown type - potentially a company, a person, government entity, or some unincorporated organisation",
5
- "properties": {
6
- "name": {
7
- "type": "string",
8
- "description": "Name of the entity",
9
- "minLength": 1
10
- },
11
- "jurisdiction": {
12
- "type": "string",
13
- "description": "Name of the jurisdiction in which the entity is incorporated/domiciled"
14
- },
15
- "website": {
16
- "type": "string",
17
- "minLength": 5
18
- },
19
- "telephone_number": {
20
- "type": "string",
21
- "minLength": 4
22
- },
23
- "fax_number": {
24
- "type": "string",
25
- "minLength": 4
26
- },
27
- "registered_address": {
28
- "$ref": "address.json"
29
- },
30
- "headquarters_address": {
31
- "$ref": "address.json"
32
- },
33
- "mailing_address": {
34
- "$ref": "address.json"
35
- },
36
- "industry_codes": {
37
- "type": "array",
38
- "items": {
39
- "$ref": "industry_code.json"
40
- }
41
- },
42
- "previous_names": {
43
- "type": "array",
44
- "items": {
45
- "$ref": "previous_name.json"
46
- }
47
- },
48
- "alternative_names": {
49
- "type": "array",
50
- "items": {
51
- "$ref": "alternative_name.json"
52
- }
53
- }
54
- },
55
- "required": ["name"]
56
- }
57
-
@@ -1,76 +0,0 @@
1
- {
2
- "title": "Rich Licence Schema",
3
- "description": "A Licence is a permission for an entity to do something that would otherwise not be permitted. Note that such permissions are recorded in multiple different ways and to different granularity. In addition categories cross over, for example a pornborker may be regulated as a retail establishment by a city, but also as a financial institution by a national or regional financial regulator. Sometimes the licence is a simple statement – the government of Rwanda has given a banking licence to a certain bank -- other times it is fine-grained and highly complex (e.g. an extractives licence or the UK FCA licencing scheme). This schema tries to make it easy to submit the former, while not losing granularity of the latter. The object has the name of Rich Licence to distinguish it from Simple Licence, which it is expected to ultimately replace.",
4
- "$schema": "http://json-schema.org/draft-04/schema#",
5
- "properties": {
6
- "licence_holder": {
7
- "entity": {
8
- "oneOf": [
9
- {"$ref": "company-schema.json"},
10
- {"$ref": "includes/person.json"},
11
- {"$ref": "includes/organisation.json"},
12
- {"$ref": "includes/unknown_entity_type.json"}
13
- ]
14
- },
15
- "entity_type": {
16
- "enum": ["company", "person", "organisation", "unknown_entity_type", null]
17
- }
18
- },
19
- "licence_issuer": {
20
- "oneOf": [
21
- {
22
- "type": ["string","null"],
23
- "minLength": 2
24
- },
25
- {"$ref": "includes/organisation.json"}
26
- ]
27
- },
28
- "licenced_location": {
29
- "$ref": "includes/address.json"
30
- },
31
- "licence_number": {
32
- "type": "string"
33
- },
34
- "start_date": {
35
- "description": "The issue date of the licence",
36
- "type": "date"
37
- },
38
- "end_date": {
39
- "description": "The expiry date of the licence",
40
- "type": "date"
41
- },
42
- "renewal_date": {
43
- "type": "date"
44
- },
45
- "licence_url": {
46
- "type": "string",
47
- "description": "A public URL for the licence"
48
- },
49
- "jurisdiction_of_licence": {
50
- "type": "string",
51
- "description": "The area in which this licence is valid"
52
- },
53
- "status": {
54
- "type": "string",
55
- "description": "The status of the licence. If the licence is made up of a number of permissions, each of which has a status, store the status in the permissions field instead/as well"
56
- },
57
- "category": {
58
- "description": "Category of licence",
59
- "type": "array",
60
- "items": {
61
- "type": "string",
62
- "enum": ["Financial", "Business", "Extractive"]
63
- }
64
- },
65
- "permissions": {
66
- "type": "array",
67
- "items": {
68
- "$ref": "includes/permission.json"
69
- }
70
- },
71
- "other_attributes": {
72
- "description": "Use for other licence attributes for which we don't yet have curated schema attributes"
73
- }
74
- },
75
- "required": ["source_url", "sample_date", "licence_holder", "permissions", "licence_issuer", "jurisdiction_of_licence"]
76
- }