stepmod-utils 0.6.8 → 0.6.10.pre.alpha.1
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/.github/workflows/rake.yml +8 -3
- data/.github/workflows/test-concept-generation.yml +1 -1
- data/.rubocop.yml +1 -1
- data/Gemfile +6 -3
- data/exe/stepmod-convert-express-description +1 -1
- data/exe/stepmod-convert-express-resource +1 -1
- data/lib/stepmod/utils/cleaner.rb +4 -3
- data/lib/stepmod/utils/concept.rb +33 -17
- data/lib/stepmod/utils/converters/a.rb +1 -1
- data/lib/stepmod/utils/converters/arm.rb +1 -1
- data/lib/stepmod/utils/converters/base.rb +3 -3
- data/lib/stepmod/utils/converters/clause_ref.rb +1 -1
- data/lib/stepmod/utils/converters/comment.rb +1 -1
- data/lib/stepmod/utils/converters/dd.rb +1 -1
- data/lib/stepmod/utils/converters/def.rb +2 -2
- data/lib/stepmod/utils/converters/definition.rb +1 -1
- data/lib/stepmod/utils/converters/description.rb +1 -1
- data/lib/stepmod/utils/converters/dl.rb +1 -1
- data/lib/stepmod/utils/converters/dt.rb +1 -1
- data/lib/stepmod/utils/converters/em.rb +2 -2
- data/lib/stepmod/utils/converters/em_express_description.rb +5 -1
- data/lib/stepmod/utils/converters/eqn.rb +2 -2
- data/lib/stepmod/utils/converters/example.rb +1 -1
- data/lib/stepmod/utils/converters/express_figure.rb +2 -1
- data/lib/stepmod/utils/converters/express_g.rb +1 -1
- data/lib/stepmod/utils/converters/express_note.rb +1 -1
- data/lib/stepmod/utils/converters/express_ref.rb +1 -1
- data/lib/stepmod/utils/converters/express_ref_express_description.rb +2 -1
- data/lib/stepmod/utils/converters/ext_description.rb +2 -1
- data/lib/stepmod/utils/converters/ext_descriptions.rb +2 -1
- data/lib/stepmod/utils/converters/figure.rb +2 -2
- data/lib/stepmod/utils/converters/fund_cons.rb +1 -1
- data/lib/stepmod/utils/converters/introduction.rb +1 -1
- data/lib/stepmod/utils/converters/li.rb +2 -2
- data/lib/stepmod/utils/converters/module_ref.rb +1 -1
- data/lib/stepmod/utils/converters/module_ref_express_description.rb +2 -2
- data/lib/stepmod/utils/converters/note.rb +1 -1
- data/lib/stepmod/utils/converters/ol.rb +2 -2
- data/lib/stepmod/utils/converters/resource.rb +1 -1
- data/lib/stepmod/utils/converters/schema.rb +1 -1
- data/lib/stepmod/utils/converters/schema_diag.rb +1 -1
- data/lib/stepmod/utils/converters/stepmod_ext_description.rb +2 -1
- data/lib/stepmod/utils/converters/strong.rb +2 -2
- data/lib/stepmod/utils/converters/sub.rb +8 -3
- data/lib/stepmod/utils/converters/sup.rb +8 -3
- data/lib/stepmod/utils/converters/synonym.rb +1 -1
- data/lib/stepmod/utils/converters/table.rb +2 -2
- data/lib/stepmod/utils/converters/term.rb +1 -1
- data/lib/stepmod/utils/converters/text.rb +2 -2
- data/lib/stepmod/utils/converters/tr.rb +2 -2
- data/lib/stepmod/utils/smrl_description_converter.rb +2 -2
- data/lib/stepmod/utils/smrl_resource_converter.rb +2 -2
- data/lib/stepmod/utils/stepmod_definition_converter.rb +2 -2
- data/lib/stepmod/utils/stepmod_file_annotator.rb +12 -12
- data/lib/stepmod/utils/term.rb +36 -14
- data/lib/stepmod/utils/terms_extractor.rb +18 -14
- data/lib/stepmod/utils/version.rb +1 -1
- data/stepmod-utils.gemspec +16 -17
- metadata +25 -71
- data/.hound.yml +0 -5
|
@@ -3,9 +3,14 @@
|
|
|
3
3
|
module Stepmod
|
|
4
4
|
module Utils
|
|
5
5
|
module Converters
|
|
6
|
-
class Sub < Coradoc::Input::
|
|
6
|
+
class Sub < Coradoc::Input::Html::Converters::Sub
|
|
7
7
|
def to_coradoc(node, state = {})
|
|
8
|
-
state[:equation]
|
|
8
|
+
if state[:equation]
|
|
9
|
+
stem_notation(treat_children(node,
|
|
10
|
+
state))
|
|
11
|
+
else
|
|
12
|
+
super(node, state)
|
|
13
|
+
end
|
|
9
14
|
end
|
|
10
15
|
|
|
11
16
|
private
|
|
@@ -15,7 +20,7 @@ module Stepmod
|
|
|
15
20
|
end
|
|
16
21
|
end
|
|
17
22
|
|
|
18
|
-
Coradoc::Input::
|
|
23
|
+
Coradoc::Input::Html::Converters.register :sub, Sub.new
|
|
19
24
|
end
|
|
20
25
|
end
|
|
21
26
|
end
|
|
@@ -3,9 +3,14 @@
|
|
|
3
3
|
module Stepmod
|
|
4
4
|
module Utils
|
|
5
5
|
module Converters
|
|
6
|
-
class Sup < Coradoc::Input::
|
|
6
|
+
class Sup < Coradoc::Input::Html::Converters::Sup
|
|
7
7
|
def to_coradoc(node, state = {})
|
|
8
|
-
state[:equation]
|
|
8
|
+
if state[:equation]
|
|
9
|
+
stem_notation(treat_children(node,
|
|
10
|
+
state))
|
|
11
|
+
else
|
|
12
|
+
super(node, state)
|
|
13
|
+
end
|
|
9
14
|
end
|
|
10
15
|
|
|
11
16
|
def stem_notation(content)
|
|
@@ -13,7 +18,7 @@ module Stepmod
|
|
|
13
18
|
end
|
|
14
19
|
end
|
|
15
20
|
|
|
16
|
-
Coradoc::Input::
|
|
21
|
+
Coradoc::Input::Html::Converters.register :sup, Sup.new
|
|
17
22
|
end
|
|
18
23
|
end
|
|
19
24
|
end
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
module Stepmod
|
|
4
4
|
module Utils
|
|
5
5
|
module Converters
|
|
6
|
-
class Table < Coradoc::Input::
|
|
6
|
+
class Table < Coradoc::Input::Html::Converters::Table
|
|
7
7
|
def self.pattern(state, id)
|
|
8
8
|
if state[:schema_and_entity].nil?
|
|
9
9
|
raise StandardError.new("[table]: no state given, #{id}")
|
|
@@ -72,7 +72,7 @@ module Stepmod
|
|
|
72
72
|
end
|
|
73
73
|
end
|
|
74
74
|
|
|
75
|
-
Coradoc::Input::
|
|
75
|
+
Coradoc::Input::Html::Converters.register :table, Table.new
|
|
76
76
|
end
|
|
77
77
|
end
|
|
78
78
|
end
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
module Stepmod
|
|
4
4
|
module Utils
|
|
5
5
|
module Converters
|
|
6
|
-
class Text < Coradoc::Input::
|
|
6
|
+
class Text < Coradoc::Input::Html::Converters::Text
|
|
7
7
|
def to_coradoc(node, state = {})
|
|
8
8
|
if node.text.strip.empty?
|
|
9
9
|
treat_empty(node, state)
|
|
@@ -64,7 +64,7 @@ module Stepmod
|
|
|
64
64
|
end
|
|
65
65
|
end
|
|
66
66
|
|
|
67
|
-
Coradoc::Input::
|
|
67
|
+
Coradoc::Input::Html::Converters.register :text, Text.new
|
|
68
68
|
end
|
|
69
69
|
end
|
|
70
70
|
end
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
module Stepmod
|
|
4
4
|
module Utils
|
|
5
5
|
module Converters
|
|
6
|
-
class Tr < Coradoc::Input::
|
|
6
|
+
class Tr < Coradoc::Input::Html::Converters::Tr
|
|
7
7
|
def to_coradoc(node, state = {})
|
|
8
8
|
content = super(node, state)
|
|
9
9
|
line_break = content.header ? "\n\n" : "\n"
|
|
@@ -11,7 +11,7 @@ module Stepmod
|
|
|
11
11
|
end
|
|
12
12
|
end
|
|
13
13
|
|
|
14
|
-
Coradoc::Input::
|
|
14
|
+
Coradoc::Input::Html::Converters.register :tr, Tr.new
|
|
15
15
|
end
|
|
16
16
|
end
|
|
17
17
|
end
|
|
@@ -34,8 +34,8 @@ module Stepmod
|
|
|
34
34
|
|
|
35
35
|
root || (return "")
|
|
36
36
|
|
|
37
|
-
Coradoc::Input::
|
|
38
|
-
result = Coradoc::Input::
|
|
37
|
+
Coradoc::Input::Html.config.with(options) do
|
|
38
|
+
result = Coradoc::Input::Html::Converters.lookup(root.name).convert(root,
|
|
39
39
|
options)
|
|
40
40
|
Stepmod::Utils::Cleaner.new.tidy(result)
|
|
41
41
|
end
|
|
@@ -51,8 +51,8 @@ module Stepmod
|
|
|
51
51
|
|
|
52
52
|
root || (return "")
|
|
53
53
|
|
|
54
|
-
Coradoc::Input::
|
|
55
|
-
result = Coradoc::Input::
|
|
54
|
+
Coradoc::Input::Html.config.with(options) do
|
|
55
|
+
result = Coradoc::Input::Html::Converters.lookup(root.name).convert(root,
|
|
56
56
|
options)
|
|
57
57
|
|
|
58
58
|
Stepmod::Utils::Cleaner.new.tidy(result)
|
|
@@ -50,8 +50,8 @@ module Stepmod
|
|
|
50
50
|
|
|
51
51
|
return "" unless root
|
|
52
52
|
|
|
53
|
-
Coradoc::Input::
|
|
54
|
-
result = Coradoc::Input::
|
|
53
|
+
Coradoc::Input::Html.config.with(options) do
|
|
54
|
+
result = Coradoc::Input::Html::Converters.lookup(root.name).convert(root,
|
|
55
55
|
options)
|
|
56
56
|
return "" unless result
|
|
57
57
|
|
|
@@ -7,7 +7,7 @@ require "stepmod/utils/converters/express_figure"
|
|
|
7
7
|
require "stepmod/utils/converters/express_table"
|
|
8
8
|
require "expressir"
|
|
9
9
|
require "expressir/express/parser"
|
|
10
|
-
require "pubid
|
|
10
|
+
require "pubid"
|
|
11
11
|
|
|
12
12
|
module Stepmod
|
|
13
13
|
module Utils
|
|
@@ -58,7 +58,7 @@ module Stepmod
|
|
|
58
58
|
def replace_schema_string_with_version(content)
|
|
59
59
|
m = content.match(SCHEMA_VERSION_MATCH_REGEX)
|
|
60
60
|
result = build_schema_string_with_version
|
|
61
|
-
unless m[
|
|
61
|
+
unless m["trailing"].nil?
|
|
62
62
|
result = "#{result}#{m['trailing']}"
|
|
63
63
|
end
|
|
64
64
|
|
|
@@ -178,19 +178,19 @@ module Stepmod
|
|
|
178
178
|
|
|
179
179
|
unless bib_file && File.exist?(bib_file)
|
|
180
180
|
raise StandardError.new(
|
|
181
|
-
"bib_file for #{schema_name} does not exist: #{bib_file}"
|
|
181
|
+
"bib_file for #{schema_name} does not exist: #{bib_file}",
|
|
182
182
|
)
|
|
183
183
|
end
|
|
184
184
|
|
|
185
185
|
output_express << prepend_bibdata(
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
186
|
+
converted_description || "",
|
|
187
|
+
# bib_file will not be present for resouces
|
|
188
|
+
# that are not in resource_docs cache.
|
|
189
|
+
# e.g hierarchy_schema
|
|
190
|
+
bib_file,
|
|
191
|
+
@schema_name,
|
|
192
|
+
match,
|
|
193
|
+
)
|
|
194
194
|
|
|
195
195
|
if is_missing_version(output_express)
|
|
196
196
|
puts "[annotator-WARNING] schema (#{@schema_name}) missing version string. "\
|
|
@@ -252,7 +252,7 @@ processed_images_cache)
|
|
|
252
252
|
#{Stepmod::Utils::SmrlDescriptionConverter.convert(
|
|
253
253
|
wrapper,
|
|
254
254
|
no_notes_examples: true,
|
|
255
|
-
descriptions_file: descriptions_file
|
|
255
|
+
descriptions_file: descriptions_file,
|
|
256
256
|
)}
|
|
257
257
|
DESCRIPTION
|
|
258
258
|
|
data/lib/stepmod/utils/term.rb
CHANGED
|
@@ -8,8 +8,14 @@ module Stepmod
|
|
|
8
8
|
|
|
9
9
|
def to_mn_adoc
|
|
10
10
|
mn_adoc = ["=== #{definition.map(&:content).join}"]
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
|
|
12
|
+
designations.each do |designation|
|
|
13
|
+
mn_adoc << if designation.type == "abbreviation" && designation.acronym
|
|
14
|
+
"\nalt:[#{designation.designation}]"
|
|
15
|
+
else
|
|
16
|
+
"\n\n#{designation.designation}"
|
|
17
|
+
end
|
|
18
|
+
end
|
|
13
19
|
|
|
14
20
|
mn_adoc.join
|
|
15
21
|
end
|
|
@@ -18,26 +24,42 @@ module Stepmod
|
|
|
18
24
|
def from_h(hash)
|
|
19
25
|
_, definition, acronym = treat_acronym(hash["definition"])
|
|
20
26
|
|
|
21
|
-
|
|
27
|
+
concept_data = Glossarist::ConceptData.new(
|
|
28
|
+
{
|
|
29
|
+
definition: [
|
|
30
|
+
Glossarist::DetailedDefinition.new({ content: definition }),
|
|
31
|
+
],
|
|
32
|
+
terms: [],
|
|
33
|
+
},
|
|
34
|
+
)
|
|
35
|
+
|
|
36
|
+
add_designations(concept_data, hash["synonyms"]) if hash["synonyms"]
|
|
22
37
|
|
|
23
|
-
|
|
24
|
-
|
|
38
|
+
if acronym
|
|
39
|
+
acronym = designation_object(acronym.gsub(/\(|\)/, ""),
|
|
40
|
+
"abbreviation")
|
|
41
|
+
acronym.acronym = true
|
|
42
|
+
concept_data.terms << acronym
|
|
43
|
+
end
|
|
25
44
|
|
|
26
|
-
new(
|
|
45
|
+
new({ data: concept_data })
|
|
27
46
|
end
|
|
28
47
|
|
|
29
48
|
private
|
|
30
49
|
|
|
31
|
-
def add_designations(
|
|
32
|
-
|
|
33
|
-
|
|
50
|
+
def add_designations(concept_data, synonyms)
|
|
51
|
+
synonyms.each do |synonym|
|
|
52
|
+
concept_data.terms << designation_object(synonym)
|
|
53
|
+
end
|
|
34
54
|
end
|
|
35
55
|
|
|
36
|
-
def
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
56
|
+
def designation_object(value, type = "expression")
|
|
57
|
+
Glossarist::Designation::Base.from_yaml(
|
|
58
|
+
{
|
|
59
|
+
"designation" => value,
|
|
60
|
+
"type" => type,
|
|
61
|
+
}.to_yaml,
|
|
62
|
+
)
|
|
41
63
|
end
|
|
42
64
|
|
|
43
65
|
def treat_acronym(term_def)
|
|
@@ -6,9 +6,9 @@ require "securerandom"
|
|
|
6
6
|
require "expressir"
|
|
7
7
|
require "expressir/express/parser"
|
|
8
8
|
require "indefinite_article"
|
|
9
|
-
require "pubid
|
|
9
|
+
require "pubid"
|
|
10
10
|
|
|
11
|
-
Coradoc::Input::
|
|
11
|
+
Coradoc::Input::Html.config.unknown_tags = :bypass
|
|
12
12
|
|
|
13
13
|
module Stepmod
|
|
14
14
|
module Utils
|
|
@@ -374,16 +374,21 @@ document:)
|
|
|
374
374
|
|
|
375
375
|
notes = [old_definition].reject { |note| redundant_note?(note) }
|
|
376
376
|
|
|
377
|
-
Stepmod::Utils::Concept.
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
377
|
+
Stepmod::Utils::Concept.from_yaml({
|
|
378
|
+
data: {
|
|
379
|
+
terms: [
|
|
380
|
+
{
|
|
381
|
+
"type" => "expression",
|
|
382
|
+
"normative_status" => "preferred",
|
|
383
|
+
"designation" => entity.id,
|
|
384
|
+
},
|
|
385
|
+
],
|
|
386
|
+
domain: domain,
|
|
387
|
+
notes: notes.map { |note| { "content" => note } },
|
|
388
|
+
definition: [{ "content" => definition.strip }],
|
|
389
|
+
language_code: "eng",
|
|
390
|
+
id: "#{bibdata.part}-#{@sequence}",
|
|
391
|
+
},
|
|
387
392
|
id: "#{bibdata.part}-#{@sequence}",
|
|
388
393
|
sources: [
|
|
389
394
|
{
|
|
@@ -396,12 +401,11 @@ document:)
|
|
|
396
401
|
# "link" => "https://www.iso.org/standard/32858.html",
|
|
397
402
|
},
|
|
398
403
|
],
|
|
399
|
-
notes: notes,
|
|
400
404
|
language_code: "eng",
|
|
401
405
|
part: bibdata.part,
|
|
402
406
|
schema: schema,
|
|
403
407
|
document: document,
|
|
404
|
-
)
|
|
408
|
+
}.to_yaml)
|
|
405
409
|
end
|
|
406
410
|
# rubocop:enable Metrics/MethodLength
|
|
407
411
|
|
data/stepmod-utils.gemspec
CHANGED
|
@@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
|
|
|
18
18
|
spec.require_paths = ["lib"]
|
|
19
19
|
spec.files = `git ls-files`.split("\n")
|
|
20
20
|
spec.test_files = `git ls-files -- {spec}/*`.split("\n")
|
|
21
|
-
spec.required_ruby_version = Gem::Requirement.new(">= 3.
|
|
21
|
+
spec.required_ruby_version = Gem::Requirement.new(">= 3.2.0")
|
|
22
22
|
|
|
23
23
|
# Specify which files should be added to the gem when it is released.
|
|
24
24
|
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
|
@@ -31,20 +31,19 @@ Gem::Specification.new do |spec|
|
|
|
31
31
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
|
32
32
|
spec.require_paths = ["lib"]
|
|
33
33
|
|
|
34
|
-
spec.
|
|
35
|
-
spec.
|
|
36
|
-
spec.
|
|
37
|
-
spec.
|
|
38
|
-
spec.
|
|
39
|
-
spec.
|
|
40
|
-
spec.
|
|
41
|
-
spec.
|
|
42
|
-
spec.
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
spec.
|
|
46
|
-
spec.
|
|
47
|
-
spec.
|
|
48
|
-
spec.
|
|
49
|
-
spec.add_development_dependency "rubocop-rails"
|
|
34
|
+
spec.add_dependency "concurrent-ruby"
|
|
35
|
+
spec.add_dependency "coradoc", "~> 1.1.7"
|
|
36
|
+
spec.add_dependency "down"
|
|
37
|
+
spec.add_dependency "expressir"
|
|
38
|
+
spec.add_dependency "glossarist", "~> 2.0"
|
|
39
|
+
spec.add_dependency "indefinite_article"
|
|
40
|
+
spec.add_dependency "octokit"
|
|
41
|
+
spec.add_dependency "plurimath"
|
|
42
|
+
spec.add_dependency "ptools"
|
|
43
|
+
# The pubid monogem ships Pubid::Iso itself; the separate pubid-iso
|
|
44
|
+
# gem is superseded and its lib/pubid/iso.rb shadows the monogem's.
|
|
45
|
+
spec.add_dependency "pubid", "~> 2.0.0.pre.alpha"
|
|
46
|
+
spec.add_dependency "shale"
|
|
47
|
+
spec.add_dependency "thor", ">= 0.20"
|
|
48
|
+
spec.add_dependency "unitsml"
|
|
50
49
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: stepmod-utils
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.6.
|
|
4
|
+
version: 0.6.10.pre.alpha.1
|
|
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: 1980-01-02 00:00:00.000000000 Z
|
|
12
11
|
dependencies:
|
|
13
12
|
- !ruby/object:Gem::Dependency
|
|
14
13
|
name: concurrent-ruby
|
|
@@ -24,6 +23,20 @@ dependencies:
|
|
|
24
23
|
- - ">="
|
|
25
24
|
- !ruby/object:Gem::Version
|
|
26
25
|
version: '0'
|
|
26
|
+
- !ruby/object:Gem::Dependency
|
|
27
|
+
name: coradoc
|
|
28
|
+
requirement: !ruby/object:Gem::Requirement
|
|
29
|
+
requirements:
|
|
30
|
+
- - "~>"
|
|
31
|
+
- !ruby/object:Gem::Version
|
|
32
|
+
version: 1.1.7
|
|
33
|
+
type: :runtime
|
|
34
|
+
prerelease: false
|
|
35
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
36
|
+
requirements:
|
|
37
|
+
- - "~>"
|
|
38
|
+
- !ruby/object:Gem::Version
|
|
39
|
+
version: 1.1.7
|
|
27
40
|
- !ruby/object:Gem::Dependency
|
|
28
41
|
name: down
|
|
29
42
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -58,14 +71,14 @@ dependencies:
|
|
|
58
71
|
requirements:
|
|
59
72
|
- - "~>"
|
|
60
73
|
- !ruby/object:Gem::Version
|
|
61
|
-
version: 2.0
|
|
74
|
+
version: '2.0'
|
|
62
75
|
type: :runtime
|
|
63
76
|
prerelease: false
|
|
64
77
|
version_requirements: !ruby/object:Gem::Requirement
|
|
65
78
|
requirements:
|
|
66
79
|
- - "~>"
|
|
67
80
|
- !ruby/object:Gem::Version
|
|
68
|
-
version: 2.0
|
|
81
|
+
version: '2.0'
|
|
69
82
|
- !ruby/object:Gem::Dependency
|
|
70
83
|
name: indefinite_article
|
|
71
84
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -123,33 +136,19 @@ dependencies:
|
|
|
123
136
|
- !ruby/object:Gem::Version
|
|
124
137
|
version: '0'
|
|
125
138
|
- !ruby/object:Gem::Dependency
|
|
126
|
-
name: pubid
|
|
127
|
-
requirement: !ruby/object:Gem::Requirement
|
|
128
|
-
requirements:
|
|
129
|
-
- - ">="
|
|
130
|
-
- !ruby/object:Gem::Version
|
|
131
|
-
version: '0'
|
|
132
|
-
type: :runtime
|
|
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: coradoc
|
|
139
|
+
name: pubid
|
|
141
140
|
requirement: !ruby/object:Gem::Requirement
|
|
142
141
|
requirements:
|
|
143
|
-
- - "
|
|
142
|
+
- - "~>"
|
|
144
143
|
- !ruby/object:Gem::Version
|
|
145
|
-
version:
|
|
144
|
+
version: 2.0.0.pre.alpha
|
|
146
145
|
type: :runtime
|
|
147
146
|
prerelease: false
|
|
148
147
|
version_requirements: !ruby/object:Gem::Requirement
|
|
149
148
|
requirements:
|
|
150
|
-
- - "
|
|
149
|
+
- - "~>"
|
|
151
150
|
- !ruby/object:Gem::Version
|
|
152
|
-
version:
|
|
151
|
+
version: 2.0.0.pre.alpha
|
|
153
152
|
- !ruby/object:Gem::Dependency
|
|
154
153
|
name: shale
|
|
155
154
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -192,48 +191,6 @@ dependencies:
|
|
|
192
191
|
- - ">="
|
|
193
192
|
- !ruby/object:Gem::Version
|
|
194
193
|
version: '0'
|
|
195
|
-
- !ruby/object:Gem::Dependency
|
|
196
|
-
name: rubocop
|
|
197
|
-
requirement: !ruby/object:Gem::Requirement
|
|
198
|
-
requirements:
|
|
199
|
-
- - ">="
|
|
200
|
-
- !ruby/object:Gem::Version
|
|
201
|
-
version: '0'
|
|
202
|
-
type: :development
|
|
203
|
-
prerelease: false
|
|
204
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
205
|
-
requirements:
|
|
206
|
-
- - ">="
|
|
207
|
-
- !ruby/object:Gem::Version
|
|
208
|
-
version: '0'
|
|
209
|
-
- !ruby/object:Gem::Dependency
|
|
210
|
-
name: rubocop-performance
|
|
211
|
-
requirement: !ruby/object:Gem::Requirement
|
|
212
|
-
requirements:
|
|
213
|
-
- - ">="
|
|
214
|
-
- !ruby/object:Gem::Version
|
|
215
|
-
version: '0'
|
|
216
|
-
type: :development
|
|
217
|
-
prerelease: false
|
|
218
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
219
|
-
requirements:
|
|
220
|
-
- - ">="
|
|
221
|
-
- !ruby/object:Gem::Version
|
|
222
|
-
version: '0'
|
|
223
|
-
- !ruby/object:Gem::Dependency
|
|
224
|
-
name: rubocop-rails
|
|
225
|
-
requirement: !ruby/object:Gem::Requirement
|
|
226
|
-
requirements:
|
|
227
|
-
- - ">="
|
|
228
|
-
- !ruby/object:Gem::Version
|
|
229
|
-
version: '0'
|
|
230
|
-
type: :development
|
|
231
|
-
prerelease: false
|
|
232
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
233
|
-
requirements:
|
|
234
|
-
- - ">="
|
|
235
|
-
- !ruby/object:Gem::Version
|
|
236
|
-
version: '0'
|
|
237
194
|
description: 'Stepmod-utils is a toolkit that works on STEPmod data.
|
|
238
195
|
|
|
239
196
|
'
|
|
@@ -254,7 +211,6 @@ files:
|
|
|
254
211
|
- ".github/workflows/release.yml"
|
|
255
212
|
- ".github/workflows/test-concept-generation.yml"
|
|
256
213
|
- ".gitignore"
|
|
257
|
-
- ".hound.yml"
|
|
258
214
|
- ".rspec"
|
|
259
215
|
- ".rubocop.yml"
|
|
260
216
|
- CODE_OF_CONDUCT.md
|
|
@@ -390,7 +346,6 @@ homepage: https://github.com/metanorma/stepmod-utils
|
|
|
390
346
|
licenses:
|
|
391
347
|
- BSD-2-Clause
|
|
392
348
|
metadata: {}
|
|
393
|
-
post_install_message:
|
|
394
349
|
rdoc_options: []
|
|
395
350
|
require_paths:
|
|
396
351
|
- lib
|
|
@@ -398,15 +353,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
398
353
|
requirements:
|
|
399
354
|
- - ">="
|
|
400
355
|
- !ruby/object:Gem::Version
|
|
401
|
-
version: 3.
|
|
356
|
+
version: 3.2.0
|
|
402
357
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
403
358
|
requirements:
|
|
404
359
|
- - ">="
|
|
405
360
|
- !ruby/object:Gem::Version
|
|
406
361
|
version: '0'
|
|
407
362
|
requirements: []
|
|
408
|
-
rubygems_version: 3.
|
|
409
|
-
signing_key:
|
|
363
|
+
rubygems_version: 3.6.9
|
|
410
364
|
specification_version: 4
|
|
411
365
|
summary: Stepmod-utils is a toolkit that works on STEPmod data.
|
|
412
366
|
test_files: []
|