metanorma 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/exe/metanorma-pdf.js +1 -0
- data/lib/metanorma/output/pdf.rb +1 -1
- data/lib/metanorma/version.rb +1 -1
- data/metanorma.gemspec +2 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fb95e4682cc1dd93a06c5c535647d4ad80ce55ed7a5e249de095f523dadfcd33
|
4
|
+
data.tar.gz: 423951596f64008539514331a2b5b5bf0c91c3957bd8853df7cb3c7d8db582b5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: baa84d18f7109e43e04f66052076490ea5c43379a64c0f1b03b548a85dc6d59ca2826436bfbf102923bf91b3206c98279056b3d313754b8f8c0bdd98eb0bead6
|
7
|
+
data.tar.gz: 9f6d285f34a46e4d215cb2b3f8325906b17065d5b3689b709419d6dd3d3f5e792140a3c697bd6f7e03ea043d3e78d8bb6b1573cd4431c4031c543ae8feb485c9
|
data/exe/metanorma-pdf.js
CHANGED
data/lib/metanorma/output/pdf.rb
CHANGED
@@ -3,7 +3,7 @@ module Metanorma
|
|
3
3
|
class Pdf < Base
|
4
4
|
|
5
5
|
def convert(url_path, output_path)
|
6
|
-
file_url = "file://#{url_path}"
|
6
|
+
file_url = "file://#{Dir.pwd}/#{url_path}"
|
7
7
|
pdfjs = File.join(File.dirname(__FILE__), '../../../exe/metanorma-pdf.js')
|
8
8
|
puts "export NODE_PATH=$(npm root --quiet -g);
|
9
9
|
node #{pdfjs} #{file_url} #{output_path}"
|
data/lib/metanorma/version.rb
CHANGED
data/metanorma.gemspec
CHANGED
@@ -10,8 +10,9 @@ Gem::Specification.new do |spec|
|
|
10
10
|
spec.email = ['open.source@ribose.com']
|
11
11
|
|
12
12
|
spec.summary = %q{Metanorma is the standard of standards; the metanorma gem allows you to create any standard document type supported by Metanorma.}
|
13
|
-
spec.description = %q{
|
13
|
+
spec.description = %q{Executable and library to process any Metanorma standard.}
|
14
14
|
spec.homepage = "https://github.com/riboseinc/metanorma"
|
15
|
+
spec.license = "MIT"
|
15
16
|
|
16
17
|
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
17
18
|
f.match(%r{^(test|spec|features)/})
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: metanorma
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
@@ -164,8 +164,7 @@ dependencies:
|
|
164
164
|
- - ">="
|
165
165
|
- !ruby/object:Gem::Version
|
166
166
|
version: 0.8.0
|
167
|
-
description:
|
168
|
-
to create any standard document type supported by Metanorma.
|
167
|
+
description: Executable and library to process any Metanorma standard.
|
169
168
|
email:
|
170
169
|
- open.source@ribose.com
|
171
170
|
executables:
|
@@ -204,7 +203,8 @@ files:
|
|
204
203
|
- lib/metanorma/version.rb
|
205
204
|
- metanorma.gemspec
|
206
205
|
homepage: https://github.com/riboseinc/metanorma
|
207
|
-
licenses:
|
206
|
+
licenses:
|
207
|
+
- MIT
|
208
208
|
metadata: {}
|
209
209
|
post_install_message:
|
210
210
|
rdoc_options: []
|
@@ -222,7 +222,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
222
222
|
version: '0'
|
223
223
|
requirements: []
|
224
224
|
rubyforge_project:
|
225
|
-
rubygems_version: 2.7.
|
225
|
+
rubygems_version: 2.7.6
|
226
226
|
signing_key:
|
227
227
|
specification_version: 4
|
228
228
|
summary: Metanorma is the standard of standards; the metanorma gem allows you to create
|