html2pdf 0.0.7 → 0.1.0
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 +4 -4
- data/CHANGELOGS.md +8 -37
- data/README.md +4 -2
- data/html2pdf.gemspec +3 -3
- data/lib/html2pdf/version.rb +1 -1
- data/rubocop-todo.yml +1 -13
- data/test/fixtures/samples/sub_dir/demo3_xxx.rb +5 -5
- metadata +8 -8
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: cac314e66cac4c88363abc770b725b9de68828ea
|
|
4
|
+
data.tar.gz: 62924711111c1fbd427566bed0f36fb9f97b2b37
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 23bd4f9fc438f5b2c0000feb7cd95065bca43187d1b36b9028140b19b5b9188146af3ac6902cd0a4e0b8dee948ad27daec039087ab284b00372e9d556f9cbcc4
|
|
7
|
+
data.tar.gz: f7e89d8651e7c63c3be559fac439f90f2a01e419b656cf5d0c25f5e75fabf15bde179d9476fc0fa4d33e35a1ff96800429a220e6b82213b582dfd6e179709312
|
data/CHANGELOGS.md
CHANGED
|
@@ -1,47 +1,18 @@
|
|
|
1
1
|
### Html2Pdf - Changelogs
|
|
2
|
+
#### 0.1.0
|
|
2
3
|
|
|
3
|
-
|
|
4
|
+
- Use the [Semantic Versioning][] release scheme
|
|
5
|
+
- Update the gemspec and README.md file
|
|
6
|
+
- Fix styles with rubocop
|
|
4
7
|
|
|
5
|
-
-
|
|
6
|
-
- Simplify the CLI by remove some options
|
|
8
|
+
#### 0.0.1 - 0.0.7
|
|
7
9
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
- Remove the need to have 'Ghostscript' installation
|
|
11
|
-
- Update the gemspec file
|
|
12
|
-
|
|
13
|
-
#### 0.0.5
|
|
14
|
-
|
|
15
|
-
- Add :rubocop to default rake task
|
|
16
|
-
- Update [minitest][] to 5.3
|
|
17
|
-
|
|
18
|
-
#### 0.0.4
|
|
19
|
-
|
|
20
|
-
- Update [agile_utils][] to 0.0.9
|
|
21
|
-
- Update [code_lister][] to 0.0.8
|
|
22
|
-
- Add links to [gemnasium][] and [codeclimate][]
|
|
23
|
-
- Add Changelogs.md
|
|
24
|
-
|
|
25
|
-
#### 0.0.3
|
|
26
|
-
|
|
27
|
-
- Update [agile_utils][] to 0.0.8
|
|
28
|
-
- Update [code_lister][] to 0.0.7
|
|
29
|
-
- Compress generated pdf files to one single tar.gzip file
|
|
30
|
-
- Fix bug in softwares_installed? method
|
|
31
|
-
- Remove the TODOs.md
|
|
32
|
-
|
|
33
|
-
#### 0.0.2
|
|
34
|
-
|
|
35
|
-
- Use [agile_utils][] to 0.0.5
|
|
36
|
-
|
|
37
|
-
- Fix minor error when using --version
|
|
38
|
-
|
|
39
|
-
#### 0.0.1
|
|
40
|
-
|
|
41
|
-
- Initial release
|
|
10
|
+
- Old releases that does not follow [Semantic Versioning][]
|
|
11
|
+
- Implement features and fix a few bugs along the way.
|
|
42
12
|
|
|
43
13
|
[agile_utils]: https://github.com/agilecreativity/agile_utils
|
|
44
14
|
[code_lister]: https://github.com/agilecreativity/code_lister
|
|
45
15
|
[gemnasium]: https://gemnasium.com/agilecreativity/html2pdf
|
|
46
16
|
[codeclimate]: https://codeclimate.com/github/agilecreativity/html2pdf
|
|
47
17
|
[minitest]: https://github.com/seattlerb/minitest
|
|
18
|
+
[Semantic Versioning]: http://semver.org/
|
data/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
##
|
|
1
|
+
## html2pdf
|
|
2
2
|
|
|
3
3
|
[][gem]
|
|
4
4
|
[][gemnasium]
|
|
@@ -10,6 +10,8 @@
|
|
|
10
10
|
|
|
11
11
|
Convert multiple html or xhtml files to pdfs using the power of [wkhtmltopdf][].
|
|
12
12
|
|
|
13
|
+
Note: starting from version `0.1.0` this gem will be release based on [Semantic Versioning][] convention.
|
|
14
|
+
|
|
13
15
|
### Installation
|
|
14
16
|
|
|
15
17
|
### Mandatory Requirement
|
|
@@ -101,4 +103,4 @@ the pdf version of it.
|
|
|
101
103
|
[pdfs2pdf]: https://github.com/agilecreativity/pdfs2pdf
|
|
102
104
|
[wkhtmltopdf]: http://wkhtmltopdf.org/
|
|
103
105
|
[wkhtmltopdf installation]: https://github.com/pdfkit/pdfkit/wiki/Installing-WKHTMLTOPDF
|
|
104
|
-
|
|
106
|
+
[Semantic Versioning]: http://semver.org
|
data/html2pdf.gemspec
CHANGED
|
@@ -24,9 +24,9 @@ Gem::Specification.new do |spec|
|
|
|
24
24
|
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
|
25
25
|
spec.test_files = Dir.glob('{test}/**/*')
|
|
26
26
|
spec.require_paths = ['lib']
|
|
27
|
-
spec.add_runtime_dependency 'thor', '~> 0.19
|
|
28
|
-
spec.add_runtime_dependency 'agile_utils', '~> 0.
|
|
29
|
-
spec.add_runtime_dependency 'code_lister', '~> 0.
|
|
27
|
+
spec.add_runtime_dependency 'thor', '~> 0.19'
|
|
28
|
+
spec.add_runtime_dependency 'agile_utils', '~> 0.1'
|
|
29
|
+
spec.add_runtime_dependency 'code_lister', '~> 0.1'
|
|
30
30
|
spec.add_development_dependency 'awesome_print', '~> 1.2'
|
|
31
31
|
spec.add_development_dependency 'bundler', '~> 1.5'
|
|
32
32
|
spec.add_development_dependency 'gem-ctags', '~> 1.0'
|
data/lib/html2pdf/version.rb
CHANGED
data/rubocop-todo.yml
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# This configuration was generated by `rubocop --auto-gen-config`
|
|
2
|
-
# on 2014-05-
|
|
2
|
+
# on 2014-05-12 23:39:22 +1000 using RuboCop version 0.21.0.
|
|
3
3
|
# The point is for the user to remove these configuration records
|
|
4
4
|
# one by one as the offenses are removed from the code base.
|
|
5
5
|
# Note that changes in the inspected code, or installation of new
|
|
@@ -13,12 +13,6 @@ AmbiguousOperator:
|
|
|
13
13
|
Documentation:
|
|
14
14
|
Enabled: false
|
|
15
15
|
|
|
16
|
-
# Offense count: 1
|
|
17
|
-
# Cop supports --auto-correct.
|
|
18
|
-
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
|
19
|
-
HashSyntax:
|
|
20
|
-
Enabled: true`
|
|
21
|
-
|
|
22
16
|
# Offense count: 7
|
|
23
17
|
LineLength:
|
|
24
18
|
Max: 93
|
|
@@ -31,9 +25,3 @@ MethodLength:
|
|
|
31
25
|
# Offense count: 1
|
|
32
26
|
RegexpLiteral:
|
|
33
27
|
MaxSlashes: 0
|
|
34
|
-
|
|
35
|
-
# Offense count: 10
|
|
36
|
-
# Cop supports --auto-correct.
|
|
37
|
-
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
|
38
|
-
StringLiterals:
|
|
39
|
-
Enabled: true
|
|
@@ -4,12 +4,12 @@ require 'thor/group'
|
|
|
4
4
|
module Foodie
|
|
5
5
|
module Generators
|
|
6
6
|
class Recipe < Thor::Group
|
|
7
|
-
argument :group, :
|
|
8
|
-
argument :name, :
|
|
7
|
+
argument :group, type: :string
|
|
8
|
+
argument :name, type: :string
|
|
9
9
|
include Thor::Actions
|
|
10
10
|
|
|
11
11
|
def self.source_root
|
|
12
|
-
File.dirname(__FILE__) +
|
|
12
|
+
File.dirname(__FILE__) + '/recipe'
|
|
13
13
|
end
|
|
14
14
|
|
|
15
15
|
def create_group
|
|
@@ -17,8 +17,8 @@ module Foodie
|
|
|
17
17
|
end
|
|
18
18
|
|
|
19
19
|
def copy_recipe
|
|
20
|
-
template(
|
|
20
|
+
template('recipe.txt', "#{group}/#{name}.txt")
|
|
21
21
|
end
|
|
22
22
|
end
|
|
23
23
|
end
|
|
24
|
-
|
|
24
|
+
end
|
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.0
|
|
4
|
+
version: 0.1.0
|
|
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-
|
|
11
|
+
date: 2014-05-12 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: thor
|
|
@@ -16,42 +16,42 @@ dependencies:
|
|
|
16
16
|
requirements:
|
|
17
17
|
- - "~>"
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version: 0.19
|
|
19
|
+
version: '0.19'
|
|
20
20
|
type: :runtime
|
|
21
21
|
prerelease: false
|
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
23
|
requirements:
|
|
24
24
|
- - "~>"
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
|
-
version: 0.19
|
|
26
|
+
version: '0.19'
|
|
27
27
|
- !ruby/object:Gem::Dependency
|
|
28
28
|
name: agile_utils
|
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
|
30
30
|
requirements:
|
|
31
31
|
- - "~>"
|
|
32
32
|
- !ruby/object:Gem::Version
|
|
33
|
-
version: 0.
|
|
33
|
+
version: '0.1'
|
|
34
34
|
type: :runtime
|
|
35
35
|
prerelease: false
|
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
|
37
37
|
requirements:
|
|
38
38
|
- - "~>"
|
|
39
39
|
- !ruby/object:Gem::Version
|
|
40
|
-
version: 0.
|
|
40
|
+
version: '0.1'
|
|
41
41
|
- !ruby/object:Gem::Dependency
|
|
42
42
|
name: code_lister
|
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
|
44
44
|
requirements:
|
|
45
45
|
- - "~>"
|
|
46
46
|
- !ruby/object:Gem::Version
|
|
47
|
-
version: 0.
|
|
47
|
+
version: '0.1'
|
|
48
48
|
type: :runtime
|
|
49
49
|
prerelease: false
|
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
|
51
51
|
requirements:
|
|
52
52
|
- - "~>"
|
|
53
53
|
- !ruby/object:Gem::Version
|
|
54
|
-
version: 0.
|
|
54
|
+
version: '0.1'
|
|
55
55
|
- !ruby/object:Gem::Dependency
|
|
56
56
|
name: awesome_print
|
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|