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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 367b798e5df8a0626bd94dab43ce0f5ba9e88126
4
- data.tar.gz: 58da90f53658ce79fdda794d667c912a12092420
3
+ metadata.gz: 09d0da086ff6bbbffd566f10c7a67630c6f9a1f8
4
+ data.tar.gz: 9efee5baac44b10af1ea99bc18ec5fcd0eb0ff22
5
5
  SHA512:
6
- metadata.gz: 312b9d5bf6c7a1e72881e0292eb7f5776318b44511198e93acfcfab99299a1fbcb0c41a8e0d1dc631aab19a027321cf4cb64df397e76f8c7abbc22756fc455f4
7
- data.tar.gz: 4b66a532d8390865d5ec87d698647585e4d87ac8a851986ebdcbca21476efd66932ad694271b39836a838b79e027e6f4fb77a3a8631b0851992b63a37ee3931c
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
@@ -1,5 +1,5 @@
1
1
  module Octopress
2
2
  class Autoprefixer
3
- VERSION = "2.0.0"
3
+ VERSION = "2.0.1"
4
4
  end
5
5
  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
 
@@ -1,7 +1,12 @@
1
1
  name: Your New Jekyll Site
2
2
  markdown: redcarpet
3
3
  timezone: UTC
4
- gems:
4
+ plugins:
5
5
  - octopress-autoprefixer
6
6
  exclude:
7
7
  - Gemfile*
8
+ autoprefixer:
9
+ flexbox: no-2009
10
+ remove: false
11
+ browsers:
12
+ - "last 2 versions"
@@ -1,3 +1,8 @@
1
1
  body {
2
- box-shadow: #ec0 0px 0px 3px inset;
2
+ -webkit-box-shadow: #ec0 0px 0px 3px inset;
3
+ box-shadow: #ec0 0px 0px 3px inset;
4
+ }
5
+ div {
6
+ display: -ms-flexbox;
7
+ display: flex;
3
8
  }
@@ -1,3 +1,3 @@
1
1
  body article {
2
- background-image: -webkit-linear-gradient(#cba, #abc);
2
+ background-image: -webkit-gradient(linear, left top, left bottom, from(#cba), to(#abc));
3
3
  background-image: linear-gradient(#cba, #abc); }
@@ -1,6 +1,6 @@
1
1
  @charset "UTF-8";
2
2
  h2 {
3
- background: -webkit-linear-gradient(#fff, #ccc);
3
+ background: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#ccc));
4
4
  background: linear-gradient(#fff, #ccc); }
5
5
  h2:before {
6
6
  content: "§"; }
@@ -1,3 +1,6 @@
1
1
  body {
2
2
  box-shadow: #ec0 0px 0px 3px inset;
3
3
  }
4
+ div {
5
+ display: flex;
6
+ }
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.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: 2015-12-09 00:00:00.000000000 Z
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.4.5
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
@@ -1,3 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- gemspec :path => '/gemspec/path', :path => '../'