octopress-autoprefixer 2.0.0 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/octopress-autoprefixer.rb +3 -3
- data/lib/octopress-autoprefixer/version.rb +1 -1
- data/octopress-autoprefixer.gemspec +1 -1
- data/test/_config.yml +6 -1
- data/test/_expected/test.css +6 -1
- data/test/_expected/test2.css +1 -1
- data/test/_expected/utf8.css +1 -1
- data/test/test.css +3 -0
- metadata +7 -8
- data/test/Gemfile +0 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 09d0da086ff6bbbffd566f10c7a67630c6f9a1f8
|
4
|
+
data.tar.gz: 9efee5baac44b10af1ea99bc18ec5fcd0eb0ff22
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d0d6c200ee34e6c5ab03856de6890f3a2762ef2ac7bafaa6ece32ebfb4fe60366341fd59a7deac02fd862d1b3483326ad205164f1c82911fd44e7bb44c204ae1
|
7
|
+
data.tar.gz: ae9fcb00c0b373d380dd8016bb22601e6cb4e72fb96f88822094ea54af962f85590c393317163b817d5a34702df8ab3deb64519ba586eb0b76c1cd141f33066f
|
@@ -16,14 +16,14 @@ module Octopress
|
|
16
16
|
|
17
17
|
def self.process(site)
|
18
18
|
find_stylesheets(site.config['destination']).each do |file|
|
19
|
-
prefix(file)
|
19
|
+
prefix(file, site.config['autoprefixer'] || {})
|
20
20
|
end
|
21
21
|
end
|
22
22
|
|
23
|
-
def self.prefix(stylesheet)
|
23
|
+
def self.prefix(stylesheet, options)
|
24
24
|
content = File.open(stylesheet).read
|
25
25
|
File.open(stylesheet, 'w') do |f|
|
26
|
-
f.write(AutoprefixerRails.process(content))
|
26
|
+
f.write(AutoprefixerRails.process(content, options))
|
27
27
|
end
|
28
28
|
end
|
29
29
|
end
|
@@ -16,7 +16,7 @@ Gem::Specification.new do |gem|
|
|
16
16
|
gem.add_runtime_dependency 'autoprefixer-rails'
|
17
17
|
gem.add_runtime_dependency 'jekyll', '~> 3.0'
|
18
18
|
|
19
|
-
gem.add_development_dependency 'clash'
|
19
|
+
gem.add_development_dependency 'clash', '~> 2.0'
|
20
20
|
gem.add_development_dependency 'rake'
|
21
21
|
gem.add_development_dependency 'bundler', '~> 1.7'
|
22
22
|
|
data/test/_config.yml
CHANGED
data/test/_expected/test.css
CHANGED
data/test/_expected/test2.css
CHANGED
data/test/_expected/utf8.css
CHANGED
data/test/test.css
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: 2.0.
|
4
|
+
version: 2.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: 2017-06-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: autoprefixer-rails
|
@@ -42,16 +42,16 @@ dependencies:
|
|
42
42
|
name: clash
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - "
|
45
|
+
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '0'
|
47
|
+
version: '2.0'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- - "
|
52
|
+
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '0'
|
54
|
+
version: '2.0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: rake
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -98,7 +98,6 @@ files:
|
|
98
98
|
- lib/octopress-autoprefixer/version.rb
|
99
99
|
- octopress-autoprefixer.gemspec
|
100
100
|
- test/.gitignore
|
101
|
-
- test/Gemfile
|
102
101
|
- test/_clash.yml
|
103
102
|
- test/_config.yml
|
104
103
|
- test/_expected/test.css
|
@@ -127,7 +126,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
127
126
|
version: '0'
|
128
127
|
requirements: []
|
129
128
|
rubyforge_project:
|
130
|
-
rubygems_version: 2.
|
129
|
+
rubygems_version: 2.5.1
|
131
130
|
signing_key:
|
132
131
|
specification_version: 4
|
133
132
|
summary: Automatically adds CSS vender prefixes for all CSS and Sass files in any
|
data/test/Gemfile
DELETED