image_optim_bin 0.0.2 → 0.0.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0459bb6e2f8906fe2c9a44aeb008c211d2aab928
4
- data.tar.gz: 55aaa5ebda039c1a426eb27141b0e36434a0d7b0
3
+ metadata.gz: 7b82cc8419cc9b14305129e61d0e1cfd09441f1a
4
+ data.tar.gz: 0f8e64bc2b0ade60297f3c2c7fc5a0855310bd98
5
5
  SHA512:
6
- metadata.gz: ef542568527af075184b3ca338e519241cd1bf8aac67c13476ce02d594802fe1c34cdd7f4002cc0fb8720561bf3901c539fef9cb0f95bd3a63788c7534a7ef7e
7
- data.tar.gz: 97c5819cfbefefeac0ea9e38e0d0894fab507593523c0730bf8fb76d312fe73d3c5b3274ba37e50ec230ebfef6f50d410751f1477000a9ea4f7c7d7c6d852656
6
+ metadata.gz: 737deee884990a27538067f3398fdd6a967835fc2c4b502bd90f4cb2fda42ae8df550577506e0618f4001ea0285ffb5b61b2e2a1ae411f4201415cb97d456437
7
+ data.tar.gz: c89cd70f661f196d97f86c313724d6f9a06ad2bafbcbedb0f01bb15e4293c8355313ed636489204d19dbf44b67dde01dfa036ea36c38cc8339889f8b65ea94db
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # ImageOptimBin
2
2
 
3
- Statically compiled bins to make image_optim work on Heroku or Linux
3
+ Statically compiled bins to make [image_optim](https://github.com/toy/image_optim) work on Heroku or Linux
4
4
  x86_64 platform.
5
5
 
6
6
  ## Installation
@@ -21,11 +21,12 @@ Or install it yourself as:
21
21
 
22
22
  This gem sets ENV variables for the individual bins:
23
23
 
24
- - JPEGOPTIM_BIN
25
- - JPEGTRAN_BIN
26
- - OPTIPNG_BIN
27
- - PNGCRUSH_BIN
28
- - PNGOUT_BIN
24
+ - `JPEGOPTIM_BIN`
25
+ - `JPEGTRAN_BIN`
26
+ - `OPTIPNG_BIN`
27
+ - `PNGCRUSH_BIN`
28
+ - `PNGOUT_BIN`
29
+ - `ADVPNG_BIN`
29
30
 
30
31
  ## Contributing
31
32
 
data/bin/advpng ADDED
Binary file
@@ -1,3 +1,3 @@
1
1
  module ImageOptimBin
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
@@ -3,7 +3,7 @@ require "image_optim_bin/version"
3
3
  module ImageOptimBin
4
4
  def self.set_env
5
5
  if `uname`.to_s.strip == 'Linux' && `uname -m`.to_s.strip == 'x86_64'
6
- %w(jpegoptim jpegtran optipng pngcrush pngout).each do |name|
6
+ %w(jpegoptim jpegtran optipng pngcrush pngout advpng).each do |name|
7
7
  ENV["#{name}_bin".upcase] = File.expand_path(File.join(File.dirname(__FILE__), "..", "bin", name))
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: image_optim_bin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mooktakim Ahmed
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-05-07 00:00:00.000000000 Z
11
+ date: 2013-09-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -43,6 +43,7 @@ description: Statically compiled bins to make image_optim work on Linux x86_64 o
43
43
  email:
44
44
  - Mooktakim@fluxter.co.uk
45
45
  executables:
46
+ - advpng
46
47
  - jpegoptim
47
48
  - jpegtran
48
49
  - optipng
@@ -56,6 +57,7 @@ files:
56
57
  - LICENSE.txt
57
58
  - README.md
58
59
  - Rakefile
60
+ - bin/advpng
59
61
  - bin/jpegoptim
60
62
  - bin/jpegtran
61
63
  - bin/optipng
@@ -84,7 +86,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
84
86
  version: '0'
85
87
  requirements: []
86
88
  rubyforge_project:
87
- rubygems_version: 2.0.3
89
+ rubygems_version: 2.0.7
88
90
  signing_key:
89
91
  specification_version: 4
90
92
  summary: Statically compiled bins for image_optim