glebtv-carrierwave-mongoid 0.6.3 → 0.6.4

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
  SHA1:
3
- metadata.gz: 7e4c80f2f675129ba495c84135384e16955759ee
4
- data.tar.gz: 9fc59522be038f7ef9ffaba8345c30bd28ed2f3d
3
+ metadata.gz: 63aa8f7996ffb3670a34b599f0fc60e11f9b2519
4
+ data.tar.gz: c1d7e5906fdec920f9552bc56878426378e22d8a
5
5
  SHA512:
6
- metadata.gz: 1cd03be3e03935d3491ba5498cd2f6898220762bbc6f530ac912d3624896f0249623459d6b21187c4e2c899ac01faf41d3474f19b54a7eba4b7e01a31570a492
7
- data.tar.gz: 39561d9e5556eac1e329f21618595daf2b4348ee6e662d457a9f295d3e08880d0c3013d25f122ad926656554ee80ccdbab87d573bb6e2335960d71614ddc88f3
6
+ metadata.gz: e424ee1a53b51861c2d3d2495652bf903770ea1d1b87693512603f3075b6b628984fe76e63f02fd6bfe553034c5f859721bc9fc426772421d555c60c6ca51a81
7
+ data.tar.gz: 9e9fc722074c699e31103e0460e10225c647a99aba4352544b444d2cebd9a85f72527d5f8a202b0376a23a505af96cb6530aa1fdc8ec72661536a108b59591c4
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- glebtv-carrierwave-mongoid (0.6.3)
4
+ glebtv-carrierwave-mongoid (0.6.4)
5
5
  carrierwave (~> 0.9.0)
6
6
  mongoid (>= 3.0, < 5.0)
7
7
 
@@ -12,7 +12,7 @@ module CarrierWave
12
12
  #
13
13
  def mount_uploader(column, uploader=nil, options={}, &block)
14
14
  field_name = options[:mount_on] || column
15
- unless fields.keys.include?(field_name.to_s) || fields.values.map { |f| f.options[:as] }.include?(field_name.to_s)
15
+ unless fields.keys.include?(field_name.to_s) || fields.values.map { |f| f.options[:as].to_s }.include?(field_name.to_s)
16
16
  field field_name
17
17
  end
18
18
 
@@ -1,5 +1,5 @@
1
1
  module Carrierwave
2
2
  module Mongoid
3
- VERSION = "0.6.3"
3
+ VERSION = "0.6.4"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: glebtv-carrierwave-mongoid
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.3
4
+ version: 0.6.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - GlebTv