notifications-rails 1.2.5 → 1.2.6

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.
Files changed (6) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE +21 -21
  3. data/README.md +108 -109
  4. data/lib/notifications-rails.rb +6 -4
  5. metadata +38 -39
  6. data/INSTALL.md +0 -14
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2d8403239f3c2d61576d0c92b5dfa28ce7ff2fc0ed4eb8413e8a9f546a3a08ac
4
- data.tar.gz: 0f0c988278c531a299ba3baab03a268a936d5407a65f3834eb774d838d4a7597
3
+ metadata.gz: ec9db2c6a46c6fb8c432498e585cf0142d0ca63e224550576d723c55bc7e9b21
4
+ data.tar.gz: 1d51c6c6c42b811d702f5892d299f32fdb9becbfc0156a0dd6378d8d5ad5e931
5
5
  SHA512:
6
- metadata.gz: d81066a2e8a7d139b544bf6c7e8732e01dcfb8d54c89552c740c67904af135bf731c47c17be58cf336b610528c8e31989fff90d06361294772750ecc2ff7e72c
7
- data.tar.gz: 70e7a1301fe15cb65d95694fe09323cc0087309d12beb125798942d62fe6c452cd0c007edb109d8b86230c51973936faf7560a9f9787340729d5bb3ed91b7a30
6
+ metadata.gz: a77408483d6b6a888fad956d9ffb12eb32f72167c4dc9a6f887748b15372fc7756347c21be4680f8dffcbacafada03f420093d6f455a5dd7f6426c7edd8ecf89
7
+ data.tar.gz: 5753225b9dc9a146ed819b3217ff57891689ef80d17097880ba21245de7be9b04286bc448e79206880e6123e1ec0ab3768c31e0c303ab097a20c0548cc3de432
data/LICENSE CHANGED
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2017 Jonas Hübotter
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+ MIT License
2
+
3
+ Copyright (c) 2017 Jonas Hübotter
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
data/README.md CHANGED
@@ -1,109 +1,108 @@
1
- # NotificationsRails
2
-
3
- [![Gem Version](https://badge.fury.io/rb/notifications-rails.svg)](https://badge.fury.io/rb/notifications-rails) <img src="https://travis-ci.org/jonhue/notifications-rails.svg?branch=master" />
4
-
5
- The most powerful notification solution for Rails. NotificationsRails simplifies the handling, rendering, user-integration and cross-platform pushing of notifications through its simple API.
6
-
7
- It integrates with the [Native](https://github.com/NativeGap/native-rails) gem to allow you to create a cross platform Rails app.
8
-
9
- ---
10
-
11
- ## Table of Contents
12
-
13
- * [Philosophy](#philosophy)
14
- * [Installation](#installation)
15
- * [To Do](#to-do)
16
- * [Contributing](#contributing)
17
- * [Contributors](#contributors)
18
- * [Semantic versioning](#semantic-versioning)
19
- * [License](#license)
20
-
21
- ---
22
-
23
- ## Philosophy
24
-
25
- NotificationsRails has been built with modularity in mind. It currently consists of four components each of which bringing one essential functionality to the notification-integration in your Rails app.
26
-
27
- **[NotificationHandler](notification-handler):** Create and modify your notifications through a simple API.
28
-
29
- **[NotificationRenderer](notification-renderer):** Render your notifications on multiple platforms by specifying notification types.
30
-
31
- **[NotificationPusher](notification-pusher):** Push your notifications to various services. Including [Email](notification-pusher/notification-pusher-actionmailer), [ActionCable](notification-pusher/notification-pusher-actioncable), [OneSignal](notification-pusher/notification-pusher-onesignal).
32
-
33
- **[NotificationSettings](notification-settings):** Integrates with your authentication solution to craft a personalized user notification platform.
34
-
35
- You may just add the components you actually need, or instead use this gem to bundle everything for a complete notification solution.
36
-
37
- ---
38
-
39
- ## Installation
40
-
41
- NotificationsRails works with Rails 5 onwards. You can add it to your `Gemfile` with:
42
-
43
- ```ruby
44
- gem 'notifications-rails'
45
- ```
46
-
47
- And then execute:
48
-
49
- $ bundle
50
-
51
- Or install it yourself as:
52
-
53
- $ gem install notifications-rails
54
-
55
- If you always want to be up to date fetch the latest from GitHub in your `Gemfile`:
56
-
57
- ```ruby
58
- gem 'notifications-rails', github: 'jonhue/notifications-rails'
59
- ```
60
-
61
- ---
62
-
63
- ## To Do
64
-
65
- [Here](https://github.com/jonhue/notifications-rails/projects) is the full list of current projects.
66
-
67
- To propose your ideas, initiate the discussion by adding a [new issue](https://github.com/jonhue/notifications-rails/issues/new).
68
-
69
- ---
70
-
71
- ## Contributing
72
-
73
- We hope that you will consider contributing to NotificationsRails. Please read this short overview for some information about how to get started:
74
-
75
- [Learn more about contributing to this repository](CONTRIBUTING.md), [Code of Conduct](CODE_OF_CONDUCT.md)
76
-
77
- ### Contributors
78
-
79
- Give the people some :heart: who are working on this project. See them all at:
80
-
81
- https://github.com/jonhue/notifications-rails/graphs/contributors
82
-
83
- ### Semantic Versioning
84
-
85
- NotificationsRails follows Semantic Versioning 2.0 as defined at http://semver.org.
86
-
87
- ## License
88
-
89
- MIT License
90
-
91
- Copyright (c) 2017 Jonas Hübotter
92
-
93
- Permission is hereby granted, free of charge, to any person obtaining a copy
94
- of this software and associated documentation files (the "Software"), to deal
95
- in the Software without restriction, including without limitation the rights
96
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
97
- copies of the Software, and to permit persons to whom the Software is
98
- furnished to do so, subject to the following conditions:
99
-
100
- The above copyright notice and this permission notice shall be included in all
101
- copies or substantial portions of the Software.
102
-
103
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
104
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
105
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
106
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
107
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
108
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
109
- SOFTWARE.
1
+ # Notifications Rails
2
+
3
+ [![Gem Version](https://badge.fury.io/rb/notifications-rails.svg)](https://badge.fury.io/rb/notifications-rails) ![Travis](https://travis-ci.org/jonhue/notifications-rails.svg?branch=master)
4
+
5
+ The most powerful notification solution for Rails. Notifications Rails simplifies the handling, rendering, user-integration and cross-platform pushing of notifications through its simple API.
6
+
7
+ It integrates with the [Native](https://github.com/NativeGap/nativegap-rails) gem to allow you to create a cross platform Rails app.
8
+
9
+ ---
10
+
11
+ ## Table of Contents
12
+
13
+ * [Philosophy](#philosophy)
14
+ * [Installation](#installation)
15
+ * [Testing](#testing)
16
+ * [Release](#release)
17
+ * [To do](#to-do)
18
+ * [Contributing](#contributing)
19
+ * [Semantic versioning](#semantic-versioning)
20
+
21
+ ---
22
+
23
+ ## Philosophy
24
+
25
+ Notifications Rails has been built with modularity in mind. It currently consists of four components each of which bringing one essential functionality to the notification-integration in your Rails app.
26
+
27
+ **[NotificationHandler](notification-handler):** Create and modify your notifications through a simple API.
28
+
29
+ **[NotificationRenderer](notification-renderer):** Render your notifications on multiple platforms by specifying notification types.
30
+
31
+ **[NotificationPusher](notification-pusher):** Push your notifications to various services. Including [Email](notification-pusher/notification-pusher-actionmailer), [ActionCable](notification-pusher/notification-pusher-actioncable), [OneSignal](notification-pusher/notification-pusher-onesignal).
32
+
33
+ **[NotificationSettings](notification-settings):** Integrates with your authentication solution to craft a personalized user notification platform.
34
+
35
+ You may just add the components you actually need, or instead use this gem to bundle everything for a complete notification solution.
36
+
37
+ ---
38
+
39
+ ## Installation
40
+
41
+ Notifications Rails works with Rails 5 onwards. You can add it to your `Gemfile` with:
42
+
43
+ ```ruby
44
+ gem 'notifications-rails'
45
+ ```
46
+
47
+ And then execute:
48
+
49
+ $ bundle
50
+
51
+ Or install it yourself as:
52
+
53
+ $ gem install notifications-rails
54
+
55
+ If you always want to be up to date fetch the latest from GitHub in your `Gemfile`:
56
+
57
+ ```ruby
58
+ gem 'notifications-rails', github: 'jonhue/notifications-rails'
59
+ ```
60
+
61
+ ---
62
+
63
+ ## Testing
64
+
65
+ Tests are written with RSpec.
66
+
67
+ 1. Fork this repository
68
+ 2. Clone your forked git locally
69
+ 3. Install dependencies
70
+
71
+ `$ bundle install`
72
+
73
+ 4. Run tests
74
+
75
+ `$ bundle exec rspec`
76
+
77
+ 5. Run RuboCop
78
+
79
+ `$ bundle exec rubocop`
80
+
81
+ ---
82
+
83
+ ## Release
84
+
85
+ 1. Change the gem version [here](VERSION)
86
+ 2. Publish to https://rubygems.org
87
+
88
+ `$ sh release.sh <version>`
89
+
90
+ ---
91
+
92
+ ## To do
93
+
94
+ We use [GitHub projects](https://github.com/jonhue/notifications-rails/projects/9) to coordinate the work on this project.
95
+
96
+ To propose your ideas, initiate the discussion by adding a [new issue](https://github.com/jonhue/notifications-rails/issues/new).
97
+
98
+ ---
99
+
100
+ ## Contributing
101
+
102
+ We hope that you will consider contributing to Notifications Rails. Please read this short overview for some information about how to get started:
103
+
104
+ [Learn more about contributing to this repository](CONTRIBUTING.md), [Code of Conduct](CODE_OF_CONDUCT.md)
105
+
106
+ ### Semantic Versioning
107
+
108
+ Notifications Rails follows Semantic Versioning 2.0 as defined at http://semver.org.
@@ -1,4 +1,6 @@
1
- require 'notification-handler'
2
- require 'notification-renderer'
3
- require 'notification-pusher'
4
- require 'notification-settings'
1
+ # frozen_string_literal: true
2
+
3
+ require 'notification-handler'
4
+ require 'notification-renderer'
5
+ require 'notification-pusher'
6
+ require 'notification-settings'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: notifications-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.5
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-04-25 00:00:00.000000000 Z
11
+ date: 2018-12-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: notification-handler
@@ -16,85 +16,99 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 1.2.5
19
+ version: 1.2.6
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: 1.2.5
26
+ version: 1.2.6
27
27
  - !ruby/object:Gem::Dependency
28
- name: notification-renderer
28
+ name: notification-pusher
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 1.2.5
33
+ version: 1.2.6
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: 1.2.5
40
+ version: 1.2.6
41
41
  - !ruby/object:Gem::Dependency
42
- name: notification-pusher
42
+ name: notification-renderer
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - '='
46
46
  - !ruby/object:Gem::Version
47
- version: 1.2.5
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: 1.2.5
54
+ version: 1.2.6
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: notification-settings
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - '='
60
60
  - !ruby/object:Gem::Version
61
- version: 1.2.5
61
+ version: 1.2.6
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.5
68
+ version: 1.2.6
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: '3.7'
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: '3.7'
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
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
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
+ - - ">="
88
102
  - !ruby/object:Gem::Version
89
- version: '0.52'
103
+ version: '0'
90
104
  type: :development
91
105
  prerelease: false
92
106
  version_requirements: !ruby/object:Gem::Requirement
93
107
  requirements:
94
- - - "~>"
108
+ - - ">="
95
109
  - !ruby/object:Gem::Version
96
- version: '0.52'
97
- description: The most powerful notification solution for Rails. NotificationsRails
110
+ version: '0'
111
+ description: The most powerful notification solution for Rails. Notifications Rails
98
112
  simplifies the handling, rendering, user-integration and cross-platform pushing
99
113
  of notifications through its simple API.
100
114
  email: me@jonhue.me
@@ -102,7 +116,6 @@ executables: []
102
116
  extensions: []
103
117
  extra_rdoc_files: []
104
118
  files:
105
- - INSTALL.md
106
119
  - LICENSE
107
120
  - README.md
108
121
  - lib/notifications-rails.rb
@@ -110,21 +123,7 @@ homepage: https://github.com/jonhue/notifications-rails
110
123
  licenses:
111
124
  - MIT
112
125
  metadata: {}
113
- post_install_message: |
114
- **Thank you for installing NotificationsRails!**
115
-
116
-
117
- To wrap up installing NotificationsRails, run the generators to install each component.
118
-
119
- ```
120
- rails g notification_handler:install
121
- rails g notification_renderer:install
122
- rails g notification_pusher:install
123
- rails g notification_settings:install
124
- ```
125
-
126
-
127
- Learn more at https://github.com/jonhue/notifications-rails
126
+ post_install_message:
128
127
  rdoc_options: []
129
128
  require_paths:
130
129
  - lib
@@ -132,7 +131,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
132
131
  requirements:
133
132
  - - ">="
134
133
  - !ruby/object:Gem::Version
135
- version: '2.3'
134
+ version: 2.2.2
136
135
  required_rubygems_version: !ruby/object:Gem::Requirement
137
136
  requirements:
138
137
  - - ">="
@@ -140,7 +139,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
140
139
  version: '0'
141
140
  requirements: []
142
141
  rubyforge_project:
143
- rubygems_version: 2.7.4
142
+ rubygems_version: 2.7.6
144
143
  signing_key:
145
144
  specification_version: 4
146
145
  summary: The most powerful (cross-platform) notifications handler & pusher API for
data/INSTALL.md DELETED
@@ -1,14 +0,0 @@
1
- **Thank you for installing NotificationsRails!**
2
-
3
-
4
- To wrap up installing NotificationsRails, run the generators to install each component.
5
-
6
- ```
7
- rails g notification_handler:install
8
- rails g notification_renderer:install
9
- rails g notification_pusher:install
10
- rails g notification_settings:install
11
- ```
12
-
13
-
14
- Learn more at https://github.com/jonhue/notifications-rails