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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6c1527591a56478bbb20af093e8125740523d2e6b02784c56a52da8409b06d2a
4
- data.tar.gz: 73988b44e68d19c471f9d471f9d762172285da7894ce88fe3bc7633aa59dbad7
3
+ metadata.gz: fb95e4682cc1dd93a06c5c535647d4ad80ce55ed7a5e249de095f523dadfcd33
4
+ data.tar.gz: 423951596f64008539514331a2b5b5bf0c91c3957bd8853df7cb3c7d8db582b5
5
5
  SHA512:
6
- metadata.gz: '091b20227007450c6a70e1b42f47ec114ffc2eae7d11a226275cfc5b08b06ae3d95792968289fe00b554680ef34d0b9f4cb8db188c34d3cb346f09097e24b959'
7
- data.tar.gz: 7087d3b69bddbf5ba0a829f296947a93acbef1d65984dbd71307b776326cefb089f6e875de2a5974fae1440679c02d7e4ccf293e4ef82f440f25b4121037263a
6
+ metadata.gz: baa84d18f7109e43e04f66052076490ea5c43379a64c0f1b03b548a85dc6d59ca2826436bfbf102923bf91b3206c98279056b3d313754b8f8c0bdd98eb0bead6
7
+ data.tar.gz: 9f6d285f34a46e4d215cb2b3f8325906b17065d5b3689b709419d6dd3d3f5e792140a3c697bd6f7e03ea043d3e78d8bb6b1573cd4431c4031c543ae8feb485c9
@@ -1,3 +1,4 @@
1
+ #!/usr/bin/env node
1
2
  'use strict';
2
3
 
3
4
  const puppeteer = require('puppeteer');
@@ -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}"
@@ -1,3 +1,3 @@
1
1
  module Metanorma
2
- VERSION = "0.2.1"
2
+ VERSION = "0.2.2"
3
3
  end
@@ -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{Metanorma is the standard of standards; the metanorma gem allows you to create any standard document type supported by Metanorma.}
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.1
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: Metanorma is the standard of standards; the metanorma gem allows you
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.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