middleman-imageoptim 0.2.1 → 0.3.0

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
- SHA1:
3
- metadata.gz: 68c898ace637ac70fa16c01a9a5d5afd859a0a08
4
- data.tar.gz: c2a8e3ed31a1de3194c8231f2b0621d9b6848823
2
+ SHA256:
3
+ metadata.gz: ad9d8ae1f61363d8a8148c6313d6d3a3c7ad6eb67e41b4d3a354f09064eb5a85
4
+ data.tar.gz: 6ae7ae439a6dce7d7327c2ab907ee7373ebb58501f8cf338fb5bf0ea85a7c4b8
5
5
  SHA512:
6
- metadata.gz: 07d09de3aeb74dbf3cf1b3fc27413b8579b82e6034cc332416d0d31e59ace635a4a33e1000ed7c046f56bc768f8b6008829a0ed8616dd11c106f57a924158ff1
7
- data.tar.gz: 0ba7e86d05393f33091c49a8b3854f9c2cad238e4960056712e287714f82745d2ac9270731bec0b23c6767958a14e50e7f01ff981385ac043fdc2c293c7c7303
6
+ metadata.gz: bf146a028329b925e2a2c1c0d42c1f62fd53c8d9e57e466faee188563eb8b30729d42fe10cd5df423f00d374f485133995d9be9f0cf1555f19a0589dad4343ba
7
+ data.tar.gz: e0f5f22814f68c23928ab8980bb833c703943a5de2260525f25db7bec0a71f1c175da95a430ff4fdbaecdb2cfdec0b6a92459ce89c7f69b52c1dbdeb61fb5569
@@ -1,15 +1,11 @@
1
1
  language: ruby
2
2
  bundler_args: --binstubs
3
3
  rvm:
4
- - 2.1.0
5
- - 2.0.0
6
- - 1.9.3
4
+ - 2.2.6
5
+ - 2.3.3
7
6
  gemfile:
8
- - gemfiles/middleman_3.1.gemfile
9
- - gemfiles/middleman_3.2.gemfile
10
- - gemfiles/middleman_3.3.gemfile
11
- - gemfiles/middleman_4.0_pre.gemfile
7
+ - gemfiles/middleman_4.0.gemfile
8
+ - gemfiles/middleman_4.1.gemfile
9
+ - gemfiles/middleman_4.2.gemfile
12
10
  matrix:
13
11
  fast_finish: true
14
- allow_failures:
15
- - gemfile: gemfiles/middleman_4.0_pre.gemfile
data/Appraisals CHANGED
@@ -1,15 +1,11 @@
1
- appraise 'middleman_3.1' do
2
- gem 'middleman', '~> 3.1.0'
1
+ appraise 'middleman_4.0' do
2
+ gem 'middleman', '~> 4.0.0'
3
3
  end
4
4
 
5
- appraise 'middleman_3.2' do
6
- gem 'middleman', '~> 3.2.0'
5
+ appraise 'middleman_4.1' do
6
+ gem 'middleman', '~> 4.1.0'
7
7
  end
8
8
 
9
- appraise 'middleman_3.3' do
10
- gem 'middleman', '~> 3.3.0'
11
- end
12
-
13
- appraise 'middleman_4.0_pre' do
14
- gem 'middleman', '>= 4.0.0.alpha'
9
+ appraise 'middleman_4.2' do
10
+ gem 'middleman', '~> 4.2.0'
15
11
  end
data/README.md CHANGED
@@ -15,10 +15,17 @@ Serving big images is for numb-skulls! Compress and optimise your imagery during
15
15
 
16
16
  Go set up the [image_optim](https://github.com/toy/image_optim) external utilities, then;
17
17
 
18
+ ### Middleman < 4.0
18
19
  ```ruby
19
20
  gem 'middleman-imageoptim'
20
21
  ```
21
22
 
23
+ ### Middleman ≥ 4.0
24
+
25
+ ```ruby
26
+ gem "middleman-imageoptim", :git => "https://github.com/plasticine/middleman-imageoptim", :branch => "master"
27
+ ```
28
+
22
29
  ## Usage
23
30
 
24
31
  ```ruby
@@ -27,6 +27,5 @@ Feature: Manifest
27
27
  Given a modification time for a file named "build/images/table.jpg"
28
28
  Given some time has passed
29
29
  Given an updated file at "source/images/table.jpg"
30
- Given an updated file at "source/images/table.jpg"
31
30
  Given a successfully built app at "basic-app" with flags "--verbose"
32
31
  Then the file "build/images/table.jpg" should have been updated
@@ -2,6 +2,6 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
- gem "middleman", "~> 3.1.0"
5
+ gem "middleman", "~> 4.0.0"
6
6
 
7
7
  gemspec :path => "../"
@@ -0,0 +1,217 @@
1
+ PATH
2
+ remote: ../
3
+ specs:
4
+ middleman-imageoptim (0.2.1)
5
+ image_optim (~> 0.20.2)
6
+ image_optim_pack (~> 0.2.1)
7
+ middleman-cli
8
+ middleman-core (>= 3.1)
9
+
10
+ GEM
11
+ remote: https://rubygems.org/
12
+ specs:
13
+ activesupport (4.2.7.1)
14
+ i18n (~> 0.7)
15
+ json (~> 1.7, >= 1.7.7)
16
+ minitest (~> 5.1)
17
+ thread_safe (~> 0.3, >= 0.3.4)
18
+ tzinfo (~> 1.1)
19
+ addressable (2.4.0)
20
+ appraisal (2.1.0)
21
+ bundler
22
+ rake
23
+ thor (>= 0.14.0)
24
+ aruba (0.14.2)
25
+ childprocess (~> 0.5.6)
26
+ contracts (~> 0.9)
27
+ cucumber (>= 1.3.19)
28
+ ffi (~> 1.9.10)
29
+ rspec-expectations (>= 2.99)
30
+ thor (~> 0.19)
31
+ ast (2.3.0)
32
+ backports (3.6.8)
33
+ builder (3.2.2)
34
+ capybara (2.5.0)
35
+ mime-types (>= 1.16)
36
+ nokogiri (>= 1.3.3)
37
+ rack (>= 1.0.0)
38
+ rack-test (>= 0.5.4)
39
+ xpath (~> 2.0)
40
+ childprocess (0.5.9)
41
+ ffi (~> 1.0, >= 1.0.11)
42
+ coderay (1.1.1)
43
+ coffee-script (2.4.1)
44
+ coffee-script-source
45
+ execjs
46
+ coffee-script-source (1.12.2)
47
+ compass-import-once (1.0.5)
48
+ sass (>= 3.2, < 3.5)
49
+ concurrent-ruby (0.9.2)
50
+ contracts (0.12.0)
51
+ cucumber (2.4.0)
52
+ builder (>= 2.1.2)
53
+ cucumber-core (~> 1.5.0)
54
+ cucumber-wire (~> 0.0.1)
55
+ diff-lcs (>= 1.1.3)
56
+ gherkin (~> 4.0)
57
+ multi_json (>= 1.7.5, < 2.0)
58
+ multi_test (>= 0.1.2)
59
+ cucumber-core (1.5.0)
60
+ gherkin (~> 4.0)
61
+ cucumber-wire (0.0.1)
62
+ diff-lcs (1.2.5)
63
+ docile (1.1.5)
64
+ erubis (2.7.0)
65
+ execjs (2.7.0)
66
+ exifr (1.2.5)
67
+ fastimage (1.8.1)
68
+ addressable (~> 2.3, >= 2.3.5)
69
+ ffi (1.9.14)
70
+ fspath (2.1.1)
71
+ gherkin (4.0.0)
72
+ haml (4.0.7)
73
+ tilt
74
+ hamster (2.0.0)
75
+ concurrent-ruby (~> 0.8)
76
+ hashie (3.4.6)
77
+ i18n (0.7.0)
78
+ image_optim (0.20.2)
79
+ exifr (~> 1.1, >= 1.1.3)
80
+ fspath (~> 2.1)
81
+ image_size (~> 1.3)
82
+ in_threads (~> 1.3)
83
+ progress (~> 3.0, >= 3.0.1)
84
+ image_optim_pack (0.2.3)
85
+ fspath (>= 2.1, < 4)
86
+ image_optim (~> 0.19)
87
+ image_size (1.5.0)
88
+ in_threads (1.3.1)
89
+ json (1.8.3)
90
+ kramdown (1.13.2)
91
+ listen (3.1.5)
92
+ rb-fsevent (~> 0.9, >= 0.9.4)
93
+ rb-inotify (~> 0.9, >= 0.9.7)
94
+ ruby_dep (~> 1.2)
95
+ method_source (0.8.2)
96
+ middleman (4.0.0)
97
+ coffee-script (~> 2.2)
98
+ compass-import-once (= 1.0.5)
99
+ haml (>= 4.0.5)
100
+ kramdown (~> 1.2)
101
+ middleman-cli (= 4.0.0)
102
+ middleman-core (= 4.0.0)
103
+ sass (>= 3.4.0, < 4.0)
104
+ middleman-cli (4.0.0)
105
+ thor (>= 0.17.0, < 2.0)
106
+ middleman-core (4.0.0)
107
+ activesupport (~> 4.2)
108
+ addressable (~> 2.4.0)
109
+ backports (~> 3.6)
110
+ bundler (~> 1.1)
111
+ capybara (~> 2.5.0)
112
+ contracts (~> 0.12.0)
113
+ erubis
114
+ execjs (~> 2.0)
115
+ fastimage (~> 1.8)
116
+ hamster (~> 2.0)
117
+ hashie (~> 3.4)
118
+ i18n (~> 0.7.0)
119
+ listen (~> 3.0)
120
+ padrino-helpers (~> 0.13.0)
121
+ rack (>= 1.4.5, < 2.0)
122
+ sass (>= 3.4)
123
+ tilt (~> 1.4.1)
124
+ uglifier (~> 2.6)
125
+ mime-types (3.1)
126
+ mime-types-data (~> 3.2015)
127
+ mime-types-data (3.2016.0521)
128
+ mini_portile2 (2.1.0)
129
+ minitest (5.10.1)
130
+ multi_json (1.12.1)
131
+ multi_test (0.1.2)
132
+ nokogiri (1.7.0.1)
133
+ mini_portile2 (~> 2.1.0)
134
+ padrino-helpers (0.13.3.3)
135
+ i18n (~> 0.6, >= 0.6.7)
136
+ padrino-support (= 0.13.3.3)
137
+ tilt (>= 1.4.1, < 3)
138
+ padrino-support (0.13.3.3)
139
+ activesupport (>= 3.1)
140
+ parser (2.3.3.1)
141
+ ast (~> 2.2)
142
+ powerpack (0.1.1)
143
+ progress (3.2.2)
144
+ pry (0.10.4)
145
+ coderay (~> 1.1.0)
146
+ method_source (~> 0.8.1)
147
+ slop (~> 3.4)
148
+ rack (1.6.5)
149
+ rack-test (0.6.3)
150
+ rack (>= 1.0)
151
+ rainbow (2.2.1)
152
+ rake (12.0.0)
153
+ rb-fsevent (0.9.8)
154
+ rb-inotify (0.9.7)
155
+ ffi (>= 0.5.0)
156
+ rspec (3.5.0)
157
+ rspec-core (~> 3.5.0)
158
+ rspec-expectations (~> 3.5.0)
159
+ rspec-mocks (~> 3.5.0)
160
+ rspec-core (3.5.4)
161
+ rspec-support (~> 3.5.0)
162
+ rspec-expectations (3.5.0)
163
+ diff-lcs (>= 1.2.0, < 2.0)
164
+ rspec-support (~> 3.5.0)
165
+ rspec-its (1.2.0)
166
+ rspec-core (>= 3.0.0)
167
+ rspec-expectations (>= 3.0.0)
168
+ rspec-mocks (3.5.0)
169
+ diff-lcs (>= 1.2.0, < 2.0)
170
+ rspec-support (~> 3.5.0)
171
+ rspec-support (3.5.0)
172
+ rubocop (0.46.0)
173
+ parser (>= 2.3.1.1, < 3.0)
174
+ powerpack (~> 0.1)
175
+ rainbow (>= 1.99.1, < 3.0)
176
+ ruby-progressbar (~> 1.7)
177
+ unicode-display_width (~> 1.0, >= 1.0.1)
178
+ ruby-progressbar (1.8.1)
179
+ ruby_dep (1.5.0)
180
+ sass (3.4.23)
181
+ simplecov (0.12.0)
182
+ docile (~> 1.1.0)
183
+ json (>= 1.8, < 3)
184
+ simplecov-html (~> 0.10.0)
185
+ simplecov-html (0.10.0)
186
+ slop (3.6.0)
187
+ thor (0.19.4)
188
+ thread_safe (0.3.5)
189
+ tilt (1.4.1)
190
+ tzinfo (1.2.2)
191
+ thread_safe (~> 0.1)
192
+ uglifier (2.7.2)
193
+ execjs (>= 0.3.0)
194
+ json (>= 1.8.0)
195
+ unicode-display_width (1.1.2)
196
+ xpath (2.0.0)
197
+ nokogiri (~> 1.3)
198
+
199
+ PLATFORMS
200
+ ruby
201
+
202
+ DEPENDENCIES
203
+ appraisal
204
+ aruba
205
+ capybara
206
+ cucumber
207
+ middleman (~> 4.0.0)
208
+ middleman-imageoptim!
209
+ pry
210
+ rake
211
+ rspec (>= 3.0.0)
212
+ rspec-its
213
+ rubocop
214
+ simplecov
215
+
216
+ BUNDLED WITH
217
+ 1.13.7
@@ -2,6 +2,6 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
- gem "middleman", "~> 3.3.0"
5
+ gem "middleman", "~> 4.1.0"
6
6
 
7
7
  gemspec :path => "../"
@@ -0,0 +1,225 @@
1
+ PATH
2
+ remote: ../
3
+ specs:
4
+ middleman-imageoptim (0.2.1)
5
+ image_optim (~> 0.20.2)
6
+ image_optim_pack (~> 0.2.1)
7
+ middleman-cli
8
+ middleman-core (>= 3.1)
9
+
10
+ GEM
11
+ remote: https://rubygems.org/
12
+ specs:
13
+ activesupport (5.0.1)
14
+ concurrent-ruby (~> 1.0, >= 1.0.2)
15
+ i18n (~> 0.7)
16
+ minitest (~> 5.1)
17
+ tzinfo (~> 1.1)
18
+ addressable (2.5.0)
19
+ public_suffix (~> 2.0, >= 2.0.2)
20
+ appraisal (2.1.0)
21
+ bundler
22
+ rake
23
+ thor (>= 0.14.0)
24
+ aruba (0.14.2)
25
+ childprocess (~> 0.5.6)
26
+ contracts (~> 0.9)
27
+ cucumber (>= 1.3.19)
28
+ ffi (~> 1.9.10)
29
+ rspec-expectations (>= 2.99)
30
+ thor (~> 0.19)
31
+ ast (2.3.0)
32
+ backports (3.6.8)
33
+ builder (3.2.2)
34
+ capybara (2.11.0)
35
+ addressable
36
+ mime-types (>= 1.16)
37
+ nokogiri (>= 1.3.3)
38
+ rack (>= 1.0.0)
39
+ rack-test (>= 0.5.4)
40
+ xpath (~> 2.0)
41
+ childprocess (0.5.9)
42
+ ffi (~> 1.0, >= 1.0.11)
43
+ coderay (1.1.1)
44
+ coffee-script (2.4.1)
45
+ coffee-script-source
46
+ execjs
47
+ coffee-script-source (1.12.2)
48
+ compass-import-once (1.0.5)
49
+ sass (>= 3.2, < 3.5)
50
+ concurrent-ruby (1.0.4)
51
+ contracts (0.13.0)
52
+ cucumber (2.4.0)
53
+ builder (>= 2.1.2)
54
+ cucumber-core (~> 1.5.0)
55
+ cucumber-wire (~> 0.0.1)
56
+ diff-lcs (>= 1.1.3)
57
+ gherkin (~> 4.0)
58
+ multi_json (>= 1.7.5, < 2.0)
59
+ multi_test (>= 0.1.2)
60
+ cucumber-core (1.5.0)
61
+ gherkin (~> 4.0)
62
+ cucumber-wire (0.0.1)
63
+ diff-lcs (1.2.5)
64
+ docile (1.1.5)
65
+ dotenv (2.1.1)
66
+ erubis (2.7.0)
67
+ execjs (2.7.0)
68
+ exifr (1.2.5)
69
+ fast_blank (1.0.0)
70
+ fastimage (2.0.1)
71
+ addressable (~> 2)
72
+ ffi (1.9.14)
73
+ fspath (2.1.1)
74
+ gherkin (4.0.0)
75
+ haml (4.0.7)
76
+ tilt
77
+ hamster (3.0.0)
78
+ concurrent-ruby (~> 1.0)
79
+ hashie (3.4.6)
80
+ i18n (0.7.0)
81
+ image_optim (0.20.2)
82
+ exifr (~> 1.1, >= 1.1.3)
83
+ fspath (~> 2.1)
84
+ image_size (~> 1.3)
85
+ in_threads (~> 1.3)
86
+ progress (~> 3.0, >= 3.0.1)
87
+ image_optim_pack (0.2.3)
88
+ fspath (>= 2.1, < 4)
89
+ image_optim (~> 0.19)
90
+ image_size (1.5.0)
91
+ in_threads (1.3.1)
92
+ json (2.0.2)
93
+ kramdown (1.13.2)
94
+ listen (3.0.8)
95
+ rb-fsevent (~> 0.9, >= 0.9.4)
96
+ rb-inotify (~> 0.9, >= 0.9.7)
97
+ memoist (0.15.0)
98
+ method_source (0.8.2)
99
+ middleman (4.1.14)
100
+ coffee-script (~> 2.2)
101
+ compass-import-once (= 1.0.5)
102
+ haml (>= 4.0.5)
103
+ kramdown (~> 1.2)
104
+ middleman-cli (= 4.1.14)
105
+ middleman-core (= 4.1.14)
106
+ sass (>= 3.4.0, < 4.0)
107
+ middleman-cli (4.1.14)
108
+ thor (>= 0.17.0, < 2.0)
109
+ middleman-core (4.1.14)
110
+ activesupport (>= 4.2, < 5.1)
111
+ addressable (~> 2.3)
112
+ backports (~> 3.6)
113
+ bundler (~> 1.1)
114
+ contracts (~> 0.13.0)
115
+ dotenv
116
+ erubis
117
+ execjs (~> 2.0)
118
+ fast_blank
119
+ fastimage (~> 2.0)
120
+ hamster (~> 3.0)
121
+ hashie (~> 3.4)
122
+ i18n (~> 0.7.0)
123
+ listen (~> 3.0.0)
124
+ memoist (~> 0.14)
125
+ padrino-helpers (~> 0.13.0)
126
+ parallel
127
+ rack (>= 1.4.5, < 3)
128
+ sass (>= 3.4)
129
+ servolux
130
+ tilt (~> 2.0)
131
+ uglifier (~> 3.0)
132
+ mime-types (3.1)
133
+ mime-types-data (~> 3.2015)
134
+ mime-types-data (3.2016.0521)
135
+ mini_portile2 (2.1.0)
136
+ minitest (5.10.1)
137
+ multi_json (1.12.1)
138
+ multi_test (0.1.2)
139
+ nokogiri (1.7.0.1)
140
+ mini_portile2 (~> 2.1.0)
141
+ padrino-helpers (0.13.3.3)
142
+ i18n (~> 0.6, >= 0.6.7)
143
+ padrino-support (= 0.13.3.3)
144
+ tilt (>= 1.4.1, < 3)
145
+ padrino-support (0.13.3.3)
146
+ activesupport (>= 3.1)
147
+ parallel (1.10.0)
148
+ parser (2.3.3.1)
149
+ ast (~> 2.2)
150
+ powerpack (0.1.1)
151
+ progress (3.2.2)
152
+ pry (0.10.4)
153
+ coderay (~> 1.1.0)
154
+ method_source (~> 0.8.1)
155
+ slop (~> 3.4)
156
+ public_suffix (2.0.5)
157
+ rack (2.0.1)
158
+ rack-test (0.6.3)
159
+ rack (>= 1.0)
160
+ rainbow (2.2.1)
161
+ rake (12.0.0)
162
+ rb-fsevent (0.9.8)
163
+ rb-inotify (0.9.7)
164
+ ffi (>= 0.5.0)
165
+ rspec (3.5.0)
166
+ rspec-core (~> 3.5.0)
167
+ rspec-expectations (~> 3.5.0)
168
+ rspec-mocks (~> 3.5.0)
169
+ rspec-core (3.5.4)
170
+ rspec-support (~> 3.5.0)
171
+ rspec-expectations (3.5.0)
172
+ diff-lcs (>= 1.2.0, < 2.0)
173
+ rspec-support (~> 3.5.0)
174
+ rspec-its (1.2.0)
175
+ rspec-core (>= 3.0.0)
176
+ rspec-expectations (>= 3.0.0)
177
+ rspec-mocks (3.5.0)
178
+ diff-lcs (>= 1.2.0, < 2.0)
179
+ rspec-support (~> 3.5.0)
180
+ rspec-support (3.5.0)
181
+ rubocop (0.46.0)
182
+ parser (>= 2.3.1.1, < 3.0)
183
+ powerpack (~> 0.1)
184
+ rainbow (>= 1.99.1, < 3.0)
185
+ ruby-progressbar (~> 1.7)
186
+ unicode-display_width (~> 1.0, >= 1.0.1)
187
+ ruby-progressbar (1.8.1)
188
+ sass (3.4.23)
189
+ servolux (0.12.0)
190
+ simplecov (0.12.0)
191
+ docile (~> 1.1.0)
192
+ json (>= 1.8, < 3)
193
+ simplecov-html (~> 0.10.0)
194
+ simplecov-html (0.10.0)
195
+ slop (3.6.0)
196
+ thor (0.19.4)
197
+ thread_safe (0.3.5)
198
+ tilt (2.0.5)
199
+ tzinfo (1.2.2)
200
+ thread_safe (~> 0.1)
201
+ uglifier (3.0.4)
202
+ execjs (>= 0.3.0, < 3)
203
+ unicode-display_width (1.1.2)
204
+ xpath (2.0.0)
205
+ nokogiri (~> 1.3)
206
+
207
+ PLATFORMS
208
+ ruby
209
+
210
+ DEPENDENCIES
211
+ appraisal
212
+ aruba
213
+ capybara
214
+ cucumber
215
+ middleman (~> 4.1.0)
216
+ middleman-imageoptim!
217
+ pry
218
+ rake
219
+ rspec (>= 3.0.0)
220
+ rspec-its
221
+ rubocop
222
+ simplecov
223
+
224
+ BUNDLED WITH
225
+ 1.13.7