carrierwave 1.2.0 → 1.2.1

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of carrierwave might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c51659746450241013cc16a8d099f4867824f70d
4
- data.tar.gz: b86e8ff278383c7b8e8277368f127a2d1914cd5a
3
+ metadata.gz: 7a985080c1432e2d6d27cbe46b823f4ca5bdbc75
4
+ data.tar.gz: e3e60a7159815499f0559f9574480633e73d68ed
5
5
  SHA512:
6
- metadata.gz: 2396711ec0083bdc6c197eae0ec9d388024affb1590b6d244d19f50b46494baa9e553ab6182c2efdd2ed53ca80d8618e683d6dff4618ef9700b12f97ef7e8a7c
7
- data.tar.gz: 34cdc30925d1fca9092b35834584e4b97ec977b0603c4c9f7854c0db74a24adc60ab380e8b97a96941f305e87faed6b57ca9e5d1a4bc1a3bfcf84f3db273b595
6
+ metadata.gz: 9e027080e1e7fcc86a2f6e0b74cb0d4db2d1f955b733c9bf47354fb74da0707c0017a9305fdc6f090825a7203b319f25bcd61ecc2fa84f123da19a9b9d784d6c
7
+ data.tar.gz: 2c8d16ca3353952282e9ffb97d37d44477c5a22f4744f99a84d0fde7bc0ee9d6b456698aa386d0664e8b734f9b8edf155a8034b15efb5b60831579a610d09b67
@@ -41,7 +41,7 @@ elsif defined?(Rails)
41
41
  initializer "carrierwave.setup_paths" do |app|
42
42
  CarrierWave.root = Rails.root.join(Rails.public_path).to_s
43
43
  CarrierWave.base_path = ENV['RAILS_RELATIVE_URL_ROOT']
44
- available_locales = app.config.i18n.available_locales
44
+ available_locales = Array(app.config.i18n.available_locales || [])
45
45
  if available_locales.blank? || available_locales.include?(:en)
46
46
  I18n.load_path.prepend(File.join(File.dirname(__FILE__), 'carrierwave', 'locale', "en.yml"))
47
47
  end
@@ -1,3 +1,3 @@
1
1
  module CarrierWave
2
- VERSION = "1.2.0"
2
+ VERSION = "1.2.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: carrierwave
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonas Nicklas
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-09-30 00:00:00.000000000 Z
11
+ date: 2017-10-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport