noticed 2.1.1 → 2.1.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: e64d58c0ef63c62be08a469e1ba9177d3a06641db4dadcaa0dbac3155cb0fee3
4
- data.tar.gz: 50b3cc355e8d1a1cb228f2b5950dac4be5e505b021810fab0b9076a21b1719bd
3
+ metadata.gz: 43eefdd546d7ac34ecda46280c788a4456b11263ee5eeb777889ce49ae02f0cd
4
+ data.tar.gz: f4c21e10faf3665497d9918975f1ed869191670d33cdf962d3276a16484bb697
5
5
  SHA512:
6
- metadata.gz: 92b9badbf82f4c5fb3cde41a88bae7cac8f0354e679f9c9b62b153d962de92e212207372264f87ce8f71289139cac462270e253e284fc1e1dfa1e1d2e34f58cd
7
- data.tar.gz: 419eef948c15ee9fd46664619de5ca5365e6adc0cdf0563155181bd09223279dfc4fb6a2e396bd162c0896448700abaa4de76e4c168658bbcbf3c32dc2ef5c34
6
+ metadata.gz: da10ad7be76da89c37d4883557dff1f2d58526a3a098c21515299fa15b1fc6597604e6c44cf8e79cdc6d73fad5f5249e92fa6c6f3ba15c65bf2c1c41a09b7cd5
7
+ data.tar.gz: 60fff6766131e56e258cf7ba44973c1e5b8ad12877bebe5ecc34f478994ada69bb3ef1e14e2b9f0ccb3450fe980af7d89e18fbe81304180e655b03196c3eb07c
data/README.md CHANGED
@@ -798,7 +798,7 @@ Running tests against multiple databases locally:
798
798
 
799
799
  ```
800
800
  DATABASE_URL=sqlite3:noticed_test rails test
801
- DATABASE_URL=mysql2://root:@127.0.0.1/noticed_test rails test
801
+ DATABASE_URL=trilogy://root:@127.0.0.1/noticed_test rails test
802
802
  DATABASE_URL=postgres://127.0.0.1/noticed_test rails test
803
803
  ```
804
804
 
@@ -1,4 +1,4 @@
1
- class AddNotificationsCountToNoticedEvent < ActiveRecord::Migration[7.1]
1
+ class AddNotificationsCountToNoticedEvent < ActiveRecord::Migration[6.1]
2
2
  def change
3
3
  add_column :noticed_events, :notifications_count, :integer
4
4
  end
@@ -20,7 +20,7 @@ module Noticed
20
20
  case current_adapter
21
21
  when "postgresql", "postgis"
22
22
  model.where("params @> ?", Noticed::Coder.dump(param_name.to_sym => self).to_json)
23
- when "mysql2"
23
+ when "mysql2", "trilogy"
24
24
  model.where("JSON_CONTAINS(params, ?)", Noticed::Coder.dump(param_name.to_sym => self).to_json)
25
25
  when "sqlite3"
26
26
  model.where("json_extract(params, ?) = ?", "$.#{param_name}", Noticed::Coder.dump(self).to_json)
@@ -1,3 +1,3 @@
1
1
  module Noticed
2
- VERSION = "2.1.1"
2
+ VERSION = "2.1.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: noticed
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.1
4
+ version: 2.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Oliver
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-01-30 00:00:00.000000000 Z
11
+ date: 2024-01-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails