imgkit 1.6.2 → 1.6.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
  SHA256:
3
- metadata.gz: 54a77e4808782d6937ad10e99fa36faca8ecbb6d9829f4aba577a119c09a966a
4
- data.tar.gz: ef362d9a0d2a1879f829a42c34f5f4c3812a430c46e20c0dabd81a9f11c8c23c
3
+ metadata.gz: f48347ff93f2901222e86e43519e2b143119dc79441283bdfc5baaa3138dfab1
4
+ data.tar.gz: 93a236c5a317140a321d0c037b8aff7808a7634e01b1c94a491b774b29debb64
5
5
  SHA512:
6
- metadata.gz: d0764b88f8d36d783d6b8c6c54f28d3222a7e55c40988a342d7cbaa94c1df31961db2055ad8fd9d57b54a483dbe9b50a3a70a4f061b5f7e8632457c9ad81a1de
7
- data.tar.gz: bf3f1ac220cf83230b9b21e66b1c298589b77f678ea172eb693665192eb879b873055c07550b8d64a3ce2fb1cb5a0169293e1375d6f6de3a21104d4cdcf427c7
6
+ metadata.gz: 2c25ffc5a0e4d8d0343070baf27dbb37da6b64f695ded57a9f749c0422f16f61be5aaef740458297c5b158ca74b882e58c53b806fd16cd354ce8f2c00f8eb875
7
+ data.tar.gz: 5be2fed7ab4df62c9b8843f3a7ffc28da5470ceab663e4c9d57e37c03644343d59feddeefb96ca8e2924c032d5686595066e7cc51a78dcca609602a9acc51ddb
data/Gemfile CHANGED
@@ -7,6 +7,5 @@ group :test do
7
7
  gem "rspec", "~> 2"
8
8
  gem "rspec-core", "~> 2"
9
9
  gem "mocha"
10
- gem 'wkhtmltoimage-binary'
11
10
  gem "rack", ">= 1.6.11"
12
11
  end
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- imgkit (1.6.1)
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.17.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.exists?(IMGKit.configuration.wkhtmltoimage)
45
+ raise NoExecutableError.new unless File.exist?(IMGKit.configuration.wkhtmltoimage)
46
46
  end
47
47
 
48
48
  def command(output_file = nil)
@@ -1,3 +1,3 @@
1
1
  class IMGKit
2
- VERSION = "1.6.2"
2
+ VERSION = "1.6.3"
3
3
  end
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.exists?(file.path).should be_true
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.2
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: 2019-03-19 00:00:00.000000000 Z
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
- rubyforge_project: imgkit
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