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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 43eefdd546d7ac34ecda46280c788a4456b11263ee5eeb777889ce49ae02f0cd
|
4
|
+
data.tar.gz: f4c21e10faf3665497d9918975f1ed869191670d33cdf962d3276a16484bb697
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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=
|
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
|
|
@@ -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)
|
data/lib/noticed/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2024-01-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|