middleman-autoprefixer 2.6.2 → 2.6.3

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
2
  SHA1:
3
- metadata.gz: 34728342ef5caef6640c400c7cc92f8fc822e678
4
- data.tar.gz: 4ad434de3366f105dfc338da38bc20aec75be6e0
3
+ metadata.gz: ff9eddd330f9d8f4002acca0980f21042428ecda
4
+ data.tar.gz: 4fd0daa7c95151da36a47051e53d37f0ad054784
5
5
  SHA512:
6
- metadata.gz: 99c121583b4df29e6b11efef6ddd3d3e074d1bdb2aae856b1ae7468d2451f68657ef9f6ada9709d944320d9723cc935aab565709eb293f033aa5eb2dcd508603
7
- data.tar.gz: eb61400035d053bb0fe58dd3532636603c314fb84384d99e89214ed9fe148b2936837f2f9bb476bd47089ccf4d081410df4774d329e62483f8f7df0470a8491e
6
+ metadata.gz: 0ffd5e37ff92ac75049f913c619a48228918745379f7b344c6890f1c3863a0be7b1ab1a7cf3a71f81b51e2a49c5a48afa39965e3efb3982bb5c457a80b1707fc
7
+ data.tar.gz: 4513b5d1e418eb8f95a4515b3ff109f677eaf14282eedff19aee4b2d2806a65e5a19f7e2c185af2fc0ed6cc5f60e53a18c92d52714dd028fe469ce0325a3f808
data/.gitignore CHANGED
@@ -2,8 +2,10 @@
2
2
  *.rbc
3
3
  .bundle
4
4
  .config
5
+ .sass-cache
5
6
  .yardoc
6
7
  Gemfile.lock
8
+ Gemfile4.lock
7
9
  InstalledFiles
8
10
  _yardoc
9
11
  coverage
@@ -2,9 +2,13 @@ language: ruby
2
2
  rvm:
3
3
  - 2.1
4
4
  - 2.2
5
+ gemfile:
6
+ - Gemfile
7
+ - Gemfile4
5
8
  script:
6
9
  - bundle exec rake test
7
- - bundle exec rake install
10
+ env:
11
+ - RUBYOPT=W0
8
12
  sudo: false
9
13
  cache: bundler
10
14
  matrix:
@@ -1,3 +1,11 @@
1
+ # v2.6.3
2
+
3
+ * Updated Autoprefixer.
4
+
5
+ # v2.6.2
6
+
7
+ * Updated Autoprefixer.
8
+
1
9
  # v2.6.1
2
10
 
3
11
  * Bug fixes ([#21](https://github.com/middleman/middleman-autoprefixer/issues/21)).
data/Gemfile CHANGED
@@ -1,3 +1,11 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
3
  gemspec
4
+
5
+ group :development, :test do
6
+ gem 'middleman', '>= 3.3.3', '< 4.0.0'
7
+
8
+ gem 'cucumber', '~> 1.3'
9
+ gem 'aruba', '~> 0.6'
10
+ gem 'coveralls', '~> 0.7'
11
+ end
@@ -0,0 +1,12 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gemspec
4
+
5
+ group :development, :test do
6
+ gem 'middleman', '>= 4.0.0'
7
+ gem 'middleman-sprockets', '>= 4.0.0.rc.1'
8
+
9
+ gem 'cucumber', '~> 1.3'
10
+ gem 'aruba', '~> 0.6'
11
+ gem 'coveralls', '~> 0.7'
12
+ end
data/README.md CHANGED
@@ -21,7 +21,7 @@ activate :autoprefixer
21
21
  ```ruby
22
22
  activate :autoprefixer do |config|
23
23
  config.browsers = ['last 2 versions', 'Explorer >= 9']
24
- config.ignore = ['hacks.css']
24
+ config.ignore = ['/stylesheets/hacks.css']
25
25
  end
26
26
  ```
27
27
 
@@ -11,9 +11,7 @@ Feature: Postprocessing stylesheets with Autoprefixer in different configuration
11
11
  Scenario: Passing options in a block
12
12
  Given the Server is running at "block-app"
13
13
  When I go to "/stylesheets/page.css"
14
- Then I should see "-webkit-flex"
15
- And I should see "-moz-box"
16
- And I should see "-webkit-linear-gradient"
14
+ Then I should see "-webkit-linear-gradient"
17
15
  And I should see "-moz-linear-gradient"
18
16
 
19
17
  Scenario: Passing options in a hash
@@ -62,7 +60,9 @@ Feature: Postprocessing stylesheets with Autoprefixer in different configuration
62
60
 
63
61
  Scenario: Ignoring paths
64
62
  Given the Server is running at "ignore-app"
65
- When I go to "/stylesheets/yep.css"
63
+ When I go to "/stylesheets/yep-1.css"
64
+ Then I should see "-ms-border-radius"
65
+ When I go to "/stylesheets/yep-2.css"
66
66
  Then I should see "-ms-border-radius"
67
67
  When I go to "/stylesheets/nope.css"
68
68
  Then I should not see "-ms-border-radius"
@@ -0,0 +1,3 @@
1
+ body {
2
+ background: linear-gradient(to bottom, #fff, #000);
3
+ }
@@ -1,5 +1,8 @@
1
1
  activate :autoprefixer, browsers: ['Safari 5', 'Firefox 15'], cascade: false
2
2
 
3
- compass_config do |config|
4
- config.output_style = :expanded
3
+ # Middleman 3
4
+ if defined? compass_config
5
+ compass_config do |config|
6
+ config.output_style = :expanded
7
+ end
5
8
  end
@@ -3,6 +3,9 @@ activate :autoprefixer do |config|
3
3
  config.cascade = true
4
4
  end
5
5
 
6
- compass_config do |config|
7
- config.output_style = :expanded
6
+ # Middleman 3
7
+ if defined? compass_config
8
+ compass_config do |config|
9
+ config.output_style = :expanded
10
+ end
8
11
  end
@@ -1 +1,4 @@
1
- activate :autoprefixer, ignore: ['yep.css']
1
+ activate :autoprefixer, ignore: [
2
+ '/stylesheets/yep-1.css',
3
+ /yep-2/
4
+ ]
@@ -0,0 +1,4 @@
1
+ input {
2
+ -ms-border-radius: 5px;
3
+ border-radius: 5px;
4
+ }
@@ -1,5 +1,5 @@
1
1
  module Middleman
2
2
  module Autoprefixer
3
- VERSION = '2.6.2'.freeze
3
+ VERSION = '2.6.3'.freeze
4
4
  end
5
5
  end
@@ -17,12 +17,7 @@ Gem::Specification.new do |spec|
17
17
  spec.require_paths = ['lib']
18
18
 
19
19
  spec.add_dependency 'middleman-core', '>= 3.3.3'
20
- spec.add_dependency 'autoprefixer-rails', '~> 6.1.2'
21
-
22
- spec.add_development_dependency 'middleman', '>= 3.3.3'
23
- spec.add_development_dependency 'cucumber', '~> 1.3'
24
- spec.add_development_dependency 'aruba', '~> 0.6'
25
- spec.add_development_dependency 'coveralls', '~> 0.7'
20
+ spec.add_dependency 'autoprefixer-rails', '~> 6.2.1'
26
21
 
27
22
  spec.add_development_dependency 'bundler', '>= 1.6'
28
23
  spec.add_development_dependency 'rake', '>= 10.3'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: middleman-autoprefixer
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.6.2
4
+ version: 2.6.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dominik Porada
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-12-14 00:00:00.000000000 Z
12
+ date: 2015-12-21 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: middleman-core
@@ -31,70 +31,14 @@ dependencies:
31
31
  requirements:
32
32
  - - "~>"
33
33
  - !ruby/object:Gem::Version
34
- version: 6.1.2
34
+ version: 6.2.1
35
35
  type: :runtime
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
39
  - - "~>"
40
40
  - !ruby/object:Gem::Version
41
- version: 6.1.2
42
- - !ruby/object:Gem::Dependency
43
- name: middleman
44
- requirement: !ruby/object:Gem::Requirement
45
- requirements:
46
- - - ">="
47
- - !ruby/object:Gem::Version
48
- version: 3.3.3
49
- type: :development
50
- prerelease: false
51
- version_requirements: !ruby/object:Gem::Requirement
52
- requirements:
53
- - - ">="
54
- - !ruby/object:Gem::Version
55
- version: 3.3.3
56
- - !ruby/object:Gem::Dependency
57
- name: cucumber
58
- requirement: !ruby/object:Gem::Requirement
59
- requirements:
60
- - - "~>"
61
- - !ruby/object:Gem::Version
62
- version: '1.3'
63
- type: :development
64
- prerelease: false
65
- version_requirements: !ruby/object:Gem::Requirement
66
- requirements:
67
- - - "~>"
68
- - !ruby/object:Gem::Version
69
- version: '1.3'
70
- - !ruby/object:Gem::Dependency
71
- name: aruba
72
- requirement: !ruby/object:Gem::Requirement
73
- requirements:
74
- - - "~>"
75
- - !ruby/object:Gem::Version
76
- version: '0.6'
77
- type: :development
78
- prerelease: false
79
- version_requirements: !ruby/object:Gem::Requirement
80
- requirements:
81
- - - "~>"
82
- - !ruby/object:Gem::Version
83
- version: '0.6'
84
- - !ruby/object:Gem::Dependency
85
- name: coveralls
86
- requirement: !ruby/object:Gem::Requirement
87
- requirements:
88
- - - "~>"
89
- - !ruby/object:Gem::Version
90
- version: '0.7'
91
- type: :development
92
- prerelease: false
93
- version_requirements: !ruby/object:Gem::Requirement
94
- requirements:
95
- - - "~>"
96
- - !ruby/object:Gem::Version
97
- version: '0.7'
41
+ version: 6.2.1
98
42
  - !ruby/object:Gem::Dependency
99
43
  name: bundler
100
44
  requirement: !ruby/object:Gem::Requirement
@@ -135,6 +79,7 @@ files:
135
79
  - ".travis.yml"
136
80
  - CHANGELOG.md
137
81
  - Gemfile
82
+ - Gemfile4
138
83
  - README.md
139
84
  - Rakefile
140
85
  - features/autoprefixer.feature
@@ -144,29 +89,30 @@ files:
144
89
  - fixtures/adding-off-app/source/stylesheets/page.css
145
90
  - fixtures/block-app/config.rb
146
91
  - fixtures/block-app/source/index.html
147
- - fixtures/block-app/source/stylesheets/page.scss
92
+ - fixtures/block-app/source/stylesheets/page.css
148
93
  - fixtures/cascading-off-app/config.rb
149
94
  - fixtures/cascading-off-app/source/index.html
150
- - fixtures/cascading-off-app/source/stylesheets/page.scss
95
+ - fixtures/cascading-off-app/source/stylesheets/page.css
151
96
  - fixtures/cascading-on-app/config.rb
152
97
  - fixtures/cascading-on-app/source/index.html
153
- - fixtures/cascading-on-app/source/stylesheets/page.scss
98
+ - fixtures/cascading-on-app/source/stylesheets/page.css
154
99
  - fixtures/default-app/config.rb
155
100
  - fixtures/default-app/source/index.html
156
- - fixtures/default-app/source/stylesheets/page.scss
101
+ - fixtures/default-app/source/stylesheets/page.css
157
102
  - fixtures/hash-app/config.rb
158
103
  - fixtures/hash-app/source/index.html
159
104
  - fixtures/hash-app/source/stylesheets/_link.sass
160
- - fixtures/hash-app/source/stylesheets/page.scss
105
+ - fixtures/hash-app/source/stylesheets/page.css.scss
161
106
  - fixtures/ignore-app/config.rb
162
107
  - fixtures/ignore-app/source/index.html
163
- - fixtures/ignore-app/source/stylesheets/nope.scss
164
- - fixtures/ignore-app/source/stylesheets/yep.scss
108
+ - fixtures/ignore-app/source/stylesheets/nope.css
109
+ - fixtures/ignore-app/source/stylesheets/yep-1.css
110
+ - fixtures/ignore-app/source/stylesheets/yep-2.css
165
111
  - fixtures/inline-app/config.rb
166
112
  - fixtures/inline-app/source/index.html
167
113
  - fixtures/proxy-app/config.rb
168
114
  - fixtures/proxy-app/source/index.html
169
- - fixtures/proxy-app/source/stylesheets/page.scss
115
+ - fixtures/proxy-app/source/stylesheets/page.css
170
116
  - fixtures/removing-off-app/config.rb
171
117
  - fixtures/removing-off-app/source/index.html
172
118
  - fixtures/removing-off-app/source/stylesheets/page.css
@@ -194,7 +140,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
194
140
  version: '0'
195
141
  requirements: []
196
142
  rubyforge_project:
197
- rubygems_version: 2.5.0
143
+ rubygems_version: 2.5.1
198
144
  signing_key:
199
145
  specification_version: 4
200
146
  summary: Autoprefixer integration with Middleman
@@ -206,29 +152,30 @@ test_files:
206
152
  - fixtures/adding-off-app/source/stylesheets/page.css
207
153
  - fixtures/block-app/config.rb
208
154
  - fixtures/block-app/source/index.html
209
- - fixtures/block-app/source/stylesheets/page.scss
155
+ - fixtures/block-app/source/stylesheets/page.css
210
156
  - fixtures/cascading-off-app/config.rb
211
157
  - fixtures/cascading-off-app/source/index.html
212
- - fixtures/cascading-off-app/source/stylesheets/page.scss
158
+ - fixtures/cascading-off-app/source/stylesheets/page.css
213
159
  - fixtures/cascading-on-app/config.rb
214
160
  - fixtures/cascading-on-app/source/index.html
215
- - fixtures/cascading-on-app/source/stylesheets/page.scss
161
+ - fixtures/cascading-on-app/source/stylesheets/page.css
216
162
  - fixtures/default-app/config.rb
217
163
  - fixtures/default-app/source/index.html
218
- - fixtures/default-app/source/stylesheets/page.scss
164
+ - fixtures/default-app/source/stylesheets/page.css
219
165
  - fixtures/hash-app/config.rb
220
166
  - fixtures/hash-app/source/index.html
221
167
  - fixtures/hash-app/source/stylesheets/_link.sass
222
- - fixtures/hash-app/source/stylesheets/page.scss
168
+ - fixtures/hash-app/source/stylesheets/page.css.scss
223
169
  - fixtures/ignore-app/config.rb
224
170
  - fixtures/ignore-app/source/index.html
225
- - fixtures/ignore-app/source/stylesheets/nope.scss
226
- - fixtures/ignore-app/source/stylesheets/yep.scss
171
+ - fixtures/ignore-app/source/stylesheets/nope.css
172
+ - fixtures/ignore-app/source/stylesheets/yep-1.css
173
+ - fixtures/ignore-app/source/stylesheets/yep-2.css
227
174
  - fixtures/inline-app/config.rb
228
175
  - fixtures/inline-app/source/index.html
229
176
  - fixtures/proxy-app/config.rb
230
177
  - fixtures/proxy-app/source/index.html
231
- - fixtures/proxy-app/source/stylesheets/page.scss
178
+ - fixtures/proxy-app/source/stylesheets/page.css
232
179
  - fixtures/removing-off-app/config.rb
233
180
  - fixtures/removing-off-app/source/index.html
234
181
  - fixtures/removing-off-app/source/stylesheets/page.css
@@ -1,5 +0,0 @@
1
- @supports not (display: flex) {
2
- body {
3
- background: linear-gradient(to bottom, #fff, #000);
4
- }
5
- }