bipm-data-importer 0.2.2 → 0.4.0
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 +4 -4
- data/README.adoc +68 -9
- data/TODO.refactor/01-remove-debug-code.md +18 -0
- data/TODO.refactor/02-fix-gemspec.md +21 -0
- data/TODO.refactor/03-update-readme.md +28 -0
- data/TODO.refactor/04-replace-require-relative-with-autoload.md +34 -0
- data/TODO.refactor/05-fix-outcomes-bugs.md +22 -0
- data/TODO.refactor/06-unify-clause-taxonomy.md +31 -0
- data/TODO.refactor/07-extract-french-parsing.md +21 -0
- data/TODO.refactor/08-extract-data-quirks.md +25 -0
- data/TODO.refactor/09-introduce-body-registry.md +23 -0
- data/TODO.refactor/10-introduce-strategy-pattern.md +34 -0
- data/TODO.refactor/11-extract-cli-class.md +20 -0
- data/TODO.refactor/12-specs-common.md +23 -0
- data/TODO.refactor/13-specs-cgpm.md +22 -0
- data/TODO.refactor/14-specs-asciimath.md +23 -0
- data/TODO.refactor/15-specs-outcomes.md +24 -0
- data/TODO.refactor/16-quarantine-failing-specs.md +23 -0
- data/TODO.refactor/17-typed-domain-models.md +32 -0
- data/TODO.refactor/README.md +62 -0
- data/bipm-data-importer.gemspec +11 -7
- data/exe/bipm-fetch +2 -440
- data/lib/bipm/data/importer/bodies.rb +45 -0
- data/lib/bipm/data/importer/body.rb +43 -0
- data/lib/bipm/data/importer/cgpm.rb +21 -0
- data/lib/bipm/data/importer/clauses.rb +239 -0
- data/lib/bipm/data/importer/cli.rb +83 -0
- data/lib/bipm/data/importer/common.rb +31 -120
- data/lib/bipm/data/importer/fetcher.rb +62 -0
- data/lib/bipm/data/importer/language.rb +66 -0
- data/lib/bipm/data/importer/quirks.rb +73 -0
- data/lib/bipm/data/importer/strategies/base.rb +40 -0
- data/lib/bipm/data/importer/strategies/spa_meetings.rb +340 -0
- data/lib/bipm/data/importer/strategies/static_index.rb +324 -0
- data/lib/bipm/data/importer/strategies.rb +13 -0
- data/lib/bipm/data/importer/text/french.rb +49 -0
- data/lib/bipm/data/importer/text.rb +11 -0
- data/lib/bipm/data/importer/version.rb +1 -1
- data/lib/bipm/data/importer.rb +31 -4
- data/lib/bipm/data/outcomes/action.rb +1 -1
- data/lib/bipm/data/outcomes/approval.rb +1 -1
- data/lib/bipm/data/outcomes/body.rb +1 -1
- data/lib/bipm/data/outcomes/consideration.rb +1 -1
- data/lib/bipm/data/outcomes/localized_body.rb +1 -1
- data/lib/bipm/data/outcomes/meeting.rb +2 -2
- data/lib/bipm/data/outcomes/resolution.rb +1 -1
- data/lib/bipm/data/outcomes.rb +9 -13
- data/lib/bipm-data-importer.rb +1 -1
- metadata +46 -19
- data/.hound.yml +0 -5
- data/.rspec +0 -3
- data/.rubocop.yml +0 -10
- data/exe/bipm-fetch-cgpm +0 -3
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: bipm-data-importer
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.4.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ribose
|
|
8
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2026-07-22 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: nokogiri
|
|
@@ -42,18 +42,18 @@ dependencies:
|
|
|
42
42
|
name: coradoc
|
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
|
44
44
|
requirements:
|
|
45
|
-
- - "
|
|
45
|
+
- - "~>"
|
|
46
46
|
- !ruby/object:Gem::Version
|
|
47
|
-
version: '
|
|
47
|
+
version: '1.1'
|
|
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
|
-
version: '
|
|
54
|
+
version: '1.1'
|
|
55
55
|
- !ruby/object:Gem::Dependency
|
|
56
|
-
name:
|
|
56
|
+
name: vcr
|
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
|
58
58
|
requirements:
|
|
59
59
|
- - ">="
|
|
@@ -67,13 +67,13 @@ dependencies:
|
|
|
67
67
|
- !ruby/object:Gem::Version
|
|
68
68
|
version: '0'
|
|
69
69
|
- !ruby/object:Gem::Dependency
|
|
70
|
-
name:
|
|
70
|
+
name: pry
|
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
|
72
72
|
requirements:
|
|
73
73
|
- - ">="
|
|
74
74
|
- !ruby/object:Gem::Version
|
|
75
75
|
version: '0'
|
|
76
|
-
type: :
|
|
76
|
+
type: :development
|
|
77
77
|
prerelease: false
|
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
|
79
79
|
requirements:
|
|
@@ -155,26 +155,53 @@ email:
|
|
|
155
155
|
- open.source@ribose.com
|
|
156
156
|
executables:
|
|
157
157
|
- bipm-fetch
|
|
158
|
-
- bipm-fetch-cgpm
|
|
159
158
|
extensions: []
|
|
160
159
|
extra_rdoc_files: []
|
|
161
160
|
files:
|
|
162
|
-
- ".hound.yml"
|
|
163
|
-
- ".rspec"
|
|
164
|
-
- ".rubocop.yml"
|
|
165
161
|
- CODE_OF_CONDUCT.md
|
|
166
162
|
- Gemfile
|
|
167
163
|
- README.adoc
|
|
168
164
|
- Rakefile
|
|
165
|
+
- TODO.refactor/01-remove-debug-code.md
|
|
166
|
+
- TODO.refactor/02-fix-gemspec.md
|
|
167
|
+
- TODO.refactor/03-update-readme.md
|
|
168
|
+
- TODO.refactor/04-replace-require-relative-with-autoload.md
|
|
169
|
+
- TODO.refactor/05-fix-outcomes-bugs.md
|
|
170
|
+
- TODO.refactor/06-unify-clause-taxonomy.md
|
|
171
|
+
- TODO.refactor/07-extract-french-parsing.md
|
|
172
|
+
- TODO.refactor/08-extract-data-quirks.md
|
|
173
|
+
- TODO.refactor/09-introduce-body-registry.md
|
|
174
|
+
- TODO.refactor/10-introduce-strategy-pattern.md
|
|
175
|
+
- TODO.refactor/11-extract-cli-class.md
|
|
176
|
+
- TODO.refactor/12-specs-common.md
|
|
177
|
+
- TODO.refactor/13-specs-cgpm.md
|
|
178
|
+
- TODO.refactor/14-specs-asciimath.md
|
|
179
|
+
- TODO.refactor/15-specs-outcomes.md
|
|
180
|
+
- TODO.refactor/16-quarantine-failing-specs.md
|
|
181
|
+
- TODO.refactor/17-typed-domain-models.md
|
|
182
|
+
- TODO.refactor/README.md
|
|
169
183
|
- bin/console
|
|
170
184
|
- bin/setup
|
|
171
185
|
- bipm-data-importer.gemspec
|
|
172
186
|
- exe/bipm-fetch
|
|
173
|
-
- exe/bipm-fetch-cgpm
|
|
174
187
|
- lib/bipm-data-importer.rb
|
|
175
188
|
- lib/bipm/data/importer.rb
|
|
176
189
|
- lib/bipm/data/importer/asciimath.rb
|
|
190
|
+
- lib/bipm/data/importer/bodies.rb
|
|
191
|
+
- lib/bipm/data/importer/body.rb
|
|
192
|
+
- lib/bipm/data/importer/cgpm.rb
|
|
193
|
+
- lib/bipm/data/importer/clauses.rb
|
|
194
|
+
- lib/bipm/data/importer/cli.rb
|
|
177
195
|
- lib/bipm/data/importer/common.rb
|
|
196
|
+
- lib/bipm/data/importer/fetcher.rb
|
|
197
|
+
- lib/bipm/data/importer/language.rb
|
|
198
|
+
- lib/bipm/data/importer/quirks.rb
|
|
199
|
+
- lib/bipm/data/importer/strategies.rb
|
|
200
|
+
- lib/bipm/data/importer/strategies/base.rb
|
|
201
|
+
- lib/bipm/data/importer/strategies/spa_meetings.rb
|
|
202
|
+
- lib/bipm/data/importer/strategies/static_index.rb
|
|
203
|
+
- lib/bipm/data/importer/text.rb
|
|
204
|
+
- lib/bipm/data/importer/text/french.rb
|
|
178
205
|
- lib/bipm/data/importer/version.rb
|
|
179
206
|
- lib/bipm/data/outcomes.rb
|
|
180
207
|
- lib/bipm/data/outcomes/action.rb
|
|
@@ -191,7 +218,7 @@ metadata:
|
|
|
191
218
|
homepage_uri: https://github.com/metanorma/bipm-data-importer
|
|
192
219
|
source_code_uri: https://github.com/metanorma/bipm-data-importer
|
|
193
220
|
changelog_uri: https://github.com/metanorma/bipm-data-importer
|
|
194
|
-
post_install_message:
|
|
221
|
+
post_install_message:
|
|
195
222
|
rdoc_options: []
|
|
196
223
|
require_paths:
|
|
197
224
|
- lib
|
|
@@ -199,15 +226,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
199
226
|
requirements:
|
|
200
227
|
- - ">="
|
|
201
228
|
- !ruby/object:Gem::Version
|
|
202
|
-
version:
|
|
229
|
+
version: 3.3.0
|
|
203
230
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
204
231
|
requirements:
|
|
205
232
|
- - ">="
|
|
206
233
|
- !ruby/object:Gem::Version
|
|
207
234
|
version: '0'
|
|
208
235
|
requirements: []
|
|
209
|
-
rubygems_version: 3.
|
|
210
|
-
signing_key:
|
|
236
|
+
rubygems_version: 3.5.22
|
|
237
|
+
signing_key:
|
|
211
238
|
specification_version: 4
|
|
212
239
|
summary: Importer for BIPM CGPM and CIPM content
|
|
213
240
|
test_files: []
|
data/.hound.yml
DELETED
data/.rspec
DELETED
data/.rubocop.yml
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
# Auto-generated by Cimas: Do not edit it manually!
|
|
2
|
-
# See https://github.com/metanorma/cimas
|
|
3
|
-
inherit_from:
|
|
4
|
-
- https://raw.githubusercontent.com/riboseinc/oss-guides/master/ci/rubocop.yml
|
|
5
|
-
|
|
6
|
-
# local repo-specific modifications
|
|
7
|
-
# ...
|
|
8
|
-
|
|
9
|
-
AllCops:
|
|
10
|
-
TargetRubyVersion: 2.5
|
data/exe/bipm-fetch-cgpm
DELETED