simple-sql 0.5.29 → 0.5.30
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/VERSION +1 -1
- data/lib/simple/sql/monkey_patches.rb +3 -10
- 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: 4df3c3c433daf56581fb5120228b52b17f7c008e92580443fa0a71c9825092b6
|
|
4
|
+
data.tar.gz: e7df0fe593ca46a2d8ad317288e88e8a3d016cb5ca0f903b2c8ee07864517c0f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2f2fa917d404f44f6f58ecdda70d512cd1a0610fcbfbde9a73aef4cf5f60a42a1df33168053f130370822128d0836901a6786d44fa68a780d416583b15ee3a54
|
|
7
|
+
data.tar.gz: 5ab5429b72e22ffe4b2f3441747e84032e400b55680bb0975cf5f6938fbcde82243799c069af52d4e19a26fc35d8bc7bbafe8352590c20359ee66e57841973af
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.5.
|
|
1
|
+
0.5.30
|
|
@@ -7,14 +7,7 @@ module Simple::SQL::MonkeyPatches
|
|
|
7
7
|
|
|
8
8
|
@@warned[msg] = true
|
|
9
9
|
|
|
10
|
-
|
|
11
|
-
== patching notice: ======================================================================================
|
|
12
|
-
Note that simple-sql changes the behaviour of underlying gems in subtle ways:
|
|
13
|
-
#{msg}
|
|
14
|
-
==========================================================================================================
|
|
15
|
-
MSG
|
|
16
|
-
|
|
17
|
-
STDERR.puts msg
|
|
10
|
+
STDERR.puts "== monkeypatch warning: #{msg}"
|
|
18
11
|
end
|
|
19
12
|
end
|
|
20
13
|
|
|
@@ -34,7 +27,7 @@ when /^5.2/
|
|
|
34
27
|
class ActiveRecord::ConnectionAdapters::ConnectionPool::Reaper
|
|
35
28
|
def run
|
|
36
29
|
return unless frequency && frequency > 0
|
|
37
|
-
Simple::SQL::MonkeyPatches.warn "
|
|
30
|
+
Simple::SQL::MonkeyPatches.warn "simple-sql disables reapers for all connection pools, see https://github.com/rails/rails/issues/33600"
|
|
38
31
|
end
|
|
39
32
|
end
|
|
40
33
|
|
|
@@ -50,7 +43,7 @@ when /^6/
|
|
|
50
43
|
class ActiveRecord::ConnectionAdapters::ConnectionPool::Reaper
|
|
51
44
|
def run
|
|
52
45
|
return unless frequency && frequency > 0
|
|
53
|
-
Simple::SQL::MonkeyPatches.warn "
|
|
46
|
+
Simple::SQL::MonkeyPatches.warn "simple-sql disables reapers for all connection pools, see https://github.com/rails/rails/issues/33600"
|
|
54
47
|
end
|
|
55
48
|
end
|
|
56
49
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: simple-sql
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.5.
|
|
4
|
+
version: 0.5.30
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- radiospiel
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2020-
|
|
12
|
+
date: 2020-04-25 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: pg_array_parser
|