notification-pusher 1.0.0.beta1 → 1.0.0.beta2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f2e9c830dc7b1de8d27291188277e83f4830a152120ef7e5863348b1af397d9a
4
- data.tar.gz: 71be2b06c0afad3cbfa87894c2c045b0c0cc1a64a0577ca8c3bee3fab651be3c
3
+ metadata.gz: b9ae38091a569965a8efd7857aed50c79833055866d79d16e378b4f0232d3549
4
+ data.tar.gz: fe7836f7f70c315959de7be24f441699b1903528b49c1d600ebf5355c36f2991
5
5
  SHA512:
6
- metadata.gz: 62b24fc27a5445b8ff31c10eed7732d2a4c81e62e0d9632b6206ab8d225e9baa6fb6cb4aaa26f0a11629b63877f436941fae7beee36c9a2a49e97e4bed0f716e
7
- data.tar.gz: bb80a2c2b5b18c0eb05df22552696b3ccccaffe64c81f18b1ad470a9ad0c72a3c4ecb4f7a102bc9df0c091bb84d22435c952564eca5cda2c2d015be7f24eab41
6
+ metadata.gz: 062dfc2299cd0d327da884cfbbbc96a2ec20575e94869f67a58efdf4cb94b2a078c21e1a024919cf3d45688a50cdfa2681fdce9bb0f427ac998f1905bfe0d81d
7
+ data.tar.gz: 89dbb9ba22b84e5946d2368aa00320376accf90243dde541db6c19be60baf2964386ff8424e7de5d23e846d0326d44e23b91686b9b324f49ae1a7175bc5d66c9
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
- # NotificationPusher
1
+ # NotificationsRails
2
2
 
3
- [![Gem Version](https://badge.fury.io/rb/notification-pusher.svg)](https://badge.fury.io/rb/notification-pusher) <img src="https://travis-ci.org/jonhue/notifications-rails.svg?branch=master" />
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
4
 
5
5
  The most powerful (cross-platform) notifications handler & pusher API for Rails.
6
6
 
@@ -9,8 +9,6 @@ The most powerful (cross-platform) notifications handler & pusher API for Rails.
9
9
  ## Table of Contents
10
10
 
11
11
  * [Installation](#installation)
12
- * [Usage](#usage)
13
- * [Configuration](#configuration)
14
12
  * [To Do](#to-do)
15
13
  * [Contributing](#contributing)
16
14
  * [Contributors](#contributors)
@@ -21,10 +19,10 @@ The most powerful (cross-platform) notifications handler & pusher API for Rails.
21
19
 
22
20
  ## Installation
23
21
 
24
- NotificationPusher works with Rails 5 onwards. You can add it to your `Gemfile` with:
22
+ NotificationsRails works with Rails 5 onwards. You can add it to your `Gemfile` with:
25
23
 
26
24
  ```ruby
27
- gem 'notification-pusher'
25
+ gem 'notifications-rails'
28
26
  ```
29
27
 
30
28
  And then execute:
@@ -33,45 +31,19 @@ And then execute:
33
31
 
34
32
  Or install it yourself as:
35
33
 
36
- $ gem install notification-pusher
34
+ $ gem install notifications-rails
37
35
 
38
36
  If you always want to be up to date fetch the latest from GitHub in your `Gemfile`:
39
37
 
40
38
  ```ruby
41
- gem 'notification-pusher', github: 'jonhue/notifications-rails/tree/master/notification-pusher'
39
+ gem 'notifications-rails', github: 'jonhue/notifications-rails'
42
40
  ```
43
41
 
44
- Now run the generator:
45
-
46
- $ rails g notification_pusher:install
47
-
48
- To wrap things up, migrate the changes to your database:
49
-
50
- $ rails db:migrate
51
-
52
- ---
53
-
54
- ## Usage
55
-
56
- ---
57
-
58
- ## Configuration
59
-
60
- You can configure NotificationPusher by passing a block to `configure`. This can be done in `config/initializers/notification-pusher.rb`:
61
-
62
- ```ruby
63
- NotificationPusher.configure do |config|
64
- config.placeholder = true
65
- end
66
- ```
67
-
68
- **`placeholder`** ...
69
-
70
42
  ---
71
43
 
72
44
  ## To Do
73
45
 
74
- [Here](https://github.com/jonhue/notifications-rails/projects/3) is the full list of current projects.
46
+ [Here](https://github.com/jonhue/notifications-rails/projects) is the full list of current projects.
75
47
 
76
48
  To propose your ideas, initiate the discussion by adding a [new issue](https://github.com/jonhue/notifications-rails/issues/new).
77
49
 
@@ -79,7 +51,7 @@ To propose your ideas, initiate the discussion by adding a [new issue](https://g
79
51
 
80
52
  ## Contributing
81
53
 
82
- We hope that you will consider contributing to NotificationPusher. Please read this short overview for some information about how to get started:
54
+ We hope that you will consider contributing to NotificationsRails. Please read this short overview for some information about how to get started:
83
55
 
84
56
  [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)
85
57
 
@@ -91,7 +63,7 @@ https://github.com/jonhue/notifications-rails/graphs/contributors
91
63
 
92
64
  ### Semantic Versioning
93
65
 
94
- NotificationPusher follows Semantic Versioning 2.0 as defined at http://semver.org.
66
+ NotificationsRails follows Semantic Versioning 2.0 as defined at http://semver.org.
95
67
 
96
68
  ## License
97
69
 
metadata CHANGED
@@ -1,17 +1,17 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: notification-pusher
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.beta1
4
+ version: 1.0.0.beta2
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: 2017-12-22 00:00:00.000000000 Z
11
+ date: 2017-12-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: rails
14
+ name: railties
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
17
  - - ">="
@@ -25,35 +25,21 @@ dependencies:
25
25
  - !ruby/object:Gem::Version
26
26
  version: '5.0'
27
27
  - !ruby/object:Gem::Dependency
28
- name: bundler
28
+ name: notification-handler
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
32
- - !ruby/object:Gem::Version
33
- version: '1.16'
34
- type: :development
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - "~>"
31
+ - - '='
39
32
  - !ruby/object:Gem::Version
40
- version: '1.16'
41
- - !ruby/object:Gem::Dependency
42
- name: rake
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - "~>"
46
- - !ruby/object:Gem::Version
47
- version: '10.0'
48
- type: :development
33
+ version: 1.0.0.beta2
34
+ type: :runtime
49
35
  prerelease: false
50
36
  version_requirements: !ruby/object:Gem::Requirement
51
37
  requirements:
52
- - - "~>"
38
+ - - '='
53
39
  - !ruby/object:Gem::Version
54
- version: '10.0'
40
+ version: 1.0.0.beta2
55
41
  - !ruby/object:Gem::Dependency
56
- name: rspec-rails
42
+ name: rspec
57
43
  requirement: !ruby/object:Gem::Requirement
58
44
  requirements:
59
45
  - - "~>"
@@ -86,15 +72,8 @@ executables: []
86
72
  extensions: []
87
73
  extra_rdoc_files: []
88
74
  files:
89
- - CHANGELOG.md
90
75
  - LICENSE
91
76
  - README.md
92
- - generators/install_generator.rb
93
- - generators/templates/install/initializer.rb
94
- - lib/notification_pusher.rb
95
- - lib/notification_pusher/configuration.rb
96
- - lib/notification_pusher/engine.rb
97
- - lib/notification_pusher/railtie.rb
98
77
  homepage: https://github.com/jonhue/notifications-rails/tree/master/notification-pusher
99
78
  licenses:
100
79
  - MIT
data/CHANGELOG.md DELETED
@@ -1,9 +0,0 @@
1
- # Changelog
2
-
3
- ### master
4
-
5
- * nothing yet
6
-
7
- ### 1.0.0 - 2017-12-22
8
-
9
- * initial release
@@ -1,15 +0,0 @@
1
- require 'rails/generators'
2
- require 'rails/generators/migration'
3
-
4
- class InstallGenerator < Rails::Generators::Base
5
-
6
- include Rails::Generators::Migration
7
-
8
- source_root File.join File.dirname(__FILE__), 'templates/install'
9
- desc 'Install NotificationPusher'
10
-
11
- def create_initializer
12
- template 'initializer.rb', 'config/initializers/notification-pusher.rb'
13
- end
14
-
15
- end
@@ -1,6 +0,0 @@
1
- NotificationPusher.configure do |config|
2
-
3
- # ...
4
- # config.placeholder = true
5
-
6
- end
@@ -1,9 +0,0 @@
1
- module NotificationPusher
2
-
3
- require 'notification_pusher/configuration'
4
-
5
- # require 'notification_pusher/engine'
6
-
7
- require 'notification_pusher/railtie'
8
-
9
- end
@@ -1,22 +0,0 @@
1
- module NotificationPusher
2
-
3
- class << self
4
- attr_accessor :configuration
5
- end
6
-
7
- def self.configure
8
- self.configuration ||= Configuration.new
9
- yield configuration
10
- end
11
-
12
- class Configuration
13
-
14
- attr_accessor :placeholder
15
-
16
- def initialize
17
- @placeholder = true
18
- end
19
-
20
- end
21
-
22
- end
@@ -1,6 +0,0 @@
1
- require 'rails'
2
-
3
- module NotificationPusher
4
- class Engine < ::Rails::Engine
5
- end
6
- end
@@ -1,9 +0,0 @@
1
- require 'rails'
2
-
3
- module NotificationPusher
4
- class Railtie < Rails::Railtie
5
-
6
- # ...
7
-
8
- end
9
- end