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 +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/autoprefixer-rails/sprockets.rb +6 -11
- data/lib/autoprefixer-rails/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 92670d201a73ca41dd059c9254fd012093a5e9df
|
4
|
+
data.tar.gz: b8b433493fd1a83a5f93fd28e737ae659915e3b1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e9b723267a2e90029862f8c36380d825bd69c05aa6a10a56d562157296bdc899bd666c21defc36ea526f4018a94317d5d6ee34da3140ac8e750a64f75b141bc1
|
7
|
+
data.tar.gz: 062af98f9f44e63c588eef2b6d38f97af4b2f7dba90212853c282a534f283ceb318c220935f4ec5d68eb14c7adcbfdfccf05b60d097a8f8948a0c114255d19b4
|
data/CHANGELOG.md
CHANGED
@@ -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.
|
37
|
-
env.register_postprocessor('text/css',
|
38
|
-
|
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.
|
49
|
-
env.unregister_postprocessor('text/css',
|
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)
|
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-
|
11
|
+
date: 2016-08-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: execjs
|