noticed 2.1.1 → 2.1.3
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: 4481f215fcf7bde433f273ff7e3b7df9a0af5971eae6827e108f667fb21e57f4
|
4
|
+
data.tar.gz: 67360b14ce530e2ad2433ee8271c8c0e231220908d8c4014b817517eb3d9185a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a9a5d6e6b500e8e4ce297951058f46abf4e3b5c23f42b5e904cfd3a2a7dce6b4f4d933e12731fbde524e70d2339d1a698375eabdd4ba6fd26898e0a0910d2ac8
|
7
|
+
data.tar.gz: 9b4b44dcb8d1fe3fc540e2cdea0ff039846ce56b3b0e1bf709b98f484ee58e7f4ab0ad6566fdbccf2eec1a28297ad511db00ed87b3825a5eaac0d1e532086173
|
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
|
|
@@ -2,7 +2,7 @@ module Noticed
|
|
2
2
|
module DeliveryMethods
|
3
3
|
class TwilioMessaging < DeliveryMethod
|
4
4
|
def deliver
|
5
|
-
post_request url, basic_auth: {user: account_sid, pass: auth_token}, form: json
|
5
|
+
post_request url, basic_auth: {user: account_sid, pass: auth_token}, form: json.stringify_keys
|
6
6
|
end
|
7
7
|
|
8
8
|
def json
|
@@ -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.3
|
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-02-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|