middleman-autoprefixer 2.6.0 → 2.6.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: d959c8bd428cbacd8fe57adf03b320eb79ca36d4
4
- data.tar.gz: 6e7199c02fb0ec72f294751c5ef121fb910f0d74
3
+ metadata.gz: 83c9cb98c7e90df173b0c8ccd37f2a1da4951fa4
4
+ data.tar.gz: 1d0e03522e46bb1dcf6834ac39ad34fbf15c1978
5
5
  SHA512:
6
- metadata.gz: 9fc7c8c8f8767da8dddc7a53b05efd1e86c442c99ce3db2a74fae50b2164accb987088d8511db1057a0e7fa96f3a8339505f5de7d55ce3fe644ffa3fb2191264
7
- data.tar.gz: f0d2ef80e77128ffa3473dbfe80d9f4aa2917dc31ea89f6286292150bd284be7ee0ef7dfb46a80b7ad622cbbcc71aeda263838dfbec2a1b5e2f362008682ab50
6
+ metadata.gz: 5875b96576d0c718ab0c5755275076aab00a57310fdb02d1fa72d3889e4ae18d3a7f77d01ef61965ce5fb22d2ad902840b36ac5e587592331c4da80e59db7e4f
7
+ data.tar.gz: 675645e60bbff599f01c7ff2eb095cfddfbe38d082547f2650ec420827d02d36070bdd59540efe4c92f8bd31e37558f66f21f7749635d8045023bfdc782cf87c
@@ -1,3 +1,7 @@
1
+ # v2.6.1
2
+
3
+ * Bug fixes ([#21](https://github.com/middleman/middleman-autoprefixer/issues/21)).
4
+
1
5
  # v2.6.0
2
6
 
3
7
  * Updated Autoprefixer to 6.0.
data/README.md CHANGED
@@ -12,26 +12,21 @@ Add the following line to `Gemfile`, then run `bundle install`:
12
12
  gem 'middleman-autoprefixer'
13
13
  ```
14
14
 
15
- After installation, activate the extension in `config.rb`:
15
+ After installation, activate (and optionally configure) the extension in `config.rb`:
16
16
 
17
17
  ```ruby
18
18
  activate :autoprefixer
19
19
  ```
20
20
 
21
- ## Configuration
22
-
23
- The extension has 5 optionally configurable fields:
24
-
25
21
  ```ruby
26
22
  activate :autoprefixer do |config|
27
23
  config.browsers = ['last 2 versions', 'Explorer >= 9']
28
- config.remove = false
29
- config.cascade = false
30
- config.inline = true
31
24
  config.ignore = ['hacks.css']
32
25
  end
33
26
  ```
34
27
 
28
+ ## Available options
29
+
35
30
  ### browsers
36
31
 
37
32
  The list of targeted browsers. Takes values and uses defaults accordingly to [Autoprefixer’s documentation](https://github.com/postcss/autoprefixer#browsers).
@@ -34,7 +34,7 @@ module Middleman
34
34
  @ignore = options[:ignore]
35
35
 
36
36
  @processor = ::AutoprefixerRails::Processor.new({
37
- browsers: Array(options[:browsers]),
37
+ browsers: options[:browsers] && Array(options[:browsers]),
38
38
  add: options[:add],
39
39
  remove: options[:remove],
40
40
  cascade: options[:cascade]
@@ -1,5 +1,5 @@
1
1
  module Middleman
2
2
  module Autoprefixer
3
- VERSION = '2.6.0'.freeze
3
+ VERSION = '2.6.1'.freeze
4
4
  end
5
5
  end
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.0
4
+ version: 2.6.1
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-09-06 00:00:00.000000000 Z
12
+ date: 2015-09-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: middleman-core