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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8577e3b91d6cd1cea9c28349d5e481ab4f81c30198789c52caa40f13e8168532
4
- data.tar.gz: a18e89a30f8b6b5f80ecfb87a890c47d91dc9c83e37df3c327cd0c528da6603a
3
+ metadata.gz: ea9c53b87505a7b31250e050d6b4e4adb3c0504f520e5f552a484a1a450b551c
4
+ data.tar.gz: 97ae0e288c2ad44fc9ab163917f12d159a3ac3810c086ad7e65dcc4c5325e5c1
5
5
  SHA512:
6
- metadata.gz: 2e70de03013d77d839ecd688de1328613150e8a34ed433ca31667d7bffbc9db1d1a9d79244f1aea54d96faabbcb03785f6c069a9db41a74c35638fe3d329baae
7
- data.tar.gz: fcfab017df81cad9ef30262a95710158b7045e396f22fc11b8710ac808aa33c074c6c31a3a74bd1f64dd4a421c819aa3abbd2c238295b206fcb7e39b6bba0c74
6
+ metadata.gz: e16ed8f33f905dcd5825d2272900174eae43b96595d73f5abf8c153899d0438c88c22473eb158253f2f87d4d7934467a50e465686ad99927b33e5456c9aeb5d8
7
+ data.tar.gz: 8207471f7c5380671c1ff643cf32d438e30d79b8e5c674eaaa2df0688f63e224f3f4b2ba7229cc6473ec743deef0a88ca15d69374e33017f4071dcdb11a711ee
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ # v0.4.1 2022-11-18
2
+ - Rename header to `Sentry-Error-Id` for consistency
3
+
1
4
  # v0.4.0 2022-11-14
2
5
  - Add `SentryErrorID` middleware
3
6
  - Drop support for Ruby 2.x
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- nxt_support (0.4.0)
4
+ nxt_support (0.4.1)
5
5
  activerecord
6
6
  activesupport
7
7
  nxt_init
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`. 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).
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-ID"] = env['sentry.error_event_id']
11
+ headers["Sentry-Error-Id"] = env['sentry.error_event_id']
12
12
  end
13
13
  [status, headers, body]
14
14
  end
@@ -1,3 +1,3 @@
1
1
  module NxtSupport
2
- VERSION = "0.4.0".freeze
2
+ VERSION = "0.4.1".freeze
3
3
  end
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.0
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 00:00:00.000000000 Z
14
+ date: 2022-11-21 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: activerecord