middleman-autoprefixer 0.2 → 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 +4 -4
- data/.travis.yml +3 -0
- data/README.md +5 -3
- data/lib/middleman/autoprefixer/version.rb +1 -1
- data/middleman-autoprefixer.gemspec +21 -3
- metadata +25 -8
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1f3b4ac7a189c551d240fdeec2eb159a8f76d803
|
|
4
|
+
data.tar.gz: 8880a416ecc4723b1bf3fc9b1c3d9ecb458e3429
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 647a889d4826ca36585542224e8834e06d516ac56ca6a524d757359325189b8ac18a4a1e0550bcacf77a4415f8b67feaa87c35031032e82ef9ffabca573c48ac
|
|
7
|
+
data.tar.gz: 3984baac3b7a58bbae847e809af5e1dc7647a5d390c330cbf84be067cbad3956f712d22b562ccecfc8a3918619d0eed1d443293a96cd8f279c2542ddd5ce2876
|
data/.travis.yml
ADDED
data/README.md
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
[](http://badge.fury.io/rb/middleman-autoprefixer) [](https://gemnasium.com/porada/middleman-autoprefixer) [](https://travis-ci.org/porada/middleman-autoprefixer)
|
|
2
|
+
|
|
3
|
+
# Middleman::Autoprefixer
|
|
2
4
|
|
|
3
5
|
> [Autoprefixer](https://github.com/ai/autoprefixer) integration with [Middleman](http://middlemanapp.com/)
|
|
4
6
|
|
|
@@ -27,10 +29,10 @@ activate :autoprefixer
|
|
|
27
29
|
Optionally, you can specify `browsers` as a string or array of strings with accoradance to [Autoprefixer’s documentation](https://github.com/ai/autoprefixer#browsers). There are a few ways to set the option—two examples:
|
|
28
30
|
|
|
29
31
|
```ruby
|
|
30
|
-
activate :autoprefixer, browsers: 'last
|
|
32
|
+
activate :autoprefixer, browsers: 'last 2 versions'
|
|
31
33
|
|
|
32
34
|
activate :autoprefixer do |config|
|
|
33
|
-
config.browsers = ['last 2 versions', 'ie 8', 'ie 9']
|
|
35
|
+
config.browsers = ['> 1%', 'last 2 versions', 'ie 8', 'ie 9']
|
|
34
36
|
end
|
|
35
37
|
```
|
|
36
38
|
|
|
@@ -9,8 +9,6 @@ Gem::Specification.new do |spec|
|
|
|
9
9
|
spec.authors = ['Dominik Porada']
|
|
10
10
|
spec.email = ['dominik@porada.co']
|
|
11
11
|
spec.summary = 'Autoprefixer integration with Middleman'
|
|
12
|
-
spec.description = 'Automatically add vendor prefixes to CSS rules in the stylesheets ' +
|
|
13
|
-
'served in your Middleman project using values from Can I Use.'
|
|
14
12
|
spec.homepage = 'https://github.com/porada/middleman-autoprefixer'
|
|
15
13
|
spec.license = 'MIT'
|
|
16
14
|
|
|
@@ -18,8 +16,28 @@ Gem::Specification.new do |spec|
|
|
|
18
16
|
spec.require_paths = ['lib']
|
|
19
17
|
|
|
20
18
|
spec.add_dependency 'middleman-core'
|
|
21
|
-
spec.add_dependency 'autoprefixer-rails', '~> 0.
|
|
19
|
+
spec.add_dependency 'autoprefixer-rails', '~> 0.8'
|
|
22
20
|
|
|
23
21
|
spec.add_development_dependency 'bundler', '~> 1.3'
|
|
24
22
|
spec.add_development_dependency 'rake'
|
|
23
|
+
|
|
24
|
+
spec.post_install_message = <<-TEXT
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
If you’re updating middleman-autoprefixer from the version ≤ 0.2,
|
|
28
|
+
please note that Autoprefixer’s `browsers` option now defaults to:
|
|
29
|
+
|
|
30
|
+
> 1%, last 2 versions, Firefox 17, Opera 12.1
|
|
31
|
+
|
|
32
|
+
If you prefer the previous configuration, don’t lock the version
|
|
33
|
+
of this gem because it might not help. Edit your config.rb instead:
|
|
34
|
+
|
|
35
|
+
activate :autoprefixer do |config|
|
|
36
|
+
config.browsers = 'last 2 versions'
|
|
37
|
+
end
|
|
38
|
+
|
|
39
|
+
You can read more here: github.com/ai/autoprefixer#browsers
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
TEXT
|
|
25
43
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: middleman-autoprefixer
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version:
|
|
4
|
+
version: 0.2.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Dominik Porada
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2013-
|
|
11
|
+
date: 2013-09-17 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: middleman-core
|
|
@@ -30,14 +30,14 @@ dependencies:
|
|
|
30
30
|
requirements:
|
|
31
31
|
- - ~>
|
|
32
32
|
- !ruby/object:Gem::Version
|
|
33
|
-
version: '0.
|
|
33
|
+
version: '0.8'
|
|
34
34
|
type: :runtime
|
|
35
35
|
prerelease: false
|
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
|
37
37
|
requirements:
|
|
38
38
|
- - ~>
|
|
39
39
|
- !ruby/object:Gem::Version
|
|
40
|
-
version: '0.
|
|
40
|
+
version: '0.8'
|
|
41
41
|
- !ruby/object:Gem::Dependency
|
|
42
42
|
name: bundler
|
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -66,8 +66,7 @@ dependencies:
|
|
|
66
66
|
- - '>='
|
|
67
67
|
- !ruby/object:Gem::Version
|
|
68
68
|
version: '0'
|
|
69
|
-
description:
|
|
70
|
-
in your Middleman project using values from Can I Use.
|
|
69
|
+
description:
|
|
71
70
|
email:
|
|
72
71
|
- dominik@porada.co
|
|
73
72
|
executables: []
|
|
@@ -75,6 +74,7 @@ extensions: []
|
|
|
75
74
|
extra_rdoc_files: []
|
|
76
75
|
files:
|
|
77
76
|
- .gitignore
|
|
77
|
+
- .travis.yml
|
|
78
78
|
- Gemfile
|
|
79
79
|
- README.md
|
|
80
80
|
- Rakefile
|
|
@@ -87,7 +87,24 @@ homepage: https://github.com/porada/middleman-autoprefixer
|
|
|
87
87
|
licenses:
|
|
88
88
|
- MIT
|
|
89
89
|
metadata: {}
|
|
90
|
-
post_install_message:
|
|
90
|
+
post_install_message: |2+
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
If you’re updating middleman-autoprefixer from the version ≤ 0.2,
|
|
94
|
+
please note that Autoprefixer’s `browsers` option now defaults to:
|
|
95
|
+
|
|
96
|
+
> 1%, last 2 versions, Firefox 17, Opera 12.1
|
|
97
|
+
|
|
98
|
+
If you prefer the previous configuration, don’t lock the version
|
|
99
|
+
of this gem because it might not help. Edit your config.rb instead:
|
|
100
|
+
|
|
101
|
+
activate :autoprefixer do |config|
|
|
102
|
+
config.browsers = 'last 2 versions'
|
|
103
|
+
end
|
|
104
|
+
|
|
105
|
+
You can read more here: github.com/ai/autoprefixer#browsers
|
|
106
|
+
|
|
107
|
+
|
|
91
108
|
rdoc_options: []
|
|
92
109
|
require_paths:
|
|
93
110
|
- lib
|
|
@@ -103,7 +120,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
103
120
|
version: '0'
|
|
104
121
|
requirements: []
|
|
105
122
|
rubyforge_project:
|
|
106
|
-
rubygems_version: 2.0.
|
|
123
|
+
rubygems_version: 2.0.7
|
|
107
124
|
signing_key:
|
|
108
125
|
specification_version: 4
|
|
109
126
|
summary: Autoprefixer integration with Middleman
|