cent 2.0.0 → 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: ccda06fa2a0da286f06e74761175bb6e822930267d8bd6edf0058359c8a8efe4
4
- data.tar.gz: 7a4f9398de445b0853edbdbb464339692af7a35e3777d1b71240159073f39134
3
+ metadata.gz: d177048be5a5c912db6ce130d832d292be71ccefc9098acb787bf5e47a861a6f
4
+ data.tar.gz: 995f51e9fd398a341e0397e8da0b958a84dcbce31ed2d0f05913edb0b97925b9
5
5
  SHA512:
6
- metadata.gz: 7b53b22a81d6d8ef2f9cb02af14ed35675713e77a040be770e07f6f5f1c166eed649fa0b5937e0424a877067b7ffdc31a4e0e22010eb00e85536b86f02cf3830
7
- data.tar.gz: 21d2c90b9e905d40611f6ba0010042a8ffbef7bf13ed13abce683b003a5bfcddc3bf52db0b34d5d72c5e050855041f563b487e85ec4071c332be1362659033b4
6
+ metadata.gz: 302bd8e03bbb3d6636385a8a59138dd491c2e586270c93cd3ed777fa90e3b6605502c6d6f6b829f398a735e30d2030e92043d7f69ec17c5bfbcf5f1e30bbba65
7
+ data.tar.gz: 3f0e19146b8175a3851048222b0bd490998a2aefb079e9a7d4c74c19125657b72e4103ecd3b15bea5fd83177b28596637141f4a3ddb7796927ddbd601fd81544
@@ -1,8 +1,9 @@
1
1
  name: Release Ruby Gem
2
2
 
3
3
  on:
4
- # Manually publish
5
- workflow_dispatch:
4
+ push:
5
+ tags:
6
+ - 'v[0-9].[0-9]+.[0-9]+'
6
7
  jobs:
7
8
  build-and-release:
8
9
  name: Release
data/.rubocop.yml CHANGED
@@ -9,3 +9,5 @@ RSpec/ExampleLength:
9
9
  Metrics/BlockLength:
10
10
  Exclude:
11
11
  - 'spec/**/*'
12
+ Gemspec/RequireMFA:
13
+ Enabled: false
data/CHANGELOG.md CHANGED
@@ -1,3 +1,18 @@
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
+
6
+ 2.0.2
7
+ =====
8
+
9
+ * Loosen JWT dependency version requirement: `~> 2.2` instead of `~> 2.2.1`.
10
+
11
+ 2.0.1
12
+ =====
13
+
14
+ * Weaken faraday dependency: require faraday version >1.0.0.
15
+
1
16
  2.0.0
2
17
  =====
3
18
 
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.7.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
- spec.add_dependency 'jwt', '~> 2.2.1'
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.0'
4
+ VERSION = '2.1.0'
5
5
  end
metadata CHANGED
@@ -1,35 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cent
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
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: 2021-08-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
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">"
18
18
  - !ruby/object:Gem::Version
19
- version: 1.7.0
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
26
26
  requirements:
27
- - - "~>"
27
+ - - ">"
28
28
  - !ruby/object:Gem::Version
29
- version: 1.7.0
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
@@ -56,14 +56,14 @@ dependencies:
56
56
  requirements:
57
57
  - - "~>"
58
58
  - !ruby/object:Gem::Version
59
- version: 2.2.1
59
+ version: '2.2'
60
60
  type: :runtime
61
61
  prerelease: false
62
62
  version_requirements: !ruby/object:Gem::Requirement
63
63
  requirements:
64
64
  - - "~>"
65
65
  - !ruby/object:Gem::Version
66
- version: 2.2.1
66
+ version: '2.2'
67
67
  description: |
68
68
  Provides helper classes Cent::Client and Cent::Notary.
69
69