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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 911330cefafafbbb8773eea03c1857144019d7c0c496f37e7114f0584ea0d87b
4
- data.tar.gz: 741121519dec2b6cf37a919053a12ecd09237911deea31ae28f6c5535c193301
3
+ metadata.gz: 8fe5afd370afcf20d24e1b4e7176931f32671a1cf36866c38c5b88796fab342a
4
+ data.tar.gz: 20fb8e6756163e7125e5373f8397cfec8c501c5914e610fa23a2ae77c78a6778
5
5
  SHA512:
6
- metadata.gz: f784263eb1f47916a996755115ab4a59ae9335bf8bdd692f654db2d82a75e1f3b2887364580f9abb033a2c900d41bc24cd1a2cbfdfe4ab9bb1189146605bda57
7
- data.tar.gz: 215258014b6dd25f1d58df31a725611a34f236be66811238551930e927871ebe5f271a7c74e67ae477b0a8a43d4d379b9947185e8b6c7c08f502234ecbca5132
6
+ metadata.gz: cd9d194ae73f51a58880badd3e3b615c19bfc3390001ccd04d3d69878d0374e124c49acf8281714099ea60258ffdda6142d7ac993134b705216d408e274655b6
7
+ data.tar.gz: 418f6a52003f27819d23e15e7f8d20e70119d6ca7f40fdff751dcea2cddf810c104599a483bd84c42eb493e12dcf0aa04a0073b5001b750626b605a8d163c6c0
@@ -1,3 +1,7 @@
1
+ ## 2.7.2 (2020-09-10)
2
+
3
+ - Fixed error with historical query stats
4
+
1
5
  ## 2.7.1 (2020-09-07)
2
6
 
3
7
  - Added `/health` endpoint to Docker image and Linux packages
@@ -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::MAJOR >= 6
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)] }] }
@@ -1,3 +1,3 @@
1
1
  module PgHero
2
- VERSION = "2.7.1"
2
+ VERSION = "2.7.2"
3
3
  end
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.1
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-08 00:00:00.000000000 Z
11
+ date: 2020-09-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord