Skip to content

Commit

Permalink
Bump some gems
Browse files Browse the repository at this point in the history
  • Loading branch information
MatheusRich committed Jul 21, 2023
1 parent d52e1de commit 5386775
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 22 deletions.
21 changes: 8 additions & 13 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ PATH
remote: .
specs:
gold_miner (0.1.0)
async
async (~> 2.6)
dotenv (~> 2.8.0)
dry-monads (~> 1.3.0)
dry-monads (~> 1.6)
ruby-openai (~> 3.0.0)
slack-ruby-client (~> 1.1.0)
slack-ruby-client (~> 2.x)
zeitwerk (~> 2.6.6)

GEM
Expand All @@ -29,14 +29,13 @@ GEM
diff-lcs (1.5.0)
docile (1.4.0)
dotenv (2.8.1)
dry-core (0.9.1)
dry-core (1.0.0)
concurrent-ruby (~> 1.0)
zeitwerk (~> 2.6)
dry-equalizer (0.3.0)
dry-monads (1.3.5)
dry-monads (1.6.0)
concurrent-ruby (~> 1.0)
dry-core (~> 0.4, >= 0.4.4)
dry-equalizer
dry-core (~> 1.0, < 2)
zeitwerk (~> 2.6)
faraday (2.7.2)
faraday-net_http (>= 2.0, < 3.1)
ruby2_keywords (>= 0.0.4)
Expand Down Expand Up @@ -109,13 +108,12 @@ GEM
simplecov_json_formatter (~> 0.1)
simplecov-html (0.12.3)
simplecov_json_formatter (0.1.4)
slack-ruby-client (1.1.0)
slack-ruby-client (2.1.0)
faraday (>= 2.0)
faraday-mashify
faraday-multipart
gli
hashie
websocket-driver
standard (1.30.1)
language_server-protocol (~> 3.17.0.2)
lint_roller (~> 1.0)
Expand All @@ -135,9 +133,6 @@ GEM
addressable (>= 2.8.0)
crack (>= 0.3.2)
hashdiff (>= 0.4.0, < 2.0.0)
websocket-driver (0.7.5)
websocket-extensions (>= 0.1.0)
websocket-extensions (0.1.5)
zeitwerk (2.6.8)

PLATFORMS
Expand Down
6 changes: 3 additions & 3 deletions gold_miner.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@ Gem::Specification.new do |spec|
spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]

spec.add_dependency "async"
spec.add_dependency "async", "~> 2.6"
spec.add_dependency "dotenv", "~> 2.8.0"
spec.add_dependency "dry-monads", "~> 1.3.0"
spec.add_dependency "dry-monads", "~> 1.6"
spec.add_dependency "ruby-openai", "~> 3.0.0"
spec.add_dependency "slack-ruby-client", "~> 1.1.0"
spec.add_dependency "slack-ruby-client", "~> 2.x"
spec.add_dependency "zeitwerk", "~> 2.6.6"

# For more information and examples about making a new gem, check out our
Expand Down
9 changes: 3 additions & 6 deletions spec/gold_miner/slack/client_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -184,8 +184,7 @@ def stub_slack_auth_test_request(token:, status: 200, body: {"ok" => true})
headers = {
"Accept" => "application/json; charset=utf-8",
"Accept-Encoding" => "gzip;q=1.0,deflate;q=0.6,identity;q=0.3",
"Content-Length" => "0",
"User-Agent" => "Slack Ruby Client/1.1.0"
"Content-Length" => "0"
}
headers["Authorization"] = "Bearer #{token}" if token

Expand All @@ -201,8 +200,7 @@ def stub_slack_message_search_request(query:, body:)
headers: {
"Accept" => "application/json; charset=utf-8",
"Accept-Encoding" => "gzip;q=1.0,deflate;q=0.6,identity;q=0.3",
"Content-Type" => "application/x-www-form-urlencoded",
"User-Agent" => "Slack Ruby Client/1.1.0"
"Content-Type" => "application/x-www-form-urlencoded"
}
)
.to_return(status: 200, body: body.to_json, headers: {})
Expand All @@ -216,8 +214,7 @@ def stub_slack_users_info_request(token:, user_id:, body:)
"Accept" => "application/json; charset=utf-8",
"Accept-Encoding" => "gzip;q=1.0,deflate;q=0.6,identity;q=0.3",
"Authorization" => "Bearer #{token}",
"Content-Type" => "application/x-www-form-urlencoded",
"User-Agent" => "Slack Ruby Client/1.1.0"
"Content-Type" => "application/x-www-form-urlencoded"
}
)
.to_return(status: 200, body: body.to_json, headers: {})
Expand Down

0 comments on commit 5386775

Please sign in to comment.