octopress-autoprefixer 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +0 -1
- data/CHANGELOG.md +8 -0
- data/README.md +1 -1
- data/lib/octopress-autoprefixer.rb +11 -4
- data/lib/octopress-autoprefixer/version.rb +1 -1
- data/octopress-autoprefixer.gemspec +4 -4
- data/test/.jekyll-metadata +4 -0
- data/test/{.clash.yml → _clash.yml} +0 -0
- data/test/_expected/test.css +1 -2
- data/test/_expected/test2.css +2 -3
- data/test/test.css +1 -1
- data/test/test2.scss +1 -1
- metadata +28 -13
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6fce45efff3adba88626364d86305ac73dc99926
|
4
|
+
data.tar.gz: 3ce4a4583c00048b083475a9d83c75d6c1ef635c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4f2213beb217d2c6ed07f2001d6c9b820580c99ebf1cd94860bb7ff707cbd4be46d6a59475e8ddb976d3750ec703465371d4f434a2577ab6568699b0a3f4d0cf
|
7
|
+
data.tar.gz: b53c54fa28b63d55d2d7a3f5c52ea2368d8d1921da98760e6bfcb5b2e0f62a30e63c1c2be4c36543bd2bb30978e4f670bdfab4860aa8f27e9442133ee3b8691a
|
data/.travis.yml
CHANGED
data/CHANGELOG.md
ADDED
data/README.md
CHANGED
@@ -1,16 +1,23 @@
|
|
1
|
-
require 'octopress-hooks'
|
2
1
|
require 'octopress-autoprefixer/version'
|
3
2
|
require 'autoprefixer-rails'
|
4
3
|
require 'find'
|
5
4
|
|
6
5
|
module Octopress
|
7
6
|
module AutoPrefixer
|
8
|
-
class SiteHooks < Hooks::Site
|
9
|
-
@priority = :low
|
10
7
|
|
11
|
-
|
8
|
+
if defined?(Jekyll::Hooks)
|
9
|
+
Jekyll::Hooks.register :site, :post_write, priority: :low do |site|
|
12
10
|
AutoPrefixer.process(site)
|
13
11
|
end
|
12
|
+
else
|
13
|
+
require 'octopress-hooks'
|
14
|
+
class SiteHooks < Hooks::Site
|
15
|
+
@priority = :low
|
16
|
+
|
17
|
+
def post_write(site)
|
18
|
+
AutoPrefixer.process(site)
|
19
|
+
end
|
20
|
+
end
|
14
21
|
end
|
15
22
|
|
16
23
|
def self.find_stylesheets(dir)
|
@@ -8,17 +8,17 @@ Gem::Specification.new do |gem|
|
|
8
8
|
gem.version = Octopress::Autoprefixer::VERSION
|
9
9
|
gem.authors = ["Brandon Mathis"]
|
10
10
|
gem.email = ["brandon@imathis.com"]
|
11
|
-
gem.description = %q{Automatically adds CSS vender prefixes for all CSS and Sass files in any Jekyll blog}
|
12
11
|
gem.summary = %q{Automatically adds CSS vender prefixes for all CSS and Sass files in any Jekyll blog}
|
13
12
|
gem.homepage = "https://github.com/octopress/autoprefixer"
|
14
13
|
gem.license = "MIT"
|
15
14
|
|
16
15
|
gem.add_runtime_dependency 'octopress-hooks', '~> 2.0'
|
17
16
|
gem.add_runtime_dependency "autoprefixer-rails", "~> 2.2"
|
18
|
-
gem.add_runtime_dependency 'jekyll', '
|
17
|
+
gem.add_runtime_dependency 'jekyll', '>= 2.0'
|
19
18
|
|
20
|
-
gem.add_development_dependency 'clash'
|
21
|
-
gem.add_development_dependency '
|
19
|
+
gem.add_development_dependency 'clash'
|
20
|
+
gem.add_development_dependency 'rake'
|
21
|
+
gem.add_development_dependency 'bundler', "~> 1.7"
|
22
22
|
|
23
23
|
gem.files = `git ls-files`.split($/)
|
24
24
|
gem.require_paths = ["lib"]
|
File without changes
|
data/test/_expected/test.css
CHANGED
data/test/_expected/test2.css
CHANGED
@@ -1,4 +1,3 @@
|
|
1
1
|
body article {
|
2
|
-
background-image: -webkit-gradient(
|
3
|
-
background-image:
|
4
|
-
background-image: linear-gradient(white, #eeeeee); }
|
2
|
+
background-image: -webkit-linear-gradient(#cba, #abc);
|
3
|
+
background-image: linear-gradient(#cba, #abc); }
|
data/test/test.css
CHANGED
data/test/test2.scss
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: octopress-autoprefixer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brandon Mathis
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-05-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: octopress-hooks
|
@@ -42,32 +42,32 @@ dependencies:
|
|
42
42
|
name: jekyll
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - "
|
45
|
+
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: '2.0'
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- - "
|
52
|
+
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '2.0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: clash
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- - "
|
59
|
+
- - ">="
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '
|
61
|
+
version: '0'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- - "
|
66
|
+
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: '
|
68
|
+
version: '0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
|
-
name:
|
70
|
+
name: rake
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
73
|
- - ">="
|
@@ -80,8 +80,21 @@ dependencies:
|
|
80
80
|
- - ">="
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0'
|
83
|
-
|
84
|
-
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: bundler
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '1.7'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '1.7'
|
97
|
+
description:
|
85
98
|
email:
|
86
99
|
- brandon@imathis.com
|
87
100
|
executables: []
|
@@ -90,6 +103,7 @@ extra_rdoc_files: []
|
|
90
103
|
files:
|
91
104
|
- ".gitignore"
|
92
105
|
- ".travis.yml"
|
106
|
+
- CHANGELOG.md
|
93
107
|
- Gemfile
|
94
108
|
- LICENSE.txt
|
95
109
|
- README.md
|
@@ -97,9 +111,10 @@ files:
|
|
97
111
|
- lib/octopress-autoprefixer.rb
|
98
112
|
- lib/octopress-autoprefixer/version.rb
|
99
113
|
- octopress-autoprefixer.gemspec
|
100
|
-
- test/.clash.yml
|
101
114
|
- test/.gitignore
|
115
|
+
- test/.jekyll-metadata
|
102
116
|
- test/Gemfile
|
117
|
+
- test/_clash.yml
|
103
118
|
- test/_config.yml
|
104
119
|
- test/_expected/test.css
|
105
120
|
- test/_expected/test2.css
|
@@ -125,7 +140,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
125
140
|
version: '0'
|
126
141
|
requirements: []
|
127
142
|
rubyforge_project:
|
128
|
-
rubygems_version: 2.
|
143
|
+
rubygems_version: 2.4.6
|
129
144
|
signing_key:
|
130
145
|
specification_version: 4
|
131
146
|
summary: Automatically adds CSS vender prefixes for all CSS and Sass files in any
|