autoprefixer-rails 9.8.6.1 → 9.8.6.2
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/README.md +7 -7
- data/lib/autoprefixer-rails.rb +13 -0
- data/lib/autoprefixer-rails/processor.rb +2 -6
- data/lib/autoprefixer-rails/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7ba3f0942a7f5eb8d5a6aa3b97f181373f341b51da51b9492b59fcf8d0200c39
|
4
|
+
data.tar.gz: 94c9475c55a54ca4247ba1def1786da6817df33782900d2d9cb5b986b162c4ae
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8914a057f4aafea8d3e5d955aa834f3540272653e2010e1e6393f350ea8c637398665366c11105701d9aa40840586de20201185eb1f0927fcf6376f66286ea4c
|
7
|
+
data.tar.gz: b66e90fb6a17ed111685d1ffc7121c764707308fba6404b9b23721d2341ad1aaf1030584a8e50af3c64d225d3a54039d94c3f6c2602bc77ad84a8da6ad0cd287
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
src="http://postcss.github.io/autoprefixer/logo.svg"
|
5
5
|
title="Autoprefixer logo by Anton Lovchikov">
|
6
6
|
|
7
|
-
**
|
7
|
+
**DEPRECATED. [Migration Guide.]**
|
8
8
|
|
9
9
|
[Autoprefixer] is a tool to parse CSS and add vendor prefixes to CSS rules
|
10
10
|
using values from the [Can I Use] database. This gem provides Ruby
|
@@ -14,12 +14,12 @@ and Ruby on Rails integration with this JavaScript tool.
|
|
14
14
|
<img src="https://evilmartians.com/badges/sponsored-by-evil-martians.svg" alt="Sponsored by Evil Martians" width="236" height="54">
|
15
15
|
</a>
|
16
16
|
|
17
|
-
[Migration Guide]: https://github.com/ai/autoprefixer-rails/wiki/Deprecated
|
18
|
-
[Autoprefixer]:
|
19
|
-
[Can I Use]:
|
20
|
-
[PostCSS]:
|
21
|
-
[ci-img]:
|
22
|
-
[ci]:
|
17
|
+
[Migration Guide.]: https://github.com/ai/autoprefixer-rails/wiki/Deprecated
|
18
|
+
[Autoprefixer]: https://github.com/postcss/autoprefixer
|
19
|
+
[Can I Use]: http://caniuse.com/
|
20
|
+
[PostCSS]: https://postcss.org/
|
21
|
+
[ci-img]: https://travis-ci.org/ai/autoprefixer-rails.svg
|
22
|
+
[ci]: https://travis-ci.org/ai/autoprefixer-rails
|
23
23
|
|
24
24
|
## Differences
|
25
25
|
|
data/lib/autoprefixer-rails.rb
CHANGED
@@ -32,6 +32,19 @@ module AutoprefixerRails
|
|
32
32
|
def self.processor(params = {})
|
33
33
|
Processor.new(params)
|
34
34
|
end
|
35
|
+
|
36
|
+
def self.show_deprecation_message!
|
37
|
+
return unless defined?(ActiveSupport::Deprecation)
|
38
|
+
|
39
|
+
return if defined?(@deprecation_shown)
|
40
|
+
|
41
|
+
ActiveSupport::Deprecation.warn(
|
42
|
+
"autoprefixer-rails was deprected. Migration guide:\n" \
|
43
|
+
"https://github.com/ai/autoprefixer-rails/wiki/Deprecated"
|
44
|
+
)
|
45
|
+
|
46
|
+
@deprecation_shown = true
|
47
|
+
end
|
35
48
|
end
|
36
49
|
|
37
50
|
require_relative "autoprefixer-rails/result"
|
@@ -20,12 +20,8 @@ module AutoprefixerRails
|
|
20
20
|
# * `to` with output CSS file name.
|
21
21
|
# * `map` with true to generate new source map or with previous map.
|
22
22
|
def process(css, opts = {})
|
23
|
-
|
24
|
-
|
25
|
-
"autoprefixer-rails was deprected. Migration guide:\n" \
|
26
|
-
"https://github.com/ai/autoprefixer-rails/wiki/Deprecated"
|
27
|
-
)
|
28
|
-
end
|
23
|
+
AutoprefixerRails.show_deprecation_message!
|
24
|
+
|
29
25
|
opts = convert_options(opts)
|
30
26
|
|
31
27
|
apply_wrapper =
|
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: 9.8.6.
|
4
|
+
version: 9.8.6.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrey Sitnik
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-08-
|
11
|
+
date: 2020-08-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: execjs
|