simple-sql 0.4.29 → 0.4.30

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
  SHA256:
3
- metadata.gz: 2f70bf7c7bf33282cf573be0fe9371aab9839a7a2fb6e4b3266827871e667575
4
- data.tar.gz: 5d857fdc4905fb3e5d40b6f51c1e978b4f92b3d7db30a133266d1c0daa72ce63
3
+ metadata.gz: f3ce78fa1829594cb55b82e2fd67dbdb51f176abd9257cc43c5ed9ce3566b416
4
+ data.tar.gz: bdd74494f958463a114b634277a800db5e69b04bbe4e61547d161d5993e1733d
5
5
  SHA512:
6
- metadata.gz: 4626339a32bbad1585a8a50b746a55f939ecaf5f671d8b2511b4261446221c8a0be1ef9d2bcfd6193fef5427b3e0a7544af1c25362edca54c8e298f8bfb9d186
7
- data.tar.gz: 994ddacac8809d15605e6a336699135d7c40361bdf6d7e9e667d618889e92f444b249cb228bf5e84d411762900c74651167d6c65ee6168b41c527baaca1f6bc0
6
+ metadata.gz: e0bcacf132436f7766401c0079696cf89989374010f6d22fae9166cf0e4c38259b0201203a039ab52843a80177d8e63c85323c346dabe5b58232f8d21f9020c5
7
+ data.tar.gz: 05b3aa753984ad7b873f7459ee38d85f484ad430b872a02c6a7fc7545e8a5edea24774a3c113d4aec9c0ffcddcf3d3cc05916400881c087de7efa8327c13d644
@@ -84,8 +84,7 @@ module Simple
84
84
  public
85
85
 
86
86
  def lookup_pg_class(oid)
87
- @pg_classes ||= {}
88
- @pg_classes[oid] ||= _lookup_pg_class(oid)
87
+ @pg_classes ||= Hash.new { |hsh, key| hsh[key] = _lookup_pg_class(oid) }
89
88
  end
90
89
 
91
90
  private
@@ -1,5 +1,5 @@
1
1
  module Simple
2
2
  module SQL
3
- VERSION = "0.4.29"
3
+ VERSION = "0.4.30"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simple-sql
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.29
4
+ version: 0.4.30
5
5
  platform: ruby
6
6
  authors:
7
7
  - radiospiel
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2018-12-23 00:00:00.000000000 Z
12
+ date: 2018-12-27 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: pg_array_parser