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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e3f9538fbc719ad833d0027f5d2edb32e5c7ee3d991cb3596bb5217e58f02ba6
4
- data.tar.gz: 418e0f974c5728e735c560e020429041f0c0af437201721d9d98a423b5db790a
3
+ metadata.gz: ffbca3af38608a41841c035811bd052e30a2a2acd39bf58fbef037a1b4ab8bd1
4
+ data.tar.gz: 29e54298f59bbbca5b1eb25d90e7d7496bd7d77535a8b03c50afee5fbbaee43a
5
5
  SHA512:
6
- metadata.gz: 6d47f55bf02c06928f9a3b7da4c1dd8968455550b9096db030945fb804cdaf9912f8b491e2782df45838b3a9ac6b82938a1edf7509e379ae8d7a7742150217f8
7
- data.tar.gz: 46bc171a39e21778e9aeb1a2af25e081cc607178935cf4a8c130a5e19b777645e38199920b1b866d550f7d4ade5a316f6424dc0003a272eb2369e24c2cb50e87
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
 
@@ -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.use Faraday::RaiseErrors
346
+ connection.response :raise_error
348
347
  end
349
348
  end
350
349
 
@@ -1,3 +1,3 @@
1
1
  module Slacks
2
- VERSION = "0.6.3"
2
+ VERSION = "0.6.4"
3
3
  end
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.3
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-01 00:00:00.000000000 Z
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