-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #78 from asonas/faraday_v2
Support faraday v2+ and drop support ruby < 2.6
- Loading branch information
Showing
8 changed files
with
14 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +0,0 @@ | ||
if Gem::Version.create(RUBY_VERSION) < Gem::Version.create("2.3.0") | ||
group :test do | ||
gem "backport_dig", group: :development | ||
end | ||
end | ||
|
||
if Gem::Version.create(RUBY_VERSION) < Gem::Version.create("2.2.2") | ||
group :test do | ||
gem "activesupport", "< 5.0.0", group: :development | ||
end | ||
end | ||
|
||
if Gem::Version.create(RUBY_VERSION) < Gem::Version.create("2.5.0") | ||
group :test do | ||
# NOTE: unparser v0.3.0+ requires Ruby 2.5+ | ||
gem "unparser", "< 0.3.0" | ||
end | ||
end | ||
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,4 +5,4 @@ gemspec path: "../" | |
|
||
eval_gemfile "#{__dir__}/common.gemfile" | ||
|
||
gem "faraday", "~> 0.9" | ||
gem "faraday", "~> 2.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,3 @@ | ||
require "faraday" | ||
require "faraday_middleware" | ||
|
||
module ChatWork | ||
class BaseClient | ||
include Converter | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters