notifiable-core 0.3.6 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1427ccac199f47f96daa1d595cf268afd209c6978a49e1ad7898b2691e1005bb
4
- data.tar.gz: e0786860a970e8b4595d1fc7e5c1191a71e1d80d028b11068fa2e9a846fbde13
3
+ metadata.gz: 366a0c070b9f8344670965c72c45dae6a6b5098075f447116d727b432c731166
4
+ data.tar.gz: '07941317f4d1eae502d91babd73140b8f295988d734f7bcea760bbc93cf1ca4e'
5
5
  SHA512:
6
- metadata.gz: 3e982db98e43064de02381249da8b4e633dea047c22456e8d42395cf521cdbef7bf32cdb217931fa9b1d6180641494fe36a0357431e177fff03a01736efae3ae
7
- data.tar.gz: 36f37995efed8d09f6a67f2b21f47a1d247d0b86390aea1c46a0b22056fb0f53fde96ecc908ed0fb5bb03d1b2c1d3922984dd06422c869199e8f370936471d14
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
@@ -1,3 +1,3 @@
1
1
  module Notifiable
2
- VERSION = '0.3.6'.freeze
2
+ VERSION = '0.4.0'.freeze
3
3
  end
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.3.6
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-01-03 00:00:00.000000000 Z
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
- rubyforge_project:
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.