middleman-autoprefixer 0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: bd87e94f6927472934c7945e6546ded6bfd70c1f
4
+ data.tar.gz: 3d89bf50a428c2adaf418f56003ef739bff5dee6
5
+ SHA512:
6
+ metadata.gz: 04fee1f8c90ddd24afc9909592ca3f969c832aef64b11f2922e15e8db838752302ba73e125254b000753f6122ffaa5802600f64615a41917c37fb37e75689afb
7
+ data.tar.gz: da74e233462d93b8fc69013b038af9a0365b01de952bd421d1ee0c7e42526892bd40ec9794070acad8a65a166c9f43f0ddae05b5acb2163cf988f540e3224a5b
data/.gitignore ADDED
@@ -0,0 +1,17 @@
1
+ *.gem
2
+ *.rbc
3
+ .bundle
4
+ .config
5
+ .yardoc
6
+ Gemfile.lock
7
+ InstalledFiles
8
+ _yardoc
9
+ coverage
10
+ doc/
11
+ lib/bundler/man
12
+ pkg
13
+ rdoc
14
+ spec/reports
15
+ test/tmp
16
+ test/version_tmp
17
+ tmp
data/Gemfile ADDED
@@ -0,0 +1,3 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gemspec
data/README.md ADDED
@@ -0,0 +1,33 @@
1
+ # Middleman::Autoprefixer [![Dependency status](https://gemnasium.com/porada/middleman-autoprefixer.png)](https://gemnasium.com/porada/middleman-autoprefixer)
2
+
3
+ > [Autoprefixer](https://github.com/ai/autoprefixer) integration with [Middleman](http://middlemanapp.com/)
4
+
5
+ Automatically add vendor prefixes to CSS rules in the stylesheets served in your Middleman project using values from [Can I Use](http://caniuse.com/).
6
+
7
+ ## Usage
8
+
9
+ ### Installation
10
+
11
+ Add the following line to your `Gemfile`, and then execute `bundle`.
12
+
13
+ ```ruby
14
+ gem 'middleman-autoprefixer'
15
+ ```
16
+
17
+ ### Configuration
18
+
19
+ After installation, simply activate the extension in your project’s `config.rb`:
20
+
21
+ ```ruby
22
+ activate :autoprefixer
23
+ ```
24
+
25
+ *Browser-specific configuration is planned for the future versions of the extension.*
26
+
27
+ ## Credits
28
+
29
+ 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.
30
+
31
+ ## License
32
+
33
+ Middleman Autoprefixer is distributed under the [MIT](http://porada.mit-license.org/) license.
data/Rakefile ADDED
@@ -0,0 +1 @@
1
+ require 'bundler/gem_tasks'
@@ -0,0 +1,6 @@
1
+ require 'middleman/autoprefixer/version'
2
+ require 'middleman/autoprefixer/extension'
3
+
4
+ ::Middleman::Extensions.register(:autoprefixer) do
5
+ ::Middleman::Autoprefixer
6
+ end
@@ -0,0 +1,14 @@
1
+ require 'autoprefixer-rails'
2
+
3
+ module Middleman
4
+ module Autoprefixer
5
+ class << self
6
+ def registered(app, options_hash={}, &block)
7
+ app.after_configuration do
8
+ AutoprefixerRails.install(sprockets)
9
+ end
10
+ end
11
+ alias :included :registered
12
+ end
13
+ end
14
+ end
@@ -0,0 +1,5 @@
1
+ module Middleman
2
+ module Autoprefixer
3
+ VERSION = '0.1'
4
+ end
5
+ end
@@ -0,0 +1 @@
1
+ require 'middleman/autoprefixer'
@@ -0,0 +1,25 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'middleman/autoprefixer/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = 'middleman-autoprefixer'
8
+ spec.version = Middleman::Autoprefixer::VERSION
9
+ spec.authors = ['Dominik Porada']
10
+ spec.email = ['dominik@porada.co']
11
+ spec.summary = 'Autoprefixer integration with Middleman'
12
+ spec.summary = 'Automatically add vendor prefixes to CSS rules in the stylesheets ' +
13
+ 'served in your Middleman project using values from Can I Use.'
14
+ spec.homepage = 'https://github.com/porada/middleman-autoprefixer'
15
+ spec.license = 'MIT'
16
+
17
+ spec.files = `git ls-files`.split($/)
18
+ spec.require_paths = ['lib']
19
+
20
+ spec.add_dependency 'middleman-core'
21
+ spec.add_dependency 'autoprefixer-rails', '~> 0.6'
22
+
23
+ spec.add_development_dependency 'bundler', '~> 1.3'
24
+ spec.add_development_dependency 'rake'
25
+ end
metadata ADDED
@@ -0,0 +1,111 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: middleman-autoprefixer
3
+ version: !ruby/object:Gem::Version
4
+ version: '0.1'
5
+ platform: ruby
6
+ authors:
7
+ - Dominik Porada
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2013-07-20 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: middleman-core
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - '>='
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - '>='
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: autoprefixer-rails
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ~>
32
+ - !ruby/object:Gem::Version
33
+ version: '0.6'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ~>
39
+ - !ruby/object:Gem::Version
40
+ version: '0.6'
41
+ - !ruby/object:Gem::Dependency
42
+ name: bundler
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ~>
46
+ - !ruby/object:Gem::Version
47
+ version: '1.3'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ~>
53
+ - !ruby/object:Gem::Version
54
+ version: '1.3'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rake
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - '>='
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ description:
70
+ email:
71
+ - dominik@porada.co
72
+ executables: []
73
+ extensions: []
74
+ extra_rdoc_files: []
75
+ files:
76
+ - .gitignore
77
+ - Gemfile
78
+ - README.md
79
+ - Rakefile
80
+ - lib/middleman/autoprefixer.rb
81
+ - lib/middleman/autoprefixer/extension.rb
82
+ - lib/middleman/autoprefixer/version.rb
83
+ - lib/middleman_extension.rb
84
+ - middleman-autoprefixer.gemspec
85
+ homepage: https://github.com/porada/middleman-autoprefixer
86
+ licenses:
87
+ - MIT
88
+ metadata: {}
89
+ post_install_message:
90
+ rdoc_options: []
91
+ require_paths:
92
+ - lib
93
+ required_ruby_version: !ruby/object:Gem::Requirement
94
+ requirements:
95
+ - - '>='
96
+ - !ruby/object:Gem::Version
97
+ version: '0'
98
+ required_rubygems_version: !ruby/object:Gem::Requirement
99
+ requirements:
100
+ - - '>='
101
+ - !ruby/object:Gem::Version
102
+ version: '0'
103
+ requirements: []
104
+ rubyforge_project:
105
+ rubygems_version: 2.0.5
106
+ signing_key:
107
+ specification_version: 4
108
+ summary: Automatically add vendor prefixes to CSS rules in the stylesheets served
109
+ in your Middleman project using values from Can I Use.
110
+ test_files: []
111
+ has_rdoc: