notification-settings 1.1.1 → 1.1.2
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 +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/generators/templates/install/notifications_migration.rb.erb +3 -3
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5972f18fd90453803b464904b668bd3f908ed01e51acd07d3a20e498dcc8e956
|
|
4
|
+
data.tar.gz: fbaeced3b28d810bd5b9ff449eb6a021e61402f5223f5c1c372ecaa94f5d99ff
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 579f407fb64d82aa9401a23a591003a5016fbdbdaf0aa66e1967c6b6167adb09513d66d2cd46696ff1463ce65eb7b900c41c78963a4f7f8a8d1b61e284e927d8
|
|
7
|
+
data.tar.gz: ea64460d759b552f28977a566d1048d38524ee57b6f749dd6cb5c6526277436cb61a54b5fb70c62c40853cf040b0daac7d9bfa1b3c3eaed1f36f92760b3b1316
|
data/CHANGELOG.md
CHANGED
|
@@ -5,7 +5,7 @@ class NotificationSettingsMigration < ActiveRecord::Migration<%= migration_versi
|
|
|
5
5
|
|
|
6
6
|
create_table :notification_settings_settings do |t|
|
|
7
7
|
|
|
8
|
-
t.references :object, polymorphic: true, index:
|
|
8
|
+
t.references :object, polymorphic: true, index: { name: 'idx_settings_object_type_object_id' }
|
|
9
9
|
t.references :subscription, index: true
|
|
10
10
|
|
|
11
11
|
t.string :status
|
|
@@ -19,8 +19,8 @@ class NotificationSettingsMigration < ActiveRecord::Migration<%= migration_versi
|
|
|
19
19
|
|
|
20
20
|
create_table :notification_settings_subscriptions do |t|
|
|
21
21
|
|
|
22
|
-
t.references :subscriber, polymorphic: true, index:
|
|
23
|
-
t.references :subscribable, polymorphic: true, index:
|
|
22
|
+
t.references :subscriber, polymorphic: true, index: { name: 'idx_subscriptions_subscriber_type_subscriber_id' }
|
|
23
|
+
t.references :subscribable, polymorphic: true, index: { name: 'idx_subscriptions_subscribable_type_subscribable_id' }
|
|
24
24
|
|
|
25
25
|
t.timestamps
|
|
26
26
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: notification-settings
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.1.
|
|
4
|
+
version: 1.1.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jonas Hübotter
|
|
@@ -58,14 +58,14 @@ dependencies:
|
|
|
58
58
|
requirements:
|
|
59
59
|
- - '='
|
|
60
60
|
- !ruby/object:Gem::Version
|
|
61
|
-
version: 1.1.
|
|
61
|
+
version: 1.1.2
|
|
62
62
|
type: :runtime
|
|
63
63
|
prerelease: false
|
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
|
65
65
|
requirements:
|
|
66
66
|
- - '='
|
|
67
67
|
- !ruby/object:Gem::Version
|
|
68
|
-
version: 1.1.
|
|
68
|
+
version: 1.1.2
|
|
69
69
|
- !ruby/object:Gem::Dependency
|
|
70
70
|
name: rspec
|
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|