html2pdf 0.1.2 → 0.1.3

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
  SHA1:
3
- metadata.gz: 2f8f6a51e86e49c276d81ffec9fa0832ceef8b74
4
- data.tar.gz: fc555de91188234f96a329805ec8a40e42755cdb
3
+ metadata.gz: 566a33b1b7b5a9b759104ee816903b3d60f697c6
4
+ data.tar.gz: 0d04fa9767c56e13da9709b74bed17824a8ad7be
5
5
  SHA512:
6
- metadata.gz: 57b41fe8ec8866f1215853e7dc9089f1b90d9166f2a885213b0bb3c62ce5e215b82bb4534ce03009f7bf7a7113c2eefa14b69517189cc5f96d2e0470269e9690
7
- data.tar.gz: f4a47caeb6143ef96a99eeec6dd37b486251532bdedda5cd0f60e673d4b51d85be1d0b768dfe48869d162c08bfbe45f1e14e2f14ff842eafd9a84527c8c7780c
6
+ metadata.gz: 617ccc90c63bd820ad094c6d321314110c37d511094476dc43ab03aa2843469ce3bfa64a5fa8683351f2bca5d125b6f93c7af1b695dcda818e72bcd12aa26ded
7
+ data.tar.gz: 09854b529d213d36cd26e6bfa759dac9302c9474fd72993e8cfed466d74f443f22a0470662a00c340673a744497700297c6475d98f2a0edf8330d7875e639358
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  ### Html2Pdf - Changelogs
2
2
 
3
+ #### 0.1.3
4
+
5
+ - Respect the `--recursive` options
6
+ - Add the missing require `minitest` in test_helper.rb
7
+
3
8
  #### 0.1.2
4
9
 
5
10
  - Simplify the CLI
data/lib/html2pdf/cli.rb CHANGED
@@ -19,10 +19,9 @@ module Html2Pdf
19
19
  puts "You are using Html2Pdf version #{Html2Pdf::VERSION}"
20
20
  exit
21
21
  end
22
-
23
22
  input_files = CodeLister.files base_dir: opts[:base_dir],
24
23
  exts: %w[html xhtml],
25
- recursive: true
24
+ recursive: opts[:recursive]
26
25
  elapsed = AgileUtils::FileUtil.time do
27
26
  Html2Pdf.to_pdfs(input_files)
28
27
  end
@@ -1,3 +1,3 @@
1
1
  module Html2Pdf
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
data/test/test_helper.rb CHANGED
@@ -1,3 +1,4 @@
1
+ require "minitest"
1
2
  require "minitest/autorun"
2
3
  require "minitest/pride"
3
4
  require "minitest-spec-context"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: html2pdf
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Burin Choomnuan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-05-17 00:00:00.000000000 Z
11
+ date: 2014-05-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor