iev 0.3.0 → 0.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/rake.yml +3 -20
- data/.github/workflows/release.yml +25 -0
- data/.gitignore +4 -0
- data/.rubocop.yml +0 -2
- data/README.adoc +4 -4
- data/exe/iev-glossarist +21 -0
- data/iev.gemspec +12 -3
- data/lib/iev/cli/command.rb +109 -0
- data/lib/iev/cli/command_helper.rb +83 -0
- data/lib/iev/cli/ui.rb +70 -0
- data/lib/iev/cli.rb +22 -0
- data/lib/iev/converter/mathml_to_asciimath.rb +197 -0
- data/lib/iev/converter.rb +9 -0
- data/lib/iev/data_conversions.rb +39 -0
- data/lib/iev/db.rb +3 -3
- data/lib/iev/db_cache.rb +2 -2
- data/lib/iev/db_writer.rb +81 -0
- data/lib/iev/iso_639_2.yaml +4075 -0
- data/lib/iev/iso_639_code.rb +47 -0
- data/lib/iev/profiler.rb +69 -0
- data/lib/iev/relaton_db.rb +63 -0
- data/lib/iev/source_parser.rb +350 -0
- data/lib/iev/supersession_parser.rb +70 -0
- data/lib/iev/term_attrs_parser.rb +143 -0
- data/lib/iev/term_builder.rb +313 -0
- data/lib/iev/utilities.rb +58 -0
- data/lib/iev/version.rb +2 -2
- data/lib/iev.rb +24 -2
- metadata +153 -10
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: iev
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
|
-
autorequire:
|
9
8
|
bindir: exe
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 2024-12-24 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: bundler
|
@@ -80,28 +79,156 @@ dependencies:
|
|
80
79
|
- - ">="
|
81
80
|
- !ruby/object:Gem::Version
|
82
81
|
version: '0'
|
82
|
+
- !ruby/object:Gem::Dependency
|
83
|
+
name: creek
|
84
|
+
requirement: !ruby/object:Gem::Requirement
|
85
|
+
requirements:
|
86
|
+
- - "~>"
|
87
|
+
- !ruby/object:Gem::Version
|
88
|
+
version: '2.5'
|
89
|
+
type: :runtime
|
90
|
+
prerelease: false
|
91
|
+
version_requirements: !ruby/object:Gem::Requirement
|
92
|
+
requirements:
|
93
|
+
- - "~>"
|
94
|
+
- !ruby/object:Gem::Version
|
95
|
+
version: '2.5'
|
96
|
+
- !ruby/object:Gem::Dependency
|
97
|
+
name: glossarist
|
98
|
+
requirement: !ruby/object:Gem::Requirement
|
99
|
+
requirements:
|
100
|
+
- - "~>"
|
101
|
+
- !ruby/object:Gem::Version
|
102
|
+
version: 2.0.6
|
103
|
+
type: :runtime
|
104
|
+
prerelease: false
|
105
|
+
version_requirements: !ruby/object:Gem::Requirement
|
106
|
+
requirements:
|
107
|
+
- - "~>"
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: 2.0.6
|
110
|
+
- !ruby/object:Gem::Dependency
|
111
|
+
name: unitsml
|
112
|
+
requirement: !ruby/object:Gem::Requirement
|
113
|
+
requirements:
|
114
|
+
- - ">="
|
115
|
+
- !ruby/object:Gem::Version
|
116
|
+
version: '0'
|
117
|
+
type: :runtime
|
118
|
+
prerelease: false
|
119
|
+
version_requirements: !ruby/object:Gem::Requirement
|
120
|
+
requirements:
|
121
|
+
- - ">="
|
122
|
+
- !ruby/object:Gem::Version
|
123
|
+
version: '0'
|
124
|
+
- !ruby/object:Gem::Dependency
|
125
|
+
name: plurimath
|
126
|
+
requirement: !ruby/object:Gem::Requirement
|
127
|
+
requirements:
|
128
|
+
- - ">="
|
129
|
+
- !ruby/object:Gem::Version
|
130
|
+
version: '0'
|
131
|
+
type: :runtime
|
132
|
+
prerelease: false
|
133
|
+
version_requirements: !ruby/object:Gem::Requirement
|
134
|
+
requirements:
|
135
|
+
- - ">="
|
136
|
+
- !ruby/object:Gem::Version
|
137
|
+
version: '0'
|
83
138
|
- !ruby/object:Gem::Dependency
|
84
139
|
name: nokogiri
|
140
|
+
requirement: !ruby/object:Gem::Requirement
|
141
|
+
requirements:
|
142
|
+
- - ">="
|
143
|
+
- !ruby/object:Gem::Version
|
144
|
+
version: 1.16.5
|
145
|
+
type: :runtime
|
146
|
+
prerelease: false
|
147
|
+
version_requirements: !ruby/object:Gem::Requirement
|
148
|
+
requirements:
|
149
|
+
- - ">="
|
150
|
+
- !ruby/object:Gem::Version
|
151
|
+
version: 1.16.5
|
152
|
+
- !ruby/object:Gem::Dependency
|
153
|
+
name: relaton
|
154
|
+
requirement: !ruby/object:Gem::Requirement
|
155
|
+
requirements:
|
156
|
+
- - "~>"
|
157
|
+
- !ruby/object:Gem::Version
|
158
|
+
version: '1.18'
|
159
|
+
type: :runtime
|
160
|
+
prerelease: false
|
161
|
+
version_requirements: !ruby/object:Gem::Requirement
|
162
|
+
requirements:
|
163
|
+
- - "~>"
|
164
|
+
- !ruby/object:Gem::Version
|
165
|
+
version: '1.18'
|
166
|
+
- !ruby/object:Gem::Dependency
|
167
|
+
name: sequel
|
168
|
+
requirement: !ruby/object:Gem::Requirement
|
169
|
+
requirements:
|
170
|
+
- - "~>"
|
171
|
+
- !ruby/object:Gem::Version
|
172
|
+
version: '5.40'
|
173
|
+
type: :runtime
|
174
|
+
prerelease: false
|
175
|
+
version_requirements: !ruby/object:Gem::Requirement
|
176
|
+
requirements:
|
177
|
+
- - "~>"
|
178
|
+
- !ruby/object:Gem::Version
|
179
|
+
version: '5.40'
|
180
|
+
- !ruby/object:Gem::Dependency
|
181
|
+
name: sqlite3
|
182
|
+
requirement: !ruby/object:Gem::Requirement
|
183
|
+
requirements:
|
184
|
+
- - "~>"
|
185
|
+
- !ruby/object:Gem::Version
|
186
|
+
version: 1.7.0
|
187
|
+
type: :runtime
|
188
|
+
prerelease: false
|
189
|
+
version_requirements: !ruby/object:Gem::Requirement
|
190
|
+
requirements:
|
191
|
+
- - "~>"
|
192
|
+
- !ruby/object:Gem::Version
|
193
|
+
version: 1.7.0
|
194
|
+
- !ruby/object:Gem::Dependency
|
195
|
+
name: thor
|
196
|
+
requirement: !ruby/object:Gem::Requirement
|
197
|
+
requirements:
|
198
|
+
- - "~>"
|
199
|
+
- !ruby/object:Gem::Version
|
200
|
+
version: '1.0'
|
201
|
+
type: :runtime
|
202
|
+
prerelease: false
|
203
|
+
version_requirements: !ruby/object:Gem::Requirement
|
204
|
+
requirements:
|
205
|
+
- - "~>"
|
206
|
+
- !ruby/object:Gem::Version
|
207
|
+
version: '1.0'
|
208
|
+
- !ruby/object:Gem::Dependency
|
209
|
+
name: zeitwerk
|
85
210
|
requirement: !ruby/object:Gem::Requirement
|
86
211
|
requirements:
|
87
212
|
- - "~>"
|
88
213
|
- !ruby/object:Gem::Version
|
89
|
-
version: '
|
214
|
+
version: '2.4'
|
90
215
|
type: :runtime
|
91
216
|
prerelease: false
|
92
217
|
version_requirements: !ruby/object:Gem::Requirement
|
93
218
|
requirements:
|
94
219
|
- - "~>"
|
95
220
|
- !ruby/object:Gem::Version
|
96
|
-
version: '
|
221
|
+
version: '2.4'
|
97
222
|
description: 'IEV: Fetch and encode IEV term from Electropedia'
|
98
223
|
email:
|
99
224
|
- open.source@ribose.com
|
100
|
-
executables:
|
225
|
+
executables:
|
226
|
+
- iev-glossarist
|
101
227
|
extensions: []
|
102
228
|
extra_rdoc_files: []
|
103
229
|
files:
|
104
230
|
- ".github/workflows/rake.yml"
|
231
|
+
- ".github/workflows/release.yml"
|
105
232
|
- ".gitignore"
|
106
233
|
- ".hound.yml"
|
107
234
|
- ".rspec"
|
@@ -112,16 +239,33 @@ files:
|
|
112
239
|
- Rakefile
|
113
240
|
- bin/console
|
114
241
|
- bin/setup
|
242
|
+
- exe/iev-glossarist
|
115
243
|
- iev.gemspec
|
116
244
|
- lib/iev.rb
|
245
|
+
- lib/iev/cli.rb
|
246
|
+
- lib/iev/cli/command.rb
|
247
|
+
- lib/iev/cli/command_helper.rb
|
248
|
+
- lib/iev/cli/ui.rb
|
249
|
+
- lib/iev/converter.rb
|
250
|
+
- lib/iev/converter/mathml_to_asciimath.rb
|
251
|
+
- lib/iev/data_conversions.rb
|
117
252
|
- lib/iev/db.rb
|
118
253
|
- lib/iev/db_cache.rb
|
254
|
+
- lib/iev/db_writer.rb
|
255
|
+
- lib/iev/iso_639_2.yaml
|
256
|
+
- lib/iev/iso_639_code.rb
|
257
|
+
- lib/iev/profiler.rb
|
258
|
+
- lib/iev/relaton_db.rb
|
259
|
+
- lib/iev/source_parser.rb
|
260
|
+
- lib/iev/supersession_parser.rb
|
261
|
+
- lib/iev/term_attrs_parser.rb
|
262
|
+
- lib/iev/term_builder.rb
|
263
|
+
- lib/iev/utilities.rb
|
119
264
|
- lib/iev/version.rb
|
120
265
|
homepage: https://github.com/metanorma/iev
|
121
266
|
licenses:
|
122
267
|
- BSD-2-Clause
|
123
268
|
metadata: {}
|
124
|
-
post_install_message:
|
125
269
|
rdoc_options: []
|
126
270
|
require_paths:
|
127
271
|
- lib
|
@@ -129,15 +273,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
129
273
|
requirements:
|
130
274
|
- - ">="
|
131
275
|
- !ruby/object:Gem::Version
|
132
|
-
version:
|
276
|
+
version: 3.1.0
|
133
277
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
134
278
|
requirements:
|
135
279
|
- - ">="
|
136
280
|
- !ruby/object:Gem::Version
|
137
281
|
version: '0'
|
138
282
|
requirements: []
|
139
|
-
rubygems_version: 3.
|
140
|
-
signing_key:
|
283
|
+
rubygems_version: 3.6.0.dev
|
141
284
|
specification_version: 4
|
142
285
|
summary: 'IEV: Fetch and encode IEV term from Electropedia'
|
143
286
|
test_files: []
|