metanorma 0.3.11 → 0.3.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +14 -12
- data/Gemfile.lock +66 -64
- data/appveyor.yml +7 -2
- data/lib/metanorma.rb +2 -0
- data/lib/metanorma/compile.rb +11 -11
- data/lib/metanorma/config.rb +23 -0
- data/lib/metanorma/output/pdf.rb +0 -3
- data/lib/metanorma/registry.rb +4 -2
- data/lib/metanorma/util.rb +11 -0
- data/lib/metanorma/version.rb +1 -1
- data/metanorma.gemspec +4 -7
- metadata +12 -38
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a3e99f6dcb3fe79eb0f8be74ff79c3bf461e64974992d0e56b5192bc0638970c
|
4
|
+
data.tar.gz: 5559be01e614c1c54d2e2b2900642ef73528acdb03a8ae569bfa694de3f4cb7f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e5cd41cd491dd4518e1598b867dc48c7ee6973b1d5785c1b59107c777ac5970688595fd6d5d7761fd47ae56addccd64e2860a5483fe86deeba51caf9273e2803
|
7
|
+
data.tar.gz: 132b2bcf455b7f02fda5325157b70a9bccee16957be76a2fbcd1e67225bef0e4f5135ff56bf559a354a6eaabf326a4d8da96d668ce6571218c235793cdec4a13
|
data/.travis.yml
CHANGED
@@ -1,18 +1,20 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
# Auto-generated !!! Do not edit it manually
|
2
|
+
# use ci-master https://github.com/metanorma/metanorma-build-scripts
|
3
3
|
language: ruby
|
4
|
+
cache: bundler
|
5
|
+
os:
|
6
|
+
- linux
|
7
|
+
- osx
|
4
8
|
rvm:
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
- ruby-head
|
9
|
-
node_js:
|
10
|
-
- "iojs"
|
11
|
-
- "8"
|
9
|
+
- 2.5
|
10
|
+
- 2.4
|
11
|
+
- ruby-head
|
12
12
|
before_install:
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
- nvm install 8
|
14
|
+
- npm install -g puppeteer
|
15
|
+
- npm install
|
16
|
+
- gem install bundler -v 2.0.1
|
17
|
+
- bundle update
|
16
18
|
matrix:
|
17
19
|
allow_failures:
|
18
20
|
- rvm: ruby-head
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
metanorma (0.3.
|
4
|
+
metanorma (0.3.12)
|
5
5
|
asciidoctor
|
6
6
|
htmlentities
|
7
7
|
|
@@ -21,68 +21,49 @@ GEM
|
|
21
21
|
diff-lcs (1.3)
|
22
22
|
equivalent-xml (0.6.0)
|
23
23
|
nokogiri (>= 1.4.3)
|
24
|
-
ffi (1.
|
24
|
+
ffi (1.11.1)
|
25
25
|
gb-agencies (0.0.5)
|
26
|
-
|
27
|
-
cnccs (~> 0.1.1)
|
28
|
-
gb-agencies (~> 0.0.1)
|
29
|
-
iso-bib-item (~> 0.4.2)
|
30
|
-
html2doc (0.8.9)
|
26
|
+
html2doc (0.8.11)
|
31
27
|
asciimath (~> 1.0.7)
|
32
28
|
htmlentities (~> 4.3.4)
|
33
29
|
image_size
|
34
30
|
mime-types
|
35
31
|
nokogiri
|
36
|
-
ruby-xslt
|
37
32
|
thread_safe
|
38
33
|
uuidtools
|
39
34
|
htmlentities (4.3.4)
|
40
35
|
httpclient (2.8.3)
|
41
|
-
iecbib (0.2.2)
|
42
|
-
addressable
|
43
|
-
iso-bib-item (~> 0.4.2)
|
44
|
-
ietfbib (0.4.5)
|
45
|
-
iso-bib-item (~> 0.4.2)
|
46
36
|
iev (0.2.2)
|
47
37
|
nokogiri
|
48
|
-
image_size (2.0.
|
49
|
-
|
50
|
-
isoics (~> 0.1.6)
|
51
|
-
nokogiri (~> 1.8.4)
|
52
|
-
ruby_deep_clone (~> 0.8.0)
|
53
|
-
isobib (0.4.4)
|
54
|
-
algoliasearch
|
55
|
-
iecbib (~> 0.2.1)
|
56
|
-
iso-bib-item (~> 0.4.2)
|
57
|
-
isodoc (0.9.13)
|
38
|
+
image_size (2.0.1)
|
39
|
+
isodoc (0.10.0)
|
58
40
|
asciimath
|
59
|
-
html2doc (~> 0.8.
|
41
|
+
html2doc (~> 0.8.11)
|
60
42
|
htmlentities (~> 4.3.4)
|
61
43
|
liquid
|
62
44
|
metanorma (~> 0.3.0)
|
63
|
-
nokogiri
|
45
|
+
nokogiri (>= 1)
|
64
46
|
rake (~> 12.0)
|
65
47
|
roman-numerals
|
66
|
-
|
67
|
-
sassc (~> 1.12.1)
|
48
|
+
sassc (~> 2)
|
68
49
|
thread_safe
|
69
50
|
uuidtools
|
70
51
|
isoics (0.1.7)
|
71
52
|
json (2.2.0)
|
72
53
|
liquid (4.0.3)
|
73
|
-
metanorma-iso (1.
|
54
|
+
metanorma-iso (1.2.0)
|
74
55
|
asciidoctor (~> 1.5.7)
|
75
|
-
|
76
|
-
|
77
|
-
metanorma-standoc (~> 1.1.0)
|
56
|
+
isodoc (~> 0.10.0)
|
57
|
+
metanorma-standoc (~> 1.2.0)
|
78
58
|
ruby-jing
|
79
|
-
metanorma-standoc (1.
|
59
|
+
metanorma-standoc (1.2.0)
|
80
60
|
asciidoctor (~> 1.5.7)
|
81
61
|
concurrent-ruby
|
82
|
-
html2doc (~> 0.8.
|
62
|
+
html2doc (~> 0.8.11)
|
83
63
|
iev (~> 0.2.1)
|
84
|
-
isodoc (~> 0.
|
85
|
-
relaton (~> 0.
|
64
|
+
isodoc (~> 0.10.0)
|
65
|
+
relaton (~> 0.4.0)
|
66
|
+
relaton-cli (~> 0.2.0)
|
86
67
|
ruby-jing
|
87
68
|
sterile (~> 1.0.14)
|
88
69
|
unicode2latex (~> 0.0.1)
|
@@ -94,18 +75,46 @@ GEM
|
|
94
75
|
nokogiri (1.8.5)
|
95
76
|
mini_portile2 (~> 2.3.0)
|
96
77
|
optout (0.0.2)
|
97
|
-
public_suffix (3.0
|
78
|
+
public_suffix (3.1.0)
|
98
79
|
rake (12.3.2)
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
80
|
+
relaton (0.4.0)
|
81
|
+
algoliasearch
|
82
|
+
relaton-gb (~> 0.5.0)
|
83
|
+
relaton-iec (~> 0.3.0)
|
84
|
+
relaton-ietf (~> 0.5.0)
|
85
|
+
relaton-iso (~> 0.5.0)
|
86
|
+
relaton-iso-bib (~> 0.2.0)
|
87
|
+
relaton-itu (~> 0.2.0)
|
88
|
+
relaton-nist (~> 0.2.0)
|
89
|
+
relaton-bib (0.2.1)
|
90
|
+
addressable
|
91
|
+
nokogiri (~> 1.8.4)
|
92
|
+
relaton-cli (0.2.0)
|
93
|
+
liquid
|
94
|
+
relaton (~> 0.4)
|
95
|
+
thor
|
96
|
+
relaton-gb (0.5.0)
|
97
|
+
cnccs (~> 0.1.1)
|
98
|
+
gb-agencies (~> 0.0.1)
|
99
|
+
relaton-iso-bib (~> 0.2.0)
|
100
|
+
relaton-iec (0.3.0)
|
101
|
+
addressable
|
102
|
+
relaton-iso-bib (~> 0.2.0)
|
103
|
+
relaton-ietf (0.5.0)
|
104
|
+
relaton-iso-bib (~> 0.2.0)
|
105
|
+
relaton-iso (0.5.0)
|
103
106
|
algoliasearch
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
107
|
+
relaton-iec (~> 0.3.0)
|
108
|
+
relaton-iso-bib (~> 0.2.0)
|
109
|
+
relaton-iso-bib (0.2.2)
|
110
|
+
isoics (~> 0.1.6)
|
111
|
+
nokogiri (~> 1.8.4)
|
112
|
+
relaton-bib (~> 0.2.0)
|
113
|
+
ruby_deep_clone (~> 0.8.0)
|
114
|
+
relaton-itu (0.2.0)
|
115
|
+
relaton-iso-bib (~> 0.2.0)
|
116
|
+
relaton-nist (0.2.0)
|
117
|
+
relaton-bib (~> 0.2.0)
|
109
118
|
roman-numerals (0.3.0)
|
110
119
|
rspec (3.8.0)
|
111
120
|
rspec-core (~> 3.8.0)
|
@@ -115,32 +124,27 @@ GEM
|
|
115
124
|
mixlib-shellout (~> 2.0)
|
116
125
|
rspec (~> 3.2)
|
117
126
|
rspec-its (~> 1.2)
|
118
|
-
rspec-core (3.8.
|
127
|
+
rspec-core (3.8.1)
|
119
128
|
rspec-support (~> 3.8.0)
|
120
|
-
rspec-expectations (3.8.
|
129
|
+
rspec-expectations (3.8.4)
|
121
130
|
diff-lcs (>= 1.2.0, < 2.0)
|
122
131
|
rspec-support (~> 3.8.0)
|
123
|
-
rspec-its (1.
|
132
|
+
rspec-its (1.3.0)
|
124
133
|
rspec-core (>= 3.0.0)
|
125
134
|
rspec-expectations (>= 3.0.0)
|
126
|
-
rspec-mocks (3.8.
|
135
|
+
rspec-mocks (3.8.1)
|
127
136
|
diff-lcs (>= 1.2.0, < 2.0)
|
128
137
|
rspec-support (~> 3.8.0)
|
129
|
-
rspec-support (3.8.
|
138
|
+
rspec-support (3.8.2)
|
130
139
|
ruby-jing (0.0.1)
|
131
140
|
optout (>= 0.0.2)
|
132
|
-
ruby-xslt (0.9.10)
|
133
141
|
ruby_deep_clone (0.8.0)
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
rb-fsevent (~> 0.9, >= 0.9.4)
|
138
|
-
rb-inotify (~> 0.9, >= 0.9.7)
|
139
|
-
sassc (1.12.1)
|
140
|
-
ffi (~> 1.9.6)
|
141
|
-
sass (>= 3.3.0)
|
142
|
+
sassc (2.0.1)
|
143
|
+
ffi (~> 1.9)
|
144
|
+
rake
|
142
145
|
sterile (1.0.14)
|
143
146
|
nokogiri
|
147
|
+
thor (0.20.3)
|
144
148
|
thread_safe (0.3.6)
|
145
149
|
unicode2latex (0.0.2)
|
146
150
|
uuidtools (2.1.5)
|
@@ -149,16 +153,14 @@ PLATFORMS
|
|
149
153
|
ruby
|
150
154
|
|
151
155
|
DEPENDENCIES
|
152
|
-
bundler (~> 2.0
|
156
|
+
bundler (~> 2.0)
|
153
157
|
byebug (~> 10.0)
|
154
158
|
equivalent-xml (~> 0.6)
|
155
|
-
isodoc (= 0.9.13)
|
156
159
|
metanorma!
|
157
|
-
metanorma-iso (~> 1.
|
158
|
-
metanorma-standoc (~> 1.1.4)
|
160
|
+
metanorma-iso (~> 1.2)
|
159
161
|
rake (~> 12.0)
|
160
162
|
rspec (~> 3.0)
|
161
|
-
rspec-command (~> 1.0
|
163
|
+
rspec-command (~> 1.0)
|
162
164
|
|
163
165
|
BUNDLED WITH
|
164
166
|
2.0.1
|
data/appveyor.yml
CHANGED
@@ -1,10 +1,14 @@
|
|
1
|
+
# Auto-generated !!! Do not edit it manually
|
2
|
+
# use ci-master https://github.com/metanorma/metanorma-build-scripts
|
1
3
|
version: '{build}'
|
2
4
|
|
5
|
+
cache:
|
6
|
+
- vendor/bundle
|
7
|
+
|
3
8
|
environment:
|
4
9
|
matrix:
|
5
10
|
- RUBY_VERSION: 25
|
6
11
|
- RUBY_VERSION: 24
|
7
|
-
- RUBY_VERSION: 23
|
8
12
|
- RUBY_VERSION: _trunk
|
9
13
|
|
10
14
|
matrix:
|
@@ -17,6 +21,8 @@ install:
|
|
17
21
|
|
18
22
|
build_script:
|
19
23
|
- set PATH=C:\Ruby%RUBY_VERSION%\bin;%PATH%
|
24
|
+
- set GIT_TERMINAL_PROMPT=0
|
25
|
+
- bundle config --local path vendor/bundle
|
20
26
|
- bundle update
|
21
27
|
- bundle install
|
22
28
|
|
@@ -27,4 +33,3 @@ before_test:
|
|
27
33
|
|
28
34
|
test_script:
|
29
35
|
- bundle exec rake
|
30
|
-
|
data/lib/metanorma.rb
CHANGED
data/lib/metanorma/compile.rb
CHANGED
@@ -47,23 +47,23 @@ module Metanorma
|
|
47
47
|
|
48
48
|
def validate_type(options)
|
49
49
|
unless options[:type]
|
50
|
-
|
50
|
+
Util.log("[metanorma] Error: Please specify a standard type: #{@registry.supported_backends}.", :error)
|
51
51
|
return nil
|
52
52
|
end
|
53
53
|
stdtype = options[:type].to_sym
|
54
54
|
unless @registry.supported_backends.include? stdtype
|
55
|
-
|
56
|
-
|
55
|
+
Util.log("[metanorma] Warning: #{stdtype} is not a default standard type.", :warning)
|
56
|
+
Util.log("metanorma] Info: Attempting to load `metanorma-#{stdtype}` gem for standard type `#{stdtype}`.", :info)
|
57
57
|
end
|
58
58
|
begin
|
59
59
|
require "metanorma-#{stdtype}"
|
60
|
-
|
60
|
+
Util.log("[metanorma] Info: gem `metanorma-#{stdtype}` loaded.", :info)
|
61
61
|
rescue LoadError
|
62
|
-
|
62
|
+
Util.log("[metanorma] Error: loading gem `metanorma-#{stdtype}` failed. Exiting.", :error)
|
63
63
|
return false
|
64
64
|
end
|
65
65
|
unless @registry.supported_backends.include? stdtype
|
66
|
-
|
66
|
+
Util.log("[metanorma] Error: The `metanorma-#{stdtype}` gem still doesn't support `#{stdtype}`. Exiting.", :error)
|
67
67
|
return false
|
68
68
|
end
|
69
69
|
true
|
@@ -71,7 +71,7 @@ module Metanorma
|
|
71
71
|
|
72
72
|
def validate_format(options)
|
73
73
|
unless options[:format] == :asciidoc
|
74
|
-
|
74
|
+
Util.log("[metanorma] Error: Only source file format currently supported is 'asciidoc'.", :error)
|
75
75
|
return false
|
76
76
|
end
|
77
77
|
true
|
@@ -83,7 +83,7 @@ module Metanorma
|
|
83
83
|
end
|
84
84
|
extensions = options[:extension_keys].inject([]) do |memo, e|
|
85
85
|
@processor.output_formats[e] and memo << e or
|
86
|
-
|
86
|
+
Util.log("[metanorma] Error: #{e} format is not supported for this standard.", :error)
|
87
87
|
memo
|
88
88
|
end
|
89
89
|
extensions
|
@@ -92,7 +92,7 @@ module Metanorma
|
|
92
92
|
def process_input(filename, options)
|
93
93
|
case extname = File.extname(filename)
|
94
94
|
when ".adoc"
|
95
|
-
|
95
|
+
Util.log("[metanorma] Processing: Asciidoctor input.", :info)
|
96
96
|
file = File.read(filename, encoding: "utf-8")
|
97
97
|
options[:asciimath] and
|
98
98
|
file.sub!(/^(=[^\n]+\n)/, "\\1:mn-keep-asciimath:\n")
|
@@ -101,12 +101,12 @@ module Metanorma
|
|
101
101
|
file.gsub!(/^include::/, "include::#{dir}/")
|
102
102
|
[file, @processor.input_to_isodoc(file, filename)]
|
103
103
|
when ".xml"
|
104
|
-
|
104
|
+
Util.log("[metanorma] Processing: Metanorma XML input.", :info)
|
105
105
|
# TODO NN: this is a hack -- we should provide/bridge the
|
106
106
|
# document attributes in Metanorma XML
|
107
107
|
["", File.read(filename, encoding: "utf-8")]
|
108
108
|
else
|
109
|
-
|
109
|
+
Util.log("[metanorma] Error: file extension #{extname} is not supported.", :error)
|
110
110
|
nil
|
111
111
|
end
|
112
112
|
end
|
@@ -0,0 +1,23 @@
|
|
1
|
+
module Metanorma
|
2
|
+
module Config
|
3
|
+
def configure
|
4
|
+
if block_given?
|
5
|
+
yield configuration
|
6
|
+
end
|
7
|
+
end
|
8
|
+
|
9
|
+
def configuration
|
10
|
+
@configuration ||= Configuration.new
|
11
|
+
end
|
12
|
+
end
|
13
|
+
|
14
|
+
class Configuration
|
15
|
+
attr_accessor :logs
|
16
|
+
|
17
|
+
def initialize
|
18
|
+
@logs ||= [:warning, :error]
|
19
|
+
end
|
20
|
+
end
|
21
|
+
|
22
|
+
extend Config
|
23
|
+
end
|
data/lib/metanorma/output/pdf.rb
CHANGED
@@ -9,9 +9,6 @@ module Metanorma
|
|
9
9
|
pdfjs = File.join(File.dirname(__FILE__), '../../../bin/metanorma-pdf.js')
|
10
10
|
ENV['NODE_PATH'] ||= `npm root --quiet -g`.strip
|
11
11
|
system "node #{pdfjs} #{file_url} #{output_path}"
|
12
|
-
#Phantomjs.path
|
13
|
-
#pdfjs = File.join(File.dirname(__FILE__), "../../../bin/rasterize.js")
|
14
|
-
#Phantomjs.run(pdfjs, file_url, output_path, "A4")
|
15
12
|
end
|
16
13
|
end
|
17
14
|
end
|
data/lib/metanorma/registry.rb
CHANGED
@@ -19,8 +19,10 @@ module Metanorma
|
|
19
19
|
def register processor
|
20
20
|
raise Error unless processor < ::Metanorma::Processor
|
21
21
|
p = processor.new
|
22
|
-
|
23
|
-
|
22
|
+
Array(p.short).each do |s|
|
23
|
+
@processors[s] = p
|
24
|
+
end
|
25
|
+
Util.log("[metanorma] processor \"#{Array(p.short)[0]}\" registered", :info)
|
24
26
|
end
|
25
27
|
|
26
28
|
def find_processor(short)
|
data/lib/metanorma/version.rb
CHANGED
data/metanorma.gemspec
CHANGED
@@ -21,19 +21,16 @@ Gem::Specification.new do |spec|
|
|
21
21
|
spec.bindir = "bin"
|
22
22
|
#spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
23
23
|
spec.require_paths = ["lib"]
|
24
|
-
|
25
|
-
spec.required_ruby_version = '>= 2.3.0'
|
24
|
+
spec.required_ruby_version = '>= 2.4.0'
|
26
25
|
|
27
26
|
spec.add_runtime_dependency 'asciidoctor'
|
28
27
|
spec.add_runtime_dependency 'htmlentities'
|
29
28
|
|
30
|
-
spec.add_development_dependency "bundler", "~> 2.0
|
29
|
+
spec.add_development_dependency "bundler", "~> 2.0"
|
31
30
|
spec.add_development_dependency "rake", "~> 12.0"
|
32
31
|
spec.add_development_dependency "rspec", "~> 3.0"
|
33
32
|
spec.add_development_dependency "byebug", "~> 10.0"
|
34
|
-
spec.add_development_dependency "rspec-command", "~> 1.0
|
33
|
+
spec.add_development_dependency "rspec-command", "~> 1.0"
|
35
34
|
spec.add_development_dependency "equivalent-xml", "~> 0.6"
|
36
|
-
spec.add_development_dependency "metanorma-iso", "~> 1.
|
37
|
-
spec.add_development_dependency "metanorma-standoc", "~> 1.1.4"
|
38
|
-
spec.add_development_dependency "isodoc", "0.9.13"
|
35
|
+
spec.add_development_dependency "metanorma-iso", "~> 1.2"
|
39
36
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: metanorma
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-06-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: asciidoctor
|
@@ -44,14 +44,14 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 2.0
|
47
|
+
version: '2.0'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 2.0
|
54
|
+
version: '2.0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: rake
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -100,14 +100,14 @@ dependencies:
|
|
100
100
|
requirements:
|
101
101
|
- - "~>"
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version: 1.0
|
103
|
+
version: '1.0'
|
104
104
|
type: :development
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
108
|
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version: 1.0
|
110
|
+
version: '1.0'
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
112
|
name: equivalent-xml
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
@@ -128,42 +128,14 @@ dependencies:
|
|
128
128
|
requirements:
|
129
129
|
- - "~>"
|
130
130
|
- !ruby/object:Gem::Version
|
131
|
-
version: 1.
|
131
|
+
version: '1.2'
|
132
132
|
type: :development
|
133
133
|
prerelease: false
|
134
134
|
version_requirements: !ruby/object:Gem::Requirement
|
135
135
|
requirements:
|
136
136
|
- - "~>"
|
137
137
|
- !ruby/object:Gem::Version
|
138
|
-
version: 1.
|
139
|
-
- !ruby/object:Gem::Dependency
|
140
|
-
name: metanorma-standoc
|
141
|
-
requirement: !ruby/object:Gem::Requirement
|
142
|
-
requirements:
|
143
|
-
- - "~>"
|
144
|
-
- !ruby/object:Gem::Version
|
145
|
-
version: 1.1.4
|
146
|
-
type: :development
|
147
|
-
prerelease: false
|
148
|
-
version_requirements: !ruby/object:Gem::Requirement
|
149
|
-
requirements:
|
150
|
-
- - "~>"
|
151
|
-
- !ruby/object:Gem::Version
|
152
|
-
version: 1.1.4
|
153
|
-
- !ruby/object:Gem::Dependency
|
154
|
-
name: isodoc
|
155
|
-
requirement: !ruby/object:Gem::Requirement
|
156
|
-
requirements:
|
157
|
-
- - '='
|
158
|
-
- !ruby/object:Gem::Version
|
159
|
-
version: 0.9.13
|
160
|
-
type: :development
|
161
|
-
prerelease: false
|
162
|
-
version_requirements: !ruby/object:Gem::Requirement
|
163
|
-
requirements:
|
164
|
-
- - '='
|
165
|
-
- !ruby/object:Gem::Version
|
166
|
-
version: 0.9.13
|
138
|
+
version: '1.2'
|
167
139
|
description: Library to process any Metanorma standard.
|
168
140
|
email:
|
169
141
|
- open.source@ribose.com
|
@@ -195,6 +167,7 @@ files:
|
|
195
167
|
- lib/metanorma/asciidoctor_extensions.rb
|
196
168
|
- lib/metanorma/asciidoctor_extensions/glob_include_processor.rb
|
197
169
|
- lib/metanorma/compile.rb
|
170
|
+
- lib/metanorma/config.rb
|
198
171
|
- lib/metanorma/document.rb
|
199
172
|
- lib/metanorma/input.rb
|
200
173
|
- lib/metanorma/input/asciidoc.rb
|
@@ -204,6 +177,7 @@ files:
|
|
204
177
|
- lib/metanorma/output/pdf.rb
|
205
178
|
- lib/metanorma/processor.rb
|
206
179
|
- lib/metanorma/registry.rb
|
180
|
+
- lib/metanorma/util.rb
|
207
181
|
- lib/metanorma/version.rb
|
208
182
|
- metanorma.gemspec
|
209
183
|
homepage: https://github.com/metanorma/metanorma
|
@@ -218,7 +192,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
218
192
|
requirements:
|
219
193
|
- - ">="
|
220
194
|
- !ruby/object:Gem::Version
|
221
|
-
version: 2.
|
195
|
+
version: 2.4.0
|
222
196
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
223
197
|
requirements:
|
224
198
|
- - ">="
|
@@ -226,7 +200,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
226
200
|
version: '0'
|
227
201
|
requirements: []
|
228
202
|
rubyforge_project:
|
229
|
-
rubygems_version: 2.7.
|
203
|
+
rubygems_version: 2.7.7
|
230
204
|
signing_key:
|
231
205
|
specification_version: 4
|
232
206
|
summary: Metanorma is the standard of standards; the metanorma gem allows you to create
|