imgkit 1.6.2 → 1.6.3
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/Gemfile +0 -1
- data/Gemfile.lock +2 -4
- data/lib/imgkit/imgkit.rb +1 -1
- data/lib/imgkit/version.rb +1 -1
- data/spec/imgkit_spec.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f48347ff93f2901222e86e43519e2b143119dc79441283bdfc5baaa3138dfab1
|
|
4
|
+
data.tar.gz: 93a236c5a317140a321d0c037b8aff7808a7634e01b1c94a491b774b29debb64
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2c25ffc5a0e4d8d0343070baf27dbb37da6b64f695ded57a9f749c0422f16f61be5aaef740458297c5b158ca74b882e58c53b806fd16cd354ce8f2c00f8eb875
|
|
7
|
+
data.tar.gz: 5be2fed7ab4df62c9b8843f3a7ffc28da5470ceab663e4c9d57e37c03644343d59feddeefb96ca8e2924c032d5686595066e7cc51a78dcca609602a9acc51ddb
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
imgkit (1.6.
|
|
4
|
+
imgkit (1.6.2)
|
|
5
5
|
|
|
6
6
|
GEM
|
|
7
7
|
remote: https://rubygems.org/
|
|
@@ -18,7 +18,6 @@ GEM
|
|
|
18
18
|
rspec-expectations (2.6.0)
|
|
19
19
|
diff-lcs (~> 1.1.2)
|
|
20
20
|
rspec-mocks (2.6.0)
|
|
21
|
-
wkhtmltoimage-binary (0.12.1)
|
|
22
21
|
|
|
23
22
|
PLATFORMS
|
|
24
23
|
ruby
|
|
@@ -30,7 +29,6 @@ DEPENDENCIES
|
|
|
30
29
|
rake
|
|
31
30
|
rspec (~> 2)
|
|
32
31
|
rspec-core (~> 2)
|
|
33
|
-
wkhtmltoimage-binary
|
|
34
32
|
|
|
35
33
|
BUNDLED WITH
|
|
36
|
-
1.
|
|
34
|
+
2.1.4
|
data/lib/imgkit/imgkit.rb
CHANGED
|
@@ -42,7 +42,7 @@ class IMGKit
|
|
|
42
42
|
@options = IMGKit.configuration.default_options.merge(options)
|
|
43
43
|
@options.merge! find_options_in_meta(url_file_or_html) unless source.url?
|
|
44
44
|
|
|
45
|
-
raise NoExecutableError.new unless File.
|
|
45
|
+
raise NoExecutableError.new unless File.exist?(IMGKit.configuration.wkhtmltoimage)
|
|
46
46
|
end
|
|
47
47
|
|
|
48
48
|
def command(output_file = nil)
|
data/lib/imgkit/version.rb
CHANGED
data/spec/imgkit_spec.rb
CHANGED
|
@@ -286,7 +286,7 @@ describe IMGKit do
|
|
|
286
286
|
imgkit = IMGKit.new('html', :quality => 50)
|
|
287
287
|
file = imgkit.to_file(@file_path)
|
|
288
288
|
file.should be_instance_of(File)
|
|
289
|
-
File.
|
|
289
|
+
File.exist?(file.path).should be_true
|
|
290
290
|
end
|
|
291
291
|
|
|
292
292
|
IMGKit::KNOWN_FORMATS.each do |format|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: imgkit
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.6.
|
|
4
|
+
version: 1.6.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- csquared
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2023-05-25 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: Uses wkhtmltoimage to create Images using HTML
|
|
14
14
|
email: christopher.continanza@gmail.com
|
|
@@ -74,8 +74,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
74
74
|
- !ruby/object:Gem::Version
|
|
75
75
|
version: '0'
|
|
76
76
|
requirements: []
|
|
77
|
-
|
|
78
|
-
rubygems_version: 2.7.7
|
|
77
|
+
rubygems_version: 3.1.6
|
|
79
78
|
signing_key:
|
|
80
79
|
specification_version: 4
|
|
81
80
|
summary: HTML+CSS -> JPG
|