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 +4 -4
- data/lib/pluck_all.rb +2 -1
- data/lib/pluck_all/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a259d571e328a2a0e9fb65aeadddc4f42c12fdeb
|
4
|
+
data.tar.gz: 79892f45b6c365e0eaeb9f649d6357099a3fecb6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 357e8d27cc5a04eb64c3132df314a0c6b98d5091bf1ceb3c0c0d94c42c05851728243bfad479eeab31d02c93bb2f075fabe49eda88a44f473ba2560e7c6cad2a
|
7
|
+
data.tar.gz: 6876425a096c43cc63d339f24ec40ea875cf92828fac4c8b3746e4c84c8884cc5bc49d70857572ea0f9acce48246088d6bc8783f5b89913ec48873535e39fc7c
|
data/lib/pluck_all.rb
CHANGED
@@ -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
|
-
|
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
|
data/lib/pluck_all/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2017-04-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|