Skip to content

Commit

Permalink
prepare v3: up faraday min version, stricter jwt versions
Browse files Browse the repository at this point in the history
  • Loading branch information
FZambia committed Mar 25, 2024
1 parent 1c28c19 commit cac9838
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
3.0.0
=====

Not using changelog anymore. See [Github releases](https://github.com/centrifugal/rubycent/releases) now.

2.2.0
=====

Expand Down
6 changes: 2 additions & 4 deletions cent.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@ Gem::Specification.new do |spec|

spec.require_paths = ['lib']

spec.add_dependency 'faraday', '<3.0.0', '> 1.0.0'
# NOTE: Remove `faraday_middleware` after changing `faraday`'s minimum version to `2.0.0`.
spec.add_dependency 'faraday_middleware', '<2.0.0', '~> 1.0'
spec.add_dependency 'jwt', '~> 2.2'
spec.add_dependency 'faraday', '<3.0.0', '> 2.0.0'
spec.add_dependency 'jwt', '<3.0.0', '> 2.2.0'
end
1 change: 0 additions & 1 deletion lib/cent/client.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# frozen_string_literal: true

require 'faraday'
require 'faraday_middleware' if Gem::Version.new(Faraday::VERSION) <= Gem::Version.new('2.0.0')
require 'cent/http'

module Cent
Expand Down
2 changes: 1 addition & 1 deletion lib/cent/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module Cent
VERSION = '2.2.0'
VERSION = '3.0.0'
end

0 comments on commit cac9838

Please sign in to comment.