sequel_pg 1.6.18 → 1.6.19

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: b9af8b932e28c1fba7a23ca7608c227be50a0896
4
- data.tar.gz: c65775dc39943ef8f507f13ca7cc73a723cda98a
3
+ metadata.gz: 2f3337f4ab6856e9ef371c69f82fa51c517afa49
4
+ data.tar.gz: 9361f0cb030decc088eab639448e383c76030d26
5
5
  SHA512:
6
- metadata.gz: fde42c5f10204facab45b5dfd30e39686854d9b93ac62afbcea80037558d349fae38fab978608ce593d2e62e6defa8c4b3892bbb1ad2f20d8745723de06b2356
7
- data.tar.gz: b06f564b96261f1f04bb875a064e81956fe12d4c0d963cee958bfde0e259aa7f99bd38c00357b48509d41b500aeb0b3d1f50169c48fba7a1dd5a26fd2ea5e087
6
+ metadata.gz: 43c2da7841e5d4b5a6e5bdd6f5d69fbb81e4cd8c6e7877f3bb3bbeafcf669d9a1fe22a2d57eef12bd1db17ab9a28d6a493a1a4261053c0250c23ec12cc6f679f
7
+ data.tar.gz: 203ffd82e356f006305245f6dece26d5638c41ce1d7dbd0053885d7c53bcafc7775fcfeb1deabc8391bec9d0f3c0fb773aa82b914d23c928b8c8c5cd57713a1d
data/CHANGELOG CHANGED
@@ -1,3 +1,7 @@
1
+ === 1.6.19 (2017-06-13)
2
+
3
+ * Use PG::Error instead of PGError if available, avoiding deprecation warning on pg 0.21.0+ (jeremyevans)
4
+
1
5
  === 1.6.18 (2017-04-27)
2
6
 
3
7
  * Support logging of connection information in single row mode (jeremyevans)
@@ -1,4 +1,4 @@
1
- #define SEQUEL_PG_VERSION_INTEGER 10618
1
+ #define SEQUEL_PG_VERSION_INTEGER 10619
2
2
 
3
3
  #include <string.h>
4
4
  #include <stdio.h>
@@ -1077,7 +1077,7 @@ void Init_sequel_pg(void) {
1077
1077
  spg_SQLTime= rb_funcall(spg_Sequel, cg, 1, rb_str_new2("SQLTime"));
1078
1078
  spg_BigDecimal = rb_funcall(rb_cObject, cg, 1, rb_str_new2("BigDecimal"));
1079
1079
  spg_Date = rb_funcall(rb_cObject, cg, 1, rb_str_new2("Date"));
1080
- spg_PGError = rb_funcall(rb_cObject, cg, 1, rb_str_new2("PGError"));
1080
+ spg_PGError = rb_eval_string("defined?(PG::Error) ? PG::Error : PGError");
1081
1081
 
1082
1082
  spg_nan = rb_eval_string("0.0/0.0");
1083
1083
  spg_pos_inf = rb_eval_string("1.0/0.0");
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sequel_pg
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.18
4
+ version: 1.6.19
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeremy Evans
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-04-27 00:00:00.000000000 Z
11
+ date: 2017-06-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pg