turbot-runner-morph 0.0.6 → 0.0.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.0.6'
2
+ VERSION = '0.0.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-morph
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.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: openc-json_schema
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
@@ -41,40 +44,6 @@ files:
41
44
  - lib/turbot_runner/utils.rb
42
45
  - lib/turbot_runner/validator.rb
43
46
  - lib/turbot_runner/version.rb
44
- - schema/schemas/accounts-statement-schema.json
45
- - schema/schemas/company-schema.json
46
- - schema/schemas/filing-schema.json
47
- - schema/schemas/financial-payment-schema.json
48
- - schema/schemas/includes/accounts_element.json
49
- - schema/schemas/includes/address.json
50
- - schema/schemas/includes/alternative_name.json
51
- - schema/schemas/includes/company-for-nesting.json
52
- - schema/schemas/includes/company.json
53
- - schema/schemas/includes/entity.json
54
- - schema/schemas/includes/filing.json
55
- - schema/schemas/includes/filing_document.json
56
- - schema/schemas/includes/financial-payment-data-object.json
57
- - schema/schemas/includes/identifier.json
58
- - schema/schemas/includes/industry_code.json
59
- - schema/schemas/includes/licence-data-object.json
60
- - schema/schemas/includes/officer.json
61
- - schema/schemas/includes/organisation.json
62
- - schema/schemas/includes/permission.json
63
- - schema/schemas/includes/person.json
64
- - schema/schemas/includes/person_name.json
65
- - schema/schemas/includes/previous_name.json
66
- - schema/schemas/includes/share-parcel-data.json
67
- - schema/schemas/includes/share-parcel.json
68
- - schema/schemas/includes/subsidiary-relationship-data.json
69
- - schema/schemas/includes/total-shares.json
70
- - schema/schemas/includes/unknown_entity_type.json
71
- - schema/schemas/licence-schema.json
72
- - schema/schemas/primary-data-schema.json
73
- - schema/schemas/share-parcel-schema.json
74
- - schema/schemas/simple-financial-payment-schema.json
75
- - schema/schemas/simple-licence-schema.json
76
- - schema/schemas/simple-subsidiary-schema.json
77
- - schema/schemas/subsidiary-relationship-schema.json
78
47
  - spec/bots/bot-that-crashes-immediately/manifest.json
79
48
  - spec/bots/bot-that-crashes-immediately/scraper.rb
80
49
  - spec/bots/bot-that-crashes-immediately/transformer1.rb
@@ -126,29 +95,63 @@ files:
126
95
  - spec/outputs/full-transformer.out
127
96
  - spec/outputs/truncated-scraper.out
128
97
  - spec/spec_helper.rb
98
+ - schema/schemas/accounts-statement-schema.json
99
+ - schema/schemas/company-schema.json
100
+ - schema/schemas/filing-schema.json
101
+ - schema/schemas/financial-payment-schema.json
102
+ - schema/schemas/includes/accounts_element.json
103
+ - schema/schemas/includes/address.json
104
+ - schema/schemas/includes/alternative_name.json
105
+ - schema/schemas/includes/company-for-nesting.json
106
+ - schema/schemas/includes/company.json
107
+ - schema/schemas/includes/entity.json
108
+ - schema/schemas/includes/filing.json
109
+ - schema/schemas/includes/filing_document.json
110
+ - schema/schemas/includes/financial-payment-data-object.json
111
+ - schema/schemas/includes/identifier.json
112
+ - schema/schemas/includes/industry_code.json
113
+ - schema/schemas/includes/licence-data-object.json
114
+ - schema/schemas/includes/officer.json
115
+ - schema/schemas/includes/organisation.json
116
+ - schema/schemas/includes/permission.json
117
+ - schema/schemas/includes/person.json
118
+ - schema/schemas/includes/person_name.json
119
+ - schema/schemas/includes/previous_name.json
120
+ - schema/schemas/includes/share-parcel-data.json
121
+ - schema/schemas/includes/share-parcel.json
122
+ - schema/schemas/includes/subsidiary-relationship-data.json
123
+ - schema/schemas/includes/total-shares.json
124
+ - schema/schemas/includes/unknown_entity_type.json
125
+ - schema/schemas/licence-schema.json
126
+ - schema/schemas/primary-data-schema.json
127
+ - schema/schemas/share-parcel-schema.json
128
+ - schema/schemas/simple-financial-payment-schema.json
129
+ - schema/schemas/simple-licence-schema.json
130
+ - schema/schemas/simple-subsidiary-schema.json
131
+ - schema/schemas/subsidiary-relationship-schema.json
129
132
  homepage: http://turbot.opencorporates.com/
130
133
  licenses:
131
134
  - MIT
132
- metadata: {}
133
135
  post_install_message:
134
136
  rdoc_options: []
135
137
  require_paths:
136
138
  - lib
137
139
  required_ruby_version: !ruby/object:Gem::Requirement
140
+ none: false
138
141
  requirements:
139
142
  - - ! '>='
140
143
  - !ruby/object:Gem::Version
141
144
  version: 1.9.2
142
145
  required_rubygems_version: !ruby/object:Gem::Requirement
146
+ none: false
143
147
  requirements:
144
148
  - - ! '>='
145
149
  - !ruby/object:Gem::Version
146
150
  version: '0'
147
151
  requirements: []
148
152
  rubyforge_project:
149
- rubygems_version: 2.2.2
153
+ rubygems_version: 1.8.23.2
150
154
  signing_key:
151
- specification_version: 4
155
+ specification_version: 3
152
156
  summary: Utilities for running bots with Turbot
153
157
  test_files: []
154
- has_rdoc:
checksums.yaml DELETED
@@ -1,15 +0,0 @@
1
- ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- OTJiZDYzYjEwOTczNmZkNjE1MDhiYjk5ZDgyZGRlMzE4Y2RhYjY1ZQ==
5
- data.tar.gz: !binary |-
6
- MDhmMTVlNGJhZTRkNjI1NjU0NjU2ZGJmZmY0NjIxZjhjZjBjOGZiZA==
7
- SHA512:
8
- metadata.gz: !binary |-
9
- NDVmNzdjYmIyYjczOGM1NWJiNzI2Y2IwNzc5YTUyZGZiODBmYTUwYWE5NGRh
10
- M2QxMTJiYzY2ODU5NjYzOTVmMWUzMDJjZDUxNmQzY2E5YzBjOWU3MWYzNGZk
11
- MTk5MDljMzcwZGI3NTYxYTVjMzk5N2QyZmRkZGEyNzFjZDdjZWE=
12
- data.tar.gz: !binary |-
13
- OTVjMTBhYmZhMTFmMDZkYzZhNTgzNzE1MmFmZmNiYTg0NTJlNGNjNTc0YmM5
14
- YzJjMTE5MTJkNjliYmVmOTc5Y2M5OWFhZjgwMzAzMzRmMjY1NmQwOGMxYTll
15
- ZWI0YjhkYjFlNDY2OTQyMjA1N2ZkZjc3NWVlYTcyM2FiODg4YTA=