slack-keep-presence 0.1.9 → 0.1.11

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: b0c01f3eb4965da4525c34d25d777929b24ecc1def8b65cab740c1e13c68d310
4
- data.tar.gz: fd29ddf58e7d513b4790c513f37ab46c2232d1864064bd1fcc9a16450dd65e83
3
+ metadata.gz: b8f472e06bd530d057b091de7cfcdefd012879a6bca36ef371bf7261234ee826
4
+ data.tar.gz: 9567a24f809c83d980e2b0feaadd7104ffb4e71a7de5a9f3fa633cce78b9eb30
5
5
  SHA512:
6
- metadata.gz: 6eb10a09c7576636c221332b17525d4c774003b0f14d8c30e2ade9a22bfb2aea3bcd9d5107d00f59ce560149aa3a8d1bf050a4e09548892bf2a6a7ce71ab202d
7
- data.tar.gz: 3c7d7262dbe6bdf427ef2edc28c2fed7d9dd9f50c8f7c80d97082db392dc43f4e39e869050007e4f654b34ee3a6e9fae44299cf4b4b521410a91ec646a3db272
6
+ metadata.gz: 135129e780614b21cfbf08ad36934c857a2b9c42d0e2e5366e574d364efe964e8f255f80ba5b4cd6877c733ca518a93ce77de7d8fcb5d1c221a40042306307eb
7
+ data.tar.gz: e7ca083251b3d79f2828a9232aa3a047e2d7eea82fd2400129506f02bd927910f25bba02999ecf943d9892c9b96e65c0dbfa2d5917a6c3f8f2296bd0d78591aa
@@ -1,8 +1,8 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- slack-keep-presence (0.1.9)
5
- faye-websocket (~> 0.10.6)
4
+ slack-keep-presence (0.1.10)
5
+ faye-websocket (~> 0.10.7)
6
6
  slack-api (~> 1.6)
7
7
 
8
8
  GEM
@@ -10,34 +10,34 @@ GEM
10
10
  specs:
11
11
  coderay (1.1.2)
12
12
  diff-lcs (1.3)
13
- eventmachine (1.2.5)
14
- faraday (0.14.0)
13
+ eventmachine (1.2.7)
14
+ faraday (0.15.4)
15
15
  multipart-post (>= 1.2, < 3)
16
16
  faraday_middleware (0.10.1)
17
17
  faraday (>= 0.7.4, < 1.0)
18
18
  faye-websocket (0.10.7)
19
19
  eventmachine (>= 0.12.0)
20
20
  websocket-driver (>= 0.5.1)
21
- method_source (0.9.0)
21
+ method_source (0.9.2)
22
22
  multi_json (1.13.1)
23
- multipart-post (2.0.0)
24
- pry (0.11.3)
23
+ multipart-post (2.1.1)
24
+ pry (0.12.2)
25
25
  coderay (~> 1.1.0)
26
26
  method_source (~> 0.9.0)
27
27
  rake (10.5.0)
28
- rspec (3.7.0)
29
- rspec-core (~> 3.7.0)
30
- rspec-expectations (~> 3.7.0)
31
- rspec-mocks (~> 3.7.0)
32
- rspec-core (3.7.1)
33
- rspec-support (~> 3.7.0)
34
- rspec-expectations (3.7.0)
28
+ rspec (3.8.0)
29
+ rspec-core (~> 3.8.0)
30
+ rspec-expectations (~> 3.8.0)
31
+ rspec-mocks (~> 3.8.0)
32
+ rspec-core (3.8.0)
33
+ rspec-support (~> 3.8.0)
34
+ rspec-expectations (3.8.3)
35
35
  diff-lcs (>= 1.2.0, < 2.0)
36
- rspec-support (~> 3.7.0)
37
- rspec-mocks (3.7.0)
36
+ rspec-support (~> 3.8.0)
37
+ rspec-mocks (3.8.0)
38
38
  diff-lcs (>= 1.2.0, < 2.0)
39
- rspec-support (~> 3.7.0)
40
- rspec-support (3.7.0)
39
+ rspec-support (~> 3.8.0)
40
+ rspec-support (3.8.0)
41
41
  slack-api (1.6.1)
42
42
  faraday (~> 0.11)
43
43
  faraday_middleware (~> 0.10.0)
@@ -58,4 +58,4 @@ DEPENDENCIES
58
58
  slack-keep-presence!
59
59
 
60
60
  BUNDLED WITH
61
- 1.16.1
61
+ 1.17.2
data/README.md CHANGED
@@ -27,9 +27,3 @@ $ slack-keep-presence
27
27
  ```
28
28
 
29
29
  You can get a token linked to your user at https://api.slack.com/docs/oauth-test-tokens
30
-
31
- ## Motivation
32
-
33
- https://twitter.com/slackhq/status/448966862521786368
34
- > Disabling auto-away isn't on our immediate roadmap, but it's on our "someday"
35
- list. Stay tuned! ✨
@@ -117,7 +117,7 @@ module SlackKeepPresence
117
117
 
118
118
  def restart_connection
119
119
  @should_shutdown = true
120
- @ws.close
120
+ @ws&.close
121
121
  @ws = nil
122
122
  begin
123
123
  start_realtime
@@ -1,3 +1,3 @@
1
1
  module SlackKeepPresence
2
- VERSION = "0.1.9"
2
+ VERSION = "0.1.11"
3
3
  end
@@ -27,5 +27,5 @@ Gem::Specification.new do |spec|
27
27
  spec.add_development_dependency "pry"
28
28
 
29
29
  spec.add_runtime_dependency "slack-api", "~> 1.6"
30
- spec.add_runtime_dependency "faye-websocket", "~> 0.10.6"
30
+ spec.add_runtime_dependency "faye-websocket", "~> 0.10.7"
31
31
  end
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.9
4
+ version: 0.1.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josh Frye
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-02-20 00:00:00.000000000 Z
11
+ date: 2019-05-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -86,14 +86,14 @@ dependencies:
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: 0.10.6
89
+ version: 0.10.7
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: 0.10.6
96
+ version: 0.10.7
97
97
  description: Mark your Slack user as active when auto-away kicks in
98
98
  email:
99
99
  - josh@joshfrye.com
@@ -133,8 +133,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
133
133
  - !ruby/object:Gem::Version
134
134
  version: '0'
135
135
  requirements: []
136
- rubyforge_project:
137
- rubygems_version: 2.7.3
136
+ rubygems_version: 3.0.1
138
137
  signing_key:
139
138
  specification_version: 4
140
139
  summary: Disable Slack auto-away