rails-pg-extras 4.10.0 → 4.12.0

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: 6f7da20e26931877a4bc3c5447900d9577cc4bcc1d1c33e4d170bfe778f1f9d8
4
- data.tar.gz: 930871acea28fca872d15116a8ef15fb3060c0f061b8f32315d185067c69bca7
3
+ metadata.gz: 1a067baaa71cfde9501323c19331bde5cb0b20c41c4e1762b2f901451adc9bcc
4
+ data.tar.gz: ef322f5e9e3140533cde9b50c919cfba1aea8c86bd23dc2711351b65330b691f
5
5
  SHA512:
6
- metadata.gz: 101d589935213c12f1ea95b94b18ab8dc808221678172418c885d2b096466446f71a8964b59de0462ae0d8d4633d8fbe0904ce45dc635434fba2fbcee99350cc
7
- data.tar.gz: 6f44f3874687c47d06d560d880174bd8994f8b389cfb5f2d816e8a47b53c1190b3f85fb4359ce4543e9bb36c876b28c241cc039cdd7c54817052496084590532
6
+ metadata.gz: c07b9751224c026e24e2d3324995aacad8bf24ede16623203e5b19a6f895846354bee63ef9397cedf99c9a3d29d52ebd04af3273573581fb2d37c51db8016216
7
+ data.tar.gz: 4894354620c288a57fa7c7f22e5d17809eefeffd7698f26f8c13052c914c7a9164c4da11372d6b1650fa8e42f1b9b060dc6fcf5c591a029455c386ecf4759319
data/README.md CHANGED
@@ -630,6 +630,16 @@ RailsPgExtras.kill_all
630
630
 
631
631
  This commands kills all the currently active connections to the database. It can be useful as a last resort when your database is stuck in a deadlock.
632
632
 
633
+ ### `kill_pid`
634
+
635
+ ```ruby
636
+
637
+ RailsPgExtras.kill_pid(args: { pid: 4657 })
638
+
639
+ ```
640
+
641
+ This commands kills currently active database connection by its `pid` number. You can use `connections` method to find the correct `pid` values.
642
+
633
643
  ### `pg_stat_statements_reset`
634
644
 
635
645
  ```ruby
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RailsPgExtras
4
- VERSION = "4.10.0"
4
+ VERSION = "4.12.0"
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.10.0
4
+ version: 4.12.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - pawurb
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-11-23 00:00:00.000000000 Z
11
+ date: 2022-11-30 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.10.0
19
+ version: 4.12.0
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.10.0
26
+ version: 4.12.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rails
29
29
  requirement: !ruby/object:Gem::Requirement