notification-pusher-actioncable 1.0.0.beta6 → 1.0.0.beta7

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: a35a9e985796cb126fabb55d6eaa96d3ae71b50659ae23940e5e431a0d452397
4
- data.tar.gz: 33ec6ece265261d2e5318ba44d0e2459cab1a3734bd0389736c09a25a8c75624
3
+ metadata.gz: f7802f9e65e3277b1806758baa13175ce9f20fd0985d4b53400b6ed321b4fc42
4
+ data.tar.gz: e474e388f95fbc838c250b0159c9a52613d88a26e3117a66260dddd1b710cf9e
5
5
  SHA512:
6
- metadata.gz: 251bd9ac2ae80ab0fc2ffcffd8d7bba43a2035ce6311909c0be6d693d764b4721425ab07a1f4dd83908df29ad6c845178bad48a5d2b115ba691e05dc7de72b8a
7
- data.tar.gz: 4976b2252e6b6dc818a94f56ba6dd862b31b93945ef07f9c38f1e8da8273f7ad36c33c1b06e6224bbca40cf42cb9760a642c138283a4b14442233492cea8e7ca
6
+ metadata.gz: a8950b50130d1714610842d052f10cca9d1a1b9e097edd0a8fc5183a31cd3e4bad2b4bfd7401cb6e0480c648329915b841983a308cf93afb30714408081bac2a
7
+ data.tar.gz: 19ef6c85cfff8bebc08b6391322a45895c59c1138935fcbad8cf6b8ea7a3002b970e6737ecefceac4cca070738da0894c112e3caba8397c59e052968b440607d
data/CHANGELOG.md ADDED
@@ -0,0 +1,34 @@
1
+ # Changelog
2
+
3
+ ### master
4
+
5
+ * nothing yet
6
+
7
+ ### 1.0.0.beta6 - 2017-12-28
8
+
9
+ * bugfixes
10
+ * fix lib loading problems
11
+
12
+ ### 1.0.0.beta5 - 2017-12-28
13
+
14
+ * no changes
15
+
16
+ ### 1.0.0 - 2017-12-28
17
+
18
+ * add Rails engine
19
+
20
+ ### 1.0.0.beta4 - 2017-12-27
21
+
22
+ * no changes
23
+
24
+ ### 1.0.0.beta3 - 2017-12-25
25
+
26
+ * no changes
27
+
28
+ ### 1.0.0.beta2 - 2017-12-23
29
+
30
+ * no changes
31
+
32
+ ### 1.0.0.beta1 - 2017-12-22
33
+
34
+ * initial release
data/README.md CHANGED
@@ -1,17 +1,16 @@
1
- # NotificationsRails
1
+ # NotificationPusher for ActionCable
2
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" />
3
+ [![Gem Version](https://badge.fury.io/rb/notification-pusher-actioncable.svg)](https://badge.fury.io/rb/notification-pusher-actioncable) <img src="https://travis-ci.org/jonhue/notifications-rails.svg?branch=master" />
4
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.
5
+ A pusher to serve your notifications through WebSockets wit ActionCable.
8
6
 
9
7
  ---
10
8
 
11
9
  ## Table of Contents
12
10
 
13
- * [Philosophy](#philosophy)
14
11
  * [Installation](#installation)
12
+ * [Usage](#usage)
13
+ * [Options](#options)
15
14
  * [To Do](#to-do)
16
15
  * [Contributing](#contributing)
17
16
  * [Contributors](#contributors)
@@ -20,28 +19,12 @@ It integrates with the [Native](https://github.com/NativeGap/native-rails) gem t
20
19
 
21
20
  ---
22
21
 
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-actionmailer), [ActionCable](notification-pusher-actioncable), [OneSignal](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
22
  ## Installation
40
23
 
41
- NotificationsRails works with Rails 5 onwards. You can add it to your `Gemfile` with:
24
+ NotificationPusher for ActionCable works with Rails 5 onwards. You can add it to your `Gemfile` with:
42
25
 
43
26
  ```ruby
44
- gem 'notifications-rails'
27
+ gem 'notification-pusher-actioncable'
45
28
  ```
46
29
 
47
30
  And then execute:
@@ -50,19 +33,29 @@ And then execute:
50
33
 
51
34
  Or install it yourself as:
52
35
 
53
- $ gem install notifications-rails
36
+ $ gem install notification-pusher-actioncable
54
37
 
55
38
  If you always want to be up to date fetch the latest from GitHub in your `Gemfile`:
56
39
 
57
40
  ```ruby
58
- gem 'notifications-rails', github: 'jonhue/notifications-rails'
41
+ gem 'notification-pusher-actioncable', github: 'jonhue/notifications-rails'
59
42
  ```
60
43
 
61
44
  ---
62
45
 
46
+ ## Usage
47
+
48
+ Basic usage
49
+
50
+ ### Options
51
+
52
+ ...
53
+
54
+ ---
55
+
63
56
  ## To Do
64
57
 
65
- [Here](https://github.com/jonhue/notifications-rails/projects) is the full list of current projects.
58
+ [Here](https://github.com/jonhue/notifications-rails/projects/5) is the full list of current projects.
66
59
 
67
60
  To propose your ideas, initiate the discussion by adding a [new issue](https://github.com/jonhue/notifications-rails/issues/new).
68
61
 
@@ -70,9 +63,9 @@ To propose your ideas, initiate the discussion by adding a [new issue](https://g
70
63
 
71
64
  ## Contributing
72
65
 
73
- We hope that you will consider contributing to NotificationsRails. Please read this short overview for some information about how to get started:
66
+ We hope that you will consider contributing to NotificationPusher for ActionCable. Please read this short overview for some information about how to get started:
74
67
 
75
- [Learn more about contributing to this repository](CONTRIBUTING.md), [Code of Conduct](CODE_OF_CONDUCT.md)
68
+ [Learn more about contributing to this repository](https://github.com/jonhue/notifications-rails/blob/master/CONTRIBUTING.md), [Code of Conduct](https://github.com/jonhue/notifications-rails/blob/master/CODE_OF_CONDUCT.md)
76
69
 
77
70
  ### Contributors
78
71
 
@@ -82,7 +75,7 @@ https://github.com/jonhue/notifications-rails/graphs/contributors
82
75
 
83
76
  ### Semantic Versioning
84
77
 
85
- NotificationsRails follows Semantic Versioning 2.0 as defined at http://semver.org.
78
+ NotificationPusher for ActionCable follows Semantic Versioning 2.0 as defined at http://semver.org.
86
79
 
87
80
  ## License
88
81
 
@@ -0,0 +1,8 @@
1
+ require 'railties'
2
+
3
+ module NotificationPusher
4
+ module ActionCable
5
+ class Engine < ::Rails::Engine
6
+ end
7
+ end
8
+ end
@@ -0,0 +1,11 @@
1
+ module NotificationPusher
2
+ class ActionCable
3
+
4
+ require 'action_cable/engine'
5
+
6
+ def initialize notification, options = {}
7
+ # ...
8
+ end
9
+
10
+ end
11
+ end
@@ -0,0 +1,5 @@
1
+ module NotificationPusher
2
+
3
+ require 'notification_pusher/action_cable'
4
+
5
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: notification-pusher-actioncable
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.beta6
4
+ version: 1.0.0.beta7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonas Hübotter
@@ -44,28 +44,28 @@ dependencies:
44
44
  requirements:
45
45
  - - '='
46
46
  - !ruby/object:Gem::Version
47
- version: 1.0.0.beta6
47
+ version: 1.0.0.beta7
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.0.0.beta6
54
+ version: 1.0.0.beta7
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: notification-renderer
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - '='
60
60
  - !ruby/object:Gem::Version
61
- version: 1.0.0.beta6
61
+ version: 1.0.0.beta7
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.0.0.beta6
68
+ version: 1.0.0.beta7
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rspec
71
71
  requirement: !ruby/object:Gem::Requirement
@@ -100,8 +100,12 @@ executables: []
100
100
  extensions: []
101
101
  extra_rdoc_files: []
102
102
  files:
103
+ - CHANGELOG.md
103
104
  - LICENSE
104
105
  - README.md
106
+ - lib/notification_pusher.rb
107
+ - lib/notification_pusher/action_cable.rb
108
+ - lib/notification_pusher/action_cable/engine.rb
105
109
  homepage: https://github.com/jonhue/notifications-rails/tree/master/notification-pusher/notification-pusher-actioncable
106
110
  licenses:
107
111
  - MIT
@@ -109,7 +113,7 @@ metadata: {}
109
113
  post_install_message:
110
114
  rdoc_options: []
111
115
  require_paths:
112
- - lib/notification_pusher.rb
116
+ - lib
113
117
  required_ruby_version: !ruby/object:Gem::Requirement
114
118
  requirements:
115
119
  - - ">="