rails-pg-extras 4.7.0 → 4.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 80408a2c9f3f8e75d77405d2c702221ed8344e85a3fb1484d2563009ce8923c1
4
- data.tar.gz: 9888e136dfe03dd8566f2d1a3a15703003d2d9faeddd5fac3c756728108bcb86
3
+ metadata.gz: 72b8f131bed595bb673bf156b928606550291257e8aae9109fc6de77d1896fb6
4
+ data.tar.gz: 3d44cef92f9ca6fe8e656ee3b0aeeb47209c866f95668d5f6c06c0a22bacd8e3
5
5
  SHA512:
6
- metadata.gz: 253d40f9bf6f6c0b717b581baba483e6068351651e6706177b4ffefaa41fc892dea9a0072af7632e01d071db85eb9d1376ba072ea61782d3aedf5ece90140e4d
7
- data.tar.gz: '019b8421a159330e4a0ecb88104dd5ba004516dc83efd88cb4496ed4da896941a789725d5737109c16ab64bb10e87da23f223690cb7215507632c880acef1c1d'
6
+ metadata.gz: 46372ddaab387dfe89baaa342868fc7fff062235ada8baa9f6fc16e6f88edae5fb45140f370dae3f12ee39d70546a156e70c064405a7ef3db532557255592def
7
+ data.tar.gz: db200cafb3c1eec8749aaf4b73b48312f0072a0dbc043f7f200839f0b69ab0a1b9093338ce14b762df6f549a3d6cb5af866e03fcbb7994956599e7df506d4826
data/README.md CHANGED
@@ -286,14 +286,14 @@ RailsPgExtras.locks
286
286
 
287
287
  $ rake pg_extras:locks
288
288
 
289
- procpid | relname | transactionid | granted | query_snippet | mode | age
290
- ---------+---------+---------------+---------+-----------------------+-------------------------------------
291
- 31776 | | | t | <IDLE> in transaction | ExclusiveLock | 00:19:29.837898
292
- 31776 | | 1294 | t | <IDLE> in transaction | RowExclusiveLock | 00:19:29.837898
293
- 31912 | | | t | select * from hello; | ExclusiveLock | 00:19:17.94259
294
- 3443 | | | t | +| ExclusiveLock | 00:00:00
295
- | | | | select +| |
296
- | | | | pg_stat_activi | |
289
+ procpid | relname | transactionid | granted | query_snippet | mode | age | application |
290
+ ---------+---------+---------------+---------+-----------------------+------------------------------------------------------
291
+ 31776 | | | t | <IDLE> in transaction | ExclusiveLock | 00:19:29.837898 | bin/rails
292
+ 31776 | | 1294 | t | <IDLE> in transaction | RowExclusiveLock | 00:19:29.837898 | bin/rails
293
+ 31912 | | | t | select * from hello; | ExclusiveLock | 00:19:17.94259 | bin/rails
294
+ 3443 | | | t | +| ExclusiveLock | 00:00:00 | bin/sidekiq
295
+ | | | | select +| | |
296
+ | | | | pg_stat_activi | | |
297
297
  (4 rows)
298
298
  ```
299
299
 
@@ -8,7 +8,7 @@ namespace :pg_extras do
8
8
  ActiveRecord::Base.establish_connection(ENV['DATABASE_URL'])
9
9
  else
10
10
  db_config_file = File.read('config/database.yml')
11
- db_config = YAML::load(ERB.new(db_config_file).result, aliases: true)
11
+ db_config = YAML.safe_load(ERB.new(db_config_file).result, aliases: true)
12
12
  ActiveRecord::Base.establish_connection(db_config[Rails.env])
13
13
  end
14
14
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RailsPgExtras
4
- VERSION = "4.7.0"
4
+ VERSION = "4.7.1"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails-pg-extras
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.7.0
4
+ version: 4.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - pawurb
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-06-12 00:00:00.000000000 Z
11
+ date: 2022-07-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ruby-pg-extras
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 4.7.0
19
+ version: 4.7.1
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 4.7.0
26
+ version: 4.7.1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rails
29
29
  requirement: !ruby/object:Gem::Requirement