pghero 2.7.1 → 2.7.2
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of pghero might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/pghero/methods/basic.rb +1 -1
- data/lib/pghero/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8fe5afd370afcf20d24e1b4e7176931f32671a1cf36866c38c5b88796fab342a
|
4
|
+
data.tar.gz: 20fb8e6756163e7125e5373f8397cfec8c501c5914e610fa23a2ae77c78a6778
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cd9d194ae73f51a58880badd3e3b615c19bfc3390001ccd04d3d69878d0374e124c49acf8281714099ea60258ffdda6142d7ac993134b705216d408e274655b6
|
7
|
+
data.tar.gz: 418f6a52003f27819d23e15e7f8d20e70119d6ca7f40fdff751dcea2cddf810c104599a483bd84c42eb493e12dcf0aa04a0073b5001b750626b605a8d163c6c0
|
data/CHANGELOG.md
CHANGED
data/lib/pghero/methods/basic.rb
CHANGED
@@ -42,7 +42,7 @@ module PgHero
|
|
42
42
|
retries = 0
|
43
43
|
begin
|
44
44
|
result = conn.select_all(add_source(squish(sql)))
|
45
|
-
if ActiveRecord::VERSION::
|
45
|
+
if ActiveRecord::VERSION::STRING.to_f >= 6.1
|
46
46
|
result = result.map(&:symbolize_keys)
|
47
47
|
else
|
48
48
|
result = result.map { |row| Hash[row.map { |col, val| [col.to_sym, result.column_types[col].send(:cast_value, val)] }] }
|
data/lib/pghero/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pghero
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.7.
|
4
|
+
version: 2.7.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Kane
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-09-
|
11
|
+
date: 2020-09-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|