cent 2.0.2 → 2.1.0

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: 8e8ccd91b12820d79cff93715bf9c689ef76484c40a5fe19eb13fbb9f0612426
4
- data.tar.gz: 30036ca41dbbc070f45723453b987a528effd827410b5ae89354bf41af942da8
3
+ metadata.gz: d177048be5a5c912db6ce130d832d292be71ccefc9098acb787bf5e47a861a6f
4
+ data.tar.gz: 995f51e9fd398a341e0397e8da0b958a84dcbce31ed2d0f05913edb0b97925b9
5
5
  SHA512:
6
- metadata.gz: 70bdc364d8eb0c8b4252f694db0be377695e0bbd4a1cf82d222cc290b23db309197a4ab2489bf62ae5b0f16ea41e789d971685f09515d4c2eb1b08a875390104
7
- data.tar.gz: d08a7e5ca7518b08ddedfcf1c45cf82a829a9e10564910deb080b4a5e467cc52bb9599e862e27d118ccfd124b7c13558cfb083fdec82bd202e1297bcf0a9f600
6
+ metadata.gz: 302bd8e03bbb3d6636385a8a59138dd491c2e586270c93cd3ed777fa90e3b6605502c6d6f6b829f398a735e30d2030e92043d7f69ec17c5bfbcf5f1e30bbba65
7
+ data.tar.gz: 3f0e19146b8175a3851048222b0bd490998a2aefb079e9a7d4c74c19125657b72e4103ecd3b15bea5fd83177b28596637141f4a3ddb7796927ddbd601fd81544
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ 2.1.0
2
+ =====
3
+
4
+ * Increase Faraday dependency's maximum version to 3.0.0 [#19](https://github.com/centrifugal/rubycent/pull/19)
5
+
1
6
  2.0.2
2
7
  =====
3
8
 
data/cent.gemspec CHANGED
@@ -30,7 +30,8 @@ Gem::Specification.new do |spec|
30
30
 
31
31
  spec.require_paths = ['lib']
32
32
 
33
- spec.add_dependency 'faraday', '<2.0.0', '> 1.0.0'
33
+ spec.add_dependency 'faraday', '<3.0.0', '> 1.0.0'
34
+ # NOTE: Remove `faraday_middleware` after changing `faraday`'s minimum version to `2.0.0`.
34
35
  spec.add_dependency 'faraday_middleware', '<2.0.0', '~> 1.0'
35
36
  spec.add_dependency 'jwt', '~> 2.2'
36
37
  end
data/lib/cent/client.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require 'faraday'
4
- require 'faraday_middleware'
4
+ require 'faraday_middleware' if Gem::Version.new(Faraday::VERSION) <= Gem::Version.new('2.0.0')
5
5
  require 'cent/http'
6
6
 
7
7
  module Cent
data/lib/cent/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Cent
4
- VERSION = '2.0.2'
4
+ VERSION = '2.1.0'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cent
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.2
4
+ version: 2.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sergey Prikhodko
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-01-18 00:00:00.000000000 Z
11
+ date: 2022-09-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: 1.0.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
- version: 2.0.0
22
+ version: 3.0.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: 1.0.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: 2.0.0
32
+ version: 3.0.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: faraday_middleware
35
35
  requirement: !ruby/object:Gem::Requirement