notable 0.5.0 → 0.5.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/app/models/notable/request.rb +5 -1
- data/lib/notable/debug_exceptions.rb +2 -2
- data/lib/notable/engine.rb +1 -0
- data/lib/notable/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: 8b31d4143d14d64607e2def24347627f2fd28d9b5b3870fb676d675c6c2960ba
|
4
|
+
data.tar.gz: 7a00b522829922dbf5fe67790a3f34876bf4f72872e371aa85eb1c0f54d183c9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a81365335fd37a237c60e3da09ce271d5758c32a28a033d4424d65dc7e540d8dae170f692900b495f5a8de0a82372abe10c6faf642dbfe387017708f30aa6914
|
7
|
+
data.tar.gz: cbcd5b896609b8d54c25c1aa6c05e61672c0f49b46e3c9152acb9d3c40e923900d4e04244b71b22155cf661a6b277baf594948ff679ec14eea8e983bda468ef9
|
data/CHANGELOG.md
CHANGED
@@ -3,6 +3,10 @@ module Notable
|
|
3
3
|
self.table_name = "notable_requests"
|
4
4
|
|
5
5
|
belongs_to :user, polymorphic: true, optional: true
|
6
|
-
|
6
|
+
if ActiveRecord::VERSION::STRING.to_f >= 7.1
|
7
|
+
serialize :params, coder: JSON
|
8
|
+
else
|
9
|
+
serialize :params, JSON
|
10
|
+
end
|
7
11
|
end
|
8
12
|
end
|
data/lib/notable/engine.rb
CHANGED
@@ -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
|
data/lib/notable/version.rb
CHANGED
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.
|
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-
|
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.
|
85
|
+
rubygems_version: 3.5.3
|
86
86
|
signing_key:
|
87
87
|
specification_version: 4
|
88
88
|
summary: Track notable requests and background jobs
|