table2png 0.0.1 → 0.0.2

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
  SHA1:
3
- metadata.gz: 02e6568f4b2c9ce82355096ce6ffe9fccd96c657
4
- data.tar.gz: 0f895421bad382c9abe42c77dcbf2ca956b16e5f
3
+ metadata.gz: 8cfc7e720fc88f27deaa15a2f2b5ca1cfd2a3d3c
4
+ data.tar.gz: 0676e2a9460cfa352b3ec577d09a1db29d148441
5
5
  SHA512:
6
- metadata.gz: 89fce77bd35d1ce4cdd294ebd6cb44e3ac36dba81b5441f8260c4ba25325e0670546549694deae837a7e45d5e7348c37b2558f836321e0a7cc974755d851869a
7
- data.tar.gz: 49e8617bbab0ee9ee5f9c99f76f9ede714bd3955554b127f2c559698bb11359016e03878fc095183abd2866e2c117701c5c5003d046512354dcc9532008ab0a9
6
+ metadata.gz: 8322d111dde931e049e90a4a9a70c573c84fa59af1bb69dfbfd4500ad8fdcf8583dabf267380d0eb20e1e2aa7508d4f44d1ed702b379d01f3df1a374def9b9df
7
+ data.tar.gz: a52a315cd69a756dae0605bd107f0ba374ed5123997d62de80c8c269e39e2645c38e87b81edf7b78bf921be852876162a7a5f389f7e81a71757b75133115fd0d
@@ -1,10 +1,5 @@
1
1
  module Table2PNG
2
2
  IMGKit.configure do |config|
3
- binary_path = ENV['HEROKU'] ?
4
- 'bin/wkhtmltoimage-amd64' :
5
- 'bin/wkhtmltoimage'
6
-
7
- config.wkhtmltoimage = File.join(File.dirname(__FILE__), binary_path)
8
3
  config.default_options = { quality: 100, "disable-javascript" => true }
9
4
  end
10
5
 
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = "table2png"
7
- spec.version = '0.0.1'
7
+ spec.version = '0.0.2'
8
8
  spec.authors = ["Maiz Lulkin"]
9
9
  spec.email = ["maiz@lulk.in"]
10
10
  spec.description = %q{Generates a png based on an HTML table}
@@ -22,6 +22,6 @@ Gem::Specification.new do |spec|
22
22
  spec.add_development_dependency "rake"
23
23
  spec.add_development_dependency "rspec", "~>2.14"
24
24
 
25
- spec.add_dependency 'chunky_png'
26
- spec.add_dependency 'imgkit', '1.4.1'
25
+ spec.add_runtime_dependency 'chunky_png'
26
+ spec.add_runtime_dependency 'imgkit', '1.4.1'
27
27
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: table2png
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Maiz Lulkin
@@ -93,8 +93,6 @@ files:
93
93
  - README.md
94
94
  - Rakefile
95
95
  - lib/table2png.rb
96
- - lib/table2png/bin/wkhtmltoimage
97
- - lib/table2png/bin/wkhtmltoimage-amd64
98
96
  - lib/table2png/converter.rb
99
97
  - lib/table2png/table.css
100
98
  - spec/converter_spec.rb