autoprefixer-rails 6.4.0 → 6.4.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: ee1be771723f65e797eafc1c6e454de136bee56e
4
- data.tar.gz: 33b3a4acf5272a58dc4ba75107ad429139980cb1
3
+ metadata.gz: 92670d201a73ca41dd059c9254fd012093a5e9df
4
+ data.tar.gz: b8b433493fd1a83a5f93fd28e737ae659915e3b1
5
5
  SHA512:
6
- metadata.gz: fbc06115beeec2f7a5c8ad060a8551aa1efaf3ab7d91bfd570035e1175e2a80f339dd1cde882bf392deb7c84e3b2a241dcd262ae72e4285cc41e51e5daec2324
7
- data.tar.gz: d9ba8c85a4989385e22c49a10aa7e92ecf2ada05760506d329117912fd83a97cd8e7c933217ce52a48141033d3e8cf0d8d3c5e32f8f673f9190c6f00e28ead09
6
+ metadata.gz: e9b723267a2e90029862f8c36380d825bd69c05aa6a10a56d562157296bdc899bd666c21defc36ea526f4018a94317d5d6ee34da3140ac8e750a64f75b141bc1
7
+ data.tar.gz: 062af98f9f44e63c588eef2b6d38f97af4b2f7dba90212853c282a534f283ceb318c220935f4ec5d68eb14c7adcbfdfccf05b60d097a8f8948a0c114255d19b4
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ ## 6.4.0.1
2
+ * Fix Sprockets 3 support (by Eda Riedl).
3
+
1
4
  ## 6.4 “Hic et ubique terrarum”
2
5
  * Add `:any-link` selector support.
3
6
  * Add `text-decoration-skip` support.
@@ -14,11 +14,6 @@ module AutoprefixerRails
14
14
  run(filename, source)
15
15
  end
16
16
 
17
- # Sprockets 2 compatibility
18
- def self.process(context, css)
19
- self.run(context.pathname.to_s, css)
20
- end
21
-
22
17
  # Add prefixes to `css`
23
18
  def self.run(filename, css)
24
19
  output = filename.chomp(File.extname(filename)) + '.css'
@@ -33,10 +28,9 @@ module AutoprefixerRails
33
28
 
34
29
  # Register postprocessor in Sprockets depend on issues with other gems
35
30
  def self.install(env)
36
- if ::Sprockets::VERSION.to_i < 3
37
- env.register_postprocessor('text/css', :autoprefixer) do |context, css|
38
- process(context, css)
39
- end
31
+ if ::Sprockets::VERSION.to_f < 4
32
+ env.register_postprocessor('text/css',
33
+ ::AutoprefixerRails::Sprockets)
40
34
  else
41
35
  env.register_bundle_processor('text/css',
42
36
  ::AutoprefixerRails::Sprockets)
@@ -45,8 +39,9 @@ module AutoprefixerRails
45
39
 
46
40
  # Register postprocessor in Sprockets depend on issues with other gems
47
41
  def self.uninstall(env)
48
- if ::Sprockets::VERSION.to_i < 3
49
- env.unregister_postprocessor('text/css', :autoprefixer)
42
+ if ::Sprockets::VERSION.to_f < 4
43
+ env.unregister_postprocessor('text/css',
44
+ ::AutoprefixerRails::Sprockets)
50
45
  else
51
46
  env.unregister_bundle_processor('text/css',
52
47
  ::AutoprefixerRails::Sprockets)
@@ -1,3 +1,3 @@
1
1
  module AutoprefixerRails
2
- VERSION = '6.4.0'.freeze unless defined? AutoprefixerRails::VERSION
2
+ VERSION = '6.4.0.1'.freeze unless defined? AutoprefixerRails::VERSION
3
3
  end
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: 6.4.0
4
+ version: 6.4.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrey Sitnik
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-08-03 00:00:00.000000000 Z
11
+ date: 2016-08-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: execjs