riven 1.0.1 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ba26d75e2e02f6b72ae7f0571fff2b17dee55824
4
- data.tar.gz: f1904f32c646108455ce5e4153a588680b093287
3
+ metadata.gz: 464b733a4287a5f988d697dfde39dddd95ff7267
4
+ data.tar.gz: 6badfe40a4cae0f0fbec827544781a835d7c5692
5
5
  SHA512:
6
- metadata.gz: ea31b51d6d4ec9e00bcafc25183cf961cfdea5a8a49c27fd9422bc6bf396249f24dc5d892c679d7373fcab234450f7e874efb0e4a6243b80e3c4436e6fb21417
7
- data.tar.gz: 5c4fb8be9365d0185b4cdb4a497f9b17be8a518a615a29b44185c4de05e1e1ece35f752604312880429972c9b4ed88dd2d9768d272fec28c8d6d0b327ac418ad
6
+ metadata.gz: 2aa5692e36a919a13c0e487e936b1ba5c9f75f7924680620137a645937ec952a5a00d80e76b4bf03e0acce136cd806d0aafc8cdd85f0d54692dcda846d7fca13
7
+ data.tar.gz: 98df9582c75fafb10a7ac8ceb94c83505aa6398ac4460042154bd938d04cc4f918a0f725a49aaffd02cc41fac5414f1d4af874984c5c4d4e63c8205b57f33e19
data/README.md CHANGED
@@ -19,7 +19,7 @@ You need `wkhtmltopdf` in order to generate PDFs, since that's the PDF generator
19
19
 
20
20
  - If you got Arch Linux, you can just install the packages `wkhtmltopdf-static`and `icu48` from the AUR.
21
21
 
22
- - If you got a Linux Distribution or OSX you may compile `wkhtmltopdf` from the sources. See http://stackoverflow.com/questions/10981960/wkhtmltopdf-patched-qt.
22
+ - If you got another Linux Distribution (like Ubuntu) or OSX you have compile `wkhtmltopdf` from the sources. See http://natepinchot.com/2014/01/31/building-static-wkhtmltopdf/. This may take some time: On my i7, 16GB RAM, SSD Notebook it took about 20 minutes.
23
23
 
24
24
  - Otherwise, you should download `wkhtmltopdf` from the [official website](http://wkhtmltopdf.org/downloads.html).
25
25
 
@@ -1,3 +1,3 @@
1
1
  class Riven
2
- VERSION = '1.0.1'
2
+ VERSION = '1.0.2'
3
3
  end
@@ -39,10 +39,10 @@ module Riven
39
39
 
40
40
  output = `wkhtmltopdf #{params.join(' ')} "#{html_file.file_name}" "#{output_file}" 2>&1`
41
41
 
42
- File.delete xsl_file_name
42
+ File.delete xsl_file_name if options[:toc]
43
43
 
44
44
  return output
45
45
  end
46
46
  end
47
47
  end
48
- end
48
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: riven
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Benjamin Kammerl
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-05-20 00:00:00.000000000 Z
11
+ date: 2015-07-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -112,7 +112,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
112
112
  version: '0'
113
113
  requirements: []
114
114
  rubyforge_project:
115
- rubygems_version: 2.4.6
115
+ rubygems_version: 2.4.8
116
116
  signing_key:
117
117
  specification_version: 4
118
118
  summary: Converts Markdown to PDF