devcycle-ruby-server-sdk 2.3.2 → 2.3.3

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: c059b1337c32e753d7567bce484653d29a7b1f3a2fed64f61363654193cf3900
4
- data.tar.gz: b7159a3288024c010663fb6cc1dbeaa64e118fab1805e8c1587b2e8e8404a770
3
+ metadata.gz: 1593a36e4c3b19e98bfca0b2b22be6c18ec5728e6a41b9dd87cc304de0d0d710
4
+ data.tar.gz: 607694a1ffdf94f5792e8d47c38393da6f31bcc01c7ca95dbe89ae4a727bed44
5
5
  SHA512:
6
- metadata.gz: 2874f6b16ea31184b3f35f6c03697a2c0049f33fe74a5f2cc9c3ddbd561db7052710b73ee052c376be2b7a329b9e0b0ee77f530a0a64095e377d10892ad466e3
7
- data.tar.gz: 97477010b5d785503723a9bfd23e756f2eaaed9bfbb87f996520922c88a23ab44c33e408e99e491c6a6e7582b60ef2a27f3d3c8e2d1e8309aa2e99e2f429d1c7
6
+ metadata.gz: e24743e855aa975a958104a037a462b32d83c6b33107b10d3880577915b530815d609524db3818d56284c8985f207f38442a9b826f4bcff47b67f34cc2a95692
7
+ data.tar.gz: 031647ab1a87ff06c6576e768e976ad220160eb00fad9ac9052d9206589ed0fe84b0494208ed69989da6c1d75ea971583a2817bef4f284a1f808c0358b9da631
@@ -58,7 +58,7 @@ module DevCycle
58
58
  end
59
59
 
60
60
  @max_config_retries.times do
61
- @logger.debug("Requesting a new config for #{get_config_url}, etag: #{@config_e_tag}")
61
+ @logger.debug("Requesting new config from #{get_config_url}, current etag: #{@config_e_tag}")
62
62
  resp = req.run
63
63
  @logger.debug("Config request complete, status: #{resp.code}")
64
64
  case resp.code
@@ -66,8 +66,9 @@ module DevCycle
66
66
  @logger.debug("Config not modified, using cache, etag: #{@config_e_tag}")
67
67
  break
68
68
  when 200
69
- @logger.debug("Config downloaded, etag: #{resp.headers['Etag']}")
69
+ @logger.info("New config received, etag: #{resp.headers['Etag']}")
70
70
  set_config(resp.body, resp.headers['Etag'])
71
+ @logger.info("New config stored, etag: #{@config_e_tag}")
71
72
  break
72
73
  when 403
73
74
  stop_polling
@@ -92,7 +93,6 @@ module DevCycle
92
93
 
93
94
  @local_bucketing.store_config(config)
94
95
  @config_e_tag = etag
95
- @logger.debug("Config stored, etag: #{@config_e_tag}")
96
96
  @local_bucketing.has_config = true
97
97
  end
98
98
 
@@ -11,5 +11,5 @@ OpenAPI Generator version: 5.3.0
11
11
  =end
12
12
 
13
13
  module DevCycle
14
- VERSION = '2.3.2'
14
+ VERSION = '2.3.3'
15
15
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: devcycle-ruby-server-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.2
4
+ version: 2.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - DevCycleHQ