any2pdf 1.1.1 → 1.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +10 -10
  3. data/any2pdf.gemspec +1 -2
  4. data/bin/any2pdf +1 -2
  5. metadata +1 -15
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d2840e271e6e811095971cd4548ea2f41d1d0346
4
- data.tar.gz: f945220eeb68e8cdd07097fc4b22481d37af7aeb
3
+ metadata.gz: dca4201cc2356687f0ac949012ad844f5f924f49
4
+ data.tar.gz: 519368ebab50329bb7f5debccafeae3e7a9ec6b6
5
5
  SHA512:
6
- metadata.gz: a89949b9aeaf5269ff8518ff0b339af1ec9fafefe2ea3af44d331dbb950bc7ce96070d6f0926c8e107876f60eb405a0d9a5cf557021816c71707e7f1b1355776
7
- data.tar.gz: bb33043e810b183963fbc8fb9b206f847bafc63e6ce0e04c5a0cfd8510a33b03cb142ec9a19c91d62136eaeea06014c3ac341bd944538dcc40db61fab77f5d6e
6
+ metadata.gz: 8340cdb68d7c701d5693e47c8ececaa685087dafc0600cd8ed024102b53872b4f7e662b488c66889aa2e3dc3fa80ed1ec98be9ecbf53411541b8b4bbcb6f9bc2
7
+ data.tar.gz: e7dde001e3ed785d862453cef9024fb5fc608acd8728fe40b07a04b7cccfdcc932f20ebb290b4eeaadb070c09cb016e42a1a26b6c712160b1a2c99237ce91087
@@ -1,8 +1,8 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- any2pdf (1.0.0)
5
- fileutils
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
- fileutils (0.7)
14
- rmagick (>= 2.13.1)
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.5.3)
20
- multi_json (1.10.0)
21
- nokogiri (1.6.2)
22
- mini_portile (~> 0.5.2)
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.0)
26
+ zlog (0.9.2)
27
27
  logging (~> 1.8.1)
28
28
 
29
29
  PLATFORMS
@@ -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.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")
@@ -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
- FileUtils::rm_rf htmlfile_raw
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.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