pg_adaptor 0.0.9 → 0.0.10

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: fba0fdb0791b71a8d1636bae4ba38dee73159589
4
- data.tar.gz: 48145ff3b8419051bb50c366335ea1aebaf20524
3
+ metadata.gz: ac84ecb0fc5a86062d7fb5734fbc0bf17bf7c668
4
+ data.tar.gz: 812550978d01e9e4cf61f0791ca03e5a77ad7b3b
5
5
  SHA512:
6
- metadata.gz: c8f901b6ed4643f6129517573598e9fb8f4cbcafd79574c681f49cc229e59fc023ae31986200d2b3a78f3db02a6063edb692ded99a85928a26768409db31c761
7
- data.tar.gz: 5b0f3555787c30786ac45ac93d74bd95c12990a872e58020057d654e27875bfc231ee49d0c4154b0c78ed851243940b2f3dd4d65a46045c45a713b247c75e140
6
+ metadata.gz: 69a21bbb5d4c7b5f43e00b77f6a9554c2e70973dc52ab930020728903f8b2278f64d439efc34503dcdcd23b5dda51c110162825d9248338bfaf5a30206e54b87
7
+ data.tar.gz: fc59be59aa1de438ce8e086dc1226e04cf004570bbde107825c3493e6d4ba89ada0112ec09ae22c46dec2e28b57ba3153bc94926b7aad335205d78069885801a
data/lib/pg_adaptor.rb CHANGED
@@ -41,6 +41,7 @@ class PGAdaptor
41
41
  private
42
42
 
43
43
  def build result
44
+ return unless result
44
45
  @klass.new.tap do |model|
45
46
  @klass.members.each do |field|
46
47
  model[field] = result[field]
@@ -1,3 +1,3 @@
1
1
  class PGAdaptor
2
- VERSION = "0.0.9"
2
+ VERSION = "0.0.10"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pg_adaptor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.9
4
+ version: 0.0.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jon Rowe
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-10-24 00:00:00.000000000 Z
11
+ date: 2016-10-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pg