relaton-iev 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: b70778179003c0dd2b861bd31111a2e98361bbf9ccb02a546e6bd8d9f74a6ac4
4
+ data.tar.gz: 936451c44bbea6f7af0f47208905404d3d99109698461ba95ccd55062eef3f00
5
+ SHA512:
6
+ metadata.gz: 6a460a72b93d5b54ab7d32c488e437350b13dcfc87dcb2cd82c407df5e31b40d89f7de32181e3024c39b0a1c62dc338297053fd67b9afd95c8f28e5dd35f6141
7
+ data.tar.gz: e40a0f2b66a576a7a0e0940fe9eca6d6b5c775d747b6df62ad65d1b00a809ee141edd9b41241dc9c16818cd68d265b042022b4476943e9b96b0c020cd8324dfc
data/.gitignore ADDED
@@ -0,0 +1,13 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /_yardoc/
4
+ /coverage/
5
+ /doc/
6
+ /pkg/
7
+ /spec/reports/
8
+ /tmp/
9
+ /.vscode/
10
+
11
+ # rspec failure tracking
12
+ .rspec_status
13
+ .rubocop-https---raw-githubusercontent-com-riboseinc-oss-guides-master-ci-rubocop-yml
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
data/.rubocop.yml ADDED
@@ -0,0 +1,10 @@
1
+ # This project follows the Ribose OSS style guide.
2
+ # https://github.com/riboseinc/oss-guides
3
+ # All project-specific additions and overrides should be specified in this file.
4
+
5
+ inherit_from:
6
+ - https://raw.githubusercontent.com/riboseinc/oss-guides/master/ci/rubocop.yml
7
+ AllCops:
8
+ TargetRubyVersion: 2.3
9
+ Rails:
10
+ Enabled: true
data/.travis.yml ADDED
@@ -0,0 +1,17 @@
1
+ # Auto-generated !!! Do not edit it manually
2
+ # use ci-master https://github.com/metanorma/metanorma-build-scripts
3
+ language: ruby
4
+ cache: bundler
5
+ os:
6
+ - linux
7
+ - osx
8
+ rvm:
9
+ - 2.5
10
+ - 2.4
11
+ - ruby-head
12
+ before_install:
13
+ - gem install bundler -v 2.0.1
14
+ - bundle update
15
+ matrix:
16
+ allow_failures:
17
+ - rvm: ruby-head
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source "https://rubygems.org"
2
+
3
+ # Specify your gem's dependencies in relaton_iev.gemspec
4
+ gemspec
data/Gemfile.lock ADDED
@@ -0,0 +1,120 @@
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.6.0)
11
+ public_suffix (>= 2.0.2, < 4.0)
12
+ algoliasearch (1.26.0)
13
+ httpclient (~> 2.8, >= 2.8.3)
14
+ json (>= 1.5.1)
15
+ byebug (11.0.1)
16
+ cnccs (0.1.3)
17
+ coderay (1.1.2)
18
+ crack (0.4.3)
19
+ safe_yaml (~> 1.0.0)
20
+ debase (0.2.3)
21
+ debase-ruby_core_source (>= 0.10.2)
22
+ debase-ruby_core_source (0.10.5)
23
+ diff-lcs (1.3)
24
+ docile (1.3.2)
25
+ gb-agencies (0.0.5)
26
+ hashdiff (1.0.0)
27
+ httpclient (2.8.3)
28
+ isoics (0.1.7)
29
+ json (2.2.0)
30
+ method_source (0.9.2)
31
+ mini_portile2 (2.4.0)
32
+ nokogiri (1.10.3)
33
+ mini_portile2 (~> 2.4.0)
34
+ pry (0.12.2)
35
+ coderay (~> 1.1.0)
36
+ method_source (~> 0.9.0)
37
+ pry-byebug (3.7.0)
38
+ byebug (~> 11.0)
39
+ pry (~> 0.10)
40
+ public_suffix (3.1.1)
41
+ rake (10.5.0)
42
+ relaton (0.5.0)
43
+ algoliasearch
44
+ relaton-gb (~> 0.6.0)
45
+ relaton-iec (~> 0.4.0)
46
+ relaton-ietf (~> 0.6.0)
47
+ relaton-iso (~> 0.6.0)
48
+ relaton-iso-bib (~> 0.3.0)
49
+ relaton-itu (~> 0.3.0)
50
+ relaton-nist (~> 0.3.0)
51
+ relaton-bib (0.3.0)
52
+ addressable
53
+ nokogiri (~> 1.10)
54
+ relaton-gb (0.6.0)
55
+ cnccs (~> 0.1.1)
56
+ gb-agencies (~> 0.0.1)
57
+ relaton-iso-bib (~> 0.3.0)
58
+ relaton-iec (0.4.0)
59
+ addressable
60
+ relaton-iso-bib (~> 0.3.0)
61
+ relaton-ietf (0.6.0)
62
+ relaton-iso-bib (~> 0.3.0)
63
+ relaton-iso (0.6.0)
64
+ relaton-iec (~> 0.4.0)
65
+ relaton-iso-bib (~> 0.3.0)
66
+ relaton-iso-bib (0.3.0)
67
+ isoics (~> 0.1.6)
68
+ relaton-bib (~> 0.3.0)
69
+ ruby_deep_clone (~> 0.8.0)
70
+ relaton-itu (0.3.0)
71
+ relaton-iso-bib (~> 0.3.0)
72
+ relaton-nist (0.3.0)
73
+ relaton-bib (~> 0.3.0)
74
+ rubyzip
75
+ rspec (3.8.0)
76
+ rspec-core (~> 3.8.0)
77
+ rspec-expectations (~> 3.8.0)
78
+ rspec-mocks (~> 3.8.0)
79
+ rspec-core (3.8.2)
80
+ rspec-support (~> 3.8.0)
81
+ rspec-expectations (3.8.4)
82
+ diff-lcs (>= 1.2.0, < 2.0)
83
+ rspec-support (~> 3.8.0)
84
+ rspec-mocks (3.8.1)
85
+ diff-lcs (>= 1.2.0, < 2.0)
86
+ rspec-support (~> 3.8.0)
87
+ rspec-support (3.8.2)
88
+ ruby-debug-ide (0.7.0)
89
+ rake (>= 0.8.1)
90
+ ruby_deep_clone (0.8.0)
91
+ rubyzip (1.2.3)
92
+ safe_yaml (1.0.5)
93
+ simplecov (0.17.0)
94
+ docile (~> 1.1)
95
+ json (>= 1.8, < 3)
96
+ simplecov-html (~> 0.10.0)
97
+ simplecov-html (0.10.2)
98
+ vcr (5.0.0)
99
+ webmock (3.6.0)
100
+ addressable (>= 2.3.6)
101
+ crack (>= 0.3.2)
102
+ hashdiff (>= 0.4.0, < 2.0.0)
103
+
104
+ PLATFORMS
105
+ ruby
106
+
107
+ DEPENDENCIES
108
+ bundler (~> 2.0)
109
+ debase
110
+ pry-byebug
111
+ rake (~> 10.0)
112
+ relaton-iev!
113
+ rspec (~> 3.0)
114
+ ruby-debug-ide
115
+ simplecov
116
+ vcr
117
+ webmock
118
+
119
+ BUNDLED WITH
120
+ 2.0.1
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2019 Andrei Kislichenko
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.adoc ADDED
@@ -0,0 +1,63 @@
1
+ = RelatonIev Refactor IEV reference
2
+
3
+ image:https://img.shields.io/gem/v/relaton-iev.svg["Gem Version", link="https://rubygems.org/gems/relaton-iev"]
4
+ image:https://img.shields.io/travis/metanorma/relaton-iev/master.svg["Build Status", link="https://travis-ci.org/metanorma/relaton-iev"]
5
+ image:https://codeclimate.com/github/metanorma/relaton-iev/badges/gpa.svg["Code Climate", link="https://codeclimate.com/github/metanorma/relaton-iev"]
6
+ image:https://ci.appveyor.com/api/projects/status/qdadxv7rqfy33p66?svg=true["Appveyor Build Status", link="https://ci.appveyor.com/project/ribose/relaton-iev"]
7
+
8
+
9
+ 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 rewrites 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.
10
+
11
+ == Installation
12
+
13
+ Add this line to your application's Gemfile:
14
+
15
+ [source,ruby]
16
+ ----
17
+ gem 'relaton-iev'
18
+ ----
19
+
20
+ And then execute:
21
+
22
+ $ bundle
23
+
24
+ Or install it yourself as:
25
+
26
+ $ gem install relaton-iev
27
+
28
+ == Usage
29
+
30
+ [source,ruby]
31
+ ----
32
+ require 'relaton_iev'
33
+
34
+ bibdb = Relaton::Db.new nil, nil
35
+ xmldoc = Nokogiri::XML <<~XML_DOC
36
+ <standard-document>
37
+ <bibitem type="inline" bibitemid="a" docidentifier="IEC 60050:2011">
38
+ <eref citeas="IEC 60050:2011">
39
+ <locality type="clause">
40
+ <referenceFrom>102-01-01</referenceFrom>
41
+ </locality>
42
+ </eref>
43
+ </bibitem>
44
+ <sections/>
45
+ </standard-document>
46
+ XML_DOC
47
+ RelatonIev.iev_cleanup(xmldoc, bibdb)
48
+ => [#<Nokogiri::XML::Element:...
49
+ ----
50
+
51
+ == Development
52
+
53
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
54
+
55
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
56
+
57
+ == Contributing
58
+
59
+ Bug reports and pull requests are welcome on GitHub at https://github.com/metanorma/relaton-iev.
60
+
61
+ == License
62
+
63
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
data/Rakefile ADDED
@@ -0,0 +1,6 @@
1
+ require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ task :default => :spec
data/bin/console ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "relaton_iev"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start(__FILE__)
data/bin/setup ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,58 @@
1
+ require "relaton"
2
+ require "relaton_iev/version"
3
+
4
+ module RelatonIev
5
+ class Error < StandardError; end
6
+
7
+ class << self
8
+ # converts generic IEV citation to citation of IEC 60050-n
9
+ # assumes IEV citations are of form
10
+ # <eref type="inline" bibitemid="a" citeas="IEC 60050">
11
+ # <locality type="clause"><referenceFrom>101-01-01</referenceFrom></locality></eref>
12
+ #
13
+ # @param xmldoc [Nokogiri::XML::Documet]
14
+ # @return [Set<String>]
15
+ def linksIev2iec60050part(xmldoc)
16
+ parts = Set.new
17
+ xmldoc.xpath("//eref[@citeas = 'IEC 60050:2011'] | "\
18
+ "//origin[@citeas = 'IEC 60050:2011']").each do |x|
19
+ cl = x&.at("./locality[@type = 'clause']/referenceFrom")&.text || next
20
+ m = /^(\d+)/.match cl || next
21
+ parts << m[0]
22
+ x["citeas"] = x["citeas"].sub(/60050/, "60050-#{m[0]}")
23
+ x["bibitemid"] = "IEC60050-#{m[0]}"
24
+ end
25
+ parts
26
+ end
27
+
28
+ # replace generic IEV reference with references to all extracted
29
+ # IEV parts
30
+ #
31
+ # @param xmodoc [Nokogiri::XML::Document]
32
+ # @param parts [Set<String>]
33
+ # @param iev [Nokogiri::XML::Element]
34
+ # @param bibdb [Relaton::Db, NilClass]
35
+ # @return [Nokogiri::XML::Element]
36
+ def refsIev2iec60050part(xmldoc, parts, iev, bibdb = nil)
37
+ new_iev = ""
38
+ parts.sort.each do |p|
39
+ hit = bibdb&.fetch("IEC 60050-#{p}", nil, keep_year: true) || next
40
+ new_iev += hit.to_xml.sub(/ id="[^"]+"/, %{ id="IEC60050-#{p}"})
41
+ date = hit.date[0].on.year
42
+ xmldoc.xpath("//*[@citeas = 'IEC 60050-#{p}:2011']").each do |x|
43
+ x["citeas"] = x["citeas"].sub(/:2011$/, ":#{date}")
44
+ end
45
+ end
46
+ iev.replace(new_iev)
47
+ end
48
+
49
+ # @param xmldoc [Nokogiri::XML::Document]
50
+ # @param bibdb [Relaton::Db, NilClass]
51
+ # @return [Nokogiri::XML::Element]
52
+ def iev_cleanup(xmldoc, bibdb = nil)
53
+ iev = xmldoc.at("//bibitem[docidentifier = 'IEC 60050:2011']") || return
54
+ parts = linksIev2iec60050part(xmldoc)
55
+ refsIev2iec60050part(xmldoc, parts, iev, bibdb)
56
+ end
57
+ end
58
+ end
@@ -0,0 +1,3 @@
1
+ module RelatonIev
2
+ VERSION = "0.1.1"
3
+ end
@@ -0,0 +1,35 @@
1
+ lib = File.expand_path("lib", __dir__)
2
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
+ require "relaton_iev/version"
4
+
5
+ Gem::Specification.new do |spec|
6
+ spec.name = "relaton-iev"
7
+ spec.version = RelatonIev::VERSION
8
+ spec.authors = ["Ribose Inc."]
9
+ spec.email = ["open.source@ribose.com"]
10
+
11
+ spec.summary = "RelatonIev: manipulates IEV references to IEC 60050."
12
+ spec.description = "RelatonIev: manipulates IEV references to IEC 60050."
13
+ spec.homepage = "https://github.com/metanorma/relaton-iev"
14
+ spec.license = "MIT"
15
+
16
+ spec.files = Dir.chdir(File.expand_path(__dir__)) do
17
+ `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
18
+ end
19
+ spec.bindir = "exe"
20
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
21
+ spec.require_paths = ["lib"]
22
+ spec.required_ruby_version = Gem::Requirement.new(">= 2.4.0")
23
+
24
+ spec.add_development_dependency "bundler", "~> 2.0"
25
+ spec.add_development_dependency "debase"
26
+ spec.add_development_dependency "pry-byebug"
27
+ spec.add_development_dependency "rake", "~> 10.0"
28
+ spec.add_development_dependency "rspec", "~> 3.0"
29
+ spec.add_development_dependency "ruby-debug-ide"
30
+ spec.add_development_dependency "simplecov"
31
+ spec.add_development_dependency "vcr"
32
+ spec.add_development_dependency "webmock"
33
+
34
+ spec.add_dependency "relaton", "~> 0.5.0"
35
+ end
metadata ADDED
@@ -0,0 +1,198 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: relaton-iev
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.1
5
+ platform: ruby
6
+ authors:
7
+ - Ribose Inc.
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2019-07-27 00:00:00.000000000 Z
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
+ - !ruby/object:Gem::Dependency
28
+ name: debase
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: pry-byebug
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rake
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '10.0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '10.0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: rspec
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '3.0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '3.0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: ruby-debug-ide
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: simplecov
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: vcr
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ">="
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
125
+ - !ruby/object:Gem::Dependency
126
+ name: webmock
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - ">="
130
+ - !ruby/object:Gem::Version
131
+ version: '0'
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - ">="
137
+ - !ruby/object:Gem::Version
138
+ version: '0'
139
+ - !ruby/object:Gem::Dependency
140
+ name: relaton
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - "~>"
144
+ - !ruby/object:Gem::Version
145
+ version: 0.5.0
146
+ type: :runtime
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - "~>"
151
+ - !ruby/object:Gem::Version
152
+ version: 0.5.0
153
+ description: 'RelatonIev: manipulates IEV references to IEC 60050.'
154
+ email:
155
+ - open.source@ribose.com
156
+ executables: []
157
+ extensions: []
158
+ extra_rdoc_files: []
159
+ files:
160
+ - ".gitignore"
161
+ - ".rspec"
162
+ - ".rubocop.yml"
163
+ - ".travis.yml"
164
+ - Gemfile
165
+ - Gemfile.lock
166
+ - LICENSE.txt
167
+ - README.adoc
168
+ - Rakefile
169
+ - bin/console
170
+ - bin/setup
171
+ - lib/relaton_iev.rb
172
+ - lib/relaton_iev/version.rb
173
+ - relaton_iev.gemspec
174
+ homepage: https://github.com/metanorma/relaton-iev
175
+ licenses:
176
+ - MIT
177
+ metadata: {}
178
+ post_install_message:
179
+ rdoc_options: []
180
+ require_paths:
181
+ - lib
182
+ required_ruby_version: !ruby/object:Gem::Requirement
183
+ requirements:
184
+ - - ">="
185
+ - !ruby/object:Gem::Version
186
+ version: 2.4.0
187
+ required_rubygems_version: !ruby/object:Gem::Requirement
188
+ requirements:
189
+ - - ">="
190
+ - !ruby/object:Gem::Version
191
+ version: '0'
192
+ requirements: []
193
+ rubyforge_project:
194
+ rubygems_version: 2.7.6
195
+ signing_key:
196
+ specification_version: 4
197
+ summary: 'RelatonIev: manipulates IEV references to IEC 60050.'
198
+ test_files: []