autoprefixer-rails 7.1.2.5 → 7.1.2.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8c859955dd8e22023ab69f33736ea0b623a64297
4
- data.tar.gz: 9db1f2145d822d330df4e03adac2f93c2581c958
3
+ metadata.gz: baa57bc601710f28fe02ebb2b125108d143046ff
4
+ data.tar.gz: b91eed14dab917e53d640df339bb7a549922c9f1
5
5
  SHA512:
6
- metadata.gz: 5967c8ffe261ba233dbe0910c2344bf90b912866c6a67129caa20c69ba54e0a42a644bb5cdf6b4f1703b660feca01a6150a09024b4824ce2d010fc5aa60d1c6f
7
- data.tar.gz: 5c76512ecb8c92a4fbd659ae6e0af3c0aec69adb9b87d1f2a5dee9f84b009acec539335a830efe515625d4a877a7f90bbf76e3a2281dbc8120b737eb5e48c1fe
6
+ metadata.gz: d55c619dd4110fce323db1206444b30d237323c55e17cf4f10d5aad11b96bcf7114c1d96b0f923ba5f7cce425369e89d6fc9ae47cc051b87b6b60117657d5022
7
+ data.tar.gz: 1704be945178ce163e583f6463c7ad5a066a73feb897aba2b267e72b74d63fbf9465b8d561191f536859fdd49f3fc97046b4211816b98f0c8111f678898466e5
data/CHANGELOG.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # Change Log
2
2
 
3
+ ## 7.1.2.6
4
+ * Fix `.browserslistrc` support
5
+
3
6
  ## 7.1.2.5
4
7
  * Fix `> 0` query for browsers with one version.
5
8
  * Update Can I Use data.
@@ -118,8 +118,12 @@ module AutoprefixerRails
118
118
  path = Pathname(file).expand_path
119
119
 
120
120
  while path.parent != path
121
- config = path.join('browserslist')
122
- return config.read if config.exist? and not config.directory?
121
+ config1 = path.join('browserslist')
122
+ return config1.read if config1.exist? and not config1.directory?
123
+
124
+ config2 = path.join('.browserslistrc')
125
+ return config2.read if config2.exist? and not config1.directory?
126
+
123
127
  path = path.parent
124
128
  end
125
129
 
@@ -1,3 +1,3 @@
1
1
  module AutoprefixerRails
2
- VERSION = '7.1.2.5'.freeze unless defined? AutoprefixerRails::VERSION
2
+ VERSION = '7.1.2.6'.freeze unless defined? AutoprefixerRails::VERSION
3
3
  end
File without changes
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: 7.1.2.5
4
+ version: 7.1.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrey Sitnik
@@ -107,6 +107,7 @@ files:
107
107
  - lib/rake/autoprefixer_tasks.rb
108
108
  - mini_racer.gemfile
109
109
  - shared.gemfile
110
+ - spec/app/.browserslistrc
110
111
  - spec/app/.gitignore
111
112
  - spec/app/Rakefile
112
113
  - spec/app/app/assets/config/manifest.js
@@ -117,7 +118,6 @@ files:
117
118
  - spec/app/app/assets/stylesheets/wrong.css
118
119
  - spec/app/app/controllers/application_controller.rb
119
120
  - spec/app/app/controllers/css_controller.rb
120
- - spec/app/browserslist
121
121
  - spec/app/config.ru
122
122
  - spec/app/config/application.rb
123
123
  - spec/app/config/autoprefixer.yml