notification-settings 1.2.0 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/notification_settings/target.rb +2 -2
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 656596c6e8e8be29a6fe3b63cbbb017e8b608743b935218554aebca40049beec
|
4
|
+
data.tar.gz: 76de982fb9ae1c5d4325263a02653910f0f27968e6d45d0574ce7a07ddc0721e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 64184b9db823694d9c22f98900a3e11bf1f4dae1ae21927f9818fd357c2b9cddc8ab2a543c3848938d9f005052da751123db74502ab8391c8e87be57aac66fca
|
7
|
+
data.tar.gz: 8ad11abdc576f9f4a91240fd782d2b44b208751ca3c399c09c47ffffe55e26041f0f76d980a493fd153aa70adf0eaf9f6173108579366c926d094a1d7f1ab593
|
data/CHANGELOG.md
CHANGED
@@ -7,7 +7,7 @@ module NotificationSettings
|
|
7
7
|
|
8
8
|
included do
|
9
9
|
has_one :notification_setting, as: :object, class_name: 'NotificationSettings::Setting', dependent: :destroy
|
10
|
-
|
10
|
+
before_create :create_notification_setting
|
11
11
|
|
12
12
|
include NotificationSettings::Target::InstanceMethods
|
13
13
|
end
|
@@ -17,7 +17,7 @@ module NotificationSettings
|
|
17
17
|
private
|
18
18
|
|
19
19
|
def create_notification_setting
|
20
|
-
self.
|
20
|
+
self.build_notification_setting
|
21
21
|
end
|
22
22
|
|
23
23
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: notification-settings
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jonas Hübotter
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-01-
|
11
|
+
date: 2018-01-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|
@@ -58,14 +58,14 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - '='
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 1.2.
|
61
|
+
version: 1.2.1
|
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.2.
|
68
|
+
version: 1.2.1
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: rspec
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|