nxt_support 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/Gemfile.lock +1 -1
- data/README.md +16 -1
- data/lib/nxt_support/middleware/sentry_error_id.rb +1 -1
- data/lib/nxt_support/version.rb +1 -1
- 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: ea9c53b87505a7b31250e050d6b4e4adb3c0504f520e5f552a484a1a450b551c
|
4
|
+
data.tar.gz: 97ae0e288c2ad44fc9ab163917f12d159a3ac3810c086ad7e65dcc4c5325e5c1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e16ed8f33f905dcd5825d2272900174eae43b96595d73f5abf8c153899d0438c88c22473eb158253f2f87d4d7934467a50e465686ad99927b33e5456c9aeb5d8
|
7
|
+
data.tar.gz: 8207471f7c5380671c1ff643cf32d438e30d79b8e5c674eaaa2df0688f63e224f3f4b2ba7229cc6473ec743deef0a88ca15d69374e33017f4071dcdb11a711ee
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -417,7 +417,22 @@ HomeBuilder.build(width: 20, length: 40, height: 15, roof_type: :pitched)
|
|
417
417
|
|
418
418
|
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
419
419
|
|
420
|
-
To install this gem onto your local machine, run `bundle exec rake install`.
|
420
|
+
To install this gem onto your local machine, run `bundle exec rake install`.
|
421
|
+
|
422
|
+
|
423
|
+
First, if you don't want to always log in with your RubyGems password, you can create an API key from the web, and then:
|
424
|
+
|
425
|
+
```shell
|
426
|
+
bundle config set gem.push_key rubygems
|
427
|
+
```
|
428
|
+
|
429
|
+
Add to `~/.gem/credentials` (create if it doesn't exist):
|
430
|
+
|
431
|
+
```shell
|
432
|
+
:rubygems: <your Rubygems API key>
|
433
|
+
```
|
434
|
+
|
435
|
+
To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
421
436
|
|
422
437
|
## Contributing
|
423
438
|
|
@@ -8,7 +8,7 @@ module NxtSupport
|
|
8
8
|
def call(env)
|
9
9
|
status, headers, body = @app.call(env)
|
10
10
|
if status >= 500 && env['sentry.error_event_id']
|
11
|
-
headers["Sentry-Error-
|
11
|
+
headers["Sentry-Error-Id"] = env['sentry.error_event_id']
|
12
12
|
end
|
13
13
|
[status, headers, body]
|
14
14
|
end
|
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.1
|
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: 2022-11-
|
14
|
+
date: 2022-11-21 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: activerecord
|