notable 0.5.0 → 0.5.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: 6901159f15d1920eaf07ff40c239d4b05d75bb469c55ddebc67874703e362efe
4
- data.tar.gz: 5092cf2e632b615faaae6a1027104597ab4a434102374f9fc7a0eff7c5246b46
3
+ metadata.gz: b354f7fdb60d03d6441cbdffb6c2f3e55fc188e044f1d40501e7c4815eabcede
4
+ data.tar.gz: aff95f576ea2e934ef77b13a938472caba1a85ad249a60b01fb7d87ce8f9a300
5
5
  SHA512:
6
- metadata.gz: fc4b419c11fc0dae0cac44c8ba581cff4df203cb4be3b462876e46b315139b3f2e71737ef69e2c28c07ed05ce3840aab6602ada5739bb51a0e5b2d5dc5abfbd4
7
- data.tar.gz: c0ce85fa70b1930db449a3570f29c2e41adf13db86c5a2ade506978294de6daf82e4231ea7ce1fbe226b82cbcac63c87db4aaeb9748b114796b34610650913f5
6
+ metadata.gz: bd23b6c24095afb0ca2c3aab01fae31c16ceda3f95356a5341057a39d3fd00a60082a800fe1148a964bc6921a1cd70218326660413de1867df742656521cb53f
7
+ data.tar.gz: c957860c28031e238044d168f3c6089bc04e6e3b4ed339a50369823f3a715e6980f988b55b3ea45ef1c1b03cef5e71d25ebc4e19617b0390b6778490ec0928b6
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 0.5.1 (2023-09-05)
2
+
3
+ - Fixed deprecation warning with Rails 7.1
4
+
1
5
  ## 0.5.0 (2023-07-02)
2
6
 
3
7
  - Dropped support for Ruby < 3 and Rails < 6.1
@@ -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
- serialize :params, JSON
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
@@ -1,6 +1,6 @@
1
1
  module Notable
2
2
  module DebugExceptions
3
- def render_exception(env, exception)
3
+ def render_exception(env, exception, *)
4
4
  env["action_dispatch.exception"] = exception
5
5
  super
6
6
  end
@@ -1,3 +1,3 @@
1
1
  module Notable
2
- VERSION = "0.5.0"
2
+ VERSION = "0.5.1"
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.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: 2023-07-02 00:00:00.000000000 Z
11
+ date: 2023-09-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport