imgkit 1.1.0 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -14,7 +14,6 @@ Gem::Specification.new do |s|
14
14
  s.post_install_message = File.read('POST_INSTALL')
15
15
 
16
16
  s.rubyforge_project = "imgkit"
17
- s.add_dependency "open4"
18
17
 
19
18
  s.files = `git ls-files`.split("\n")
20
19
  s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
@@ -1,5 +1,5 @@
1
1
  require 'rubygems'
2
- require 'open4'
2
+ require 'open3'
3
3
  require 'imgkit/source'
4
4
  require 'imgkit/imgkit'
5
5
  require 'imgkit/configuration'
@@ -67,7 +67,7 @@ class IMGKit
67
67
 
68
68
  result = nil
69
69
  stderr_output = nil
70
- Open4.popen4(*command) do |pid,stdin,stdout,stderr|
70
+ Open3.popen3(*command) do |stdin,stdout,stderr|
71
71
  stdin << (@source.to_s) if @source.html?
72
72
  stdin.close
73
73
  result = stdout.gets(nil)
@@ -1,3 +1,3 @@
1
1
  class IMGKit
2
- VERSION = "1.1.0"
2
+ VERSION = "1.2.0"
3
3
  end
metadata CHANGED
@@ -4,9 +4,9 @@ version: !ruby/object:Gem::Version
4
4
  prerelease: false
5
5
  segments:
6
6
  - 1
7
- - 1
7
+ - 2
8
8
  - 0
9
- version: 1.1.0
9
+ version: 1.2.0
10
10
  platform: ruby
11
11
  authors:
12
12
  - csquared
@@ -14,22 +14,10 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2011-04-26 00:00:00 -05:00
17
+ date: 2011-04-29 00:00:00 -05:00
18
18
  default_executable:
19
- dependencies:
20
- - !ruby/object:Gem::Dependency
21
- name: open4
22
- prerelease: false
23
- requirement: &id001 !ruby/object:Gem::Requirement
24
- none: false
25
- requirements:
26
- - - ">="
27
- - !ruby/object:Gem::Version
28
- segments:
29
- - 0
30
- version: "0"
31
- type: :runtime
32
- version_requirements: *id001
19
+ dependencies: []
20
+
33
21
  description: Uses wkhtmltoimage to create Images using HTML
34
22
  email: christopher.continanza@gmail.com
35
23
  executables: