autoprefixer-rails 0.8.20130903 → 0.8.20130906

Sign up to get free protection for your applications and to get access to all the features.
data/ChangeLog CHANGED
@@ -15,6 +15,10 @@
15
15
  * Fix old WebKit gradients convertor on rgba() colors.
16
16
  * Allow to write old direction syntax in gradients.
17
17
 
18
+ 20130906:
19
+ * Fix direction syntax in radial gradients.
20
+ * Don’t prefix IE filter with modern syntax.
21
+
18
22
  == 0.7 (We Do Not Sow)
19
23
  * Add vendor prefixes to selectors.
20
24
  * Add ::selection and ::placeholder selectors support.
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- autoprefixer-rails (0.8.20130903)
4
+ autoprefixer-rails (0.8.20130906)
5
5
  execjs
6
6
 
7
7
  GEM
@@ -1,3 +1,3 @@
1
1
  module AutoprefixerRails
2
- VERSION = '0.8.20130903'.freeze unless defined? AutoprefixerRails::VERSION
2
+ VERSION = '0.8.20130906'.freeze unless defined? AutoprefixerRails::VERSION
3
3
  end
@@ -2459,7 +2459,7 @@ require.register("autoprefixer/lib/autoprefixer/hacks/filter.js", function(expor
2459
2459
 
2460
2460
  function Filter() {
2461
2461
  Filter.__super__.constructor.apply(this, arguments);
2462
- if (this.value.indexOf('DXImageTransform.Microsoft') !== -1) {
2462
+ if (this.value.indexOf('DXImageTransform.Microsoft') !== -1 || this.value.indexOf('alpha(') !== -1) {
2463
2463
  this.unprefixed = this.prop = '-ms-filter';
2464
2464
  }
2465
2465
  }
@@ -2876,6 +2876,8 @@ require.register("autoprefixer/lib/autoprefixer/hacks/gradient.js", function(exp
2876
2876
  params[0] = _this.fixDirection(params[0]);
2877
2877
  } else if (params[0].indexOf('deg') !== -1) {
2878
2878
  params[0] = _this.fixAngle(params[0]);
2879
+ } else if (params[0].indexOf(' at ') !== -1) {
2880
+ _this.fixRadial(params);
2879
2881
  }
2880
2882
  }
2881
2883
  return before + prefix + _this.name + '(' + params.join(', ') + ')';
@@ -2973,6 +2975,12 @@ require.register("autoprefixer/lib/autoprefixer/hacks/gradient.js", function(exp
2973
2975
  return "" + param + "deg";
2974
2976
  };
2975
2977
 
2978
+ Gradient.prototype.fixRadial = function(params) {
2979
+ var first;
2980
+ first = params[0].split(/\s+at\s+/);
2981
+ return params.splice(0, 1, first[1], first[0]);
2982
+ };
2983
+
2976
2984
  Gradient.prototype.oldDirection = function(params) {
2977
2985
  var direction;
2978
2986
  if (params.length === 0) {
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.8.20130903
4
+ version: 0.8.20130906
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-09-03 00:00:00.000000000 Z
12
+ date: 2013-09-06 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: execjs
@@ -84,7 +84,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
84
84
  version: '0'
85
85
  segments:
86
86
  - 0
87
- hash: -3100066590030577154
87
+ hash: -1426671435859909895
88
88
  required_rubygems_version: !ruby/object:Gem::Requirement
89
89
  none: false
90
90
  requirements:
@@ -93,7 +93,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
93
93
  version: '0'
94
94
  segments:
95
95
  - 0
96
- hash: -3100066590030577154
96
+ hash: -1426671435859909895
97
97
  requirements: []
98
98
  rubyforge_project:
99
99
  rubygems_version: 1.8.23