splitclient-rb 8.3.0.pre.rc1-java → 8.3.0.pre.rc2-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: 63eaef95e83fc3552686629bbc774714697479d3
4
- data.tar.gz: 0a749fd03518f96e809823ba07ea2dedb2aafd8c
3
+ metadata.gz: 2d4d51065bea1f95afa628a82a475e6f9ba405c2
4
+ data.tar.gz: 724f28c892996270ec1ed3f60f33b39620389f31
5
5
  SHA512:
6
- metadata.gz: 7c6f40b8f8fec08b07123de1c441da6a829847a0933993b74e156d143d281f4966a93cbf2c4960d1f0af1035042e35e85caf9cf79dda3a228cb4e2e253b9404b
7
- data.tar.gz: f992ed57b0bf38032e2364a15ea9e1a3bb2bdfc6ac9d09582bad0d939aa993400476e5ace9993b1aaa44843b8f09c8d4cdaa8e86485e2ff5b240d1e7fdd9ba8e
6
+ metadata.gz: c791f77af6bc85f0893428077e7bbf48cd462bea313389e34262741d1f9c53e316bffb1173e01b0e4de7bc81663e55ae41e4759ca66c3376b3372393ed82f11b
7
+ data.tar.gz: c876c0cc8b1ab4ed26233b2dbb0547dd8857b53ce0b2ac827572255d795e7d3087305a3f40ab5ec0fecbc1a98a0eb248647441bb273c9d624f3d0eb509345ca2
@@ -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 = SortedSet[]
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
@@ -1,3 +1,3 @@
1
1
  module SplitIoClient
2
- VERSION = '8.3.0.pre.rc1'
2
+ VERSION = '8.3.0.pre.rc2'
3
3
  end
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.rc1
4
+ version: 8.3.0.pre.rc2
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-30 00:00:00.000000000 Z
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