simple-sql 0.5.16 → 0.5.17

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: 10f81f5db33aaa6a5f76d3b22fa5f73cd5327fd6fca0f276b112024db322f852
4
- data.tar.gz: 7c4b1301bd7fb1de48957cd1cb1d7b402cabd99ee1d3defb7d9971290168159f
3
+ metadata.gz: 0b8298df440e9b824cf8ff857f3f79e0d269ffaa5d6aeb97f5399207ea6975ac
4
+ data.tar.gz: bef665d8dec7bb979215fe5176a852a45a6492f606c3789c2e059d6eea417581
5
5
  SHA512:
6
- metadata.gz: b4a7f2c661bf5751a2d6c06ddf9e261f0327832f236d80ef19da676826899cff721e0bb21e16d8d8bf64019a3006bc11d1720730d3d512fc991c023c464c61ed
7
- data.tar.gz: ed8e1227f194bdd687e5329c22dc8406ed076d25d973dc3b7624dca033c0db86ac1c84804cba204b169a20c73d5028d0c3ccd0d2047f321a2b4b966fe9301fb9
6
+ metadata.gz: dc00fd4efac18747a45653d8bb9aaa6d0a4551d6bd8ad983806b33cb7d6f78799be2e9da550e51b472b47970850d0e66799cc5f0e5984e58b59f3355d64d4cc6
7
+ data.tar.gz: aa96581f9292ff506935f5a51506241923ceb718f2257ad4606c719003d8fca6eaddca884dd7d1a1377f5058b899d6d9469a7144cdaf9e996c456f8ab48c1616
@@ -1,6 +1,16 @@
1
1
  class Simple::SQL::Connection
2
2
  end
3
3
 
4
+ require "pg"
5
+
6
+ # pg 0.21 prints deprecation warnings when using its definitions of PGconn,
7
+ # PGError, and PGResult. The below blocks circumvents this - and we are doing this
8
+ unless defined?(PGconn)
9
+ PGconn = PG::Connection
10
+ PGError = PG::Error
11
+ PGResult = PG::Result
12
+ end
13
+
4
14
  require "active_record"
5
15
 
6
16
  require_relative "connection/base"
@@ -1,5 +1,5 @@
1
1
  module Simple
2
2
  module SQL
3
- VERSION = "0.5.16"
3
+ VERSION = "0.5.17"
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.5.16
4
+ version: 0.5.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - radiospiel