notable 0.4.1 → 0.5.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 +8 -0
- data/LICENSE.txt +1 -1
- data/app/models/notable/request.rb +5 -1
- data/lib/notable/debug_exceptions.rb +1 -1
- data/lib/notable/version.rb +1 -1
- data/lib/notable.rb +6 -6
- metadata +8 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b354f7fdb60d03d6441cbdffb6c2f3e55fc188e044f1d40501e7c4815eabcede
|
4
|
+
data.tar.gz: aff95f576ea2e934ef77b13a938472caba1a85ad249a60b01fb7d87ce8f9a300
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bd23b6c24095afb0ca2c3aab01fae31c16ceda3f95356a5341057a39d3fd00a60082a800fe1148a964bc6921a1cd70218326660413de1867df742656521cb53f
|
7
|
+
data.tar.gz: c957860c28031e238044d168f3c6089bc04e6e3b4ed339a50369823f3a715e6980f988b55b3ea45ef1c1b03cef5e71d25ebc4e19617b0390b6778490ec0928b6
|
data/CHANGELOG.md
CHANGED
data/LICENSE.txt
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/version.rb
CHANGED
data/lib/notable.rb
CHANGED
@@ -3,13 +3,13 @@ require "active_support"
|
|
3
3
|
require "safely/core"
|
4
4
|
|
5
5
|
# modules
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
6
|
+
require_relative "notable/debug_exceptions"
|
7
|
+
require_relative "notable/middleware"
|
8
|
+
require_relative "notable/throttle"
|
9
|
+
require_relative "notable/unpermitted_parameters"
|
10
|
+
require_relative "notable/version"
|
11
11
|
|
12
|
-
|
12
|
+
require_relative "notable/engine" if defined?(Rails)
|
13
13
|
|
14
14
|
module Notable
|
15
15
|
class << self
|
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.
|
4
|
+
version: 0.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Kane
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-09-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -16,28 +16,28 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '6.1'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
26
|
+
version: '6.1'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: safely_block
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 0.
|
33
|
+
version: '0.4'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 0.
|
40
|
+
version: '0.4'
|
41
41
|
description:
|
42
42
|
email: andrew@ankane.org
|
43
43
|
executables: []
|
@@ -75,14 +75,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
75
75
|
requirements:
|
76
76
|
- - ">="
|
77
77
|
- !ruby/object:Gem::Version
|
78
|
-
version: '
|
78
|
+
version: '3'
|
79
79
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
80
80
|
requirements:
|
81
81
|
- - ">="
|
82
82
|
- !ruby/object:Gem::Version
|
83
83
|
version: '0'
|
84
84
|
requirements: []
|
85
|
-
rubygems_version: 3.
|
85
|
+
rubygems_version: 3.4.10
|
86
86
|
signing_key:
|
87
87
|
specification_version: 4
|
88
88
|
summary: Track notable requests and background jobs
|