middleman-imageoptim 0.2.0 → 0.2.1

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: 139f5d4341e9f282b48469c083333f52954d41c2
4
- data.tar.gz: c43cb5965b95b8628f66e5f7472b7cee64cfe26f
3
+ metadata.gz: 68c898ace637ac70fa16c01a9a5d5afd859a0a08
4
+ data.tar.gz: c2a8e3ed31a1de3194c8231f2b0621d9b6848823
5
5
  SHA512:
6
- metadata.gz: 84a90a10b3d1867a69b8a99adfd43e407bd80950e52f56e75b03b30fd9add3e9b14ff17a4a85cfcbbf6f6d67530650fbcc5a6de01f7951cb5cdfb3c33ad01fb3
7
- data.tar.gz: 6cf1a88f097cb595b7db35204fabaa6c21532550132720d63adbed7b53bb5688435c211d3beee32f5a7e3742e1824b8fb1437e2b7ff8af3a15a7f7e2f6ad0af4
6
+ metadata.gz: 07d09de3aeb74dbf3cf1b3fc27413b8579b82e6034cc332416d0d31e59ace635a4a33e1000ed7c046f56bc768f8b6008829a0ed8616dd11c106f57a924158ff1
7
+ data.tar.gz: 0ba7e86d05393f33091c49a8b3854f9c2cad238e4960056712e287714f82745d2ac9270731bec0b23c6767958a14e50e7f01ff981385ac043fdc2c293c7c7303
data/.travis.yml CHANGED
@@ -4,7 +4,12 @@ rvm:
4
4
  - 2.1.0
5
5
  - 2.0.0
6
6
  - 1.9.3
7
+ 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
12
  matrix:
8
- include:
9
- - rvm: 2.0.0
10
- env: COVERAGE=true
13
+ fast_finish: true
14
+ allow_failures:
15
+ - gemfile: gemfiles/middleman_4.0_pre.gemfile
data/Appraisals ADDED
@@ -0,0 +1,15 @@
1
+ appraise 'middleman_3.1' do
2
+ gem 'middleman', '~> 3.1.0'
3
+ end
4
+
5
+ appraise 'middleman_3.2' do
6
+ gem 'middleman', '~> 3.2.0'
7
+ end
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'
15
+ end
data/README.md CHANGED
@@ -1,7 +1,5 @@
1
1
  # Middleman ImageOptim Extension
2
2
 
3
- ## Wat.
4
-
5
3
  Serving big images is for numb-skulls! Compress and optimise your imagery during `middleman build` by running [image_optim](https://github.com/toy/image_optim) over it. Aww yiss!
6
4
 
7
5
  [![Build Status](https://travis-ci.org/plasticine/middleman-imageoptim.png?branch=master)](https://travis-ci.org/plasticine/middleman-imageoptim)
@@ -9,10 +7,10 @@ Serving big images is for numb-skulls! Compress and optimise your imagery during
9
7
  [![Gem Version](https://badge.fury.io/rb/middleman-imageoptim.png)](http://badge.fury.io/rb/middleman-imageoptim)
10
8
  [![Dependency Status](https://gemnasium.com/plasticine/middleman-imageoptim.png)](https://gemnasium.com/plasticine/middleman-imageoptim)
11
9
 
12
- * * *
13
-
14
10
  ![](http://cl.ly/image/0h0b330F2p3C/Terminal%20%E2%80%94%20zsh%20%E2%80%94%20109%C3%9712.png)
15
11
 
12
+ * * *
13
+
16
14
  ## Installation
17
15
 
18
16
  Go set up the [image_optim](https://github.com/toy/image_optim) external utilities, then;
@@ -65,6 +63,9 @@ end
65
63
 
66
64
  ## Changelog
67
65
 
66
+ ##### `0.2.1`
67
+ - Minor bugfix for 3.3.9 support.
68
+
68
69
  ##### `0.2.0`
69
70
  - Big cleanup to codebase.
70
71
  - More tests.
@@ -27,5 +27,6 @@ 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"
30
31
  Given a successfully built app at "basic-app" with flags "--verbose"
31
32
  Then the file "build/images/table.jpg" should have been updated
@@ -1,6 +1,8 @@
1
1
  Feature: Permissions
2
2
  Scenario: Preserving permissions
3
3
  Given a fixture app "basic-app"
4
+ Given the file "source/images/table.jpg" has mode "0644"
5
+ Given the file "source/images/oh_my_glob.gif" has mode "0644"
4
6
  Then the following files should exist:
5
7
  | source/images/table.jpg |
6
8
  | source/images/oh_my_glob.gif |
@@ -1,3 +1,5 @@
1
+ require 'aruba/api'
2
+
1
3
  Then(/^the file "(.*?)" should be (\d+) bytes$/) do |img, size|
2
4
  expect(File.size(File.join(current_dir, img))).to eql(size.to_i)
3
5
  end
@@ -29,6 +31,10 @@ Given(/^an updated file at "(.*?)"$/) do |file|
29
31
  FileUtils.touch(File.join(current_dir, file))
30
32
  end
31
33
 
34
+ Given(/^the file "([^"]*)" has mode "([^"]*)"$/) do |file_name, file_mode|
35
+ filesystem_permissions(file_mode, file_name)
36
+ end
37
+
32
38
  Then(/^the file "([^\"]*)" should have been updated$/) do |file|
33
39
  target = File.join(current_dir, file)
34
40
  expect(File.mtime(target)).not_to eql(@modification_times[target])
@@ -0,0 +1,7 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "middleman", "~> 3.1.0"
6
+
7
+ gemspec :path => "../"
@@ -0,0 +1,190 @@
1
+ PATH
2
+ remote: ../
3
+ specs:
4
+ middleman-imageoptim (0.2.0)
5
+ image_optim (~> 0.20.2)
6
+ image_optim_pack (~> 0.2.1)
7
+ middleman-core (>= 3.1)
8
+
9
+ GEM
10
+ remote: https://rubygems.org/
11
+ specs:
12
+ activesupport (3.2.21)
13
+ i18n (~> 0.6, >= 0.6.4)
14
+ multi_json (~> 1.0)
15
+ appraisal (1.0.2)
16
+ bundler
17
+ rake
18
+ thor (>= 0.14.0)
19
+ aruba (0.6.1)
20
+ childprocess (>= 0.3.6)
21
+ cucumber (>= 1.1.1)
22
+ rspec-expectations (>= 2.7.0)
23
+ ast (2.0.0)
24
+ astrolabe (1.3.0)
25
+ parser (>= 2.2.0.pre.3, < 3.0)
26
+ builder (3.2.2)
27
+ childprocess (0.5.5)
28
+ ffi (~> 1.0, >= 1.0.11)
29
+ chunky_png (1.3.3)
30
+ coderay (1.1.0)
31
+ coffee-script (2.2.0)
32
+ coffee-script-source
33
+ execjs
34
+ coffee-script-source (1.8.0)
35
+ compass (1.0.1)
36
+ chunky_png (~> 1.2)
37
+ compass-core (~> 1.0.1)
38
+ compass-import-once (~> 1.0.5)
39
+ rb-fsevent (>= 0.9.3)
40
+ rb-inotify (>= 0.9)
41
+ sass (>= 3.3.13, < 3.5)
42
+ compass-core (1.0.1)
43
+ multi_json (~> 1.0)
44
+ sass (>= 3.3.0, < 3.5)
45
+ compass-import-once (1.0.5)
46
+ sass (>= 3.2, < 3.5)
47
+ cucumber (1.3.18)
48
+ builder (>= 2.1.2)
49
+ diff-lcs (>= 1.1.3)
50
+ gherkin (~> 2.12)
51
+ multi_json (>= 1.7.5, < 2.0)
52
+ multi_test (>= 0.1.1)
53
+ diff-lcs (1.2.5)
54
+ docile (1.1.5)
55
+ execjs (1.4.1)
56
+ multi_json (~> 1.0)
57
+ exifr (1.2.0)
58
+ ffi (1.9.6)
59
+ fspath (2.1.1)
60
+ gherkin (2.12.2)
61
+ multi_json (~> 1.3)
62
+ haml (4.0.6)
63
+ tilt
64
+ hike (1.2.3)
65
+ i18n (0.6.11)
66
+ image_optim (0.20.2)
67
+ exifr (~> 1.1, >= 1.1.3)
68
+ fspath (~> 2.1)
69
+ image_size (~> 1.3)
70
+ in_threads (~> 1.3)
71
+ progress (~> 3.0, >= 3.0.1)
72
+ image_optim_pack (0.2.1.20150107)
73
+ fspath (~> 2.1)
74
+ image_optim (~> 0.19)
75
+ image_size (1.4.1)
76
+ in_threads (1.3.0)
77
+ kramdown (1.0.2)
78
+ listen (1.1.6)
79
+ rb-fsevent (>= 0.9.3)
80
+ rb-inotify (>= 0.9)
81
+ rb-kqueue (>= 0.2)
82
+ method_source (0.8.2)
83
+ middleman (3.1.0)
84
+ coffee-script (~> 2.2.0)
85
+ compass (>= 0.12.2)
86
+ execjs (~> 1.4.0)
87
+ haml (>= 3.1.6)
88
+ kramdown (~> 1.0.0)
89
+ middleman-core (= 3.1.0)
90
+ middleman-more (= 3.1.0)
91
+ middleman-sprockets (>= 3.1.2)
92
+ sass (>= 3.1.20)
93
+ uglifier (~> 2.1.0)
94
+ middleman-core (3.1.0)
95
+ activesupport (~> 3.2.6)
96
+ bundler (~> 1.1)
97
+ i18n (~> 0.6.1)
98
+ listen (~> 1.1.6)
99
+ rack (>= 1.4.5)
100
+ rack-test (~> 0.6.1)
101
+ thor (>= 0.15.2, < 2.0)
102
+ tilt (~> 1.3.6)
103
+ middleman-more (3.1.0)
104
+ middleman-sprockets (3.1.4)
105
+ middleman-core (>= 3.0.14)
106
+ middleman-more (>= 3.0.14)
107
+ sprockets (~> 2.1)
108
+ sprockets-helpers (~> 1.0.0)
109
+ sprockets-sass (~> 1.0.0)
110
+ multi_json (1.10.1)
111
+ multi_test (0.1.1)
112
+ parser (2.2.0.1)
113
+ ast (>= 1.1, < 3.0)
114
+ slop (~> 3.4, >= 3.4.5)
115
+ powerpack (0.0.9)
116
+ progress (3.1.0)
117
+ pry (0.10.1)
118
+ coderay (~> 1.1.0)
119
+ method_source (~> 0.8.1)
120
+ slop (~> 3.4)
121
+ rack (1.6.0)
122
+ rack-test (0.6.2)
123
+ rack (>= 1.0)
124
+ rainbow (2.0.0)
125
+ rake (10.4.2)
126
+ rb-fsevent (0.9.4)
127
+ rb-inotify (0.9.5)
128
+ ffi (>= 0.5.0)
129
+ rb-kqueue (0.2.3)
130
+ ffi (>= 0.5.0)
131
+ rspec (3.1.0)
132
+ rspec-core (~> 3.1.0)
133
+ rspec-expectations (~> 3.1.0)
134
+ rspec-mocks (~> 3.1.0)
135
+ rspec-core (3.1.7)
136
+ rspec-support (~> 3.1.0)
137
+ rspec-expectations (3.1.2)
138
+ diff-lcs (>= 1.2.0, < 2.0)
139
+ rspec-support (~> 3.1.0)
140
+ rspec-its (1.1.0)
141
+ rspec-core (>= 3.0.0)
142
+ rspec-expectations (>= 3.0.0)
143
+ rspec-mocks (3.1.3)
144
+ rspec-support (~> 3.1.0)
145
+ rspec-support (3.1.2)
146
+ rubocop (0.28.0)
147
+ astrolabe (~> 1.3)
148
+ parser (>= 2.2.0.pre.7, < 3.0)
149
+ powerpack (~> 0.0.6)
150
+ rainbow (>= 1.99.1, < 3.0)
151
+ ruby-progressbar (~> 1.4)
152
+ ruby-progressbar (1.7.1)
153
+ sass (3.4.9)
154
+ simplecov (0.9.1)
155
+ docile (~> 1.1.0)
156
+ multi_json (~> 1.0)
157
+ simplecov-html (~> 0.8.0)
158
+ simplecov-html (0.8.0)
159
+ slop (3.6.0)
160
+ sprockets (2.12.3)
161
+ hike (~> 1.2)
162
+ multi_json (~> 1.0)
163
+ rack (~> 1.0)
164
+ tilt (~> 1.1, != 1.3.0)
165
+ sprockets-helpers (1.0.1)
166
+ sprockets (~> 2.0)
167
+ sprockets-sass (1.0.3)
168
+ sprockets (~> 2.0)
169
+ tilt (~> 1.1)
170
+ thor (0.19.1)
171
+ tilt (1.3.7)
172
+ uglifier (2.1.2)
173
+ execjs (>= 0.3.0)
174
+ multi_json (~> 1.0, >= 1.0.2)
175
+
176
+ PLATFORMS
177
+ ruby
178
+
179
+ DEPENDENCIES
180
+ appraisal
181
+ aruba
182
+ cucumber
183
+ middleman (~> 3.1.0)
184
+ middleman-imageoptim!
185
+ pry
186
+ rake
187
+ rspec (>= 3.0.0)
188
+ rspec-its
189
+ rubocop
190
+ simplecov
@@ -0,0 +1,7 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "middleman", "~> 3.2.0"
6
+
7
+ gemspec :path => "../"
@@ -0,0 +1,188 @@
1
+ PATH
2
+ remote: ../
3
+ specs:
4
+ middleman-imageoptim (0.2.0)
5
+ image_optim (~> 0.20.2)
6
+ image_optim_pack (~> 0.2.1)
7
+ middleman-core (>= 3.1)
8
+
9
+ GEM
10
+ remote: https://rubygems.org/
11
+ specs:
12
+ activesupport (3.2.21)
13
+ i18n (~> 0.6, >= 0.6.4)
14
+ multi_json (~> 1.0)
15
+ appraisal (1.0.2)
16
+ bundler
17
+ rake
18
+ thor (>= 0.14.0)
19
+ aruba (0.6.1)
20
+ childprocess (>= 0.3.6)
21
+ cucumber (>= 1.1.1)
22
+ rspec-expectations (>= 2.7.0)
23
+ ast (2.0.0)
24
+ astrolabe (1.3.0)
25
+ parser (>= 2.2.0.pre.3, < 3.0)
26
+ builder (3.2.2)
27
+ childprocess (0.5.5)
28
+ ffi (~> 1.0, >= 1.0.11)
29
+ chunky_png (1.3.3)
30
+ coderay (1.1.0)
31
+ coffee-script (2.2.0)
32
+ coffee-script-source
33
+ execjs
34
+ coffee-script-source (1.8.0)
35
+ compass (1.0.1)
36
+ chunky_png (~> 1.2)
37
+ compass-core (~> 1.0.1)
38
+ compass-import-once (~> 1.0.5)
39
+ rb-fsevent (>= 0.9.3)
40
+ rb-inotify (>= 0.9)
41
+ sass (>= 3.3.13, < 3.5)
42
+ compass-core (1.0.1)
43
+ multi_json (~> 1.0)
44
+ sass (>= 3.3.0, < 3.5)
45
+ compass-import-once (1.0.5)
46
+ sass (>= 3.2, < 3.5)
47
+ cucumber (1.3.18)
48
+ builder (>= 2.1.2)
49
+ diff-lcs (>= 1.1.3)
50
+ gherkin (~> 2.12)
51
+ multi_json (>= 1.7.5, < 2.0)
52
+ multi_test (>= 0.1.1)
53
+ diff-lcs (1.2.5)
54
+ docile (1.1.5)
55
+ execjs (1.4.1)
56
+ multi_json (~> 1.0)
57
+ exifr (1.2.0)
58
+ ffi (1.9.6)
59
+ fspath (2.1.1)
60
+ gherkin (2.12.2)
61
+ multi_json (~> 1.3)
62
+ haml (4.0.6)
63
+ tilt
64
+ hike (1.2.3)
65
+ i18n (0.6.11)
66
+ image_optim (0.20.2)
67
+ exifr (~> 1.1, >= 1.1.3)
68
+ fspath (~> 2.1)
69
+ image_size (~> 1.3)
70
+ in_threads (~> 1.3)
71
+ progress (~> 3.0, >= 3.0.1)
72
+ image_optim_pack (0.2.1.20150107)
73
+ fspath (~> 2.1)
74
+ image_optim (~> 0.19)
75
+ image_size (1.4.1)
76
+ in_threads (1.3.0)
77
+ json (1.8.1)
78
+ kramdown (1.5.0)
79
+ listen (1.3.1)
80
+ rb-fsevent (>= 0.9.3)
81
+ rb-inotify (>= 0.9)
82
+ rb-kqueue (>= 0.2)
83
+ method_source (0.8.2)
84
+ middleman (3.2.2)
85
+ coffee-script (~> 2.2.0)
86
+ compass (>= 0.12.2)
87
+ execjs (~> 1.4.0)
88
+ haml (>= 3.1.6)
89
+ kramdown (~> 1.2)
90
+ middleman-core (= 3.2.2)
91
+ middleman-sprockets (>= 3.1.2)
92
+ sass (>= 3.1.20)
93
+ uglifier (~> 2.4.0)
94
+ middleman-core (3.2.2)
95
+ activesupport (~> 3.2.6)
96
+ bundler (~> 1.1)
97
+ i18n (~> 0.6.9)
98
+ listen (~> 1.1)
99
+ rack (>= 1.4.5)
100
+ rack-test (~> 0.6.1)
101
+ thor (>= 0.15.2, < 2.0)
102
+ tilt (~> 1.4.1)
103
+ middleman-sprockets (3.3.3)
104
+ middleman-core (>= 3.2)
105
+ sprockets (~> 2.2)
106
+ sprockets-helpers (~> 1.1.0)
107
+ sprockets-sass (~> 1.1.0)
108
+ multi_json (1.10.1)
109
+ multi_test (0.1.1)
110
+ parser (2.2.0.1)
111
+ ast (>= 1.1, < 3.0)
112
+ slop (~> 3.4, >= 3.4.5)
113
+ powerpack (0.0.9)
114
+ progress (3.1.0)
115
+ pry (0.10.1)
116
+ coderay (~> 1.1.0)
117
+ method_source (~> 0.8.1)
118
+ slop (~> 3.4)
119
+ rack (1.6.0)
120
+ rack-test (0.6.2)
121
+ rack (>= 1.0)
122
+ rainbow (2.0.0)
123
+ rake (10.4.2)
124
+ rb-fsevent (0.9.4)
125
+ rb-inotify (0.9.5)
126
+ ffi (>= 0.5.0)
127
+ rb-kqueue (0.2.3)
128
+ ffi (>= 0.5.0)
129
+ rspec (3.1.0)
130
+ rspec-core (~> 3.1.0)
131
+ rspec-expectations (~> 3.1.0)
132
+ rspec-mocks (~> 3.1.0)
133
+ rspec-core (3.1.7)
134
+ rspec-support (~> 3.1.0)
135
+ rspec-expectations (3.1.2)
136
+ diff-lcs (>= 1.2.0, < 2.0)
137
+ rspec-support (~> 3.1.0)
138
+ rspec-its (1.1.0)
139
+ rspec-core (>= 3.0.0)
140
+ rspec-expectations (>= 3.0.0)
141
+ rspec-mocks (3.1.3)
142
+ rspec-support (~> 3.1.0)
143
+ rspec-support (3.1.2)
144
+ rubocop (0.28.0)
145
+ astrolabe (~> 1.3)
146
+ parser (>= 2.2.0.pre.7, < 3.0)
147
+ powerpack (~> 0.0.6)
148
+ rainbow (>= 1.99.1, < 3.0)
149
+ ruby-progressbar (~> 1.4)
150
+ ruby-progressbar (1.7.1)
151
+ sass (3.4.9)
152
+ simplecov (0.9.1)
153
+ docile (~> 1.1.0)
154
+ multi_json (~> 1.0)
155
+ simplecov-html (~> 0.8.0)
156
+ simplecov-html (0.8.0)
157
+ slop (3.6.0)
158
+ sprockets (2.12.3)
159
+ hike (~> 1.2)
160
+ multi_json (~> 1.0)
161
+ rack (~> 1.0)
162
+ tilt (~> 1.1, != 1.3.0)
163
+ sprockets-helpers (1.1.0)
164
+ sprockets (~> 2.0)
165
+ sprockets-sass (1.1.0)
166
+ sprockets (~> 2.0)
167
+ tilt (~> 1.1)
168
+ thor (0.19.1)
169
+ tilt (1.4.1)
170
+ uglifier (2.4.0)
171
+ execjs (>= 0.3.0)
172
+ json (>= 1.8.0)
173
+
174
+ PLATFORMS
175
+ ruby
176
+
177
+ DEPENDENCIES
178
+ appraisal
179
+ aruba
180
+ cucumber
181
+ middleman (~> 3.2.0)
182
+ middleman-imageoptim!
183
+ pry
184
+ rake
185
+ rspec (>= 3.0.0)
186
+ rspec-its
187
+ rubocop
188
+ simplecov
@@ -0,0 +1,7 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "middleman", "~> 3.3.0"
6
+
7
+ gemspec :path => "../"
@@ -0,0 +1,211 @@
1
+ PATH
2
+ remote: ../
3
+ specs:
4
+ middleman-imageoptim (0.2.0)
5
+ image_optim (~> 0.20.2)
6
+ image_optim_pack (~> 0.2.1)
7
+ middleman-core (>= 3.1)
8
+
9
+ GEM
10
+ remote: https://rubygems.org/
11
+ specs:
12
+ activesupport (4.1.9)
13
+ i18n (~> 0.6, >= 0.6.9)
14
+ json (~> 1.7, >= 1.7.7)
15
+ minitest (~> 5.1)
16
+ thread_safe (~> 0.1)
17
+ tzinfo (~> 1.1)
18
+ appraisal (1.0.2)
19
+ bundler
20
+ rake
21
+ thor (>= 0.14.0)
22
+ aruba (0.6.1)
23
+ childprocess (>= 0.3.6)
24
+ cucumber (>= 1.1.1)
25
+ rspec-expectations (>= 2.7.0)
26
+ ast (2.0.0)
27
+ astrolabe (1.3.0)
28
+ parser (>= 2.2.0.pre.3, < 3.0)
29
+ builder (3.2.2)
30
+ celluloid (0.16.0)
31
+ timers (~> 4.0.0)
32
+ childprocess (0.5.5)
33
+ ffi (~> 1.0, >= 1.0.11)
34
+ chunky_png (1.3.3)
35
+ coderay (1.1.0)
36
+ coffee-script (2.3.0)
37
+ coffee-script-source
38
+ execjs
39
+ coffee-script-source (1.8.0)
40
+ compass (1.0.1)
41
+ chunky_png (~> 1.2)
42
+ compass-core (~> 1.0.1)
43
+ compass-import-once (~> 1.0.5)
44
+ rb-fsevent (>= 0.9.3)
45
+ rb-inotify (>= 0.9)
46
+ sass (>= 3.3.13, < 3.5)
47
+ compass-core (1.0.1)
48
+ multi_json (~> 1.0)
49
+ sass (>= 3.3.0, < 3.5)
50
+ compass-import-once (1.0.5)
51
+ sass (>= 3.2, < 3.5)
52
+ cucumber (1.3.18)
53
+ builder (>= 2.1.2)
54
+ diff-lcs (>= 1.1.3)
55
+ gherkin (~> 2.12)
56
+ multi_json (>= 1.7.5, < 2.0)
57
+ multi_test (>= 0.1.1)
58
+ diff-lcs (1.2.5)
59
+ docile (1.1.5)
60
+ erubis (2.7.0)
61
+ execjs (2.2.2)
62
+ exifr (1.2.0)
63
+ ffi (1.9.6)
64
+ fspath (2.1.1)
65
+ gherkin (2.12.2)
66
+ multi_json (~> 1.3)
67
+ haml (4.0.6)
68
+ tilt
69
+ hike (1.2.3)
70
+ hitimes (1.2.2)
71
+ hooks (0.4.0)
72
+ uber (~> 0.0.4)
73
+ i18n (0.6.11)
74
+ image_optim (0.20.2)
75
+ exifr (~> 1.1, >= 1.1.3)
76
+ fspath (~> 2.1)
77
+ image_size (~> 1.3)
78
+ in_threads (~> 1.3)
79
+ progress (~> 3.0, >= 3.0.1)
80
+ image_optim_pack (0.2.1.20150107)
81
+ fspath (~> 2.1)
82
+ image_optim (~> 0.19)
83
+ image_size (1.4.1)
84
+ in_threads (1.3.0)
85
+ json (1.8.1)
86
+ kramdown (1.5.0)
87
+ listen (2.8.5)
88
+ celluloid (>= 0.15.2)
89
+ rb-fsevent (>= 0.9.3)
90
+ rb-inotify (>= 0.9)
91
+ method_source (0.8.2)
92
+ middleman (3.3.7)
93
+ coffee-script (~> 2.2)
94
+ compass (>= 1.0.0, < 2.0.0)
95
+ compass-import-once (= 1.0.5)
96
+ execjs (~> 2.0)
97
+ haml (>= 4.0.5)
98
+ kramdown (~> 1.2)
99
+ middleman-core (= 3.3.7)
100
+ middleman-sprockets (>= 3.1.2)
101
+ sass (>= 3.4.0, < 4.0)
102
+ uglifier (~> 2.5)
103
+ middleman-core (3.3.7)
104
+ activesupport (~> 4.1.0)
105
+ bundler (~> 1.1)
106
+ erubis
107
+ hooks (~> 0.3)
108
+ i18n (~> 0.6.9)
109
+ listen (>= 2.7.9, < 3.0)
110
+ padrino-helpers (~> 0.12.3)
111
+ rack (>= 1.4.5, < 2.0)
112
+ rack-test (~> 0.6.2)
113
+ thor (>= 0.15.2, < 2.0)
114
+ tilt (~> 1.4.1, < 2.0)
115
+ middleman-sprockets (3.4.1)
116
+ middleman-core (>= 3.3)
117
+ sprockets (~> 2.12.1)
118
+ sprockets-helpers (~> 1.1.0)
119
+ sprockets-sass (~> 1.3.0)
120
+ minitest (5.5.0)
121
+ multi_json (1.10.1)
122
+ multi_test (0.1.1)
123
+ padrino-helpers (0.12.4)
124
+ i18n (~> 0.6, >= 0.6.7)
125
+ padrino-support (= 0.12.4)
126
+ tilt (~> 1.4.1)
127
+ padrino-support (0.12.4)
128
+ activesupport (>= 3.1)
129
+ parser (2.2.0.1)
130
+ ast (>= 1.1, < 3.0)
131
+ slop (~> 3.4, >= 3.4.5)
132
+ powerpack (0.0.9)
133
+ progress (3.1.0)
134
+ pry (0.10.1)
135
+ coderay (~> 1.1.0)
136
+ method_source (~> 0.8.1)
137
+ slop (~> 3.4)
138
+ rack (1.6.0)
139
+ rack-test (0.6.2)
140
+ rack (>= 1.0)
141
+ rainbow (2.0.0)
142
+ rake (10.4.2)
143
+ rb-fsevent (0.9.4)
144
+ rb-inotify (0.9.5)
145
+ ffi (>= 0.5.0)
146
+ rspec (3.1.0)
147
+ rspec-core (~> 3.1.0)
148
+ rspec-expectations (~> 3.1.0)
149
+ rspec-mocks (~> 3.1.0)
150
+ rspec-core (3.1.7)
151
+ rspec-support (~> 3.1.0)
152
+ rspec-expectations (3.1.2)
153
+ diff-lcs (>= 1.2.0, < 2.0)
154
+ rspec-support (~> 3.1.0)
155
+ rspec-its (1.1.0)
156
+ rspec-core (>= 3.0.0)
157
+ rspec-expectations (>= 3.0.0)
158
+ rspec-mocks (3.1.3)
159
+ rspec-support (~> 3.1.0)
160
+ rspec-support (3.1.2)
161
+ rubocop (0.28.0)
162
+ astrolabe (~> 1.3)
163
+ parser (>= 2.2.0.pre.7, < 3.0)
164
+ powerpack (~> 0.0.6)
165
+ rainbow (>= 1.99.1, < 3.0)
166
+ ruby-progressbar (~> 1.4)
167
+ ruby-progressbar (1.7.1)
168
+ sass (3.4.9)
169
+ simplecov (0.9.1)
170
+ docile (~> 1.1.0)
171
+ multi_json (~> 1.0)
172
+ simplecov-html (~> 0.8.0)
173
+ simplecov-html (0.8.0)
174
+ slop (3.6.0)
175
+ sprockets (2.12.3)
176
+ hike (~> 1.2)
177
+ multi_json (~> 1.0)
178
+ rack (~> 1.0)
179
+ tilt (~> 1.1, != 1.3.0)
180
+ sprockets-helpers (1.1.0)
181
+ sprockets (~> 2.0)
182
+ sprockets-sass (1.3.1)
183
+ sprockets (~> 2.0)
184
+ tilt (~> 1.1)
185
+ thor (0.19.1)
186
+ thread_safe (0.3.4)
187
+ tilt (1.4.1)
188
+ timers (4.0.1)
189
+ hitimes
190
+ tzinfo (1.2.2)
191
+ thread_safe (~> 0.1)
192
+ uber (0.0.12)
193
+ uglifier (2.6.1)
194
+ execjs (>= 0.3.0)
195
+ json (>= 1.8.0)
196
+
197
+ PLATFORMS
198
+ ruby
199
+
200
+ DEPENDENCIES
201
+ appraisal
202
+ aruba
203
+ cucumber
204
+ middleman (~> 3.3.0)
205
+ middleman-imageoptim!
206
+ pry
207
+ rake
208
+ rspec (>= 3.0.0)
209
+ rspec-its
210
+ rubocop
211
+ simplecov
@@ -0,0 +1,7 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "middleman", ">= 4.0.0.alpha"
6
+
7
+ gemspec :path => "../"
@@ -0,0 +1,216 @@
1
+ PATH
2
+ remote: ../
3
+ specs:
4
+ middleman-imageoptim (0.2.0)
5
+ image_optim (~> 0.20.2)
6
+ image_optim_pack (~> 0.2.1)
7
+ middleman-core (>= 3.1)
8
+
9
+ GEM
10
+ remote: https://rubygems.org/
11
+ specs:
12
+ activesupport (4.2.0)
13
+ i18n (~> 0.7)
14
+ json (~> 1.7, >= 1.7.7)
15
+ minitest (~> 5.1)
16
+ thread_safe (~> 0.3, >= 0.3.4)
17
+ tzinfo (~> 1.1)
18
+ addressable (2.3.6)
19
+ appraisal (1.0.2)
20
+ bundler
21
+ rake
22
+ thor (>= 0.14.0)
23
+ aruba (0.6.1)
24
+ childprocess (>= 0.3.6)
25
+ cucumber (>= 1.1.1)
26
+ rspec-expectations (>= 2.7.0)
27
+ ast (2.0.0)
28
+ astrolabe (1.3.0)
29
+ parser (>= 2.2.0.pre.3, < 3.0)
30
+ backports (3.6.4)
31
+ builder (3.2.2)
32
+ celluloid (0.16.0)
33
+ timers (~> 4.0.0)
34
+ childprocess (0.5.5)
35
+ ffi (~> 1.0, >= 1.0.11)
36
+ coderay (1.1.0)
37
+ coffee-script (2.3.0)
38
+ coffee-script-source
39
+ execjs
40
+ coffee-script-source (1.8.0)
41
+ compass-core (1.0.1)
42
+ multi_json (~> 1.0)
43
+ sass (>= 3.3.0, < 3.5)
44
+ compass-import-once (1.0.5)
45
+ sass (>= 3.2, < 3.5)
46
+ contracts (0.4)
47
+ cucumber (1.3.18)
48
+ builder (>= 2.1.2)
49
+ diff-lcs (>= 1.1.3)
50
+ gherkin (~> 2.12)
51
+ multi_json (>= 1.7.5, < 2.0)
52
+ multi_test (>= 0.1.1)
53
+ diff-lcs (1.2.5)
54
+ docile (1.1.5)
55
+ erubis (2.7.0)
56
+ execjs (2.2.2)
57
+ exifr (1.2.0)
58
+ fastimage (1.6.6)
59
+ addressable (~> 2.3, >= 2.3.5)
60
+ ffi (1.9.6)
61
+ fspath (2.1.1)
62
+ gherkin (2.12.2)
63
+ multi_json (~> 1.3)
64
+ haml (4.0.6)
65
+ tilt
66
+ hike (1.2.3)
67
+ hitimes (1.2.2)
68
+ hooks (0.4.0)
69
+ uber (~> 0.0.4)
70
+ i18n (0.7.0)
71
+ image_optim (0.20.2)
72
+ exifr (~> 1.1, >= 1.1.3)
73
+ fspath (~> 2.1)
74
+ image_size (~> 1.3)
75
+ in_threads (~> 1.3)
76
+ progress (~> 3.0, >= 3.0.1)
77
+ image_optim_pack (0.2.1.20150107)
78
+ fspath (~> 2.1)
79
+ image_optim (~> 0.19)
80
+ image_size (1.4.1)
81
+ in_threads (1.3.0)
82
+ json (1.8.1)
83
+ kramdown (1.5.0)
84
+ listen (2.8.5)
85
+ celluloid (>= 0.15.2)
86
+ rb-fsevent (>= 0.9.3)
87
+ rb-inotify (>= 0.9)
88
+ method_source (0.8.2)
89
+ middleman (4.0.0.alpha.6)
90
+ coffee-script (~> 2.2)
91
+ compass-import-once (= 1.0.5)
92
+ haml (>= 4.0.5)
93
+ kramdown (~> 1.2)
94
+ middleman-cli (= 4.0.0.alpha.6)
95
+ middleman-compass (= 4.0.0.alpha.3)
96
+ middleman-core (= 4.0.0.alpha.6)
97
+ middleman-sprockets (>= 3.4.0)
98
+ sass (>= 3.4.0, < 4.0)
99
+ middleman-cli (4.0.0.alpha.6)
100
+ thor (>= 0.17.0, < 2.0)
101
+ middleman-compass (4.0.0.alpha.3)
102
+ compass-core (>= 1.0.0, < 2.0.0)
103
+ middleman-core (>= 4.0.0.alpha.1)
104
+ middleman-core (4.0.0.alpha.6)
105
+ activesupport (~> 4.2.0)
106
+ addressable (~> 2.3.5)
107
+ backports (~> 3.6)
108
+ bundler (~> 1.1)
109
+ compass-import-once (~> 1.0.4)
110
+ contracts (~> 0.4)
111
+ erubis
112
+ execjs (~> 2.0)
113
+ fastimage (~> 1.6.2)
114
+ hooks (~> 0.3)
115
+ i18n (~> 0.7.0)
116
+ listen (>= 2.7.9, < 3.0)
117
+ padrino-helpers (~> 0.12.3)
118
+ rack (>= 1.4.5, < 2.0)
119
+ sass (>= 3.3.4)
120
+ tilt (~> 1.4.1)
121
+ uglifier (~> 2.6)
122
+ middleman-sprockets (3.4.1)
123
+ middleman-core (>= 3.3)
124
+ sprockets (~> 2.12.1)
125
+ sprockets-helpers (~> 1.1.0)
126
+ sprockets-sass (~> 1.3.0)
127
+ minitest (5.5.0)
128
+ multi_json (1.10.1)
129
+ multi_test (0.1.1)
130
+ padrino-helpers (0.12.4)
131
+ i18n (~> 0.6, >= 0.6.7)
132
+ padrino-support (= 0.12.4)
133
+ tilt (~> 1.4.1)
134
+ padrino-support (0.12.4)
135
+ activesupport (>= 3.1)
136
+ parser (2.2.0.1)
137
+ ast (>= 1.1, < 3.0)
138
+ slop (~> 3.4, >= 3.4.5)
139
+ powerpack (0.0.9)
140
+ progress (3.1.0)
141
+ pry (0.10.1)
142
+ coderay (~> 1.1.0)
143
+ method_source (~> 0.8.1)
144
+ slop (~> 3.4)
145
+ rack (1.6.0)
146
+ rainbow (2.0.0)
147
+ rake (10.4.2)
148
+ rb-fsevent (0.9.4)
149
+ rb-inotify (0.9.5)
150
+ ffi (>= 0.5.0)
151
+ rspec (3.1.0)
152
+ rspec-core (~> 3.1.0)
153
+ rspec-expectations (~> 3.1.0)
154
+ rspec-mocks (~> 3.1.0)
155
+ rspec-core (3.1.7)
156
+ rspec-support (~> 3.1.0)
157
+ rspec-expectations (3.1.2)
158
+ diff-lcs (>= 1.2.0, < 2.0)
159
+ rspec-support (~> 3.1.0)
160
+ rspec-its (1.1.0)
161
+ rspec-core (>= 3.0.0)
162
+ rspec-expectations (>= 3.0.0)
163
+ rspec-mocks (3.1.3)
164
+ rspec-support (~> 3.1.0)
165
+ rspec-support (3.1.2)
166
+ rubocop (0.28.0)
167
+ astrolabe (~> 1.3)
168
+ parser (>= 2.2.0.pre.7, < 3.0)
169
+ powerpack (~> 0.0.6)
170
+ rainbow (>= 1.99.1, < 3.0)
171
+ ruby-progressbar (~> 1.4)
172
+ ruby-progressbar (1.7.1)
173
+ sass (3.4.9)
174
+ simplecov (0.9.1)
175
+ docile (~> 1.1.0)
176
+ multi_json (~> 1.0)
177
+ simplecov-html (~> 0.8.0)
178
+ simplecov-html (0.8.0)
179
+ slop (3.6.0)
180
+ sprockets (2.12.3)
181
+ hike (~> 1.2)
182
+ multi_json (~> 1.0)
183
+ rack (~> 1.0)
184
+ tilt (~> 1.1, != 1.3.0)
185
+ sprockets-helpers (1.1.0)
186
+ sprockets (~> 2.0)
187
+ sprockets-sass (1.3.1)
188
+ sprockets (~> 2.0)
189
+ tilt (~> 1.1)
190
+ thor (0.19.1)
191
+ thread_safe (0.3.4)
192
+ tilt (1.4.1)
193
+ timers (4.0.1)
194
+ hitimes
195
+ tzinfo (1.2.2)
196
+ thread_safe (~> 0.1)
197
+ uber (0.0.12)
198
+ uglifier (2.6.1)
199
+ execjs (>= 0.3.0)
200
+ json (>= 1.8.0)
201
+
202
+ PLATFORMS
203
+ ruby
204
+
205
+ DEPENDENCIES
206
+ appraisal
207
+ aruba
208
+ cucumber
209
+ middleman (>= 4.0.0.alpha)
210
+ middleman-imageoptim!
211
+ pry
212
+ rake
213
+ rspec (>= 3.0.0)
214
+ rspec-its
215
+ rubocop
216
+ simplecov
@@ -1,3 +1,5 @@
1
+ require 'middleman-core/application'
2
+
1
3
  module Middleman
2
4
  module Imageoptim
3
5
  class ManifestResource < ::Middleman::Sitemap::Resource
@@ -1,6 +1,6 @@
1
1
  module Middleman
2
2
  module Imageoptim
3
3
  PACKAGE = 'middleman-imageoptim'
4
- VERSION = '0.2.0'
4
+ VERSION = '0.2.1'
5
5
  end
6
6
  end
@@ -16,10 +16,11 @@ Gem::Specification.new do |gem|
16
16
  gem.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) }
17
17
  gem.require_paths = ['lib']
18
18
 
19
- gem.add_dependency 'middleman-core', ['>= 3.0']
19
+ gem.add_dependency 'middleman-core', ['>= 3.1']
20
20
  gem.add_dependency 'image_optim', '~> 0.20.2'
21
21
  gem.add_dependency 'image_optim_pack', '~> 0.2.1'
22
22
 
23
+ gem.add_development_dependency 'appraisal'
23
24
  gem.add_development_dependency 'aruba'
24
25
  gem.add_development_dependency 'cucumber'
25
26
  gem.add_development_dependency 'pry'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: middleman-imageoptim
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Morris
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-05 00:00:00.000000000 Z
11
+ date: 2015-03-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: middleman-core
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '>='
18
18
  - !ruby/object:Gem::Version
19
- version: '3.0'
19
+ version: '3.1'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '>='
25
25
  - !ruby/object:Gem::Version
26
- version: '3.0'
26
+ version: '3.1'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: image_optim
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -52,6 +52,20 @@ dependencies:
52
52
  - - ~>
53
53
  - !ruby/object:Gem::Version
54
54
  version: 0.2.1
55
+ - !ruby/object:Gem::Dependency
56
+ name: appraisal
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - '>='
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
55
69
  - !ruby/object:Gem::Dependency
56
70
  name: aruba
57
71
  requirement: !ruby/object:Gem::Requirement
@@ -177,6 +191,7 @@ files:
177
191
  - .rubocop_todo.yml
178
192
  - .simplecov
179
193
  - .travis.yml
194
+ - Appraisals
180
195
  - Gemfile
181
196
  - LICENSE
182
197
  - README.md
@@ -190,6 +205,14 @@ files:
190
205
  - fixtures/basic-app/config.rb
191
206
  - fixtures/basic-app/source/images/oh_my_glob.gif
192
207
  - fixtures/basic-app/source/images/table.jpg
208
+ - gemfiles/middleman_3.1.gemfile
209
+ - gemfiles/middleman_3.1.gemfile.lock
210
+ - gemfiles/middleman_3.2.gemfile
211
+ - gemfiles/middleman_3.2.gemfile.lock
212
+ - gemfiles/middleman_3.3.gemfile
213
+ - gemfiles/middleman_3.3.gemfile.lock
214
+ - gemfiles/middleman_4.0_pre.gemfile
215
+ - gemfiles/middleman_4.0_pre.gemfile.lock
193
216
  - lib/middleman-imageoptim.rb
194
217
  - lib/middleman-imageoptim/extension.rb
195
218
  - lib/middleman-imageoptim/manifest.rb
@@ -231,3 +254,4 @@ signing_key:
231
254
  specification_version: 4
232
255
  summary: Small images are small! Compress yours during middleman build.
233
256
  test_files: []
257
+ has_rdoc: