determinator 1.1.0 → 1.1.1

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: 532bf3e49ff1811ae99eb4e9655c1ab8c3f4ec9b
4
- data.tar.gz: 69a37c14086d2a79fad647ad9a7924a35f3b6050
3
+ metadata.gz: 2ece9989b7ac3a6e9ab04d4933e27d4225011283
4
+ data.tar.gz: 3675d4b2c99d14b5161c402651827e84cfe2d14a
5
5
  SHA512:
6
- metadata.gz: 486f995cedb81e7053aa5baecc54861bfc3153a382c0614d1917652f9c785e720804a031027494759d0a817b292581c1c3f20b369d5385212cce676298802a66
7
- data.tar.gz: c5325f6116a94d4f2e0af17d814a1cb7ca72bf3d3ac0fe72ecd4c7c9a31a58f84247e36e9af52225de670afb03824ce2a8c1d653eb86cde070b6a21b712c7cdc
6
+ metadata.gz: e2408a3051c80f95368f920e63331b2aa147fd91edf4b1e4701b823a0e2e2f61361e725531b5b9a99ef8f560abc1f4b670cb4c5b464d6ac592c5576f6a41c39d
7
+ data.tar.gz: 872e0b1696d9a7cc37f013f0fb2df9b39b0aee3c4967b66051d3711bdf4183302c1561158c86815fe8a5aa4a7670625d8b5f2787c2eed0b28a8b83e6c3de58dd
@@ -1,3 +1,8 @@
1
+ # v1.1.1 (2018-02-27)
2
+
3
+ Bug fix:
4
+ - Ensures the `configure` method calls the correct method when a legacy error proc is given as a parameter. (#49)
5
+
1
6
  # v1.1.0 (2018-02-07)
2
7
 
3
8
  ⚠️ This release includes breaking changes to `RSpec::Determinator` ⚠️
data/README.md CHANGED
@@ -91,7 +91,7 @@ Determinator.configure(
91
91
  )
92
92
  Determinator.on_error(NewRelic::Agent.method(:notice_error))
93
93
  Determinator.on_missing_feature do |feature_name|
94
- STATSD.increment 'determinator.missing_feature', tags: ["feature:#{name}"]
94
+ STATSD.increment 'determinator.missing_feature', tags: ["feature:#{feature_name}"]
95
95
  end
96
96
 
97
97
  Determinator.on_determination do |id, guid, feature, determination|
@@ -13,7 +13,7 @@ module Determinator
13
13
  # @param :missing_feature [#call, nil] a proc, accepting a feature name, which will be called any time a feature is requested but isn't available
14
14
  # @param :feature_cache [#call, nil] a caching proc, accepting a feature name, which will return the named feature or yield (and store) if not available
15
15
  def configure(retrieval:, errors: nil, missing_feature: nil, feature_cache: nil)
16
- self.on_error_logger(&errors) if errors
16
+ self.on_error(&errors) if errors
17
17
  self.on_missing_feature(&missing_feature) if missing_feature
18
18
  @feature_cache = feature_cache if feature_cache.respond_to?(:call)
19
19
  @instance = Control.new(retrieval: retrieval)
@@ -1,3 +1,3 @@
1
1
  module Determinator
2
- VERSION = '1.1.0'
2
+ VERSION = '1.1.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: determinator
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - JP Hastings-Spital
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-02-07 00:00:00.000000000 Z
11
+ date: 2018-02-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: routemaster-drain