sockeye-pusher 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +7 -5
- data/lib/sockeye/pusher.rb +0 -1
- data/sockeye-pusher.gemspec +1 -2
- metadata +3 -4
- data/lib/sockeye/pusher/version.rb +0 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4f5f078bbe93613b75614f417550439bb68543bb
|
4
|
+
data.tar.gz: e0a7ba0fd7847fe6639b6afc492fc6e94d26349a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dcd0ba70262c0cb84f5fbc202be3620c6644edbf8d6e357a06eab1165ff4b6e2e1ffb5607c535226e081c175e5d7043df1d7106cfd46921ad818dcd24f5a6842
|
7
|
+
data.tar.gz: 2c52ee868467e0f9ba1cb9b01295941492150588f40385011e97af1a09e2e1fae302b427e773a90d3e57470081086fd848a01e6290fac0dbc50283483b0566f6
|
data/README.md
CHANGED
@@ -1,8 +1,6 @@
|
|
1
|
-
# Sockeye::Pusher
|
1
|
+
# 🐟 Sockeye::Pusher
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
TODO: Delete this and the text above, and describe your gem
|
3
|
+
This project is currently under development, and is not usable. Please check back soon.
|
6
4
|
|
7
5
|
## Installation
|
8
6
|
|
@@ -22,7 +20,11 @@ Or install it yourself as:
|
|
22
20
|
|
23
21
|
## Usage
|
24
22
|
|
25
|
-
|
23
|
+
```ruby
|
24
|
+
client = Sockeye::Pusher.new(server_address: "ws://sockeye.local:8443", secret_token: "SUPER_STRONG_SECURITY_TOKEN")
|
25
|
+
result = client.deliver(identifiers: ["USER ID OR OTHER UNIQUE IDENTIFIER"], payload: "Test message. Can be text or JSON.")
|
26
|
+
puts result.inspect
|
27
|
+
```
|
26
28
|
|
27
29
|
## Development
|
28
30
|
|
data/lib/sockeye/pusher.rb
CHANGED
data/sockeye-pusher.gemspec
CHANGED
@@ -1,11 +1,10 @@
|
|
1
1
|
# coding: utf-8
|
2
2
|
lib = File.expand_path('../lib', __FILE__)
|
3
3
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
-
require 'sockeye/pusher/version'
|
5
4
|
|
6
5
|
Gem::Specification.new do |spec|
|
7
6
|
spec.name = "sockeye-pusher"
|
8
|
-
spec.version =
|
7
|
+
spec.version = "0.1.1"
|
9
8
|
spec.authors = ["Jack Hayter"]
|
10
9
|
spec.email = ["jack@hockey-community.com"]
|
11
10
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sockeye-pusher
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jack Hayter
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-04-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -75,7 +75,6 @@ files:
|
|
75
75
|
- bin/console
|
76
76
|
- bin/setup
|
77
77
|
- lib/sockeye/pusher.rb
|
78
|
-
- lib/sockeye/pusher/version.rb
|
79
78
|
- sockeye-pusher.gemspec
|
80
79
|
homepage: https://github.com/HockeyCommunity/sockeye-pusher
|
81
80
|
licenses:
|
@@ -97,7 +96,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
97
96
|
version: '0'
|
98
97
|
requirements: []
|
99
98
|
rubyforge_project:
|
100
|
-
rubygems_version: 2.6.
|
99
|
+
rubygems_version: 2.6.11
|
101
100
|
signing_key:
|
102
101
|
specification_version: 4
|
103
102
|
summary: Pushes payloads to a sockeye-server for delivery to connected clients
|