autoprefixer-rails 0.5.20130626 → 0.5.20130629

Sign up to get free protection for your applications and to get access to all the features.
data/ChangeLog CHANGED
@@ -21,9 +21,13 @@
21
21
  * Add support for sass-rails 4 final.
22
22
 
23
23
  20130626:
24
- * Add Firefox 24 data.q
24
+ * Add Firefox 24 data.
25
25
  * Add prefixes for font-feature-settings.
26
26
 
27
+ 20130629:
28
+ * Fix convert flex properties to old box-flex.
29
+ * Fix Sinatra (sprockets-sass) suuport.
30
+
27
31
  == 0.4 (Winter Is Coming)
28
32
  * Remove outdated prefixes.
29
33
  * Add border-radius and box-shadow properties to database.
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- autoprefixer-rails (0.5.20130626)
4
+ autoprefixer-rails (0.5.20130629)
5
5
  execjs
6
6
 
7
7
  GEM
@@ -32,7 +32,7 @@ GEM
32
32
  thread_safe (~> 0.1)
33
33
  tzinfo (~> 0.3.37)
34
34
  arel (4.0.0)
35
- atomic (1.1.9)
35
+ atomic (1.1.10)
36
36
  builder (3.1.4)
37
37
  diff-lcs (1.2.4)
38
38
  erubis (2.7.0)
@@ -32,7 +32,7 @@ module AutoprefixerRails
32
32
  # whitelist of `dirs` to be autoprefxied.
33
33
  def self.install(assets, browsers = nil)
34
34
  assets.register_postprocessor 'text/css', :autoprefixer do |context, css|
35
- if defined?(Sass::Rails)
35
+ if defined?(Sass::Rails) or defined?(Sprockets::Sass)
36
36
  begin
37
37
  AutoprefixerRails.compile(css, browsers)
38
38
  rescue ExecJS::ProgramError => e
@@ -1,3 +1,3 @@
1
1
  module AutoprefixerRails
2
- VERSION = '0.5.20130626'.freeze unless defined? AutoprefixerRails::VERSION
2
+ VERSION = '0.5.20130629'.freeze unless defined? AutoprefixerRails::VERSION
3
3
  end
@@ -2552,10 +2552,11 @@ require.register("autoprefixer/lib/autoprefixer/hacks/flex.js", function(exports
2552
2552
  }
2553
2553
 
2554
2554
  Flex.prototype.prefixProp = function(prefix) {
2555
- var spec;
2555
+ var first, spec;
2556
2556
  spec = this.flexSpec(prefix);
2557
2557
  if (spec.v2009) {
2558
- this.insertBefore(prefix + 'box-flex', this.value);
2558
+ first = this.value.split(' ')[0];
2559
+ this.insertBefore(prefix + 'box-flex', first);
2559
2560
  }
2560
2561
  if (spec.v2012) {
2561
2562
  Flex.__super__.prefixProp.apply(this, arguments);
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: autoprefixer-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.20130626
4
+ version: 0.5.20130629
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-06-26 00:00:00.000000000 Z
12
+ date: 2013-06-29 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: execjs
@@ -83,7 +83,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
83
83
  version: '0'
84
84
  segments:
85
85
  - 0
86
- hash: 1652501847534442126
86
+ hash: -1703537487886589688
87
87
  required_rubygems_version: !ruby/object:Gem::Requirement
88
88
  none: false
89
89
  requirements:
@@ -92,7 +92,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
92
92
  version: '0'
93
93
  segments:
94
94
  - 0
95
- hash: 1652501847534442126
95
+ hash: -1703537487886589688
96
96
  requirements: []
97
97
  rubyforge_project:
98
98
  rubygems_version: 1.8.23