splitclient-rb 8.3.0.pre.rc1-java → 8.3.0.pre.rc3-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
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 446097968258ecac23555475154f3872a08f5bc6
|
4
|
+
data.tar.gz: 0ccd3078dbfda48b9da7918b5ba9ed09efe7e321
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f6dc3b9b59cc79cedf5a2d5da2cecd38867364411ebc09493870e406f330bd6ebea793ff666e4727720f2e324d6fe1c08b085e217a665c2efa8b9b18cc8884ce
|
7
|
+
data.tar.gz: 293e9f3a411d46e58d2ad090782c05e9a3bd6e31e20e82b02bab27b0fba7b255239e452c509f2f8b56c7e5e2e15f8e3b52367221b450fb1c45af4d5ecbbdecd4
|
@@ -17,6 +17,7 @@ module SplitIoClient
|
|
17
17
|
params = { since: since }
|
18
18
|
params[:till] = fetch_options[:till] unless fetch_options[:till].nil?
|
19
19
|
params[:sets] = @flag_sets_filter.join(",") unless @flag_sets_filter.empty?
|
20
|
+
@config.logger.debug("Fetching from splitChanges with #{params}: ")
|
20
21
|
response = get_api("#{@config.base_uri}/splitChanges", @api_key, params, fetch_options[:cache_control_headers])
|
21
22
|
if response.status == 414
|
22
23
|
@config.logger.error("Error fetching feature flags; the amount of flag sets provided are too big, causing uri length error.")
|
@@ -1,5 +1,4 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
|
-
require 'set'
|
3
2
|
|
4
3
|
module SplitIoClient
|
5
4
|
class Validators
|
@@ -63,7 +62,7 @@ module SplitIoClient
|
|
63
62
|
log_invalid_flag_set_type(method)
|
64
63
|
return []
|
65
64
|
end
|
66
|
-
valid_flag_sets =
|
65
|
+
valid_flag_sets = Set[]
|
67
66
|
without_nil.compact.uniq.select do |flag_set|
|
68
67
|
if flag_set.nil? || !flag_set.is_a?(String)
|
69
68
|
log_invalid_flag_set_type(method)
|
@@ -75,7 +74,7 @@ module SplitIoClient
|
|
75
74
|
log_invalid_flag_set_type(method)
|
76
75
|
end
|
77
76
|
end
|
78
|
-
!valid_flag_sets.empty? ? valid_flag_sets.to_a : []
|
77
|
+
!valid_flag_sets.empty? ? valid_flag_sets.to_a.sort : []
|
79
78
|
end
|
80
79
|
|
81
80
|
private
|
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.3.0.pre.
|
4
|
+
version: 8.3.0.pre.rc3
|
5
5
|
platform: java
|
6
6
|
authors:
|
7
7
|
- Split Software
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-12-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|