notable 0.5.1 → 0.5.2

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: b354f7fdb60d03d6441cbdffb6c2f3e55fc188e044f1d40501e7c4815eabcede
4
- data.tar.gz: aff95f576ea2e934ef77b13a938472caba1a85ad249a60b01fb7d87ce8f9a300
3
+ metadata.gz: 8b31d4143d14d64607e2def24347627f2fd28d9b5b3870fb676d675c6c2960ba
4
+ data.tar.gz: 7a00b522829922dbf5fe67790a3f34876bf4f72872e371aa85eb1c0f54d183c9
5
5
  SHA512:
6
- metadata.gz: bd23b6c24095afb0ca2c3aab01fae31c16ceda3f95356a5341057a39d3fd00a60082a800fe1148a964bc6921a1cd70218326660413de1867df742656521cb53f
7
- data.tar.gz: c957860c28031e238044d168f3c6089bc04e6e3b4ed339a50369823f3a715e6980f988b55b3ea45ef1c1b03cef5e71d25ebc4e19617b0390b6778490ec0928b6
6
+ metadata.gz: a81365335fd37a237c60e3da09ce271d5758c32a28a033d4424d65dc7e540d8dae170f692900b495f5a8de0a82372abe10c6faf642dbfe387017708f30aa6914
7
+ data.tar.gz: cbcd5b896609b8d54c25c1aa6c05e61672c0f49b46e3c9152acb9d3c40e923900d4e04244b71b22155cf661a6b277baf594948ff679ec14eea8e983bda468ef9
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 0.5.2 (2023-12-26)
2
+
3
+ - Fixed deprecation warning with Rack 3
4
+
1
5
  ## 0.5.1 (2023-09-05)
2
6
 
3
7
  - Fixed deprecation warning with Rails 7.1
@@ -1,7 +1,7 @@
1
1
  module Notable
2
2
  module DebugExceptions
3
- def render_exception(env, exception, *)
4
- env["action_dispatch.exception"] = exception
3
+ def render_exception(request, exception, *)
4
+ request.env["action_dispatch.exception"] = exception
5
5
  super
6
6
  end
7
7
  end
@@ -6,6 +6,7 @@ module Notable
6
6
  if Notable.requests_enabled?
7
7
  # insert in same place as request_store
8
8
  app.config.middleware.insert_after ActionDispatch::RequestId, Notable::Middleware
9
+ # TODO switch to register_interceptor in 0.6.0
9
10
  ActionDispatch::DebugExceptions.prepend Notable::DebugExceptions
10
11
  end
11
12
  end
@@ -1,3 +1,3 @@
1
1
  module Notable
2
- VERSION = "0.5.1"
2
+ VERSION = "0.5.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: notable
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Kane
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-09-05 00:00:00.000000000 Z
11
+ date: 2023-12-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -82,7 +82,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
82
82
  - !ruby/object:Gem::Version
83
83
  version: '0'
84
84
  requirements: []
85
- rubygems_version: 3.4.10
85
+ rubygems_version: 3.5.3
86
86
  signing_key:
87
87
  specification_version: 4
88
88
  summary: Track notable requests and background jobs