slacks 0.6.3 → 0.6.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/lib/slacks/connection.rb +1 -2
- data/lib/slacks/version.rb +1 -1
- data/slacks.gemspec +0 -1
- metadata +2 -16
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ffbca3af38608a41841c035811bd052e30a2a2acd39bf58fbef037a1b4ab8bd1
|
4
|
+
data.tar.gz: 29e54298f59bbbca5b1eb25d90e7d7496bd7d77535a8b03c50afee5fbbaee43a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 39d1b8223ac325f57bde88ab86134f0705a3d0ca28da6e88e5f0b3cf8f6e9853e361fb11b8bde50b4bb51d6c4d84a66df685f8b8a129f290cf9a69d09c61ad02
|
7
|
+
data.tar.gz: 2eab93bf02fcf7fef3a5c8844ac42a9a992fd1fd991f6ac708d1ec1d91cf001d5ebb0dfe42a7dec80d7640b624acaa3138431e445d3e63c6d0f4d19c795168f7
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,9 @@
|
|
1
|
+
### v0.6.4
|
2
|
+
- Removed reliance on faraday-raise-errors in favor of using built-in Faraday::RaiseError middleware
|
3
|
+
|
4
|
+
### v0.6.3
|
5
|
+
- Removed remaining calls to `.present?`, since we're not actually dependent on ActiveSupport
|
6
|
+
|
1
7
|
### v0.6.2
|
2
8
|
- Fixed a regression where groups, DMs, and private channels were not fetched
|
3
9
|
|
data/lib/slacks/connection.rb
CHANGED
@@ -7,7 +7,6 @@ require "slacks/guest_channel"
|
|
7
7
|
require "slacks/team"
|
8
8
|
require "slacks/user"
|
9
9
|
require "faraday"
|
10
|
-
require "faraday/raise_errors"
|
11
10
|
|
12
11
|
module Slacks
|
13
12
|
class Connection
|
@@ -344,7 +343,7 @@ module Slacks
|
|
344
343
|
|
345
344
|
def http
|
346
345
|
@http ||= Faraday.new(url: "https://slack.com/api").tap do |connection|
|
347
|
-
connection.
|
346
|
+
connection.response :raise_error
|
348
347
|
end
|
349
348
|
end
|
350
349
|
|
data/lib/slacks/version.rb
CHANGED
data/slacks.gemspec
CHANGED
@@ -22,7 +22,6 @@ Gem::Specification.new do |spec|
|
|
22
22
|
spec.add_dependency "websocket-driver"
|
23
23
|
spec.add_dependency "multi_json"
|
24
24
|
spec.add_dependency "faraday"
|
25
|
-
spec.add_dependency "faraday-raise-errors"
|
26
25
|
spec.add_dependency "concurrent-ruby"
|
27
26
|
|
28
27
|
spec.add_development_dependency "bundler"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: slacks
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bob Lail
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-03-
|
11
|
+
date: 2021-03-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: websocket-driver
|
@@ -52,20 +52,6 @@ dependencies:
|
|
52
52
|
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
|
-
- !ruby/object:Gem::Dependency
|
56
|
-
name: faraday-raise-errors
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
58
|
-
requirements:
|
59
|
-
- - ">="
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: '0'
|
62
|
-
type: :runtime
|
63
|
-
prerelease: false
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
65
|
-
requirements:
|
66
|
-
- - ">="
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version: '0'
|
69
55
|
- !ruby/object:Gem::Dependency
|
70
56
|
name: concurrent-ruby
|
71
57
|
requirement: !ruby/object:Gem::Requirement
|