middleman-imageoptim 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -2,14 +2,14 @@
2
2
 
3
3
  ## Wat.
4
4
 
5
- Compress and optimise your imagery during `middleman build` by running [image_optim](https://github.com/toy/image_optim) over it. Yay-hooray!
5
+ Serving big images is fo numb-skulls! Compress and optimise your imagery during `middleman build` by running [image_optim](https://github.com/toy/image_optim) over it. Yay-hooray!
6
6
 
7
7
  ## Installation
8
8
 
9
9
  Go set up the [image_optim](https://github.com/toy/image_optim) external utilities, then;
10
10
 
11
11
  ```ruby
12
- gem "middleman-imageoptim", "0.0.3"
12
+ gem "middleman-imageoptim", "~> 0.0.3"
13
13
  ```
14
14
 
15
15
  ## Usage
@@ -35,12 +35,12 @@ activate :image_optim do |image_optim|
35
35
 
36
36
  # compressor worker options, individual optimisers can be disabled by passing
37
37
  # false instead of a hash
38
- image_optim.pngcrush_options = {:chunks => ['alla'], :fix => false, :brute => false}
39
- image_optim.pngout_options = {:copy_chunks => false, :strategy => 0}
40
- image_optim.optipng_options = {:level => 6, :interlace => false}
41
- image_optim.advpng_options = {:level => 4}
38
+ image_optim.pngcrush_options = {:chunks => ['alla'], :fix => false, :brute => false}
39
+ image_optim.pngout_options = {:copy_chunks => false, :strategy => 0}
40
+ image_optim.optipng_options = {:level => 6, :interlace => false}
41
+ image_optim.advpng_options = {:level => 4}
42
42
  image_optim.jpegoptim_options = {:strip => ['all'], :max_quality => 100}
43
- image_optim.jpegtran_options = {:copy_chunks => false, :progressive => true, :jpegrescan => true}
44
- image_optim.gifsicle_options = {:interlace => false}
43
+ image_optim.jpegtran_options = {:copy_chunks => false, :progressive => true, :jpegrescan => true}
44
+ image_optim.gifsicle_options = {:interlace => false}
45
45
  end
46
46
  ```
@@ -1,3 +1,3 @@
1
1
  module MiddlemanImageoptim
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
@@ -8,9 +8,9 @@ Gem::Specification.new do |gem|
8
8
  gem.platform = Gem::Platform::RUBY
9
9
  gem.authors = ["Justin Morris"]
10
10
  gem.email = ["desk@pixelbloom.com"]
11
- gem.homepage = "http://pixelbloom.com"
12
- gem.summary = %q{A short summary of your extension}
13
- gem.description = %q{A longer description of your extension}
11
+ gem.homepage = "https://github.com/plasticine/middleman-imageoptim"
12
+ gem.summary = %q{Small images are small! Compress yours during middleman build.}
13
+ gem.description = %q{Small images are small! Compress yours during middleman build.}
14
14
 
15
15
  gem.files = `git ls-files`.split("\n")
16
16
  gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: middleman-imageoptim
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -43,7 +43,7 @@ dependencies:
43
43
  - - ~>
44
44
  - !ruby/object:Gem::Version
45
45
  version: 0.8.0
46
- description: A longer description of your extension
46
+ description: Small images are small! Compress yours during middleman build.
47
47
  email:
48
48
  - desk@pixelbloom.com
49
49
  executables: []
@@ -59,7 +59,7 @@ files:
59
59
  - lib/middleman-imageoptim/version.rb
60
60
  - lib/middleman_extension.rb
61
61
  - middleman-imageoptim.gemspec
62
- homepage: http://pixelbloom.com
62
+ homepage: https://github.com/plasticine/middleman-imageoptim
63
63
  licenses: []
64
64
  post_install_message:
65
65
  rdoc_options: []
@@ -82,6 +82,6 @@ rubyforge_project:
82
82
  rubygems_version: 1.8.23
83
83
  signing_key:
84
84
  specification_version: 3
85
- summary: A short summary of your extension
85
+ summary: Small images are small! Compress yours during middleman build.
86
86
  test_files:
87
87
  - features/support/env.rb