notification_gateway 0.1.0

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.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 026f44ab66d9520b589468d3ed71a34a64c39dbd0f4ec102f1a645ee7bad4057
4
+ data.tar.gz: fe91091f3b4029ab9cbaf32ade5f3ad30abb6a2490ad1f25f1df5fe6b31ace09
5
+ SHA512:
6
+ metadata.gz: 3a1bc4e8a1fb5b1b83234fc48919927274fb08d5a45b92b3ad6d63a7731470cf6184b27f06db3c6de2a9ef05572a1fedae222c64142fe1a7253419cf5537fcaf
7
+ data.tar.gz: 119d306dc1b06fd4cb659a4638e21a7321e47d0d6e4aa4d2b796abd031fd3d3f122411de0a73490122b86c604f264ef796ec14d47a146daf577e83704ada05da
@@ -0,0 +1,9 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /_yardoc/
4
+ /coverage/
5
+ /doc/
6
+ /pkg/
7
+ /spec/reports/
8
+ /tmp/
9
+ *.log
@@ -0,0 +1,7 @@
1
+ ---
2
+ sudo: false
3
+ language: ruby
4
+ cache: bundler
5
+ rvm:
6
+ - 2.6.3
7
+ before_install: gem install bundler -v 2.0.2
@@ -0,0 +1,74 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ In the interest of fostering an open and welcoming environment, we as
6
+ contributors and maintainers pledge to making participation in our project and
7
+ our community a harassment-free experience for everyone, regardless of age, body
8
+ size, disability, ethnicity, gender identity and expression, level of experience,
9
+ nationality, personal appearance, race, religion, or sexual identity and
10
+ orientation.
11
+
12
+ ## Our Standards
13
+
14
+ Examples of behavior that contributes to creating a positive environment
15
+ include:
16
+
17
+ * Using welcoming and inclusive language
18
+ * Being respectful of differing viewpoints and experiences
19
+ * Gracefully accepting constructive criticism
20
+ * Focusing on what is best for the community
21
+ * Showing empathy towards other community members
22
+
23
+ Examples of unacceptable behavior by participants include:
24
+
25
+ * The use of sexualized language or imagery and unwelcome sexual attention or
26
+ advances
27
+ * Trolling, insulting/derogatory comments, and personal or political attacks
28
+ * Public or private harassment
29
+ * Publishing others' private information, such as a physical or electronic
30
+ address, without explicit permission
31
+ * Other conduct which could reasonably be considered inappropriate in a
32
+ professional setting
33
+
34
+ ## Our Responsibilities
35
+
36
+ Project maintainers are responsible for clarifying the standards of acceptable
37
+ behavior and are expected to take appropriate and fair corrective action in
38
+ response to any instances of unacceptable behavior.
39
+
40
+ Project maintainers have the right and responsibility to remove, edit, or
41
+ reject comments, commits, code, wiki edits, issues, and other contributions
42
+ that are not aligned to this Code of Conduct, or to ban temporarily or
43
+ permanently any contributor for other behaviors that they deem inappropriate,
44
+ threatening, offensive, or harmful.
45
+
46
+ ## Scope
47
+
48
+ This Code of Conduct applies both within project spaces and in public spaces
49
+ when an individual is representing the project or its community. Examples of
50
+ representing a project or community include using an official project e-mail
51
+ address, posting via an official social media account, or acting as an appointed
52
+ representative at an online or offline event. Representation of a project may be
53
+ further defined and clarified by project maintainers.
54
+
55
+ ## Enforcement
56
+
57
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
+ reported by contacting the project team at k.alsaady@clickapps.co. All
59
+ complaints will be reviewed and investigated and will result in a response that
60
+ is deemed necessary and appropriate to the circumstances. The project team is
61
+ obligated to maintain confidentiality with regard to the reporter of an incident.
62
+ Further details of specific enforcement policies may be posted separately.
63
+
64
+ Project maintainers who do not follow or enforce the Code of Conduct in good
65
+ faith may face temporary or permanent repercussions as determined by other
66
+ members of the project's leadership.
67
+
68
+ ## Attribution
69
+
70
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
+ available at [http://contributor-covenant.org/version/1/4][version]
72
+
73
+ [homepage]: http://contributor-covenant.org
74
+ [version]: http://contributor-covenant.org/version/1/4/
data/Gemfile ADDED
@@ -0,0 +1,6 @@
1
+ source "https://rubygems.org"
2
+
3
+ git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
4
+
5
+ # Specify your gem's dependencies in notification_gateway.gemspec
6
+ gemspec
@@ -0,0 +1,120 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ notification_gateway (0.1.0)
5
+ actioncable (~> 5.2, >= 5.2.3)
6
+ activesupport (>= 5.2.3)
7
+ pubnub (~> 4.1.2)
8
+
9
+ GEM
10
+ remote: https://rubygems.org/
11
+ specs:
12
+ actioncable (5.2.3)
13
+ actionpack (= 5.2.3)
14
+ nio4r (~> 2.0)
15
+ websocket-driver (>= 0.6.1)
16
+ actionpack (5.2.3)
17
+ actionview (= 5.2.3)
18
+ activesupport (= 5.2.3)
19
+ rack (~> 2.0)
20
+ rack-test (>= 0.6.3)
21
+ rails-dom-testing (~> 2.0)
22
+ rails-html-sanitizer (~> 1.0, >= 1.0.2)
23
+ actionview (5.2.3)
24
+ activesupport (= 5.2.3)
25
+ builder (~> 3.1)
26
+ erubi (~> 1.4)
27
+ rails-dom-testing (~> 2.0)
28
+ rails-html-sanitizer (~> 1.0, >= 1.0.3)
29
+ activesupport (5.2.3)
30
+ concurrent-ruby (~> 1.0, >= 1.0.2)
31
+ i18n (>= 0.7, < 2)
32
+ minitest (~> 5.1)
33
+ tzinfo (~> 1.1)
34
+ builder (3.2.3)
35
+ coderay (1.1.2)
36
+ concurrent-ruby (1.0.5)
37
+ concurrent-ruby-edge (0.3.1)
38
+ concurrent-ruby (= 1.0.5)
39
+ crass (1.0.4)
40
+ dry-configurable (0.8.3)
41
+ concurrent-ruby (~> 1.0)
42
+ dry-core (~> 0.4, >= 0.4.7)
43
+ dry-container (0.7.2)
44
+ concurrent-ruby (~> 1.0)
45
+ dry-configurable (~> 0.1, >= 0.1.3)
46
+ dry-core (0.4.8)
47
+ concurrent-ruby (~> 1.0)
48
+ dry-equalizer (0.2.2)
49
+ dry-inflector (0.1.2)
50
+ dry-logic (0.6.1)
51
+ concurrent-ruby (~> 1.0)
52
+ dry-core (~> 0.2)
53
+ dry-equalizer (~> 0.2)
54
+ dry-types (0.14.1)
55
+ concurrent-ruby (~> 1.0)
56
+ dry-container (~> 0.3)
57
+ dry-core (~> 0.4, >= 0.4.4)
58
+ dry-equalizer (~> 0.2)
59
+ dry-inflector (~> 0.1, >= 0.1.2)
60
+ dry-logic (~> 0.5, >= 0.5)
61
+ dry-validation (0.13.3)
62
+ concurrent-ruby (~> 1.0)
63
+ dry-configurable (~> 0.1, >= 0.1.3)
64
+ dry-core (~> 0.2, >= 0.2.1)
65
+ dry-equalizer (~> 0.2)
66
+ dry-logic (~> 0.5, >= 0.5.0)
67
+ dry-types (~> 0.14.0)
68
+ erubi (1.8.0)
69
+ httpclient (2.8.3)
70
+ i18n (1.6.0)
71
+ concurrent-ruby (~> 1.0)
72
+ json (2.2.0)
73
+ loofah (2.2.3)
74
+ crass (~> 1.0.2)
75
+ nokogiri (>= 1.5.9)
76
+ method_source (0.9.2)
77
+ mini_portile2 (2.4.0)
78
+ minitest (5.11.3)
79
+ nio4r (2.4.0)
80
+ nokogiri (1.10.3)
81
+ mini_portile2 (~> 2.4.0)
82
+ pry (0.12.2)
83
+ coderay (~> 1.1.0)
84
+ method_source (~> 0.9.0)
85
+ pubnub (4.1.2)
86
+ concurrent-ruby (~> 1.0.5)
87
+ concurrent-ruby-edge (~> 0.3.1)
88
+ dry-validation (~> 0.10)
89
+ httpclient (~> 2.8, >= 2.8.3)
90
+ json (>= 1.8, < 3)
91
+ timers (>= 4.1.1)
92
+ rack (2.0.7)
93
+ rack-test (1.1.0)
94
+ rack (>= 1.0, < 3)
95
+ rails-dom-testing (2.0.3)
96
+ activesupport (>= 4.2.0)
97
+ nokogiri (>= 1.6)
98
+ rails-html-sanitizer (1.0.4)
99
+ loofah (~> 2.2, >= 2.2.2)
100
+ rake (10.5.0)
101
+ thread_safe (0.3.6)
102
+ timers (4.3.0)
103
+ tzinfo (1.2.5)
104
+ thread_safe (~> 0.1)
105
+ websocket-driver (0.7.1)
106
+ websocket-extensions (>= 0.1.0)
107
+ websocket-extensions (0.1.4)
108
+
109
+ PLATFORMS
110
+ ruby
111
+
112
+ DEPENDENCIES
113
+ bundler (~> 2.0.2)
114
+ minitest (~> 5.0)
115
+ notification_gateway!
116
+ pry
117
+ rake (~> 10.0)
118
+
119
+ BUNDLED WITH
120
+ 2.0.2
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2019 Khalid Alsaadi
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
13
+ all 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
21
+ THE SOFTWARE.
@@ -0,0 +1,45 @@
1
+ **Edit a file, create a new file, and clone from Bitbucket in under 2 minutes**
2
+
3
+ When you're done, you can delete the content in this README and update the file with details for others getting started with your repository.
4
+
5
+ *We recommend that you open this README in another tab as you perform the tasks below. You can [watch our video](https://youtu.be/0ocf7u76WSo) for a full demo of all the steps in this tutorial. Open the video in a new tab to avoid leaving Bitbucket.*
6
+
7
+ ---
8
+
9
+ ## Edit a file
10
+
11
+ You’ll start by editing this README file to learn how to edit a file in Bitbucket.
12
+
13
+ 1. Click **Source** on the left side.
14
+ 2. Click the README.md link from the list of files.
15
+ 3. Click the **Edit** button.
16
+ 4. Delete the following text: *Delete this line to make a change to the README from Bitbucket.*
17
+ 5. After making your change, click **Commit** and then **Commit** again in the dialog. The commit page will open and you’ll see the change you just made.
18
+ 6. Go back to the **Source** page.
19
+
20
+ ---
21
+
22
+ ## Create a file
23
+
24
+ Next, you’ll add a new file to this repository.
25
+
26
+ 1. Click the **New file** button at the top of the **Source** page.
27
+ 2. Give the file a filename of **contributors.txt**.
28
+ 3. Enter your name in the empty file space.
29
+ 4. Click **Commit** and then **Commit** again in the dialog.
30
+ 5. Go back to the **Source** page.
31
+
32
+ Before you move on, go ahead and explore the repository. You've already seen the **Source** page, but check out the **Commits**, **Branches**, and **Settings** pages.
33
+
34
+ ---
35
+
36
+ ## Clone a repository
37
+
38
+ Use these steps to clone from SourceTree, our client for using the repository command-line free. Cloning allows you to work on your files locally. If you don't yet have SourceTree, [download and install first](https://www.sourcetreeapp.com/). If you prefer to clone from the command line, see [Clone a repository](https://confluence.atlassian.com/x/4whODQ).
39
+
40
+ 1. You’ll see the clone button under the **Source** heading. Click that button.
41
+ 2. Now click **Check out in SourceTree**. You may need to create a SourceTree account or log in.
42
+ 3. When you see the **Clone New** dialog in SourceTree, update the destination path and name if you’d like to and then click **Clone**.
43
+ 4. Open the directory you just created to see your repository’s files.
44
+
45
+ Now that you're more familiar with your Bitbucket repository, go ahead and add a new file locally. You can [push your change back to Bitbucket with SourceTree](https://confluence.atlassian.com/x/iqyBMg), or you can [add, commit,](https://confluence.atlassian.com/x/8QhODQ) and [push from the command line](https://confluence.atlassian.com/x/NQ0zDQ).
@@ -0,0 +1,10 @@
1
+ require "bundler/gem_tasks"
2
+ require "rake/testtask"
3
+
4
+ Rake::TestTask.new(:test) do |t|
5
+ t.libs << "test"
6
+ t.libs << "lib"
7
+ t.test_files = FileList["test/**/*_test.rb"]
8
+ end
9
+
10
+ task :default => :test
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "notification_gateway"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ require "pry"
11
+ Pry.start
12
+
13
+ # require "irb"
14
+ # IRB.start(__FILE__)
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,41 @@
1
+ require "active_support"
2
+ require "pubnub"
3
+ require "action_cable"
4
+ require "notification_gateway/pubnub"
5
+ require "notification_gateway/action_cable_gateway"
6
+
7
+ class NotificationGateway
8
+
9
+ attr_accessor :gateway, :options, :notifier
10
+
11
+ def initialize **options
12
+ @gateway = set_gateway options
13
+ @options = options
14
+ @notifier = set_notifier
15
+
16
+ raise 'Missing gateway!' unless @gateway
17
+ raise 'actioncable gateway supported only with rails projects' if @gateway == :action_cable && !defined?(Rails)
18
+ end
19
+
20
+ def publish message:, channel:
21
+ notifier.publish message: message, channel: channel
22
+ end
23
+
24
+ def set_gateway options
25
+ if options[:gateway]
26
+ options[:gateway]
27
+ elsif defined? Rails
28
+ Rails.configuration.respond_to?(:notification_gateway) ? Rails.configuration.notification_gateway : nil
29
+ end
30
+ end
31
+
32
+ def set_notifier
33
+ case gateway
34
+ when :pubnub
35
+ NotificationGateway::Pubnub.new(options)
36
+ when :action_cable
37
+ NotificationGateway::ActionCableGateway
38
+ end
39
+ end
40
+
41
+ end
@@ -0,0 +1,7 @@
1
+ module NotificationGateway::ActionCableGateway
2
+
3
+ def self.publish channel:, message:
4
+ ActionCable.server.broadcast channel, message
5
+ end
6
+
7
+ end
@@ -0,0 +1,31 @@
1
+ class NotificationGateway::Pubnub
2
+ attr_accessor :options, :subscribe_key, :publish_key, :pubnub, :logger, :channel, :message
3
+
4
+ def initialize **options
5
+ @options = options
6
+ @subscribe_key = options[:subscribe_key]
7
+ @publish_key = options[:publish_key]
8
+ @logger = set_logger
9
+
10
+ raise "publish_key is missing" unless publish_key
11
+ raise "subscribe_key is missing" unless subscribe_key
12
+
13
+ @pubnub = Pubnub.new(
14
+ subscribe_key: @subscribe_key,
15
+ publish_key: @publish_key,
16
+ logger: @logger
17
+ )
18
+ end
19
+
20
+ def publish channel:, message:
21
+ pubnub.publish(
22
+ channel: channel,
23
+ message: message
24
+ ) {|envelope| }# puts envelope.status}
25
+ end
26
+
27
+ def set_logger
28
+ options[:logger] || ActiveSupport::Logger.new(options[:logger_path])
29
+ end
30
+
31
+ end
@@ -0,0 +1,3 @@
1
+ class NotificationGateway
2
+ VERSION = "0.1.0"
3
+ end
@@ -0,0 +1,52 @@
1
+
2
+ lib = File.expand_path("../lib", __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require "notification_gateway/version"
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "notification_gateway"
8
+ spec.version = NotificationGateway::VERSION
9
+ spec.authors = ["Khalid Alsaadi"]
10
+ spec.email = ["kh.alsaady@gmail.com"]
11
+
12
+ spec.summary = %q{Simple gem to push notification using different push notification providers like (pubnub)}
13
+ spec.description = %q{Simple gem to push notification using different push notification providers like (pubnub)}
14
+ spec.homepage = "https://bitbucket.org/k-alsaady/notification_gateway/src/master/"
15
+ spec.license = "MIT"
16
+
17
+ # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
18
+ # to allow pushing to a single host or delete this section to allow pushing to any host.
19
+ if spec.respond_to?(:metadata)
20
+ spec.metadata["allowed_push_host"] = "https://rubygems.org"
21
+
22
+ spec.metadata["homepage_uri"] = spec.homepage
23
+ spec.metadata["source_code_uri"] = "https://bitbucket.org/k-alsaady/notification_gateway/src/master/"
24
+ # spec.metadata["changelog_uri"] = "TODO: Put your gem's CHANGELOG.md URL here."
25
+ else
26
+ raise "RubyGems 2.0 or newer is required to protect against " \
27
+ "public gem pushes."
28
+ end
29
+
30
+ # Specify which files should be added to the gem when it is released.
31
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
32
+ spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
33
+ `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
34
+ end
35
+ spec.bindir = "exe"
36
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
37
+ spec.require_paths = ["lib"]
38
+
39
+ # ------------ Dependencies ----------------- #
40
+
41
+ spec.add_dependency "activesupport", ">= 5.2.3"
42
+ spec.add_dependency "pubnub", "~> 4.1.2"
43
+ spec.add_dependency "actioncable", "~> 5.2", ">= 5.2.3"
44
+
45
+ # ------------ Development dependencies ----------------- #
46
+
47
+ spec.add_development_dependency "bundler", "~> 2.0.2"
48
+ spec.add_development_dependency "rake", "~> 10.0"
49
+ spec.add_development_dependency "minitest", "~> 5.0"
50
+ spec.add_development_dependency "pry"
51
+
52
+ end
metadata ADDED
@@ -0,0 +1,167 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: notification_gateway
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Khalid Alsaadi
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2019-07-14 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: activesupport
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: 5.2.3
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: 5.2.3
27
+ - !ruby/object:Gem::Dependency
28
+ name: pubnub
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: 4.1.2
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: 4.1.2
41
+ - !ruby/object:Gem::Dependency
42
+ name: actioncable
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '5.2'
48
+ - - ">="
49
+ - !ruby/object:Gem::Version
50
+ version: 5.2.3
51
+ type: :runtime
52
+ prerelease: false
53
+ version_requirements: !ruby/object:Gem::Requirement
54
+ requirements:
55
+ - - "~>"
56
+ - !ruby/object:Gem::Version
57
+ version: '5.2'
58
+ - - ">="
59
+ - !ruby/object:Gem::Version
60
+ version: 5.2.3
61
+ - !ruby/object:Gem::Dependency
62
+ name: bundler
63
+ requirement: !ruby/object:Gem::Requirement
64
+ requirements:
65
+ - - "~>"
66
+ - !ruby/object:Gem::Version
67
+ version: 2.0.2
68
+ type: :development
69
+ prerelease: false
70
+ version_requirements: !ruby/object:Gem::Requirement
71
+ requirements:
72
+ - - "~>"
73
+ - !ruby/object:Gem::Version
74
+ version: 2.0.2
75
+ - !ruby/object:Gem::Dependency
76
+ name: rake
77
+ requirement: !ruby/object:Gem::Requirement
78
+ requirements:
79
+ - - "~>"
80
+ - !ruby/object:Gem::Version
81
+ version: '10.0'
82
+ type: :development
83
+ prerelease: false
84
+ version_requirements: !ruby/object:Gem::Requirement
85
+ requirements:
86
+ - - "~>"
87
+ - !ruby/object:Gem::Version
88
+ version: '10.0'
89
+ - !ruby/object:Gem::Dependency
90
+ name: minitest
91
+ requirement: !ruby/object:Gem::Requirement
92
+ requirements:
93
+ - - "~>"
94
+ - !ruby/object:Gem::Version
95
+ version: '5.0'
96
+ type: :development
97
+ prerelease: false
98
+ version_requirements: !ruby/object:Gem::Requirement
99
+ requirements:
100
+ - - "~>"
101
+ - !ruby/object:Gem::Version
102
+ version: '5.0'
103
+ - !ruby/object:Gem::Dependency
104
+ name: pry
105
+ requirement: !ruby/object:Gem::Requirement
106
+ requirements:
107
+ - - ">="
108
+ - !ruby/object:Gem::Version
109
+ version: '0'
110
+ type: :development
111
+ prerelease: false
112
+ version_requirements: !ruby/object:Gem::Requirement
113
+ requirements:
114
+ - - ">="
115
+ - !ruby/object:Gem::Version
116
+ version: '0'
117
+ description: Simple gem to push notification using different push notification providers
118
+ like (pubnub)
119
+ email:
120
+ - kh.alsaady@gmail.com
121
+ executables: []
122
+ extensions: []
123
+ extra_rdoc_files: []
124
+ files:
125
+ - ".gitignore"
126
+ - ".travis.yml"
127
+ - CODE_OF_CONDUCT.md
128
+ - Gemfile
129
+ - Gemfile.lock
130
+ - LICENSE.txt
131
+ - README.md
132
+ - Rakefile
133
+ - bin/console
134
+ - bin/setup
135
+ - lib/notification_gateway.rb
136
+ - lib/notification_gateway/action_cable_gateway.rb
137
+ - lib/notification_gateway/pubnub.rb
138
+ - lib/notification_gateway/version.rb
139
+ - notification_gateway.gemspec
140
+ homepage: https://bitbucket.org/k-alsaady/notification_gateway/src/master/
141
+ licenses:
142
+ - MIT
143
+ metadata:
144
+ allowed_push_host: https://rubygems.org
145
+ homepage_uri: https://bitbucket.org/k-alsaady/notification_gateway/src/master/
146
+ source_code_uri: https://bitbucket.org/k-alsaady/notification_gateway/src/master/
147
+ post_install_message:
148
+ rdoc_options: []
149
+ require_paths:
150
+ - lib
151
+ required_ruby_version: !ruby/object:Gem::Requirement
152
+ requirements:
153
+ - - ">="
154
+ - !ruby/object:Gem::Version
155
+ version: '0'
156
+ required_rubygems_version: !ruby/object:Gem::Requirement
157
+ requirements:
158
+ - - ">="
159
+ - !ruby/object:Gem::Version
160
+ version: '0'
161
+ requirements: []
162
+ rubygems_version: 3.0.3
163
+ signing_key:
164
+ specification_version: 4
165
+ summary: Simple gem to push notification using different push notification providers
166
+ like (pubnub)
167
+ test_files: []