rails-pg-extras 4.9.0 → 4.10.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: cefaae16c6d92e4b1bd9af3d7b1dea9d1d0eb0a25079abb0d84e231ecb66ff31
4
- data.tar.gz: fae04146f9c957bbd1eb530712aed98ad9fbcc82dd6c9103b740cda5f8598c11
3
+ metadata.gz: 6f7da20e26931877a4bc3c5447900d9577cc4bcc1d1c33e4d170bfe778f1f9d8
4
+ data.tar.gz: 930871acea28fca872d15116a8ef15fb3060c0f061b8f32315d185067c69bca7
5
5
  SHA512:
6
- metadata.gz: 2485ffb0a15f39c3459f97a778ec13a407e3b5c5a7a9b54892502a475856cb46bad649c1f2abd99cf25fda038c0fed57d086583032433ccc9b70505ee1cade78
7
- data.tar.gz: a169a25a29e1eaf614ef00d90ffb43025103edcda957b77fd1585fa19a5c9a4f7b96e9fb30270a2aaa391b7d90e6504a96af3396fd4c7a473011e87565b683be
6
+ metadata.gz: 101d589935213c12f1ea95b94b18ab8dc808221678172418c885d2b096466446f71a8964b59de0462ae0d8d4633d8fbe0904ce45dc635434fba2fbcee99350cc
7
+ data.tar.gz: 6f44f3874687c47d06d560d880174bd8994f8b389cfb5f2d816e8a47b53c1190b3f85fb4359ce4543e9bb36c876b28c241cc039cdd7c54817052496084590532
data/README.md CHANGED
@@ -669,6 +669,24 @@ $ rake pg_extras:extensions
669
669
 
670
670
  This command lists all the currently installed and available PostgreSQL extensions.
671
671
 
672
+ ### `connections`
673
+
674
+ ```ruby
675
+
676
+ RailsPgExtras.connections
677
+
678
+ +-----------------------------------------------------+
679
+ | Returns the list of all active database connections |
680
+ +-----------------+----------------+------------------+
681
+ | username | client_address | application_name |
682
+ +-----------------+----------------+------------------+
683
+ | postgres | 172.19.0.1/32 | psql |
684
+ | postgres | 172.19.0.1/32 | irb |
685
+ +-----------------+----------------+------------------+
686
+ ```
687
+
688
+ This command returns the list of all active database connections.
689
+
672
690
  ### mandelbrot
673
691
 
674
692
  ```ruby
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RailsPgExtras
4
- VERSION = "4.9.0"
4
+ VERSION = "4.10.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.9.0
4
+ version: 4.10.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-08-18 00:00:00.000000000 Z
11
+ date: 2022-11-23 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.9.0
19
+ version: 4.10.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.9.0
26
+ version: 4.10.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rails
29
29
  requirement: !ruby/object:Gem::Requirement