turbot-runner 0.2.6 → 0.2.7

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.
@@ -1,3 +1,3 @@
1
1
  module TurbotRunner
2
- VERSION = '0.2.6'
2
+ VERSION = '0.2.7'
3
3
  end
@@ -46,13 +46,19 @@
46
46
  "$ref": "includes/accounts_element.json"
47
47
  }
48
48
  },
49
+ "fixed_assets": {
50
+ "type": ["array","null"],
51
+ "items": {
52
+ "$ref": "includes/accounts_element.json"
53
+ }
54
+ },
49
55
  "current_liabilities": {
50
56
  "type": ["array","null"],
51
57
  "items": {
52
58
  "$ref": "includes/accounts_element.json"
53
59
  }
54
60
  },
55
- "fixed_assets": {
61
+ "total_liabilities": {
56
62
  "type": ["array","null"],
57
63
  "items": {
58
64
  "$ref": "includes/accounts_element.json"
@@ -44,7 +44,10 @@
44
44
  ]
45
45
  },
46
46
  "registry_url": {
47
- "type": "string"
47
+ "type": [
48
+ "string",
49
+ "null"
50
+ ]
48
51
  },
49
52
  "website": {
50
53
  "type": "string",
@@ -89,7 +92,7 @@
89
92
  }
90
93
  },
91
94
  "identifiers": {
92
- "type": "array",
95
+ "type": ["array", "null"],
93
96
  "items": {
94
97
  "$ref": "includes/identifier.json"
95
98
  }
@@ -27,6 +27,10 @@
27
27
  },
28
28
  "country": {
29
29
  "type": "string"
30
+ },
31
+ "country_code": {
32
+ "description": "ISO 3166-2 code for country",
33
+ "type": "string"
30
34
  }
31
35
  },
32
36
  "anyOf": [
@@ -25,7 +25,8 @@
25
25
  "enum": [
26
26
  "trading",
27
27
  "abbreviation",
28
- "legal"
28
+ "legal",
29
+ "unknown"
29
30
  ]
30
31
  }
31
32
  },
@@ -54,7 +54,7 @@
54
54
  "description": "a unique identifier given to the individual (as opposed to the officership)"
55
55
  },
56
56
  "address": {
57
- "type": "string"
57
+ "$ref": "address.json"
58
58
  },
59
59
  "type": {
60
60
  "type": "string",
@@ -16,6 +16,40 @@
16
16
  "maximum": 100,
17
17
  "minimum": 0
18
18
  },
19
+ "percentage_of_shares_min": {
20
+ "description": "Minimum percentage of shares (if for example a band of percentage is given)",
21
+ "type": ["number",null],
22
+ "maximum": 100,
23
+ "minimum": 0
24
+ },
25
+ "percentage_of_shares_max": {
26
+ "description": "Maximum percentage of shares (if for example a band of percentage is given)",
27
+ "type": ["number",null],
28
+ "maximum": 100,
29
+ "minimum": 0
30
+ },
31
+ "voting_percentage": {
32
+ "description": "Percentage of votes, if known",
33
+ "type": "number",
34
+ "maximum": 100,
35
+ "minimum": 0
36
+ },
37
+ "voting_percentage_min": {
38
+ "description": "Minimum percentage of votes (if for example a band of votes is given)",
39
+ "type": ["number",null],
40
+ "maximum": 100,
41
+ "minimum": 0
42
+ },
43
+ "voting_percentage_max": {
44
+ "description": "Maximum percentage of votes (if for example a band of votes is given)",
45
+ "type": ["number",null],
46
+ "maximum": 100,
47
+ "minimum": 0
48
+ },
49
+ "share_class": {
50
+ "description": "Share class or classes, if known",
51
+ "type": "string"
52
+ },
19
53
  "start_date": {
20
54
  "type": "string",
21
55
  "format": "date"
@@ -64,11 +98,11 @@
64
98
  ]
65
99
  },
66
100
  "address": {
67
- "description": "Address given for owner of parcel",
68
- "type": "string"
101
+ "description": "Address given for shareholder",
102
+ "$ref": "address.json"
69
103
  },
70
104
  "address_country": {
71
- "description": "Country part of owner's address",
105
+ "description": "Country part of owner's address (for example if address not given)",
72
106
  "type": "string"
73
107
  }
74
108
  }
metadata CHANGED
@@ -1,18 +1,20 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: turbot-runner
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.6
4
+ version: 0.2.7
5
+ prerelease:
5
6
  platform: ruby
6
7
  authors:
7
8
  - OpenCorporates
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
- date: 2015-10-27 00:00:00.000000000 Z
12
+ date: 2016-01-05 00:00:00.000000000 Z
12
13
  dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
15
  name: activesupport
15
16
  requirement: !ruby/object:Gem::Requirement
17
+ none: false
16
18
  requirements:
17
19
  - - '='
18
20
  - !ruby/object:Gem::Version
@@ -20,6 +22,7 @@ dependencies:
20
22
  type: :runtime
21
23
  prerelease: false
22
24
  version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
23
26
  requirements:
24
27
  - - '='
25
28
  - !ruby/object:Gem::Version
@@ -27,6 +30,7 @@ dependencies:
27
30
  - !ruby/object:Gem::Dependency
28
31
  name: openc-json_schema
29
32
  requirement: !ruby/object:Gem::Requirement
33
+ none: false
30
34
  requirements:
31
35
  - - '='
32
36
  - !ruby/object:Gem::Version
@@ -34,6 +38,7 @@ dependencies:
34
38
  type: :runtime
35
39
  prerelease: false
36
40
  version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
37
42
  requirements:
38
43
  - - '='
39
44
  - !ruby/object:Gem::Version
@@ -55,40 +60,6 @@ files:
55
60
  - lib/turbot_runner/utils.rb
56
61
  - lib/turbot_runner/validator.rb
57
62
  - lib/turbot_runner/version.rb
58
- - schema/schemas/accounts-statement-schema.json
59
- - schema/schemas/company-schema.json
60
- - schema/schemas/filing-schema.json
61
- - schema/schemas/financial-payment-schema.json
62
- - schema/schemas/includes/accounts_element.json
63
- - schema/schemas/includes/address.json
64
- - schema/schemas/includes/alternative_name.json
65
- - schema/schemas/includes/company-for-nesting.json
66
- - schema/schemas/includes/company.json
67
- - schema/schemas/includes/entity.json
68
- - schema/schemas/includes/filing.json
69
- - schema/schemas/includes/filing_document.json
70
- - schema/schemas/includes/financial-payment-data-object.json
71
- - schema/schemas/includes/identifier.json
72
- - schema/schemas/includes/industry_code.json
73
- - schema/schemas/includes/licence-data-object.json
74
- - schema/schemas/includes/officer.json
75
- - schema/schemas/includes/organisation.json
76
- - schema/schemas/includes/permission.json
77
- - schema/schemas/includes/person.json
78
- - schema/schemas/includes/person_name.json
79
- - schema/schemas/includes/previous_name.json
80
- - schema/schemas/includes/share-parcel-data.json
81
- - schema/schemas/includes/share-parcel.json
82
- - schema/schemas/includes/subsidiary-relationship-data.json
83
- - schema/schemas/includes/total-shares.json
84
- - schema/schemas/includes/unknown_entity_type.json
85
- - schema/schemas/licence-schema.json
86
- - schema/schemas/primary-data-schema.json
87
- - schema/schemas/share-parcel-schema.json
88
- - schema/schemas/simple-financial-payment-schema.json
89
- - schema/schemas/simple-licence-schema.json
90
- - schema/schemas/simple-subsidiary-schema.json
91
- - schema/schemas/subsidiary-relationship-schema.json
92
63
  - spec/bots/bot-that-crashes-immediately/manifest.json
93
64
  - spec/bots/bot-that-crashes-immediately/scraper.rb
94
65
  - spec/bots/bot-that-crashes-immediately/transformer1.rb
@@ -144,29 +115,63 @@ files:
144
115
  - spec/outputs/full-transformer.out
145
116
  - spec/outputs/truncated-scraper.out
146
117
  - spec/spec_helper.rb
118
+ - schema/schemas/accounts-statement-schema.json
119
+ - schema/schemas/company-schema.json
120
+ - schema/schemas/filing-schema.json
121
+ - schema/schemas/financial-payment-schema.json
122
+ - schema/schemas/includes/accounts_element.json
123
+ - schema/schemas/includes/address.json
124
+ - schema/schemas/includes/alternative_name.json
125
+ - schema/schemas/includes/company-for-nesting.json
126
+ - schema/schemas/includes/company.json
127
+ - schema/schemas/includes/entity.json
128
+ - schema/schemas/includes/filing.json
129
+ - schema/schemas/includes/filing_document.json
130
+ - schema/schemas/includes/financial-payment-data-object.json
131
+ - schema/schemas/includes/identifier.json
132
+ - schema/schemas/includes/industry_code.json
133
+ - schema/schemas/includes/licence-data-object.json
134
+ - schema/schemas/includes/officer.json
135
+ - schema/schemas/includes/organisation.json
136
+ - schema/schemas/includes/permission.json
137
+ - schema/schemas/includes/person.json
138
+ - schema/schemas/includes/person_name.json
139
+ - schema/schemas/includes/previous_name.json
140
+ - schema/schemas/includes/share-parcel-data.json
141
+ - schema/schemas/includes/share-parcel.json
142
+ - schema/schemas/includes/subsidiary-relationship-data.json
143
+ - schema/schemas/includes/total-shares.json
144
+ - schema/schemas/includes/unknown_entity_type.json
145
+ - schema/schemas/licence-schema.json
146
+ - schema/schemas/primary-data-schema.json
147
+ - schema/schemas/share-parcel-schema.json
148
+ - schema/schemas/simple-financial-payment-schema.json
149
+ - schema/schemas/simple-licence-schema.json
150
+ - schema/schemas/simple-subsidiary-schema.json
151
+ - schema/schemas/subsidiary-relationship-schema.json
147
152
  homepage: http://turbot.opencorporates.com/
148
153
  licenses:
149
154
  - MIT
150
- metadata: {}
151
155
  post_install_message:
152
156
  rdoc_options: []
153
157
  require_paths:
154
158
  - lib
155
159
  required_ruby_version: !ruby/object:Gem::Requirement
160
+ none: false
156
161
  requirements:
157
162
  - - ! '>='
158
163
  - !ruby/object:Gem::Version
159
164
  version: 1.9.2
160
165
  required_rubygems_version: !ruby/object:Gem::Requirement
166
+ none: false
161
167
  requirements:
162
168
  - - ! '>='
163
169
  - !ruby/object:Gem::Version
164
170
  version: '0'
165
171
  requirements: []
166
172
  rubyforge_project:
167
- rubygems_version: 2.2.2
173
+ rubygems_version: 1.8.23.2
168
174
  signing_key:
169
- specification_version: 4
175
+ specification_version: 3
170
176
  summary: Utilities for running bots with Turbot
171
177
  test_files: []
172
- has_rdoc:
checksums.yaml DELETED
@@ -1,15 +0,0 @@
1
- ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- M2M2MjAwZGNiY2FmNjZhZWZkZjRhZGM4MTQ4ZDg3MjY0NWVmMmRiNw==
5
- data.tar.gz: !binary |-
6
- NzViMzU2MjBkNmE1MWI1ZTU4ZDg3YWFhNTg2MDYyOWM0NzZmZDViMQ==
7
- SHA512:
8
- metadata.gz: !binary |-
9
- MmZlYjU4NDIxYzUwYzI4NWFlNDYxY2JhYzQ1NDljMWRhY2MxYWZhZGM4ZjE2
10
- NTZkY2Q1MWQ0ZmNmYjFjZmI2MWI1OGI0ODRmMGNjMTUwMDk5MDRkZWU4NTA1
11
- MzZjMTBhODBlMWY0OWU0ODRhZThlM2ZjNTliMGYyYmQ4OWYxYTA=
12
- data.tar.gz: !binary |-
13
- YzRjYmU1YTYyNmQ3YWQ5MjU2OWQzNjc4ZDk2ZGNmNjBhNmM2YmJkZDBkZjRl
14
- ZDE3MDE5NDk4ZmRhNTc1ZGEyNDkyNWEzMjg2MzcwZDA5ZDg4YmE1ZDk0OTNl
15
- OGVhNDRjNmM3ODBhODhiZTc4ZTE4MzVjMzQ5MmNiNjc3NGI2Y2Y=