any2pdf 1.1.1 → 1.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +10 -10
- data/any2pdf.gemspec +1 -2
- data/bin/any2pdf +1 -2
- metadata +1 -15
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dca4201cc2356687f0ac949012ad844f5f924f49
|
4
|
+
data.tar.gz: 519368ebab50329bb7f5debccafeae3e7a9ec6b6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8340cdb68d7c701d5693e47c8ececaa685087dafc0600cd8ed024102b53872b4f7e662b488c66889aa2e3dc3fa80ed1ec98be9ecbf53411541b8b4bbcb6f9bc2
|
7
|
+
data.tar.gz: e7dde001e3ed785d862453cef9024fb5fc608acd8728fe40b07a04b7cccfdcc932f20ebb290b4eeaadb070c09cb016e42a1a26b6c712160b1a2c99237ce91087
|
data/Gemfile.lock
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
any2pdf (1.
|
5
|
-
|
4
|
+
any2pdf (1.1.1)
|
5
|
+
css_parser
|
6
6
|
nokogiri
|
7
7
|
pdfkit
|
8
8
|
trollop
|
@@ -10,20 +10,20 @@ PATH
|
|
10
10
|
|
11
11
|
GEM
|
12
12
|
specs:
|
13
|
-
|
14
|
-
|
13
|
+
addressable (2.3.6)
|
14
|
+
css_parser (1.3.5)
|
15
|
+
addressable
|
15
16
|
little-plugger (1.1.3)
|
16
17
|
logging (1.8.2)
|
17
18
|
little-plugger (>= 1.1.3)
|
18
19
|
multi_json (>= 1.8.4)
|
19
|
-
mini_portile (0.
|
20
|
-
multi_json (1.10.
|
21
|
-
nokogiri (1.6.2)
|
22
|
-
mini_portile (
|
20
|
+
mini_portile (0.6.0)
|
21
|
+
multi_json (1.10.1)
|
22
|
+
nokogiri (1.6.2.1)
|
23
|
+
mini_portile (= 0.6.0)
|
23
24
|
pdfkit (0.6.1)
|
24
|
-
rmagick (2.13.2)
|
25
25
|
trollop (2.0)
|
26
|
-
zlog (0.9.
|
26
|
+
zlog (0.9.2)
|
27
27
|
logging (~> 1.8.1)
|
28
28
|
|
29
29
|
PLATFORMS
|
data/any2pdf.gemspec
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
2
|
Gem::Specification.new do |s|
|
3
3
|
s.name = 'any2pdf'
|
4
|
-
s.version = '1.1.
|
4
|
+
s.version = '1.1.2'
|
5
5
|
s.platform = Gem::Platform::RUBY
|
6
6
|
s.summary = "convert anything to pdf (via pandoc and pdfkit)"
|
7
7
|
s.description = s.summary
|
@@ -12,7 +12,6 @@ Gem::Specification.new do |s|
|
|
12
12
|
s.add_dependency "css_parser"
|
13
13
|
s.add_dependency "trollop"
|
14
14
|
s.add_dependency "nokogiri"
|
15
|
-
s.add_dependency "fileutils"
|
16
15
|
s.add_dependency "zlog"
|
17
16
|
|
18
17
|
s.files = `git ls-files`.split("\n")
|
data/bin/any2pdf
CHANGED
@@ -2,7 +2,6 @@
|
|
2
2
|
|
3
3
|
require 'pdfkit'
|
4
4
|
require 'trollop'
|
5
|
-
require 'fileutils'
|
6
5
|
require 'nokogiri'
|
7
6
|
require 'css_parser'
|
8
7
|
require 'uri'
|
@@ -111,7 +110,7 @@ def md2html(file, opts, stylefile)
|
|
111
110
|
# create the html
|
112
111
|
`pandoc "#{file}" -o "#{htmlfile_raw}" --template #{rel_path}/pandoc-template.html --toc`
|
113
112
|
raw_html = File::read htmlfile_raw
|
114
|
-
|
113
|
+
File.delete htmlfile_raw
|
115
114
|
|
116
115
|
# additional options
|
117
116
|
toc_level = opts[:toc_level]
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: any2pdf
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dominik Richter
|
@@ -66,20 +66,6 @@ dependencies:
|
|
66
66
|
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0'
|
69
|
-
- !ruby/object:Gem::Dependency
|
70
|
-
name: fileutils
|
71
|
-
requirement: !ruby/object:Gem::Requirement
|
72
|
-
requirements:
|
73
|
-
- - ">="
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
version: '0'
|
76
|
-
type: :runtime
|
77
|
-
prerelease: false
|
78
|
-
version_requirements: !ruby/object:Gem::Requirement
|
79
|
-
requirements:
|
80
|
-
- - ">="
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
version: '0'
|
83
69
|
- !ruby/object:Gem::Dependency
|
84
70
|
name: zlog
|
85
71
|
requirement: !ruby/object:Gem::Requirement
|