middleman-autoprefixer 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +6 -26
- data/lib/{middleman/autoprefixer.rb → middleman-autoprefixer.rb} +2 -2
- data/lib/{middleman/autoprefixer → middleman-autoprefixer}/extension.rb +0 -0
- data/lib/{middleman/autoprefixer → middleman-autoprefixer}/version.rb +1 -1
- data/lib/middleman_extension.rb +1 -1
- data/middleman-autoprefixer.gemspec +1 -1
- metadata +6 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 56c9df3e53fa112b3184e8c62326ca6092110bcc
|
4
|
+
data.tar.gz: c8410bcad4f29b531f7dec09ef9c02cf186ec738
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 396b08cb22f70396451dd550bf6f15aa4e3f81c38b3c22452f98440e79ae46eeacb539a3a6c305abdb12cf95b969fc488f2f52b65cf53d3d7b7c6f98fadb2e13
|
7
|
+
data.tar.gz: 3ef27986d62370cfe32131d2660beac8180b1b17b52329b04557a57dadc5b303596ec1d5011348dd8e1c8482dbaab1770a19ee92285cdf7d065c497ac2b144d5
|
data/README.md
CHANGED
@@ -2,44 +2,24 @@
|
|
2
2
|
|
3
3
|
# Middleman::Autoprefixer
|
4
4
|
|
5
|
-
>
|
6
|
-
|
7
|
-
Automatically add vendor prefixes to CSS rules in the stylesheets served in your Middleman project using values from [Can I Use](http://caniuse.com/).
|
5
|
+
> Automatically add vendor prefixes to CSS rules in stylesheets served by Middleman.
|
8
6
|
|
9
7
|
## Usage
|
10
8
|
|
11
|
-
|
12
|
-
|
13
|
-
Add the following line to your `Gemfile`, and then execute `bundle`.
|
9
|
+
Add the following line to `Gemfile`, then run `bundle install`:
|
14
10
|
|
15
11
|
```ruby
|
16
12
|
gem 'middleman-autoprefixer'
|
17
13
|
```
|
18
14
|
|
19
|
-
|
20
|
-
|
21
|
-
After installation, simply activate the extension in your project’s `config.rb`:
|
22
|
-
|
23
|
-
```ruby
|
24
|
-
activate :autoprefixer
|
25
|
-
```
|
26
|
-
|
27
|
-
#### Browsers
|
28
|
-
|
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:
|
15
|
+
After installation, activate the extension in `config.rb`:
|
30
16
|
|
31
17
|
```ruby
|
32
|
-
activate :autoprefixer, browsers: 'last 2 versions'
|
33
|
-
|
34
|
-
activate :autoprefixer do |config|
|
35
|
-
config.browsers = ['> 1%', 'last 2 versions', 'ie 8', 'ie 9']
|
36
|
-
end
|
18
|
+
activate :autoprefixer, browsers: ['last 2 versions', 'ie 8', 'ie 9']
|
37
19
|
```
|
38
20
|
|
39
|
-
|
40
|
-
|
41
|
-
This gem was created by [Dominik Porada](http://github.com/porada) and makes use of [Autoprefixer Rails](https://github.com/ai/autoprefixer-rails) by [Andrey Sitnik](https://github.com/ai), the author of Autoprefixer.
|
21
|
+
The optional `browsers` field takes a string or array of strings accordingly to [Autoprefixer’s documentation](https://github.com/ai/autoprefixer#browsers).
|
42
22
|
|
43
23
|
## License
|
44
24
|
|
45
|
-
Middleman Autoprefixer is distributed under
|
25
|
+
Middleman Autoprefixer was created by [Dominik Porada](http://github.com/porada) is distributed under The [MIT](http://porada.mit-license.org/) license.
|
File without changes
|
data/lib/middleman_extension.rb
CHANGED
@@ -1 +1 @@
|
|
1
|
-
require 'middleman
|
1
|
+
require 'middleman-autoprefixer'
|
@@ -1,7 +1,7 @@
|
|
1
1
|
# coding: utf-8
|
2
2
|
lib = File.expand_path('../lib', __FILE__)
|
3
3
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
-
require 'middleman
|
4
|
+
require 'middleman-autoprefixer/version'
|
5
5
|
|
6
6
|
Gem::Specification.new do |spec|
|
7
7
|
spec.name = 'middleman-autoprefixer'
|
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: 0.2.
|
4
|
+
version: 0.2.2
|
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-10-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: middleman-core
|
@@ -78,9 +78,9 @@ files:
|
|
78
78
|
- Gemfile
|
79
79
|
- README.md
|
80
80
|
- Rakefile
|
81
|
-
- lib/middleman
|
82
|
-
- lib/middleman
|
83
|
-
- lib/middleman
|
81
|
+
- lib/middleman-autoprefixer.rb
|
82
|
+
- lib/middleman-autoprefixer/extension.rb
|
83
|
+
- lib/middleman-autoprefixer/version.rb
|
84
84
|
- lib/middleman_extension.rb
|
85
85
|
- middleman-autoprefixer.gemspec
|
86
86
|
homepage: https://github.com/porada/middleman-autoprefixer
|
@@ -120,9 +120,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
120
120
|
version: '0'
|
121
121
|
requirements: []
|
122
122
|
rubyforge_project:
|
123
|
-
rubygems_version: 2.0.
|
123
|
+
rubygems_version: 2.0.3
|
124
124
|
signing_key:
|
125
125
|
specification_version: 4
|
126
126
|
summary: Autoprefixer integration with Middleman
|
127
127
|
test_files: []
|
128
|
-
has_rdoc:
|