slack-keep-presence 0.1.13 → 0.1.14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +12 -12
- data/README.md +9 -8
- data/lib/slack_keep_presence/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3fd8dcfa567d212b514cad4935619099aa3d6c65aad43a74bf774fa21a3a64bf
|
4
|
+
data.tar.gz: 57d15a1e6032552bc3984c63676e5f73578b2bff46f392f2f5c1a7dbbba175a2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f9c8a88d09856a45d7ecf06517442a1ca7c11350d5aa2b8e5aaf49e0d01b4c563bffd608c77439fae38eef54b23dda971ed6455423aed816b319d1cc7d68874c
|
7
|
+
data.tar.gz: f7a49a210d5c3bd3de3909b1018954806d86087307b24a733ab1254e8b7b88f77eb21a431f7cdb37d9a8992b7b024c8ef9b554ad87df54147b97336709d6c602
|
data/Gemfile.lock
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
slack-keep-presence (0.1.
|
4
|
+
slack-keep-presence (0.1.14)
|
5
5
|
faye-websocket (~> 0.10.9)
|
6
6
|
slack-api (~> 1.6)
|
7
7
|
|
8
8
|
GEM
|
9
9
|
remote: https://rubygems.org/
|
10
10
|
specs:
|
11
|
-
coderay (1.1.
|
11
|
+
coderay (1.1.3)
|
12
12
|
diff-lcs (1.3)
|
13
13
|
eventmachine (1.2.7)
|
14
14
|
faraday (0.17.3)
|
@@ -18,34 +18,34 @@ GEM
|
|
18
18
|
faye-websocket (0.10.9)
|
19
19
|
eventmachine (>= 0.12.0)
|
20
20
|
websocket-driver (>= 0.5.1)
|
21
|
-
method_source (0.
|
21
|
+
method_source (1.0.0)
|
22
22
|
multi_json (1.14.1)
|
23
23
|
multipart-post (2.1.1)
|
24
|
-
pry (0.
|
25
|
-
coderay (~> 1.1
|
26
|
-
method_source (~>
|
24
|
+
pry (0.13.1)
|
25
|
+
coderay (~> 1.1)
|
26
|
+
method_source (~> 1.0)
|
27
27
|
rake (13.0.1)
|
28
28
|
rspec (3.9.0)
|
29
29
|
rspec-core (~> 3.9.0)
|
30
30
|
rspec-expectations (~> 3.9.0)
|
31
31
|
rspec-mocks (~> 3.9.0)
|
32
|
-
rspec-core (3.9.
|
33
|
-
rspec-support (~> 3.9.
|
34
|
-
rspec-expectations (3.9.
|
32
|
+
rspec-core (3.9.2)
|
33
|
+
rspec-support (~> 3.9.3)
|
34
|
+
rspec-expectations (3.9.2)
|
35
35
|
diff-lcs (>= 1.2.0, < 2.0)
|
36
36
|
rspec-support (~> 3.9.0)
|
37
37
|
rspec-mocks (3.9.1)
|
38
38
|
diff-lcs (>= 1.2.0, < 2.0)
|
39
39
|
rspec-support (~> 3.9.0)
|
40
|
-
rspec-support (3.9.
|
40
|
+
rspec-support (3.9.3)
|
41
41
|
slack-api (1.6.1)
|
42
42
|
faraday (~> 0.11)
|
43
43
|
faraday_middleware (~> 0.10.0)
|
44
44
|
faye-websocket (~> 0.10.6)
|
45
45
|
multi_json (~> 1.0, >= 1.0.3)
|
46
|
-
websocket-driver (0.7.
|
46
|
+
websocket-driver (0.7.2)
|
47
47
|
websocket-extensions (>= 0.1.0)
|
48
|
-
websocket-extensions (0.1.
|
48
|
+
websocket-extensions (0.1.5)
|
49
49
|
|
50
50
|
PLATFORMS
|
51
51
|
ruby
|
data/README.md
CHANGED
@@ -5,25 +5,26 @@ Marks a slack user as active when auto-away kicks in. Useful for keeping slack b
|
|
5
5
|
Inspired by [slack-keep-presence](https://github.com/eskerda/slack-keep-presence). This is basically a ruby port with only the presence functionality retained.
|
6
6
|
|
7
7
|
## Features
|
8
|
-
|
9
|
-
|
8
|
+
|
9
|
+
- Uses websockets to connect to Slack's real time api to track presence
|
10
|
+
- Automatically reconnects if the connection drops and comes back
|
10
11
|
|
11
12
|
## Installation
|
12
13
|
|
13
|
-
```
|
14
|
-
|
14
|
+
```bash
|
15
|
+
gem install slack-keep-presence
|
15
16
|
```
|
16
17
|
|
17
18
|
## Usage
|
18
19
|
|
19
|
-
```
|
20
|
-
|
20
|
+
```bash
|
21
|
+
SLACK_TOKEN=<your_token> slack-keep-presence
|
21
22
|
```
|
22
23
|
|
23
24
|
Or set `SLACK_TOKEN` environment variable beforehand
|
24
25
|
|
25
|
-
```
|
26
|
-
|
26
|
+
```bash
|
27
|
+
slack-keep-presence
|
27
28
|
```
|
28
29
|
|
29
30
|
You can get a token linked to your user at https://api.slack.com/docs/oauth-test-tokens
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: slack-keep-presence
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.14
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Josh Frye
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-06-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -118,7 +118,7 @@ homepage: https://github.com/joshfng/slack-keep-presence
|
|
118
118
|
licenses:
|
119
119
|
- MIT
|
120
120
|
metadata: {}
|
121
|
-
post_install_message:
|
121
|
+
post_install_message:
|
122
122
|
rdoc_options: []
|
123
123
|
require_paths:
|
124
124
|
- lib
|
@@ -134,7 +134,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
134
134
|
version: '0'
|
135
135
|
requirements: []
|
136
136
|
rubygems_version: 3.1.2
|
137
|
-
signing_key:
|
137
|
+
signing_key:
|
138
138
|
specification_version: 4
|
139
139
|
summary: Disable Slack auto-away
|
140
140
|
test_files: []
|