notification-renderer 1.2.5 → 1.2.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE +21 -21
- data/README.md +328 -328
- data/app/helpers/notification_renderer_helper.rb +80 -63
- data/lib/generators/notification_renderer/install_generator.rb +33 -36
- data/lib/generators/notification_renderer/type_generator.rb +23 -14
- data/lib/generators/templates/install/initializer.rb +12 -12
- data/lib/generators/templates/install/notifications_migration.rb.erb +5 -3
- data/lib/generators/templates/type/_template.html +7 -7
- data/lib/notification-renderer.rb +10 -10
- data/lib/notification_renderer/configuration.rb +24 -26
- data/lib/notification_renderer/engine.rb +9 -7
- data/lib/notification_renderer/notification_library.rb +49 -45
- data/lib/notification_renderer/notification_scopes.rb +24 -26
- metadata +46 -34
- data/CHANGELOG.md +0 -46
- data/lib/generators/templates/install/README.md +0 -1
metadata
CHANGED
@@ -1,99 +1,113 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: notification-renderer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.6
|
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-
|
11
|
+
date: 2018-12-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: actionview
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '5.
|
19
|
+
version: '5.2'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '5.
|
26
|
+
version: '5.2'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: activesupport
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
31
|
+
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '5.
|
33
|
+
version: '5.2'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - "
|
38
|
+
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '5.
|
40
|
+
version: '5.2'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
|
-
name:
|
42
|
+
name: notification-handler
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - '='
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version:
|
47
|
+
version: 1.2.6
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- -
|
52
|
+
- - '='
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version:
|
54
|
+
version: 1.2.6
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
56
|
+
name: railties
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- -
|
59
|
+
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
61
|
+
version: '5.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:
|
68
|
+
version: '5.2'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: rspec
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- - "
|
73
|
+
- - ">="
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: '
|
75
|
+
version: '0'
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- - "
|
80
|
+
- - ">="
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: '
|
82
|
+
version: '0'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: rubocop
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
|
-
- - "
|
87
|
+
- - ">="
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: '0
|
89
|
+
version: '0'
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
|
-
- - "
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: rubocop-rspec
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
95
109
|
- !ruby/object:Gem::Version
|
96
|
-
version: '0
|
110
|
+
version: '0'
|
97
111
|
description: Render your notifications on multiple platforms by specifying notification
|
98
112
|
types.
|
99
113
|
email: me@jonhue.me
|
@@ -101,13 +115,11 @@ executables: []
|
|
101
115
|
extensions: []
|
102
116
|
extra_rdoc_files: []
|
103
117
|
files:
|
104
|
-
- CHANGELOG.md
|
105
118
|
- LICENSE
|
106
119
|
- README.md
|
107
120
|
- app/helpers/notification_renderer_helper.rb
|
108
121
|
- lib/generators/notification_renderer/install_generator.rb
|
109
122
|
- lib/generators/notification_renderer/type_generator.rb
|
110
|
-
- lib/generators/templates/install/README.md
|
111
123
|
- lib/generators/templates/install/initializer.rb
|
112
124
|
- lib/generators/templates/install/notifications_migration.rb.erb
|
113
125
|
- lib/generators/templates/type/_template.html
|
@@ -128,7 +140,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
128
140
|
requirements:
|
129
141
|
- - ">="
|
130
142
|
- !ruby/object:Gem::Version
|
131
|
-
version:
|
143
|
+
version: 2.2.2
|
132
144
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
133
145
|
requirements:
|
134
146
|
- - ">="
|
@@ -136,7 +148,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
136
148
|
version: '0'
|
137
149
|
requirements: []
|
138
150
|
rubyforge_project:
|
139
|
-
rubygems_version: 2.7.
|
151
|
+
rubygems_version: 2.7.6
|
140
152
|
signing_key:
|
141
153
|
specification_version: 4
|
142
154
|
summary: Render your notifications on multiple platforms by specifying notification
|
data/CHANGELOG.md
DELETED
@@ -1,46 +0,0 @@
|
|
1
|
-
# Changelog
|
2
|
-
|
3
|
-
### master
|
4
|
-
|
5
|
-
* nothing yet
|
6
|
-
|
7
|
-
### 1.2.3 - 2018/01/23
|
8
|
-
|
9
|
-
* enhancements
|
10
|
-
* made `attribute` & `notifications_count` parameters optional for `render_notification` method
|
11
|
-
* bugfixes
|
12
|
-
* fixed magic type scopes
|
13
|
-
|
14
|
-
### 1.0.0 - 2017/12/28
|
15
|
-
|
16
|
-
* bugfixes
|
17
|
-
|
18
|
-
### 1.0.0.beta6 - 2017/12/28
|
19
|
-
|
20
|
-
* bugfixes
|
21
|
-
* fix lib loading problems
|
22
|
-
|
23
|
-
### 1.0.0.beta5 - 2017/12/28
|
24
|
-
|
25
|
-
* bugfixes
|
26
|
-
* fix generators
|
27
|
-
* fix lib loading problems
|
28
|
-
* fix syntax errors
|
29
|
-
|
30
|
-
### 1.0.0.beta4 - 2017/12/27
|
31
|
-
|
32
|
-
* features
|
33
|
-
* add helpers
|
34
|
-
* add `default_renderer` and `auto_read` configuration options
|
35
|
-
* add grouping functionality
|
36
|
-
* enhancements
|
37
|
-
* allow defining renderers for `type` generator
|
38
|
-
|
39
|
-
### 1.0.0.beta3 - 2017/12/25
|
40
|
-
|
41
|
-
* features
|
42
|
-
* introduce `type` generator
|
43
|
-
|
44
|
-
### 1.0.0.beta2 - 2017/12/23
|
45
|
-
|
46
|
-
* initial release
|
@@ -1 +0,0 @@
|
|
1
|
-
Now run `rails db:migrate` to add NotificationRenderer to your database.
|