autoprefixer-rails 0.4.20130515 → 0.4.20130521

Sign up to get free protection for your applications and to get access to all the features.
data/ChangeLog CHANGED
@@ -8,6 +8,10 @@
8
8
  * Add old syntax for display: flex.
9
9
  * Update browser global usage statistics.
10
10
 
11
+ 20130521:
12
+ * Add Firefox 23 data.
13
+ * Update css-parse to fix @-moz-document issue.
14
+
11
15
  == 0.3 (Growing Strong)
12
16
  * Use own filters instead of Rework’s `prefix` and `prefixValue`.
13
17
  * Smarter value prefixer without false match “order” in “border”.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- autoprefixer-rails (0.4.20130515)
4
+ autoprefixer-rails (0.4.20130521)
5
5
  execjs
6
6
 
7
7
  GEM
@@ -76,12 +76,12 @@ GEM
76
76
  rake (10.0.4)
77
77
  rdoc (3.12.2)
78
78
  json (~> 1.4)
79
- ref (1.0.4)
79
+ ref (1.0.5)
80
80
  rspec-core (2.13.1)
81
81
  rspec-expectations (2.13.0)
82
82
  diff-lcs (>= 1.1.3, < 2.0)
83
83
  rspec-mocks (2.13.1)
84
- rspec-rails (2.13.1)
84
+ rspec-rails (2.13.2)
85
85
  actionpack (>= 3.0)
86
86
  activesupport (>= 3.0)
87
87
  railties (>= 3.0)
@@ -1,3 +1,3 @@
1
1
  module AutoprefixerRails
2
- VERSION = '0.4.20130515'.freeze unless defined? AutoprefixerRails::VERSION
2
+ VERSION = '0.4.20130521'.freeze unless defined? AutoprefixerRails::VERSION
3
3
  end
@@ -348,7 +348,7 @@ module.exports = function(css){
348
348
  * Parse keyframes.
349
349
  */
350
350
 
351
- function keyframes() {
351
+ function atkeyframes() {
352
352
  var m = match(/^@([-\w]+)?keyframes */);
353
353
  if (!m) return;
354
354
  var vendor = m[1];
@@ -381,7 +381,7 @@ module.exports = function(css){
381
381
  * Parse supports.
382
382
  */
383
383
 
384
- function supports() {
384
+ function atsupports() {
385
385
  var m = match(/^@supports *([^{]+)/);
386
386
  if (!m) return;
387
387
  var supports = m[1].trim();
@@ -400,7 +400,7 @@ module.exports = function(css){
400
400
  * Parse media.
401
401
  */
402
402
 
403
- function media() {
403
+ function atmedia() {
404
404
  var m = match(/^@media *([^{]+)/);
405
405
  if (!m) return;
406
406
  var media = m[1].trim();
@@ -445,6 +445,30 @@ module.exports = function(css){
445
445
  };
446
446
  }
447
447
 
448
+ /**
449
+ * Parse document.
450
+ */
451
+
452
+ function atdocument() {
453
+ var m = match(/^@([-\w]+)?document *([^{]+)/);
454
+ if (!m) return;
455
+ var vendor = m[1].trim();
456
+ var doc = m[2].trim();
457
+
458
+ if (!open()) return;
459
+ comments();
460
+
461
+ var style = rules();
462
+
463
+ if (!close()) return;
464
+
465
+ return {
466
+ document: doc,
467
+ vendor: vendor,
468
+ rules: style
469
+ };
470
+ }
471
+
448
472
  /**
449
473
  * Parse margin at-rules
450
474
  */
@@ -522,12 +546,13 @@ module.exports = function(css){
522
546
  */
523
547
 
524
548
  function atrule() {
525
- return keyframes()
526
- || media()
527
- || supports()
549
+ return atkeyframes()
550
+ || atmedia()
551
+ || atsupports()
528
552
  || atimport()
529
553
  || atcharset()
530
554
  || atnamespace()
555
+ || atdocument()
531
556
  || atpage();
532
557
  }
533
558
 
@@ -2371,6 +2396,7 @@ module.exports = {
2371
2396
  ff: {
2372
2397
  prefix: "-moz-",
2373
2398
  versions: [
2399
+ 21,
2374
2400
  20,
2375
2401
  19,
2376
2402
  18,
@@ -2394,10 +2420,11 @@ module.exports = {
2394
2420
  2
2395
2421
  ],
2396
2422
  future: [
2397
- 22,
2398
- 21
2423
+ 23,
2424
+ 22
2399
2425
  ],
2400
2426
  popularity: [
2427
+ 0.30996,
2401
2428
  8.15367,
2402
2429
  4.66662,
2403
2430
  0.3444,
@@ -4024,6 +4051,7 @@ module.exports = {
4024
4051
  "ff 20",
4025
4052
  "ff 21",
4026
4053
  "ff 22",
4054
+ "ff 23",
4027
4055
  "ff 3.5",
4028
4056
  "ff 3.6",
4029
4057
  "chrome 4",
@@ -4066,6 +4094,7 @@ module.exports = {
4066
4094
  "ff 20",
4067
4095
  "ff 21",
4068
4096
  "ff 22",
4097
+ "ff 23",
4069
4098
  "ff 3.5",
4070
4099
  "ff 3.6",
4071
4100
  "chrome 4",
@@ -4133,6 +4162,7 @@ module.exports = {
4133
4162
  "ff 20",
4134
4163
  "ff 21",
4135
4164
  "ff 22",
4165
+ "ff 23",
4136
4166
  "ff 3.5",
4137
4167
  "ff 3.6",
4138
4168
  "chrome 4",
@@ -4200,6 +4230,7 @@ module.exports = {
4200
4230
  "ff 20",
4201
4231
  "ff 21",
4202
4232
  "ff 22",
4233
+ "ff 23",
4203
4234
  "ff 3.5",
4204
4235
  "ff 3.6",
4205
4236
  "chrome 4",
@@ -4267,6 +4298,7 @@ module.exports = {
4267
4298
  "ff 20",
4268
4299
  "ff 21",
4269
4300
  "ff 22",
4301
+ "ff 23",
4270
4302
  "ff 3.5",
4271
4303
  "ff 3.6",
4272
4304
  "chrome 4",
@@ -4334,6 +4366,7 @@ module.exports = {
4334
4366
  "ff 20",
4335
4367
  "ff 21",
4336
4368
  "ff 22",
4369
+ "ff 23",
4337
4370
  "ff 3.5",
4338
4371
  "ff 3.6",
4339
4372
  "chrome 4",
@@ -4401,6 +4434,7 @@ module.exports = {
4401
4434
  "ff 20",
4402
4435
  "ff 21",
4403
4436
  "ff 22",
4437
+ "ff 23",
4404
4438
  "ff 3.5",
4405
4439
  "ff 3.6",
4406
4440
  "chrome 4",
@@ -4468,6 +4502,7 @@ module.exports = {
4468
4502
  "ff 20",
4469
4503
  "ff 21",
4470
4504
  "ff 22",
4505
+ "ff 23",
4471
4506
  "ff 3.5",
4472
4507
  "ff 3.6",
4473
4508
  "chrome 4",
@@ -4535,6 +4570,7 @@ module.exports = {
4535
4570
  "ff 20",
4536
4571
  "ff 21",
4537
4572
  "ff 22",
4573
+ "ff 23",
4538
4574
  "ff 3.5",
4539
4575
  "ff 3.6",
4540
4576
  "chrome 4",
@@ -4602,6 +4638,7 @@ module.exports = {
4602
4638
  "ff 20",
4603
4639
  "ff 21",
4604
4640
  "ff 22",
4641
+ "ff 23",
4605
4642
  "ff 3.5",
4606
4643
  "ff 3.6",
4607
4644
  "chrome 4",
@@ -4669,6 +4706,7 @@ module.exports = {
4669
4706
  "ff 20",
4670
4707
  "ff 21",
4671
4708
  "ff 22",
4709
+ "ff 23",
4672
4710
  "ff 3.5",
4673
4711
  "ff 3.6",
4674
4712
  "chrome 4",
@@ -4736,6 +4774,7 @@ module.exports = {
4736
4774
  "ff 20",
4737
4775
  "ff 21",
4738
4776
  "ff 22",
4777
+ "ff 23",
4739
4778
  "ff 3.5",
4740
4779
  "ff 3.6",
4741
4780
  "chrome 4",
@@ -4803,6 +4842,7 @@ module.exports = {
4803
4842
  "ff 20",
4804
4843
  "ff 21",
4805
4844
  "ff 22",
4845
+ "ff 23",
4806
4846
  "ff 3.5",
4807
4847
  "ff 3.6",
4808
4848
  "chrome 4",
@@ -4870,6 +4910,7 @@ module.exports = {
4870
4910
  "ff 20",
4871
4911
  "ff 21",
4872
4912
  "ff 22",
4913
+ "ff 23",
4873
4914
  "ff 3.5",
4874
4915
  "ff 3.6",
4875
4916
  "chrome 4",
@@ -6188,6 +6229,7 @@ module.exports = {
6188
6229
  "ff 20",
6189
6230
  "ff 21",
6190
6231
  "ff 22",
6232
+ "ff 23",
6191
6233
  "ff 3.5",
6192
6234
  "ff 3.6",
6193
6235
  "chrome 6",
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.4.20130515
4
+ version: 0.4.20130521
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-05-15 00:00:00.000000000 Z
12
+ date: 2013-05-21 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: execjs
@@ -82,7 +82,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
82
82
  version: '0'
83
83
  segments:
84
84
  - 0
85
- hash: -3533190871297258708
85
+ hash: 628132571511562849
86
86
  required_rubygems_version: !ruby/object:Gem::Requirement
87
87
  none: false
88
88
  requirements:
@@ -91,7 +91,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
91
91
  version: '0'
92
92
  segments:
93
93
  - 0
94
- hash: -3533190871297258708
94
+ hash: 628132571511562849
95
95
  requirements: []
96
96
  rubyforge_project:
97
97
  rubygems_version: 1.8.23