nxt_support 0.4.2 → 0.4.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.circleci/config.yml +1 -1
- data/.ruby-version +1 -1
- data/CHANGELOG.md +3 -0
- data/Gemfile.lock +10 -10
- data/lib/nxt_support/middleware/sentry_error_id.rb +1 -1
- data/lib/nxt_support/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f312406bd8279693e902e38435d9ecec8e0e3d15c1e522d91c4a5cd75e4f4ced
|
4
|
+
data.tar.gz: 0bb1c82b792322ecab97f89093295b17c4f9c5e2223a71584aca23b4b672a95a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 92bf3e5ec6c83fe1f713973d4528b1a85b7c83573f86121b3fbe03e8586820c63e56369911d84031a62af5ca2db72bc50baaac2a45a29e270936d9154671f58b
|
7
|
+
data.tar.gz: 0b883a1c2bbb8e0b7a6040569204676f4d5beec2b41514d791a1545863cd7c41d4394f8a1619b61956058cb6fa5d2038db6403857fb5cbe71f6a040dac6d77a4
|
data/.circleci/config.yml
CHANGED
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.
|
1
|
+
3.2.1
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
nxt_support (0.4.
|
4
|
+
nxt_support (0.4.3)
|
5
5
|
activerecord
|
6
6
|
activesupport
|
7
7
|
nxt_init
|
@@ -10,23 +10,23 @@ PATH
|
|
10
10
|
GEM
|
11
11
|
remote: https://rubygems.org/
|
12
12
|
specs:
|
13
|
-
activemodel (7.0.4)
|
14
|
-
activesupport (= 7.0.4)
|
15
|
-
activerecord (7.0.4)
|
16
|
-
activemodel (= 7.0.4)
|
17
|
-
activesupport (= 7.0.4)
|
18
|
-
activesupport (7.0.4)
|
13
|
+
activemodel (7.0.4.3)
|
14
|
+
activesupport (= 7.0.4.3)
|
15
|
+
activerecord (7.0.4.3)
|
16
|
+
activemodel (= 7.0.4.3)
|
17
|
+
activesupport (= 7.0.4.3)
|
18
|
+
activesupport (7.0.4.3)
|
19
19
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
20
20
|
i18n (>= 1.6, < 2)
|
21
21
|
minitest (>= 5.1)
|
22
22
|
tzinfo (~> 2.0)
|
23
23
|
coderay (1.1.3)
|
24
|
-
concurrent-ruby (1.
|
24
|
+
concurrent-ruby (1.2.2)
|
25
25
|
diff-lcs (1.4.4)
|
26
26
|
i18n (1.12.0)
|
27
27
|
concurrent-ruby (~> 1.0)
|
28
28
|
method_source (1.0.0)
|
29
|
-
minitest (5.
|
29
|
+
minitest (5.18.0)
|
30
30
|
nxt_init (0.1.5)
|
31
31
|
activesupport
|
32
32
|
nxt_registry (0.3.10)
|
@@ -51,7 +51,7 @@ GEM
|
|
51
51
|
rspec_junit_formatter (0.4.1)
|
52
52
|
rspec-core (>= 2, < 4, != 2.12.0)
|
53
53
|
sqlite3 (1.4.2)
|
54
|
-
tzinfo (2.0.
|
54
|
+
tzinfo (2.0.6)
|
55
55
|
concurrent-ruby (~> 1.0)
|
56
56
|
|
57
57
|
PLATFORMS
|
@@ -7,7 +7,7 @@ module NxtSupport
|
|
7
7
|
|
8
8
|
def call(env)
|
9
9
|
status, headers, body = @app.call(env)
|
10
|
-
if status >= 500 && env['sentry.error_event_id']
|
10
|
+
if status && status.to_i >= 500 && env['sentry.error_event_id']
|
11
11
|
headers['Sentry-Error-Id'] = env['sentry.error_event_id']
|
12
12
|
exposed_headers = headers['Access-Control-Expose-Headers'] || headers['access-control-expose-headers']
|
13
13
|
headers['Access-Control-Expose-Headers'] = [exposed_headers, 'Sentry-Error-Id'].compact.join(', ')
|
data/lib/nxt_support/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nxt_support
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nils Sommer
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: exe
|
13
13
|
cert_chain: []
|
14
|
-
date:
|
14
|
+
date: 2023-03-22 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: activerecord
|
@@ -214,7 +214,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
214
214
|
- !ruby/object:Gem::Version
|
215
215
|
version: '0'
|
216
216
|
requirements: []
|
217
|
-
rubygems_version: 3.
|
217
|
+
rubygems_version: 3.4.6
|
218
218
|
signing_key:
|
219
219
|
specification_version: 4
|
220
220
|
summary: Support through reusable Mixins and Helpers for Ruby on Rails Applications
|