imgkit 1.3.2 → 1.3.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. data/.gitignore +1 -0
  2. data/.rvmrc +1 -1
  3. data/bin/imgkit +1 -1
  4. data/lib/imgkit/version.rb +1 -1
  5. metadata +28 -43
data/.gitignore CHANGED
@@ -2,3 +2,4 @@ pkg/*
2
2
  *.gem
3
3
  .bundle
4
4
  test.sh
5
+ .rvmrc
data/.rvmrc CHANGED
@@ -1 +1 @@
1
- rvm use 1.9.2@imgkit_devel
1
+ rvm use --create 1.9.2@imgkit_devel
data/bin/imgkit CHANGED
@@ -6,7 +6,7 @@ require 'open-uri'
6
6
  require 'imgkit/configuration'
7
7
  require 'imgkit/version'
8
8
 
9
- GOOGLE_CODE_URL = "http://code.google.com/p/wkhtmltopdf/downloads/list"
9
+ GOOGLE_CODE_URL = ENV['GOOGLE_CODE_URL'] || "http://code.google.com/p/wkhtmltopdf/downloads/list?can=1"
10
10
 
11
11
  def detect_architecture
12
12
  case arch = Config::CONFIG['arch']
@@ -1,3 +1,3 @@
1
1
  class IMGKit
2
- VERSION = "1.3.2"
2
+ VERSION = "1.3.3"
3
3
  end
metadata CHANGED
@@ -1,27 +1,23 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: imgkit
3
- version: !ruby/object:Gem::Version
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.3.3
4
5
  prerelease:
5
- version: 1.3.2
6
6
  platform: ruby
7
- authors:
7
+ authors:
8
8
  - csquared
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
-
13
- date: 2011-06-29 00:00:00 Z
12
+ date: 2011-11-07 00:00:00.000000000Z
14
13
  dependencies: []
15
-
16
14
  description: Uses wkhtmltoimage to create Images using HTML
17
15
  email: christopher.continanza@gmail.com
18
- executables:
16
+ executables:
19
17
  - imgkit
20
18
  extensions: []
21
-
22
19
  extra_rdoc_files: []
23
-
24
- files:
20
+ files:
25
21
  - .document
26
22
  - .gitignore
27
23
  - .rspec
@@ -46,48 +42,37 @@ files:
46
42
  - spec/spec_helper.rb
47
43
  homepage: http://rubygems.org/gems/imgkit
48
44
  licenses: []
49
-
50
- post_install_message: |
51
- ******************************************************************
52
-
53
- Now install wkhtmltoimage binaries:
54
- Global: sudo `which imgkit` --install-wkhtmltoimage
55
- rvmsudo imgkit --install-wkhtmltoimage
56
- (installs to default /usr/local/bin/wkhtmltoimage)
57
-
58
- inside RVM folder: export TO=`which imgkit | sed 's:/imgkit:/wkhtmltoimage:'` && imgkit --install-wkhtmltoimage
59
- (you'll have to configure the location of the binary if you do this!)
60
-
61
- (run imgkit --help to see more options)
62
- ******************************************************************
63
-
45
+ post_install_message: ! "******************************************************************\n\nNow
46
+ install wkhtmltoimage binaries:\nGlobal: sudo `which imgkit` --install-wkhtmltoimage\n
47
+ \ rvmsudo imgkit --install-wkhtmltoimage\n(installs to default /usr/local/bin/wkhtmltoimage)\n\ninside
48
+ RVM folder: export TO=`which imgkit | sed 's:/imgkit:/wkhtmltoimage:'` && imgkit
49
+ --install-wkhtmltoimage\n(you'll have to configure the location of the binary if
50
+ you do this!)\n\n(run imgkit --help to see more options)\n******************************************************************\n"
64
51
  rdoc_options: []
65
-
66
- require_paths:
52
+ require_paths:
67
53
  - lib
68
- required_ruby_version: !ruby/object:Gem::Requirement
54
+ required_ruby_version: !ruby/object:Gem::Requirement
69
55
  none: false
70
- requirements:
71
- - - ">="
72
- - !ruby/object:Gem::Version
73
- hash: -3332981170482838796
74
- segments:
56
+ requirements:
57
+ - - ! '>='
58
+ - !ruby/object:Gem::Version
59
+ version: '0'
60
+ segments:
75
61
  - 0
76
- version: "0"
77
- required_rubygems_version: !ruby/object:Gem::Requirement
62
+ hash: -3563234315577198767
63
+ required_rubygems_version: !ruby/object:Gem::Requirement
78
64
  none: false
79
- requirements:
80
- - - ">="
81
- - !ruby/object:Gem::Version
82
- version: "0"
65
+ requirements:
66
+ - - ! '>='
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
83
69
  requirements: []
84
-
85
70
  rubyforge_project: imgkit
86
- rubygems_version: 1.8.4
71
+ rubygems_version: 1.8.10
87
72
  signing_key:
88
73
  specification_version: 3
89
74
  summary: HTML+CSS -> JPG
90
- test_files:
75
+ test_files:
91
76
  - spec/fixtures/example.css
92
77
  - spec/fixtures/example.html
93
78
  - spec/imgkit_spec.rb