gruf 2.21.1 → 2.21.2
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/CHANGELOG.md +8 -2
- data/lib/gruf/controllers/request.rb +1 -1
- data/lib/gruf/interceptors/active_record/connection_reset.rb +5 -1
- data/lib/gruf/version.rb +1 -1
- metadata +3 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7511e79cc867aa5c52e43d48d6ceb7c098229bb4b1c4a1443898f6eceb37d86b
|
|
4
|
+
data.tar.gz: 49004eeea5a02e06d49af4eb78419d55d9aefb0ef45e05795b29e8c28c1abca3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7db87820b4294290c4926c76866f8a5299a2bae050a776ec7cfff1c79a3dd68c173cb7786d5bb8a664d63792f3f7275412e087c1a0ea41ca70b20a431700df56
|
|
7
|
+
data.tar.gz: 5e7208bd6ed535adfdceb3084df89943c6d5b05d8f6e62ea9c423a06bb103fc50158379a8776510401aa6cd030c41c6e2de5377d683d5be5bce6fbf760023981
|
data/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,12 @@ Changelog for the gruf gem. This includes internal history before the gem was ma
|
|
|
2
2
|
|
|
3
3
|
### Pending release
|
|
4
4
|
|
|
5
|
+
### 2.21.2
|
|
6
|
+
|
|
7
|
+
* [#225] Only replace `.service` as a suffix in `service_key`
|
|
8
|
+
* [#220] Fix runtime warnings in Ruby 3.4+
|
|
9
|
+
* [#217] Fix clear_active_connections! with no argument deprecation warning
|
|
10
|
+
|
|
5
11
|
### 2.21.1
|
|
6
12
|
|
|
7
13
|
* [#230] Add fix for load order issues with reloader in some non-Rails environments
|
|
@@ -16,8 +22,8 @@ Changelog for the gruf gem. This includes internal history before the gem was ma
|
|
|
16
22
|
|
|
17
23
|
### 2.20.0
|
|
18
24
|
|
|
19
|
-
* [#190] Remove
|
|
20
|
-
* [#194] Add interceptor to reload Rails app code
|
|
25
|
+
* [#190] Remove unused `e2mmap` and `thwait` gems from `runtime_dependency`.
|
|
26
|
+
* [#194] Add interceptor to reload Rails app code across requests
|
|
21
27
|
* [#209] Removes manual `establish_connection` and active connection check for each request from `Gruf::Interceptors::ActiveRecord::ConnectionReset`.
|
|
22
28
|
|
|
23
29
|
### 2.19.0
|
|
@@ -29,7 +29,11 @@ module Gruf
|
|
|
29
29
|
def call
|
|
30
30
|
yield
|
|
31
31
|
ensure
|
|
32
|
-
|
|
32
|
+
if enabled?
|
|
33
|
+
target_classes.each do |klass|
|
|
34
|
+
klass.connection_handler.clear_active_connections!(::ActiveRecord::Base.current_role)
|
|
35
|
+
end
|
|
36
|
+
end
|
|
33
37
|
end
|
|
34
38
|
|
|
35
39
|
private
|
data/lib/gruf/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: gruf
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.21.
|
|
4
|
+
version: 2.21.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Shaun McCormick
|
|
8
|
-
autorequire:
|
|
9
8
|
bindir: bin
|
|
10
9
|
cert_chain: []
|
|
11
|
-
date:
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
12
11
|
dependencies:
|
|
13
12
|
- !ruby/object:Gem::Dependency
|
|
14
13
|
name: activesupport
|
|
@@ -179,7 +178,6 @@ metadata:
|
|
|
179
178
|
rubygems_mfa_required: 'true'
|
|
180
179
|
source_code_uri: https://github.com/bigcommerce/gruf
|
|
181
180
|
wiki_uri: https://github.com/bigcommerce/gruf/wiki
|
|
182
|
-
post_install_message:
|
|
183
181
|
rdoc_options: []
|
|
184
182
|
require_paths:
|
|
185
183
|
- lib
|
|
@@ -197,8 +195,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
197
195
|
- !ruby/object:Gem::Version
|
|
198
196
|
version: '0'
|
|
199
197
|
requirements: []
|
|
200
|
-
rubygems_version: 3.
|
|
201
|
-
signing_key:
|
|
198
|
+
rubygems_version: 3.6.7
|
|
202
199
|
specification_version: 4
|
|
203
200
|
summary: gRPC Ruby Framework
|
|
204
201
|
test_files: []
|