notification-handler 1.2.2 → 1.2.3

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: 4f308db3e6b2c71b64572f15b0650fd9739aa4b43d634ad681e5edabd81cd655
4
- data.tar.gz: 954152c300ac209a8775cacd8b61e448ea9cc25d04c8d2db21624f5b23dccb9f
3
+ metadata.gz: 701ed3975a6f3fdfc0a0dca528e25423d0b73c4033898154737667e7629db382
4
+ data.tar.gz: e801cc32f93c145ec5116f2ba4a374b0c6dec3fc49e18fc35e05444edfca95d7
5
5
  SHA512:
6
- metadata.gz: 2e15b112acf0625ed9ad08f0d7fb115f7fe18b0ef054d1631ca24e9741dfa9c9df5a8691adde72453cb2efcb723792313bd059e61cfda8525ce568dc0a16c320
7
- data.tar.gz: 12cd8ff90bc57c5d7e1d55dd1e649d6112fddc772cc21dbfe0ccd9d88a2808801b9206ceb3d9078fb8c929927d2c9a9ed3efe7929686635711d5557b9d0cd610
6
+ metadata.gz: 0416a0930111d5e3a846e6673b6ceb711249a6551b449ee0a0249abb161a543c416fb8c1d4b0969ec1784380903ccbd595e20feff9666e7c0b707338bfb50c35
7
+ data.tar.gz: 9c2d13f601e5e935e70f86782bba31ac08854c20c8bffe988b22c10aa110c97034fc81c9fb75268950a70f8f6c01a126ff5d1171d4a0d62d0c615a1b04cf3fa8
data/CHANGELOG.md CHANGED
@@ -4,35 +4,40 @@
4
4
 
5
5
  * nothing yet
6
6
 
7
- ### 1.0.0 - 2017-12-28
7
+ ### 1.2.3 - 2018/01/23
8
8
 
9
9
  * bugfixes
10
+ * removed ActiveRecord STI from `Notification` model
10
11
 
11
- ### 1.0.0.beta6 - 2017-12-28
12
+ ### 1.0.0 - 2017/12/28
13
+
14
+ * bugfixes
15
+
16
+ ### 1.0.0.beta6 - 2017/12/28
12
17
 
13
18
  * bugfixes
14
19
  * fix lib loading problems
15
20
 
16
- ### 1.0.0.beta5 - 2017-12-28
21
+ ### 1.0.0.beta5 - 2017/12/28
17
22
 
18
23
  * bugfixes
19
24
  * fix generators
20
25
  * fix lib loading problems
21
26
  * fix syntax errors
22
27
 
23
- ### 1.0.0.beta4 - 2017-12-27
28
+ ### 1.0.0.beta4 - 2017/12/27
24
29
 
25
30
  * features
26
31
  * add caching functionality
27
32
  * add `read` attribute to `Notification` instances
28
33
  * add `notify` method to notification targets
29
34
 
30
- ### 1.0.0.beta3 - 2017-12-25
35
+ ### 1.0.0.beta3 - 2017/12/25
31
36
 
32
37
  * features
33
38
  * allow `Group` object definition in configuration
34
39
 
35
- ### 1.0.0.beta2 - 2017-12-23
40
+ ### 1.0.0.beta2 - 2017/12/23
36
41
 
37
42
  * features
38
43
  * add `NotificationHandler::Group` class for target grouping notifications
@@ -41,6 +46,6 @@
41
46
  * add custom `NotificationHandler::Notification` class
42
47
  * drop Rails dependency
43
48
 
44
- ### 1.0.0.beta1 - 2017-12-22
49
+ ### 1.0.0.beta1 - 2017/12/22
45
50
 
46
51
  * initial release
@@ -6,6 +6,8 @@ module NotificationHandler
6
6
  extend ActiveSupport::Concern
7
7
 
8
8
  included do
9
+ self.inheritance_column = :_type_disabled
10
+
9
11
  before_validation :create_for_group
10
12
  after_commit :cache
11
13
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: notification-handler
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.2
4
+ version: 1.2.3
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-02 00:00:00.000000000 Z
11
+ date: 2018-01-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties
@@ -81,7 +81,7 @@ dependencies:
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0.52'
83
83
  description: Create and modify your notifications through a simple API.
84
- email: jonas.huebotter@gmail.com
84
+ email: me@jonhue.me
85
85
  executables: []
86
86
  extensions: []
87
87
  extra_rdoc_files: []