autoprefixer-rails 9.8.6.2 → 9.8.6.3

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
  SHA256:
3
- metadata.gz: 7ba3f0942a7f5eb8d5a6aa3b97f181373f341b51da51b9492b59fcf8d0200c39
4
- data.tar.gz: 94c9475c55a54ca4247ba1def1786da6817df33782900d2d9cb5b986b162c4ae
3
+ metadata.gz: cceb0d96d5300da9f5eb5143e92e983155d2443e2a197d075ace21ddb27e4249
4
+ data.tar.gz: ef105b9dd600eddd88f3cbd1c65a31a1d134f26aaa5e00afb8adec9652990dd0
5
5
  SHA512:
6
- metadata.gz: 8914a057f4aafea8d3e5d955aa834f3540272653e2010e1e6393f350ea8c637398665366c11105701d9aa40840586de20201185eb1f0927fcf6376f66286ea4c
7
- data.tar.gz: b66e90fb6a17ed111685d1ffc7121c764707308fba6404b9b23721d2341ad1aaf1030584a8e50af3c64d225d3a54039d94c3f6c2602bc77ad84a8da6ad0cd287
6
+ metadata.gz: de40aec8323df0618d786e630ef2cbfbc7274e45c51961f3efab57666b5403d59059d4cf4082330eac398c28fb3b9dd7a0daefb17769252b2b4d67745167137a
7
+ data.tar.gz: 443269aef43c26cda2476a727c153a793e10bb6d5837de2b228f6b9e232fecd264e7281bdd5e29023b5ac6c00f9bcde51f3335b4ad32bebf8d5887842b61bc0d
@@ -1,5 +1,8 @@
1
1
  # Change Log
2
2
 
3
+ ## 9.8.6.3
4
+ * Fix deprecation warning for non-Rails environment.
5
+
3
6
  ## 9.8.6.2
4
7
  * Print deprecation warning only once.
5
8
 
@@ -32,19 +32,6 @@ 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
48
35
  end
49
36
 
50
37
  require_relative "autoprefixer-rails/result"
@@ -7,6 +7,19 @@ require "json"
7
7
  IS_SECTION = /^\s*\[(.+)\]\s*$/.freeze
8
8
 
9
9
  module AutoprefixerRails
10
+ def self.show_deprecation_message!
11
+ return unless defined?(ActiveSupport::Deprecation)
12
+
13
+ return if defined?(@deprecation_shown)
14
+
15
+ ActiveSupport::Deprecation.warn(
16
+ "autoprefixer-rails was deprected. Migration guide:\n" \
17
+ "https://github.com/ai/autoprefixer-rails/wiki/Deprecated"
18
+ )
19
+
20
+ @deprecation_shown = true
21
+ end
22
+
10
23
  # Ruby to JS wrapper for Autoprefixer processor instance
11
24
  class Processor
12
25
  def initialize(params = {})
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module AutoprefixerRails # :nodoc:
4
- VERSION = "9.8.6.2" unless defined? AutoprefixerRails::VERSION
4
+ VERSION = "9.8.6.3" unless defined? AutoprefixerRails::VERSION
5
5
  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: 9.8.6.2
4
+ version: 9.8.6.3
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-20 00:00:00.000000000 Z
11
+ date: 2020-08-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: execjs