middleman-autoprefixer 0.2.1 → 0.2.2

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: 1f3b4ac7a189c551d240fdeec2eb159a8f76d803
4
- data.tar.gz: 8880a416ecc4723b1bf3fc9b1c3d9ecb458e3429
3
+ metadata.gz: 56c9df3e53fa112b3184e8c62326ca6092110bcc
4
+ data.tar.gz: c8410bcad4f29b531f7dec09ef9c02cf186ec738
5
5
  SHA512:
6
- metadata.gz: 647a889d4826ca36585542224e8834e06d516ac56ca6a524d757359325189b8ac18a4a1e0550bcacf77a4415f8b67feaa87c35031032e82ef9ffabca573c48ac
7
- data.tar.gz: 3984baac3b7a58bbae847e809af5e1dc7647a5d390c330cbf84be067cbad3956f712d22b562ccecfc8a3918619d0eed1d443293a96cd8f279c2542ddd5ce2876
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
- > [Autoprefixer](https://github.com/ai/autoprefixer) integration with [Middleman](http://middlemanapp.com/)
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
- ### Installation
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
- ### Configuration
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
- ## Credits
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 the [MIT](http://porada.mit-license.org/) license.
25
+ Middleman Autoprefixer was created by [Dominik Porada](http://github.com/porada) is distributed under The [MIT](http://porada.mit-license.org/) license.
@@ -1,5 +1,5 @@
1
- require 'middleman/autoprefixer/version'
2
- require 'middleman/autoprefixer/extension'
1
+ require 'middleman-autoprefixer/version'
2
+ require 'middleman-autoprefixer/extension'
3
3
 
4
4
  ::Middleman::Extensions.register(:autoprefixer) do
5
5
  ::Middleman::Autoprefixer
@@ -1,5 +1,5 @@
1
1
  module Middleman
2
2
  module Autoprefixer
3
- VERSION = '0.2.1'
3
+ VERSION = '0.2.2'
4
4
  end
5
5
  end
@@ -1 +1 @@
1
- require 'middleman/autoprefixer'
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/autoprefixer/version'
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.1
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-09-17 00:00:00.000000000 Z
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/autoprefixer.rb
82
- - lib/middleman/autoprefixer/extension.rb
83
- - lib/middleman/autoprefixer/version.rb
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.7
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: