middleman-imageoptim 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 1a614256397db9fad85c5420cd82494e86601865
4
+ data.tar.gz: 31242425727e75d2159c44e6b89ef71c42426532
5
+ SHA512:
6
+ metadata.gz: 6f4d987028e5253337be3dadcf1ae59b501022b35d71a11be84052eb7c8bc1b91bb4bdccf6ae5d7efd1cbb374f75d1750b702384170e7187db4130dd72927388
7
+ data.tar.gz: 64321b6ca80e4220b7bc0f63a3592c3ded2c39c74d36750b52a3ec67ed3eea3e3e04286205e07b341e46149b9dadffefb7a49f443b28c3257537c722111498a5
data/README.md CHANGED
@@ -16,7 +16,7 @@ Serving big images is for numb-skulls! Compress and optimise your imagery during
16
16
  Go set up the [image_optim](https://github.com/toy/image_optim) external utilities, then;
17
17
 
18
18
  ```ruby
19
- gem "middleman-imageoptim", "~> 0.1.3"
19
+ gem "middleman-imageoptim", "~> 0.1.4"
20
20
  ```
21
21
 
22
22
  ## Usage
@@ -56,6 +56,9 @@ end
56
56
 
57
57
  ## Changelog
58
58
 
59
+ ##### `0.1.4`
60
+ - Respect plugin ordering in config.rb (thanks @jeffutter) [#8](https://github.com/plasticine/middleman-imageoptim/pull/8)
61
+
59
62
  ##### `0.1.3`
60
63
  - fix missing license in gemspec
61
64
 
@@ -9,9 +9,14 @@ module Middleman
9
9
  options = Middleman::Imageoptim::Options.new(options_hash)
10
10
  yield options.user_options if block_given?
11
11
 
12
- app.after_build {|builder|
13
- Middleman::Imageoptim::Optimizer.new(app, builder, options).optimize!
14
- }
12
+ app.after_configuration do
13
+
14
+ app.after_build do |builder|
15
+ Middleman::Imageoptim::Optimizer.new(app, builder, options).optimize!
16
+ end
17
+
18
+ end
19
+
15
20
  end
16
21
  alias :included :registered
17
22
  end
@@ -1,6 +1,6 @@
1
1
  module Middleman
2
2
  module Imageoptim
3
3
  PACKAGE = 'middleman-imageoptim'
4
- VERSION = "0.1.3"
4
+ VERSION = "0.1.4"
5
5
  end
6
6
  end
metadata CHANGED
@@ -1,36 +1,32 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: middleman-imageoptim
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
5
- prerelease:
4
+ version: 0.1.4
6
5
  platform: ruby
7
6
  authors:
8
7
  - Justin Morris
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-11-01 00:00:00.000000000 Z
11
+ date: 2014-01-16 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: middleman-core
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ! '>='
17
+ - - '>='
20
18
  - !ruby/object:Gem::Version
21
19
  version: '3.0'
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ! '>='
24
+ - - '>='
28
25
  - !ruby/object:Gem::Version
29
26
  version: '3.0'
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: image_optim
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
31
  - - ~>
36
32
  - !ruby/object:Gem::Version
@@ -38,7 +34,6 @@ dependencies:
38
34
  type: :runtime
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
38
  - - ~>
44
39
  - !ruby/object:Gem::Version
@@ -46,97 +41,85 @@ dependencies:
46
41
  - !ruby/object:Gem::Dependency
47
42
  name: rspec
48
43
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
44
  requirements:
51
- - - ! '>='
45
+ - - '>='
52
46
  - !ruby/object:Gem::Version
53
47
  version: '0'
54
48
  type: :development
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
51
  requirements:
59
- - - ! '>='
52
+ - - '>='
60
53
  - !ruby/object:Gem::Version
61
54
  version: '0'
62
55
  - !ruby/object:Gem::Dependency
63
56
  name: rake
64
57
  requirement: !ruby/object:Gem::Requirement
65
- none: false
66
58
  requirements:
67
- - - ! '>='
59
+ - - '>='
68
60
  - !ruby/object:Gem::Version
69
61
  version: '0'
70
62
  type: :development
71
63
  prerelease: false
72
64
  version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
65
  requirements:
75
- - - ! '>='
66
+ - - '>='
76
67
  - !ruby/object:Gem::Version
77
68
  version: '0'
78
69
  - !ruby/object:Gem::Dependency
79
70
  name: cucumber
80
71
  requirement: !ruby/object:Gem::Requirement
81
- none: false
82
72
  requirements:
83
- - - ! '>='
73
+ - - '>='
84
74
  - !ruby/object:Gem::Version
85
75
  version: '0'
86
76
  type: :development
87
77
  prerelease: false
88
78
  version_requirements: !ruby/object:Gem::Requirement
89
- none: false
90
79
  requirements:
91
- - - ! '>='
80
+ - - '>='
92
81
  - !ruby/object:Gem::Version
93
82
  version: '0'
94
83
  - !ruby/object:Gem::Dependency
95
84
  name: simplecov
96
85
  requirement: !ruby/object:Gem::Requirement
97
- none: false
98
86
  requirements:
99
- - - ! '>='
87
+ - - '>='
100
88
  - !ruby/object:Gem::Version
101
89
  version: '0'
102
90
  type: :development
103
91
  prerelease: false
104
92
  version_requirements: !ruby/object:Gem::Requirement
105
- none: false
106
93
  requirements:
107
- - - ! '>='
94
+ - - '>='
108
95
  - !ruby/object:Gem::Version
109
96
  version: '0'
110
97
  - !ruby/object:Gem::Dependency
111
98
  name: coveralls
112
99
  requirement: !ruby/object:Gem::Requirement
113
- none: false
114
100
  requirements:
115
- - - ! '>='
101
+ - - '>='
116
102
  - !ruby/object:Gem::Version
117
103
  version: '0'
118
104
  type: :development
119
105
  prerelease: false
120
106
  version_requirements: !ruby/object:Gem::Requirement
121
- none: false
122
107
  requirements:
123
- - - ! '>='
108
+ - - '>='
124
109
  - !ruby/object:Gem::Version
125
110
  version: '0'
126
111
  - !ruby/object:Gem::Dependency
127
112
  name: cane
128
113
  requirement: !ruby/object:Gem::Requirement
129
- none: false
130
114
  requirements:
131
- - - ! '>='
115
+ - - '>='
132
116
  - !ruby/object:Gem::Version
133
117
  version: '0'
134
118
  type: :development
135
119
  prerelease: false
136
120
  version_requirements: !ruby/object:Gem::Requirement
137
- none: false
138
121
  requirements:
139
- - - ! '>='
122
+ - - '>='
140
123
  - !ruby/object:Gem::Version
141
124
  version: '0'
142
125
  description: Small images are small! Compress yours during middleman build.
@@ -171,33 +154,26 @@ files:
171
154
  homepage: https://github.com/plasticine/middleman-imageoptim
172
155
  licenses:
173
156
  - MIT
157
+ metadata: {}
174
158
  post_install_message:
175
159
  rdoc_options: []
176
160
  require_paths:
177
161
  - lib
178
162
  required_ruby_version: !ruby/object:Gem::Requirement
179
- none: false
180
163
  requirements:
181
- - - ! '>='
164
+ - - '>='
182
165
  - !ruby/object:Gem::Version
183
166
  version: '0'
184
- segments:
185
- - 0
186
- hash: -1263835381967887750
187
167
  required_rubygems_version: !ruby/object:Gem::Requirement
188
- none: false
189
168
  requirements:
190
- - - ! '>='
169
+ - - '>='
191
170
  - !ruby/object:Gem::Version
192
171
  version: '0'
193
- segments:
194
- - 0
195
- hash: -1263835381967887750
196
172
  requirements: []
197
173
  rubyforge_project:
198
- rubygems_version: 1.8.23
174
+ rubygems_version: 2.1.11
199
175
  signing_key:
200
- specification_version: 3
176
+ specification_version: 4
201
177
  summary: Small images are small! Compress yours during middleman build.
202
178
  test_files: []
203
179
  has_rdoc: