thecore_backend_commons 2.3.5 → 2.3.6
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 +4 -4
- data/lib/patches/postgresql_drop_replacement.rb +12 -12
- 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: 867b27ac90b393d9a597085fc1dabc9eed6d7ac11de2184fe7c93c34a3c68e86
|
|
4
|
+
data.tar.gz: 64a51cb562f243ab30f61a4ae7fa6da45916a25cd92bde0ab3124903c80ddd40
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1607bd4f56df8bad489fa46f16b6f515316352824b9c7758d73d6a618336fa383bee801301f77d2391d625844053e424cbcc71231997c904b2b736076c484e16
|
|
7
|
+
data.tar.gz: 0e0c81d36aa25c19aae726752a2b8b5b31182ca97c653de0c3d7ef502c541cd141984acb30a6d3ba279d66bcca92a6939df89557caac32b16ec60d84d95a8c67
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
module ActiveRecord
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
end
|
|
1
|
+
# module ActiveRecord
|
|
2
|
+
# module Tasks
|
|
3
|
+
# class PostgreSQLDatabaseTasks
|
|
4
|
+
# # Allows drop on DBs currently in use.
|
|
5
|
+
# def drop
|
|
6
|
+
# establish_master_connection
|
|
7
|
+
# connection.select_all "select pg_terminate_backend(pg_stat_activity.pid) from pg_stat_activity where datname='#{configuration['database']}' AND state='idle';"
|
|
8
|
+
# connection.drop_database configuration['database']
|
|
9
|
+
# end
|
|
10
|
+
# end
|
|
11
|
+
# end
|
|
12
|
+
# end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: thecore_backend_commons
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.3.
|
|
4
|
+
version: 2.3.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Gabriele Tassoni
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-08-
|
|
11
|
+
date: 2021-08-27 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: thecore_auth_commons
|