mn2pdf 1.11 → 1.13

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: b44dde46852820cf8428e717b878bffa76da13af2b209d4921b6ccfcc4549fae
4
- data.tar.gz: 55bb26f971af7e1d5f3806e014afacb9d991308bd320daa6f00c71f01b218ffa
3
+ metadata.gz: 2539326e9f992ba769447e8b5831d140ec0f1084eeceb49269330aa6fda63055
4
+ data.tar.gz: f882025f244d3f4522fa71f501f7dce8bbd4bdc366c33b6f9b81c0d009fa086f
5
5
  SHA512:
6
- metadata.gz: 74a9e91c7a5ae740ec3e1bf7cdec5e0bde5fff881020147a3b0d0b5cd58e49ec9297428e3d22dde84b5aec5abd15a2a9d14ccba86a99e9d43428af09da3b737d
7
- data.tar.gz: 10eead98d1f6b838f414d8da6b04e4ae81ff5287b1f7df4e70f606cbaf85c8074af5865315d508c65f96555c8d5280676152bdf503b9e9bc123f23ce2ddc3806
6
+ metadata.gz: 7d81c17a341de3ba3acfa2ff581771ca790acbaaede365e2b97c19dd19f79301b25ac707095cfcaa5e297fb65466d745408ac4e5cf56b3b36090cb1ab26f1a97
7
+ data.tar.gz: cd341a7566321f6d7bd622870084872ff2e075688808de1779f74b972bf50af7505f5935b9729efd941afcee68707e74f76e26e26d2f936e25c9a417e966d853
data/Rakefile CHANGED
@@ -1,6 +1,17 @@
1
1
  require "bundler/gem_tasks"
2
2
  require "rspec/core/rake_task"
3
+ require_relative "lib/mn2pdf/version"
3
4
 
4
5
  RSpec::Core::RakeTask.new(:spec)
5
6
 
6
7
  task :default => :spec
8
+
9
+ require 'open-uri'
10
+
11
+ file "bin/mn2pdf.jar" do |file|
12
+ ver = Mn2pdf::VERSION
13
+ url = "https://github.com/metanorma/mn2pdf/releases/download/v#{ver}/mn2pdf-#{ver}.jar"
14
+ File.open(file.name, "wb") do |file|
15
+ file.write open(url).read
16
+ end
17
+ end
data/bin/mn2pdf.jar CHANGED
Binary file
@@ -1,3 +1,3 @@
1
1
  module Mn2pdf
2
- VERSION = "1.11"
2
+ VERSION = "1.13"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mn2pdf
3
3
  version: !ruby/object:Gem::Version
4
- version: '1.11'
4
+ version: '1.13'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-05-02 00:00:00.000000000 Z
11
+ date: 2020-05-04 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: |
14
14
  mn2pdf converts Metanorma XML into PDF.