featureflow 0.3.5 → 0.3.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8490d189423253a97259fe0bb5a840e8f28cc385
4
- data.tar.gz: 1b20bee2ede0da80f7314bf1f06fda87cf6a8ca5
3
+ metadata.gz: 5f5d6bd8646de5633e8a38969a098cf296a2dfbe
4
+ data.tar.gz: 97abda2e673d39895f2bde9482c618c7d2e3d829
5
5
  SHA512:
6
- metadata.gz: e0998b81d6bd6d56b62e2672177f07805e63fa84260b1c25156074e7fab35de479ac72d0d3dfb6f7224228f6e91a888aa0e2468b44a1c9fd33729f6d40414aae
7
- data.tar.gz: 42e72d22440916e3393548804c27d015bcd51a181ec3c6595adf246d087ef21a73bbb5f349e29307da510cd1f5b1e2cb716fa5bd00c31a6151136f7608fce780
6
+ metadata.gz: 6733b393ac9bff5c4c62a4fede84237172de8952aa56a61c8580e910d4fa49f32da7dbd9344776474156ffdd3ba0eaa6365c507399d0c8ff48bf98fe3b6280cb
7
+ data.tar.gz: a6982e435fe692e96cd7e3c95b7912c091b99d758d536da7ef132d07400ee454d55f2726234506b5eaf217040b5dfe8903acf3be57238c9e09c1a2c4d48bd3bc
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- featureflow (0.3.0)
4
+ featureflow (0.3.5)
5
5
  excon (~> 0.57.0)
6
6
 
7
7
  GEM
@@ -16,7 +16,8 @@ module Featureflow
16
16
  api_key: api_key,
17
17
  url: 'https://app.featureflow.io',
18
18
  path: '/api/sdk/v1/features',
19
- with_features: []
19
+ with_features: [],
20
+ disable_events: false
20
21
  }.merge(config)
21
22
 
22
23
  unless with_features_valid? @config[:with_features]
@@ -30,8 +31,10 @@ module Featureflow
30
31
  @failover_variants[feature[:key]] = failover if failover.is_a?(String) && !failover.empty?
31
32
  end
32
33
 
33
- @events_client = EventsClient.new @config[:url], @config[:api_key]
34
- @events_client.register_features @config[:with_features]
34
+ unless @config[:disable_events]
35
+ @events_client = EventsClient.new @config[:url], @config[:api_key]
36
+ @events_client.register_features @config[:with_features]
37
+ end
35
38
 
36
39
  PollingClient.new(@config[:url] + @config[:path],
37
40
  @config[:api_key],
@@ -1,3 +1,3 @@
1
1
  module Featureflow
2
- VERSION = "0.3.5"
2
+ VERSION = "0.3.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: featureflow
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.5
4
+ version: 0.3.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Henry Young