splitclient-rb 8.0.0.pre.rc2-java → 8.0.1.pre.rc1-java

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
- SHA1:
3
- metadata.gz: c9beda4470bef68acfea1cb18a857d0b0d6a0f29
4
- data.tar.gz: 677de7caceaa230cbb5b667e319865c93785da6c
2
+ SHA256:
3
+ metadata.gz: ab8285b67beee00da2c26ea2e9fd87be921446a160a5a2113a630c6af531cfda
4
+ data.tar.gz: 8d11251a5ebc2bb56ae86bae46cc9e27157ecfbde41ef6e427fa2c785b57a487
5
5
  SHA512:
6
- metadata.gz: cc648ee9e65658304075aafd08e5cae96cd358b29d9c200dec09ab32b7ee3216ebffe6212923e1b2ffdb57b36cf3adf475bcb5f7817b36835b9a2316854252e2
7
- data.tar.gz: c112ef70383f4025ca72a30d340aa6d749dbf9a4c9999ad7d3da5767c7c88cadee9491c10bd52b9412681ce8533941e0590b6bbdc69cd4d955f1ac06ac5234c0
6
+ metadata.gz: 81b09262e334579e6a9b6db3dca7c99424261ab1dd0b5697fc4e6d823189a9a809a144dcdd6a9de655315b165d72c7d2e963e5d585c07116d07bca821d9ba18e
7
+ data.tar.gz: f30af710d2128671a290079a0892a5ec3d7735c2f8982ce787254e05e718a9c7f823f036f5ada209a2772daa11e09bfb75f3738944c52a4068f816f6e5d1f157
data/CHANGES.txt CHANGED
@@ -1,5 +1,12 @@
1
1
  CHANGES
2
2
 
3
+ 8.0.0 (May 10, 2022)
4
+ - BREAKING CHANGE: Deprecated support for ruby 2.3 and 2.4 versions. The minimum ruby version required is 2.5 now.
5
+ - Updated redis command for config telemetry, using hset instead of rpush now.
6
+ - Updated dependencies:
7
+ - rake to ~> 13.0
8
+ - faraday to >= 1.1, < 2.0
9
+
3
10
  7.3.4 (Feb 21, 2022)
4
11
  - Updated streaming events architecture with a new queue logic.
5
12
  - Fixed redis integration Pipelining command deprecation warning.
data/README.md CHANGED
@@ -1,5 +1,5 @@
1
1
  # Split SDK for Ruby
2
- [![Build Status](https://travis-ci.com/splitio/ruby-client.svg?branch=master)](https://travis-ci.com/splitio/ruby-client)
2
+ ![Build Status](https://github.com/splitio/ruby-client/actions/workflows/ci.yml/badge.svg?branch=master)
3
3
 
4
4
  ## Overview
5
5
  This SDK is designed to work with Split, the platform for controlled rollouts, which serves features to your users via a Split feature flag to manage your complete customer experience.
@@ -3,10 +3,10 @@
3
3
  module SplitIoClient
4
4
  module Api
5
5
  class Client
6
- RUBY_ENCODING = '1.9'.respond_to?(:force_encoding)
7
-
8
6
  def initialize(config)
9
- @config = config
7
+ @config = config
8
+
9
+ check_faraday_compatibility
10
10
  end
11
11
 
12
12
  def get_api(url, api_key, params = {}, cache_control_headers = false)
@@ -64,6 +64,14 @@ module SplitIoClient
64
64
  'SplitSDKVersion' => "#{@config.language}-#{@config.version}",
65
65
  }
66
66
  end
67
+
68
+ def check_faraday_compatibility
69
+ version = Faraday::VERSION.split('.')[0]
70
+
71
+ require 'faraday/net_http_persistent' if version.to_i >= 2
72
+ rescue StandardError => e
73
+ @config.logger.warn(e)
74
+ end
67
75
  end
68
76
  end
69
77
  end
@@ -1,3 +1,3 @@
1
1
  module SplitIoClient
2
- VERSION = '8.0.0.pre.rc2'
2
+ VERSION = '8.0.1.pre.rc1'
3
3
  end
@@ -51,7 +51,8 @@ Gem::Specification.new do |spec|
51
51
 
52
52
  spec.add_runtime_dependency 'bitarray', '~> 1.3'
53
53
  spec.add_runtime_dependency 'concurrent-ruby', '~> 1.0'
54
- spec.add_runtime_dependency 'faraday', '>= 1.1', '< 2.0'
54
+ spec.add_runtime_dependency 'faraday', '>= 1.1', '< 3.0'
55
+ spec.add_runtime_dependency 'faraday-net_http_persistent', '>= 1.0', '< 3.0'
55
56
  spec.add_runtime_dependency 'json', '>= 1.8', '< 3.0'
56
57
  spec.add_runtime_dependency 'jwt', '>= 1.0.0', '< 3.0'
57
58
  spec.add_runtime_dependency 'lru_redux', '~> 1.1'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: splitclient-rb
3
3
  version: !ruby/object:Gem::Version
4
- version: 8.0.0.pre.rc2
4
+ version: 8.0.1.pre.rc1
5
5
  platform: java
6
6
  authors:
7
7
  - Split Software
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-05-09 00:00:00.000000000 Z
11
+ date: 2022-07-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement
@@ -228,7 +228,7 @@ dependencies:
228
228
  version: '1.1'
229
229
  - - "<"
230
230
  - !ruby/object:Gem::Version
231
- version: '2.0'
231
+ version: '3.0'
232
232
  name: faraday
233
233
  prerelease: false
234
234
  type: :runtime
@@ -239,7 +239,27 @@ dependencies:
239
239
  version: '1.1'
240
240
  - - "<"
241
241
  - !ruby/object:Gem::Version
242
- version: '2.0'
242
+ version: '3.0'
243
+ - !ruby/object:Gem::Dependency
244
+ requirement: !ruby/object:Gem::Requirement
245
+ requirements:
246
+ - - ">="
247
+ - !ruby/object:Gem::Version
248
+ version: '1.0'
249
+ - - "<"
250
+ - !ruby/object:Gem::Version
251
+ version: '3.0'
252
+ name: faraday-net_http_persistent
253
+ prerelease: false
254
+ type: :runtime
255
+ version_requirements: !ruby/object:Gem::Requirement
256
+ requirements:
257
+ - - ">="
258
+ - !ruby/object:Gem::Version
259
+ version: '1.0'
260
+ - - "<"
261
+ - !ruby/object:Gem::Version
262
+ version: '3.0'
243
263
  - !ruby/object:Gem::Dependency
244
264
  requirement: !ruby/object:Gem::Requirement
245
265
  requirements:
@@ -540,8 +560,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
540
560
  - !ruby/object:Gem::Version
541
561
  version: 1.3.1
542
562
  requirements: []
543
- rubyforge_project:
544
- rubygems_version: 2.6.14
563
+ rubygems_version: 3.2.29
545
564
  signing_key:
546
565
  specification_version: 4
547
566
  summary: Ruby client for split SDK.