pluck_all 1.2.3 → 1.2.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: 378c4d5a457ca1c5fc1fdcd8b7d3c0cf99c7f384
4
- data.tar.gz: b660f69cab16a7a0634acd5140383cd65c2eb7ba
3
+ metadata.gz: a259d571e328a2a0e9fb65aeadddc4f42c12fdeb
4
+ data.tar.gz: 79892f45b6c365e0eaeb9f649d6357099a3fecb6
5
5
  SHA512:
6
- metadata.gz: d8f59e9f34c641b1215a0451a55e082da510de9376e11dd13e5f57e731f92236446e4b0a6908ff332ad5e252a8aa2502cabb9f3aa7cf2535ed705a7f1af64e3f
7
- data.tar.gz: 749572698595cc02c2a184194f69146d06eab02ab837aeb2b13d0fab6196832a26812b6755553ffcc4537e127f837392c2e303692ef921a2d4664afde80b92fd
6
+ metadata.gz: 357e8d27cc5a04eb64c3132df314a0c6b98d5091bf1ceb3c0c0d94c42c05851728243bfad479eeab31d02c93bb2f075fabe49eda88a44f473ba2560e7c6cad2a
7
+ data.tar.gz: 6876425a096c43cc63d339f24ec40ea875cf92828fac4c8b3746e4c84c8884cc5bc49d70857572ea0f9acce48246088d6bc8783f5b89913ec48873535e39fc7c
@@ -76,7 +76,8 @@ private
76
76
  @pluck_all_cast_need_columns.each{|k| hash[k] = attributes[k] } if @pluck_all_cast_need_columns
77
77
  obj = @pluck_all_cast_klass.new(hash)
78
78
  obj[key] = attributes[key_s = key.to_s]
79
- attributes[key_s] = obj.send(:_mounter, key).uploader #uploaders.first
79
+ #https://github.com/carrierwaveuploader/carrierwave/blob/87c37b706c560de6d01816f9ebaa15ce1c51ed58/lib/carrierwave/mount.rb#L142
80
+ attributes[key_s] = obj.send(key)
80
81
  end
81
82
  end
82
83
  return attributes
@@ -1,3 +1,3 @@
1
1
  module PluckAll
2
- VERSION = "1.2.3"
2
+ VERSION = "1.2.4"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pluck_all
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.3
4
+ version: 1.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - khiav reoy
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-04-03 00:00:00.000000000 Z
11
+ date: 2017-04-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler