relaton-iev 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.adoc +6 -3
- data/lib/relaton_iev/version.rb +1 -1
- data/relaton_iev.gemspec +1 -2
- metadata +4 -19
- data/Gemfile.lock +0 -128
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 53aaa66f833891f4c0a076e87b6cf851c4bd5963aaa6f5f3339ea6cc173343c2
|
4
|
+
data.tar.gz: 7e5a255631d0896e81db01c8a80707682b7c60aef7b4b942e7b31fcabf2fce3e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fb89a78e27b507e3efff673361b66fe8baa69ecea089f9b1b640f685355a683518b8c06cda1ebe13dae49f27ff4571ec5891579315179978373c5d3129133aee
|
7
|
+
data.tar.gz: 20299b00f1f857f5fa0f63f029b10a491a26df3e238c9cf20b240077ff9312499aac5db95e5359c4e168ed5c1485d259584f3e3c84cbc66cd9fe11459fb707b2
|
data/README.adoc
CHANGED
@@ -1,9 +1,12 @@
|
|
1
1
|
= RelatonIev Refactor IEV reference
|
2
2
|
|
3
3
|
image:https://img.shields.io/gem/v/relaton-iev.svg["Gem Version", link="https://rubygems.org/gems/relaton-iev"]
|
4
|
-
image:https://
|
5
|
-
image:https://
|
6
|
-
image:https://
|
4
|
+
image:https://github.com/relaton/relaton-iev/workflows/macos/badge.svg["Build Status (macOS)", link="https://github.com/relaton/relaton-iev/actions?workflow=macos"]
|
5
|
+
image:https://github.com/relaton/relaton-iev/workflows/windows/badge.svg["Build Status (Windows)", link="https://github.com/relaton/relaton-iev/actions?workflow=windows"]
|
6
|
+
image:https://github.com/relaton/relaton-iev/workflows/ubuntu/badge.svg["Build Status (Ubuntu)", link="https://github.com/relaton/relaton-iev/actions?workflow=ubuntu"]
|
7
|
+
image:https://codeclimate.com/github/relaton/relaton-iev/badges/gpa.svg["Code Climate", link="https://codeclimate.com/github/relaton/relaton-iev"]
|
8
|
+
image:https://img.shields.io/github/issues-pr-raw/relaton/relaton-iev.svg["Pull Requests", link="https://github.com/relaton/relaton-iev/pulls"]
|
9
|
+
image:https://img.shields.io/github/commits-since/relaton/relaton-iev/latest.svg["Commits since latest",link="https://github.com/relaton/relaton-iev/releases"]
|
7
10
|
|
8
11
|
|
9
12
|
Metanorma references IEV as a single source, IEC 60050. In reality, IEC 60050 is dozens of separate documents, each with their own part number (corresponding to the starting number of the clause reference; so IEV clause 101-2-3 is actually IEC 60050-101 clause 101-2-3.) This gem helps rewrite the single IEV reference in a Metanorma document, out into all the references it actually corresponds to in the given document. It does so by parsing all first-level clauses in citations to IEV, replacing each by a reference to the IEC 60050 part corresponding to that clause, then looking up each of the IEC 60050 part documents using `relaton-iec`, and inserting those references into the XML document.
|
data/lib/relaton_iev/version.rb
CHANGED
data/relaton_iev.gemspec
CHANGED
@@ -21,7 +21,6 @@ Gem::Specification.new do |spec|
|
|
21
21
|
spec.require_paths = ["lib"]
|
22
22
|
spec.required_ruby_version = Gem::Requirement.new(">= 2.4.0")
|
23
23
|
|
24
|
-
spec.add_development_dependency "bundler", "~> 2.0"
|
25
24
|
spec.add_development_dependency "debase"
|
26
25
|
spec.add_development_dependency "pry-byebug"
|
27
26
|
spec.add_development_dependency "rake", "~> 10.0"
|
@@ -32,5 +31,5 @@ Gem::Specification.new do |spec|
|
|
32
31
|
spec.add_development_dependency "webmock"
|
33
32
|
spec.add_development_dependency "equivalent-xml", "~> 0.6"
|
34
33
|
|
35
|
-
spec.add_dependency "relaton", "~> 0.
|
34
|
+
spec.add_dependency "relaton", "~> 0.7"
|
36
35
|
end
|
metadata
CHANGED
@@ -1,29 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: relaton-iev
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-01-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
-
- !ruby/object:Gem::Dependency
|
14
|
-
name: bundler
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - "~>"
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: '2.0'
|
20
|
-
type: :development
|
21
|
-
prerelease: false
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
23
|
-
requirements:
|
24
|
-
- - "~>"
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
version: '2.0'
|
27
13
|
- !ruby/object:Gem::Dependency
|
28
14
|
name: debase
|
29
15
|
requirement: !ruby/object:Gem::Requirement
|
@@ -156,14 +142,14 @@ dependencies:
|
|
156
142
|
requirements:
|
157
143
|
- - "~>"
|
158
144
|
- !ruby/object:Gem::Version
|
159
|
-
version: 0.
|
145
|
+
version: '0.7'
|
160
146
|
type: :runtime
|
161
147
|
prerelease: false
|
162
148
|
version_requirements: !ruby/object:Gem::Requirement
|
163
149
|
requirements:
|
164
150
|
- - "~>"
|
165
151
|
- !ruby/object:Gem::Version
|
166
|
-
version: 0.
|
152
|
+
version: '0.7'
|
167
153
|
description: 'RelatonIev: manipulates IEV references to IEC 60050.'
|
168
154
|
email:
|
169
155
|
- open.source@ribose.com
|
@@ -178,7 +164,6 @@ files:
|
|
178
164
|
- ".rspec"
|
179
165
|
- ".rubocop.yml"
|
180
166
|
- Gemfile
|
181
|
-
- Gemfile.lock
|
182
167
|
- LICENSE.txt
|
183
168
|
- README.adoc
|
184
169
|
- Rakefile
|
data/Gemfile.lock
DELETED
@@ -1,128 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: .
|
3
|
-
specs:
|
4
|
-
relaton-iev (0.1.1)
|
5
|
-
relaton (~> 0.5.0)
|
6
|
-
|
7
|
-
GEM
|
8
|
-
remote: https://rubygems.org/
|
9
|
-
specs:
|
10
|
-
addressable (2.7.0)
|
11
|
-
public_suffix (>= 2.0.2, < 5.0)
|
12
|
-
byebug (11.0.1)
|
13
|
-
cnccs (0.1.5)
|
14
|
-
coderay (1.1.2)
|
15
|
-
crack (0.4.3)
|
16
|
-
safe_yaml (~> 1.0.0)
|
17
|
-
debase (0.2.4.1)
|
18
|
-
debase-ruby_core_source (>= 0.10.2)
|
19
|
-
debase-ruby_core_source (0.10.7)
|
20
|
-
diff-lcs (1.3)
|
21
|
-
docile (1.3.2)
|
22
|
-
equivalent-xml (0.6.0)
|
23
|
-
nokogiri (>= 1.4.3)
|
24
|
-
faraday (0.17.1)
|
25
|
-
multipart-post (>= 1.2, < 3)
|
26
|
-
gb-agencies (0.0.6)
|
27
|
-
hashdiff (1.0.0)
|
28
|
-
isoics (0.1.8)
|
29
|
-
json (2.2.0)
|
30
|
-
method_source (0.9.2)
|
31
|
-
mini_portile2 (2.4.0)
|
32
|
-
multipart-post (2.1.1)
|
33
|
-
nokogiri (1.10.5)
|
34
|
-
mini_portile2 (~> 2.4.0)
|
35
|
-
pry (0.12.2)
|
36
|
-
coderay (~> 1.1.0)
|
37
|
-
method_source (~> 0.9.0)
|
38
|
-
pry-byebug (3.7.0)
|
39
|
-
byebug (~> 11.0)
|
40
|
-
pry (~> 0.10)
|
41
|
-
public_suffix (4.0.1)
|
42
|
-
rake (10.5.0)
|
43
|
-
relaton (0.5.19)
|
44
|
-
relaton-calconnect (~> 0.1.0)
|
45
|
-
relaton-gb (~> 0.6.0)
|
46
|
-
relaton-iec (~> 0.4.0)
|
47
|
-
relaton-ietf (~> 0.6.0)
|
48
|
-
relaton-iso (~> 0.6.0)
|
49
|
-
relaton-itu (~> 0.3.0)
|
50
|
-
relaton-nist (~> 0.3.0)
|
51
|
-
relaton-ogc (~> 0.1.0)
|
52
|
-
relaton-bib (0.3.12)
|
53
|
-
addressable
|
54
|
-
nokogiri
|
55
|
-
relaton-calconnect (0.1.2)
|
56
|
-
faraday
|
57
|
-
relaton-iso-bib (~> 0.3.0)
|
58
|
-
relaton-gb (0.6.8)
|
59
|
-
cnccs (~> 0.1.1)
|
60
|
-
gb-agencies (~> 0.0.1)
|
61
|
-
relaton-iso-bib (~> 0.3.0)
|
62
|
-
relaton-iec (0.4.12)
|
63
|
-
addressable
|
64
|
-
relaton-iso-bib (~> 0.3.0)
|
65
|
-
relaton-ietf (0.6.10)
|
66
|
-
relaton-bib (~> 0.3.0)
|
67
|
-
relaton-iso (0.6.10)
|
68
|
-
relaton-iec (~> 0.4.0)
|
69
|
-
relaton-iso-bib (~> 0.3.0)
|
70
|
-
relaton-iso-bib (0.3.12)
|
71
|
-
isoics (~> 0.1.6)
|
72
|
-
relaton-bib (~> 0.3.0)
|
73
|
-
ruby_deep_clone (~> 0.8.0)
|
74
|
-
relaton-itu (0.3.11)
|
75
|
-
relaton-iso-bib (~> 0.3.0)
|
76
|
-
relaton-nist (0.3.9)
|
77
|
-
relaton-bib (~> 0.3.0)
|
78
|
-
rubyzip
|
79
|
-
relaton-ogc (0.1.4)
|
80
|
-
faraday
|
81
|
-
relaton-iso-bib (~> 0.3.0)
|
82
|
-
rspec (3.8.0)
|
83
|
-
rspec-core (~> 3.8.0)
|
84
|
-
rspec-expectations (~> 3.8.0)
|
85
|
-
rspec-mocks (~> 3.8.0)
|
86
|
-
rspec-core (3.8.2)
|
87
|
-
rspec-support (~> 3.8.0)
|
88
|
-
rspec-expectations (3.8.4)
|
89
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
90
|
-
rspec-support (~> 3.8.0)
|
91
|
-
rspec-mocks (3.8.1)
|
92
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
93
|
-
rspec-support (~> 3.8.0)
|
94
|
-
rspec-support (3.8.2)
|
95
|
-
ruby-debug-ide (0.7.0)
|
96
|
-
rake (>= 0.8.1)
|
97
|
-
ruby_deep_clone (0.8.0)
|
98
|
-
rubyzip (2.0.0)
|
99
|
-
safe_yaml (1.0.5)
|
100
|
-
simplecov (0.17.0)
|
101
|
-
docile (~> 1.1)
|
102
|
-
json (>= 1.8, < 3)
|
103
|
-
simplecov-html (~> 0.10.0)
|
104
|
-
simplecov-html (0.10.2)
|
105
|
-
vcr (5.0.0)
|
106
|
-
webmock (3.7.2)
|
107
|
-
addressable (>= 2.3.6)
|
108
|
-
crack (>= 0.3.2)
|
109
|
-
hashdiff (>= 0.4.0, < 2.0.0)
|
110
|
-
|
111
|
-
PLATFORMS
|
112
|
-
ruby
|
113
|
-
|
114
|
-
DEPENDENCIES
|
115
|
-
bundler (~> 2.0)
|
116
|
-
debase
|
117
|
-
equivalent-xml (~> 0.6)
|
118
|
-
pry-byebug
|
119
|
-
rake (~> 10.0)
|
120
|
-
relaton-iev!
|
121
|
-
rspec (~> 3.0)
|
122
|
-
ruby-debug-ide
|
123
|
-
simplecov
|
124
|
-
vcr
|
125
|
-
webmock
|
126
|
-
|
127
|
-
BUNDLED WITH
|
128
|
-
2.0.2
|