autoprefixer-rails 1.1.20140218 → 1.1.20140222

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: d6b8c2d1c98f08ffae83aa569ad72e413c35990a
4
- data.tar.gz: 79ff2b2e77318a3f532e34e3591ad815f76ae255
3
+ metadata.gz: 92e7537a11b6e0f7d4c8057e849f2e79417a2b5f
4
+ data.tar.gz: 969ae9ffe962e847746dca69d4ec4f35c86c0c6f
5
5
  SHA512:
6
- metadata.gz: c4b3a7c25c389cea4d91bdfb05eed960d67287b6db476c983b7ac55b3a490b3446b00c7bb431b6e530ed78ec964e51c2cc1f4dfedfb919773593963dc59a2204
7
- data.tar.gz: 6f0ff25e0c1a30bb0ec72ad6198fc765fc020b8d5bce954bf9d7a53e7b9d6d382849066c4c6ee13a10b4a62621bea14caca178012a748d340023a23de0838e4f
6
+ metadata.gz: ad438fdf2308b6e4f5e179df9c76d8912864c82165f079ed4b01762099964a84c4b0d3dcf81f6797ad084b28dd00c9e56dc28e40d7cd603e175b4666059aa296
7
+ data.tar.gz: 976dabe2c91b5625457ff30dc724970c3a20fe52e7179b463a3e14d4d8079da22d0064b7541978ce2d58f1b275738c607d3f210c272392d0a04cf1a9c08d1c51
data/ChangeLog.md CHANGED
@@ -4,11 +4,15 @@
4
4
  * Autodetect previous inline source map.
5
5
  * Fix source maps support on Windows.
6
6
  * Fix source maps support in subdirectory.
7
+ * Prefix selector even if it is already prefixed by developer.
7
8
  * Change CSS indentation to create nice visual cascade of prefixes.
8
9
  * Fix flexbox support for IE 10 (by Roland Warmerdam).
9
10
  * Better `break-inside` support.
10
11
  * Fix prefixing, when two same properties are near.
11
12
 
13
+ ### 20140222:
14
+ * Add `touch-action` support.
15
+
12
16
  ## 1.0 “Plus ultra”
13
17
  * Source map support.
14
18
  * Save origin indents and code formatting.
@@ -58,7 +62,7 @@
58
62
  * Add Opera 21 data.
59
63
  * Update browsers usage statistics.
60
64
 
61
- ### 20140213
65
+ ### 20140213:
62
66
  * Add case insensitive to IE’s filter hack (by Dominik Schilling).
63
67
  * Improve selector prefixing in some rare cases (by Simon Lydell).
64
68
  * Firefox 27 is moved to released versions.
@@ -1,3 +1,3 @@
1
1
  module AutoprefixerRails
2
- VERSION = '1.1.20140218'.freeze unless defined? AutoprefixerRails::VERSION
2
+ VERSION = '1.1.20140222'.freeze unless defined? AutoprefixerRails::VERSION
3
3
  end
@@ -317,6 +317,9 @@
317
317
  "tab-size": {
318
318
  browsers: ["ff 4", "ff 5", "ff 6", "ff 7", "ff 8", "ff 9", "ff 10", "ff 11", "ff 12", "ff 13", "ff 14", "ff 15", "ff 16", "ff 17", "ff 18", "ff 19", "ff 20", "ff 21", "ff 22", "ff 23", "ff 24", "ff 25", "ff 26", "ff 27", "ff 28", "ff 29", "ff 30", "opera 10.6", "opera 11", "opera 11.1", "opera 11.5", "opera 11.6", "opera 12", "opera 12.1"]
319
319
  },
320
+ "touch-action": {
321
+ browsers: ["ie 10"]
322
+ },
320
323
  transform: {
321
324
  browsers: ["android 2.1", "android 2.2", "android 2.3", "android 3", "android 4", "android 4.1", "android 4.2", "android 4.3", "android 4.4", "bb 7", "bb 10", "chrome 4", "chrome 5", "chrome 6", "chrome 7", "chrome 8", "chrome 9", "chrome 10", "chrome 11", "chrome 12", "chrome 13", "chrome 14", "chrome 15", "chrome 16", "chrome 17", "chrome 18", "chrome 19", "chrome 20", "chrome 21", "chrome 22", "chrome 23", "chrome 24", "chrome 25", "chrome 26", "chrome 27", "chrome 28", "chrome 29", "chrome 30", "chrome 31", "chrome 32", "chrome 33", "chrome 34", "chrome 35", "ff 3.5", "ff 3.6", "ff 4", "ff 5", "ff 6", "ff 7", "ff 8", "ff 9", "ff 10", "ff 11", "ff 12", "ff 13", "ff 14", "ff 15", "ie 9", "ios 3.2", "ios 4", "ios 4.1", "ios 4.2", "ios 4.3", "ios 5", "ios 5.1", "ios 6", "ios 6.1", "ios 7", "opera 10.5", "opera 10.6", "opera 11", "opera 11.1", "opera 11.5", "opera 11.6", "opera 12", "opera 15", "opera 16", "opera 17", "opera 18", "opera 19", "opera 20", "opera 21", "safari 3.1", "safari 3.2", "safari 4", "safari 5", "safari 5.1", "safari 6", "safari 6.1", "safari 7"],
322
325
  transition: true
@@ -4075,11 +4078,11 @@ var substr = 'ab'.substr(-1) === 'b'
4075
4078
 
4076
4079
  },{}],49:[function(_dereq_,module,exports){
4077
4080
  (function() {
4078
- var MapGenerator, Result, base64, fs, lazy, mozilla, path;
4081
+ var MapGenerator, Result, base64js, fs, lazy, mozilla, path;
4079
4082
 
4080
- mozilla = _dereq_('source-map');
4083
+ base64js = _dereq_('base64-js');
4081
4084
 
4082
- base64 = _dereq_('base64-js');
4085
+ mozilla = _dereq_('source-map');
4083
4086
 
4084
4087
  Result = _dereq_('./result');
4085
4088
 
@@ -4123,24 +4126,12 @@ var substr = 'ab'.substr(-1) === 'b'
4123
4126
  });
4124
4127
 
4125
4128
  lazy(MapGenerator, 'prevMap', function() {
4126
- var byte, bytes, file, map, start, text;
4129
+ var file, map;
4127
4130
  if (this.opts.map && typeof this.opts.map !== 'boolean') {
4128
4131
  return this.opts.map;
4129
4132
  }
4130
4133
  if (this.isPrevInline()) {
4131
- start = '# sourceMappingURL=data:application/json;base64,';
4132
- text = this.prevAnnotation().text;
4133
- text = text.slice(start.length);
4134
- bytes = base64.toByteArray(text);
4135
- return ((function() {
4136
- var _i, _len, _results;
4137
- _results = [];
4138
- for (_i = 0, _len = bytes.length; _i < _len; _i++) {
4139
- byte = bytes[_i];
4140
- _results.push(String.fromCharCode(byte));
4141
- }
4142
- return _results;
4143
- })()).join('');
4134
+ return this.encodeInline(this.prevAnnotation().text);
4144
4135
  } else if (this.opts.from) {
4145
4136
  map = this.opts.from + '.map';
4146
4137
  if (this.prevAnnotation()) {
@@ -4168,6 +4159,29 @@ var substr = 'ab'.substr(-1) === 'b'
4168
4159
  }
4169
4160
  });
4170
4161
 
4162
+ MapGenerator.prototype.encodeInline = function(text) {
4163
+ var base64, byte, bytes, uri;
4164
+ uri = '# sourceMappingURL=data:application/json,';
4165
+ base64 = '# sourceMappingURL=data:application/json;base64,';
4166
+ if (this.startWith(text, uri)) {
4167
+ return decodeURIComponent(text.slice(uri.length));
4168
+ } else if (this.startWith(text, base64)) {
4169
+ text = text.slice(base64.length);
4170
+ bytes = base64js.toByteArray(text);
4171
+ return ((function() {
4172
+ var _i, _len, _results;
4173
+ _results = [];
4174
+ for (_i = 0, _len = bytes.length; _i < _len; _i++) {
4175
+ byte = bytes[_i];
4176
+ _results.push(String.fromCharCode(byte));
4177
+ }
4178
+ return _results;
4179
+ })()).join('');
4180
+ } else {
4181
+ throw new Error('Unknown source map encoding');
4182
+ }
4183
+ };
4184
+
4171
4185
  MapGenerator.prototype.clearAnnotation = function() {
4172
4186
  var _ref;
4173
4187
  return (_ref = this.prevAnnotation()) != null ? _ref.removeSelf() : void 0;
@@ -4211,7 +4225,7 @@ var substr = 'ab'.substr(-1) === 'b'
4211
4225
  _results.push(char.charCodeAt(0));
4212
4226
  }
4213
4227
  return _results;
4214
- }).call(this), "data:application/json;base64," + base64.fromByteArray(bytes)) : this.outputFile() + '.map';
4228
+ }).call(this), "data:application/json;base64," + base64js.fromByteArray(bytes)) : this.outputFile() + '.map';
4215
4229
  return this.css += "\n/*# sourceMappingURL=" + content + " */";
4216
4230
  };
4217
4231
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: autoprefixer-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.20140218
4
+ version: 1.1.20140222
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrey Sitnik
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-02-18 00:00:00.000000000 Z
11
+ date: 2014-02-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: execjs