notifiable-core 0.3.6 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/notifiable/device_token.rb +1 -1
- data/lib/notifiable/version.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 366a0c070b9f8344670965c72c45dae6a6b5098075f447116d727b432c731166
|
4
|
+
data.tar.gz: '07941317f4d1eae502d91babd73140b8f295988d734f7bcea760bbc93cf1ca4e'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f92418119268c2e7f503e0ff0b00bff99d595ec9c090e919429da84e3b5920c7af19272b12f9eed3e722231527c9e37212679a6f3641bf0c6cdc5e42b66142ad
|
7
|
+
data.tar.gz: fb546cd6bc6f5281dafb41dee6e279b72e1c324fd6a92f85970d6b1a11f91862c113e0cfb806bc85be3d23ea390a6075208358f57edc3f24d2b932cb01f4cb78
|
@@ -6,7 +6,7 @@ module Notifiable
|
|
6
6
|
belongs_to :user, class_name: 'Notifiable::User', optional: true
|
7
7
|
has_many :notification_statuses, class_name: 'Notifiable::NotificationStatus'
|
8
8
|
|
9
|
-
validates :token, presence: true, uniqueness: { scope: :app }
|
9
|
+
validates :token, presence: true, uniqueness: { scope: :app, case_sensitive: false }
|
10
10
|
validates :provider, presence: true
|
11
11
|
validates :app, presence: true
|
12
12
|
validates :language, length: { in: 2..3 }, allow_blank: true # ISO 639-1 or ISO 6369-2 language code
|
data/lib/notifiable/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: notifiable-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matt Brooke-Smith
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-10-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|
@@ -251,8 +251,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
251
251
|
- !ruby/object:Gem::Version
|
252
252
|
version: '0'
|
253
253
|
requirements: []
|
254
|
-
|
255
|
-
rubygems_version: 2.7.3
|
254
|
+
rubygems_version: 3.0.3
|
256
255
|
signing_key:
|
257
256
|
specification_version: 4
|
258
257
|
summary: Notifiable core classes.
|