pg_adaptor 0.0.4 → 0.0.5

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: 4c9922c516c1a1c45f50723f6e9995ecdbb3f002
4
- data.tar.gz: cecef390a2b8be3b58b92ee946d8a26f0e0844dd
3
+ metadata.gz: dfc0dcf438e8dc8789592286681dd3632eba37e4
4
+ data.tar.gz: 774023af3f1687f52b4d3fe24770d9d646f48bee
5
5
  SHA512:
6
- metadata.gz: a3fb663c2ce4616c27e321ea47a045733bcebfb33269c5749b1a392e236bb8753b90ffa49a6488f6408633a7468879d826cbf21c4ca597a9dd3929d6fea2b109
7
- data.tar.gz: f411881b129fbbaad3c335f0c00ebdab3c9a1ba1a8579cdc101ce748477a14c67a3c478d50dcc61864e28eea143e6f063ceef6105dff94c680c926a9936cacc0
6
+ metadata.gz: f4a377451cb5b9f7f1ba2d5281f1892e35b7f4773948de9a0e6b73e582d3345e80f64561cae100288671c8c60a6b4a6800ac0eff16f013a1bc5f42fbdaab9ae2
7
+ data.tar.gz: 07bc7152820473c410fe86e436502576a95f440e04e807918d7cb6742b68ec3aa5bef627cc2849ff1565419ac2b50d2cedf5d83e1ebc7b151cf1b38bb8068edb
@@ -1,3 +1,3 @@
1
1
  class PGAdaptor
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
data/lib/pg_adaptor.rb CHANGED
@@ -8,7 +8,7 @@ class PGAdaptor
8
8
 
9
9
  def initialize name, klass
10
10
  @name = name
11
- @table = self.class.db[name]
11
+ @table = self.class.db[name.to_sym]
12
12
  @klass = klass
13
13
  end
14
14
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pg_adaptor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jon Rowe