notifiable-core 0.3.1 → 0.3.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: fbb22666f1ae73da27f310c4ea5cc2b04a4208e18c83f3bae654c14bb4637503
4
- data.tar.gz: 06fb15bbd2075f8fcd58b63198eb71ce8848574e890457c456b66651b103e8fe
3
+ metadata.gz: 526a4ae5fe3fa1099724e52e9ca6155ce5d57f08c2efd47a189fd7f0372154ca
4
+ data.tar.gz: 30aa32994ec4e7d81cd29887d44291b4d50717022ed03dbdeca91f73bcee66c4
5
5
  SHA512:
6
- metadata.gz: b26de78fab29c0214325c9cab5101662d9d1e96f8b3efaf0a913f58e0d46e5ae54c27b3444732aa1240659e68374f4e799a5ecb3e85e5d28714ee777a7af8167
7
- data.tar.gz: 322883b650d8fa58fa495759c5addce9a39ffc98502b338c0b02735c7b64a4aeeecd3c61f8fec50d7b912aa85d763494e26955d98e81064bf2204cb1f8d3f98b
6
+ metadata.gz: ea9c9b7e7095e7f0ea084598c105b53b5045de50b0aa0edf16cb340c2a9be77bc69f70af3c959aa44f16df0ddadb57de038e6687f493a1a23f0e38fad9fe49da
7
+ data.tar.gz: 58709243933863c7f68f044b5dc2469e2e5858aa7c62c83a4f09ec8eb39f920ee0215901d4f8c31bb5709b0915854bbf5b4d216374ec5b1d775eaa07ca57f0cc
@@ -0,0 +1,5 @@
1
+ class AddUserIdToNotifiableDeviceTokens < ActiveRecord::Migration[4.2]
2
+ def change
3
+ remove_column :notifiable_users, :user_alias, :string
4
+ end
5
+ end
@@ -4,5 +4,7 @@ module Notifiable
4
4
 
5
5
  belongs_to :app, class_name: 'Notifiable::App'
6
6
  has_many :device_tokens, class_name: 'Notifiable::DeviceToken'
7
+
8
+ validates :alias, presence: true, allow_blank: false
7
9
  end
8
10
  end
@@ -1,3 +1,3 @@
1
1
  module Notifiable
2
- VERSION = '0.3.1'.freeze
2
+ VERSION = '0.3.2'.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.1
4
+ version: 0.3.2
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: 2018-10-08 00:00:00.000000000 Z
11
+ date: 2018-10-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
@@ -220,6 +220,7 @@ files:
220
220
  - db/migrate/201809032235000_add_delivered_count_to_notifications.rb
221
221
  - db/migrate/201810082235000_create_notifiable_users.rb
222
222
  - db/migrate/201810082235001_add_user_id_to_notifiable_device_tokens.rb
223
+ - db/migrate/201810090108000_remove_user_alias_from_notifiable_users.rb
223
224
  - lib/notifiable.rb
224
225
  - lib/notifiable/app.rb
225
226
  - lib/notifiable/device_token.rb