iev 0.3.4 → 0.3.5
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 +0 -4
- data/.github/workflows/release.yml +1 -4
- data/.rubocop.yml +1 -1
- data/.rubocop_todo.yml +81 -0
- data/Gemfile +11 -3
- data/README.adoc +276 -21
- data/Rakefile +2 -0
- data/bin/console +1 -0
- data/exe/iev +7 -0
- data/iev.gemspec +15 -19
- data/lib/iev/cli/command.rb +38 -38
- data/lib/iev/cli/command_helper.rb +13 -11
- data/lib/iev/cli/ui.rb +5 -5
- data/lib/iev/cli.rb +5 -5
- data/lib/iev/converter/mathml_to_asciimath.rb +75 -77
- data/lib/iev/converter.rb +2 -2
- data/lib/iev/data_conversions.rb +5 -5
- data/lib/iev/db.rb +5 -3
- data/lib/iev/db_cache.rb +7 -5
- data/lib/iev/db_writer.rb +3 -2
- data/lib/iev/iso_639_code.rb +8 -12
- data/lib/iev/profiler.rb +7 -7
- data/lib/iev/relaton_db.rb +8 -12
- data/lib/iev/source_parser.rb +60 -62
- data/lib/iev/supersession_parser.rb +7 -8
- data/lib/iev/term_attrs_parser.rb +22 -23
- data/lib/iev/term_builder.rb +16 -19
- data/lib/iev/utilities.rb +40 -40
- data/lib/iev/version.rb +4 -2
- data/lib/iev.rb +5 -8
- metadata +25 -94
- data/exe/iev-glossarist +0 -21
metadata
CHANGED
@@ -1,84 +1,14 @@
|
|
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.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
bindir: exe
|
9
9
|
cert_chain: []
|
10
|
-
date:
|
10
|
+
date: 2025-01-06 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
|
-
- !ruby/object:Gem::Dependency
|
13
|
-
name: bundler
|
14
|
-
requirement: !ruby/object:Gem::Requirement
|
15
|
-
requirements:
|
16
|
-
- - ">="
|
17
|
-
- !ruby/object:Gem::Version
|
18
|
-
version: '0'
|
19
|
-
type: :development
|
20
|
-
prerelease: false
|
21
|
-
version_requirements: !ruby/object:Gem::Requirement
|
22
|
-
requirements:
|
23
|
-
- - ">="
|
24
|
-
- !ruby/object:Gem::Version
|
25
|
-
version: '0'
|
26
|
-
- !ruby/object:Gem::Dependency
|
27
|
-
name: debug
|
28
|
-
requirement: !ruby/object:Gem::Requirement
|
29
|
-
requirements:
|
30
|
-
- - ">="
|
31
|
-
- !ruby/object:Gem::Version
|
32
|
-
version: '0'
|
33
|
-
type: :development
|
34
|
-
prerelease: false
|
35
|
-
version_requirements: !ruby/object:Gem::Requirement
|
36
|
-
requirements:
|
37
|
-
- - ">="
|
38
|
-
- !ruby/object:Gem::Version
|
39
|
-
version: '0'
|
40
|
-
- !ruby/object:Gem::Dependency
|
41
|
-
name: rake
|
42
|
-
requirement: !ruby/object:Gem::Requirement
|
43
|
-
requirements:
|
44
|
-
- - "~>"
|
45
|
-
- !ruby/object:Gem::Version
|
46
|
-
version: '13.0'
|
47
|
-
type: :development
|
48
|
-
prerelease: false
|
49
|
-
version_requirements: !ruby/object:Gem::Requirement
|
50
|
-
requirements:
|
51
|
-
- - "~>"
|
52
|
-
- !ruby/object:Gem::Version
|
53
|
-
version: '13.0'
|
54
|
-
- !ruby/object:Gem::Dependency
|
55
|
-
name: rspec
|
56
|
-
requirement: !ruby/object:Gem::Requirement
|
57
|
-
requirements:
|
58
|
-
- - "~>"
|
59
|
-
- !ruby/object:Gem::Version
|
60
|
-
version: '3.0'
|
61
|
-
type: :development
|
62
|
-
prerelease: false
|
63
|
-
version_requirements: !ruby/object:Gem::Requirement
|
64
|
-
requirements:
|
65
|
-
- - "~>"
|
66
|
-
- !ruby/object:Gem::Version
|
67
|
-
version: '3.0'
|
68
|
-
- !ruby/object:Gem::Dependency
|
69
|
-
name: simplecov
|
70
|
-
requirement: !ruby/object:Gem::Requirement
|
71
|
-
requirements:
|
72
|
-
- - ">="
|
73
|
-
- !ruby/object:Gem::Version
|
74
|
-
version: '0'
|
75
|
-
type: :development
|
76
|
-
prerelease: false
|
77
|
-
version_requirements: !ruby/object:Gem::Requirement
|
78
|
-
requirements:
|
79
|
-
- - ">="
|
80
|
-
- !ruby/object:Gem::Version
|
81
|
-
version: '0'
|
82
12
|
- !ruby/object:Gem::Dependency
|
83
13
|
name: creek
|
84
14
|
requirement: !ruby/object:Gem::Requirement
|
@@ -108,19 +38,19 @@ dependencies:
|
|
108
38
|
- !ruby/object:Gem::Version
|
109
39
|
version: 2.3.0
|
110
40
|
- !ruby/object:Gem::Dependency
|
111
|
-
name:
|
41
|
+
name: nokogiri
|
112
42
|
requirement: !ruby/object:Gem::Requirement
|
113
43
|
requirements:
|
114
44
|
- - ">="
|
115
45
|
- !ruby/object:Gem::Version
|
116
|
-
version:
|
46
|
+
version: 1.16.5
|
117
47
|
type: :runtime
|
118
48
|
prerelease: false
|
119
49
|
version_requirements: !ruby/object:Gem::Requirement
|
120
50
|
requirements:
|
121
51
|
- - ">="
|
122
52
|
- !ruby/object:Gem::Version
|
123
|
-
version:
|
53
|
+
version: 1.16.5
|
124
54
|
- !ruby/object:Gem::Dependency
|
125
55
|
name: plurimath
|
126
56
|
requirement: !ruby/object:Gem::Requirement
|
@@ -135,20 +65,6 @@ dependencies:
|
|
135
65
|
- - ">="
|
136
66
|
- !ruby/object:Gem::Version
|
137
67
|
version: '0'
|
138
|
-
- !ruby/object:Gem::Dependency
|
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
68
|
- !ruby/object:Gem::Dependency
|
153
69
|
name: relaton
|
154
70
|
requirement: !ruby/object:Gem::Requirement
|
@@ -205,6 +121,20 @@ dependencies:
|
|
205
121
|
- - "~>"
|
206
122
|
- !ruby/object:Gem::Version
|
207
123
|
version: '1.0'
|
124
|
+
- !ruby/object:Gem::Dependency
|
125
|
+
name: unitsml
|
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'
|
208
138
|
- !ruby/object:Gem::Dependency
|
209
139
|
name: zeitwerk
|
210
140
|
requirement: !ruby/object:Gem::Requirement
|
@@ -219,11 +149,11 @@ dependencies:
|
|
219
149
|
- - "~>"
|
220
150
|
- !ruby/object:Gem::Version
|
221
151
|
version: '2.4'
|
222
|
-
description: '
|
152
|
+
description: 'Iev: Fetch and encode Iev term from Electropedia'
|
223
153
|
email:
|
224
154
|
- open.source@ribose.com
|
225
155
|
executables:
|
226
|
-
- iev
|
156
|
+
- iev
|
227
157
|
extensions: []
|
228
158
|
extra_rdoc_files: []
|
229
159
|
files:
|
@@ -233,13 +163,14 @@ files:
|
|
233
163
|
- ".hound.yml"
|
234
164
|
- ".rspec"
|
235
165
|
- ".rubocop.yml"
|
166
|
+
- ".rubocop_todo.yml"
|
236
167
|
- Gemfile
|
237
168
|
- LICENSE.txt
|
238
169
|
- README.adoc
|
239
170
|
- Rakefile
|
240
171
|
- bin/console
|
241
172
|
- bin/setup
|
242
|
-
- exe/iev
|
173
|
+
- exe/iev
|
243
174
|
- iev.gemspec
|
244
175
|
- lib/iev.rb
|
245
176
|
- lib/iev/cli.rb
|
@@ -280,7 +211,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
280
211
|
- !ruby/object:Gem::Version
|
281
212
|
version: '0'
|
282
213
|
requirements: []
|
283
|
-
rubygems_version: 3.6.
|
214
|
+
rubygems_version: 3.6.2
|
284
215
|
specification_version: 4
|
285
|
-
summary: '
|
216
|
+
summary: 'Iev: Fetch and encode Iev term from Electropedia'
|
286
217
|
test_files: []
|
data/exe/iev-glossarist
DELETED
@@ -1,21 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
# encoding: UTF-8
|
3
|
-
#
|
4
|
-
# resolve bin path, ignoring symlinks
|
5
|
-
require "pathname"
|
6
|
-
bin_file = Pathname.new(__FILE__).realpath
|
7
|
-
|
8
|
-
# add self to libpath
|
9
|
-
$:.unshift File.expand_path("../../lib", bin_file)
|
10
|
-
|
11
|
-
# Fixes https://github.com/rubygems/rubygems/issues/1420
|
12
|
-
require "rubygems/specification"
|
13
|
-
|
14
|
-
class Gem::Specification
|
15
|
-
def this; self; end
|
16
|
-
end
|
17
|
-
|
18
|
-
require "iev"
|
19
|
-
require "iev/cli"
|
20
|
-
|
21
|
-
IEV::CLI.start(ARGV)
|