vanity 2.1.1 → 2.1.2

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: c9f59504780981f9e1f351de1afd9774374ca1d4
4
- data.tar.gz: 2a211bbebf1c899a256bbfa81f86a161e91155ed
3
+ metadata.gz: e624cf4ffac44db90b2d87b2142487870e8d8313
4
+ data.tar.gz: d2f59e2b24bf57977ac7e6494416b5a8eab08c6b
5
5
  SHA512:
6
- metadata.gz: d464e14f4116528ffdd94196daadb15a285d20e011262a19cbe91b567c38b822ceae28daf510f759681fd84a0f6d484959d53d8e24706d59674d9a737768107f
7
- data.tar.gz: cb0c09bf9293ffbc677fbd2260bc5dc5c19d3daade26fbec926d9f4e17dcfd12a71222fae552b1daa11d4d3a8e285a2d6b176c593d15d394b0ad2135dbe50695
6
+ metadata.gz: 4f7713ef88ad77be3d31a16767ea3e5bf5cc5bb50478208aa3bb506e8f316eec26d1fb3e1752b7b6cae73c918a98cf5ad1dae78513e9e6e7c5bb20e329569861
7
+ data.tar.gz: 3ff7a9e8f111e3aa83c56bcd7d4c3c834c76c9e0118ce6cacca8921362f78d1016c8c21555fd43f4a42f972557dac32e673becab80c1aacedfa2526fd00daba8
data/CHANGELOG CHANGED
@@ -1,10 +1,14 @@
1
- == 2.1.1 (2015-1-19)
1
+ == 2.1.2 (2016-2-20)
2
+
3
+ * Fix infinite loop on loading Vanity when using Redis and Redis fails to connect. #292 (@phillbaker)
4
+
5
+ == 2.1.1 (2016-1-15)
2
6
 
3
7
  * Allow method passed to `use_vanity` to return NullObjects. (@phillbaker)
4
8
  * Add testing support for ruby 2.3. (@phillbaker)
5
9
  * Add `reject` method to experiment definition. #290 (@peterkovacs)
6
10
 
7
- == 2.1.0 (2015-1-19)
11
+ == 2.1.0 (2016-1-19)
8
12
 
9
13
  Add ability to define test alternatives with custom probabilities, #283. (@peterkovacs)
10
14
  Allow ActiveRecord model metrics to provide their own identity source, #285. (@peterkovacs)
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- vanity (2.1.1)
4
+ vanity (2.1.2)
5
5
  i18n
6
6
 
7
7
  GEM
@@ -7,7 +7,7 @@ GIT
7
7
  PATH
8
8
  remote: ..
9
9
  specs:
10
- vanity (2.1.1)
10
+ vanity (2.1.2)
11
11
  i18n
12
12
 
13
13
  GEM
@@ -7,7 +7,7 @@ GIT
7
7
  PATH
8
8
  remote: .././
9
9
  specs:
10
- vanity (2.1.1)
10
+ vanity (2.1.2)
11
11
  i18n
12
12
 
13
13
  GEM
@@ -7,7 +7,7 @@ GIT
7
7
  PATH
8
8
  remote: ..
9
9
  specs:
10
- vanity (2.1.1)
10
+ vanity (2.1.2)
11
11
  i18n
12
12
 
13
13
  GEM
@@ -7,7 +7,7 @@ GIT
7
7
  PATH
8
8
  remote: ../
9
9
  specs:
10
- vanity (2.1.1)
10
+ vanity (2.1.2)
11
11
  i18n
12
12
 
13
13
  GEM
@@ -231,8 +231,8 @@ module Vanity
231
231
  begin
232
232
  yield
233
233
  rescue => e
234
- if Vanity.playground.failover_on_datastore_error?
235
- Vanity.playground.on_datastore_error.call(e, self.class, calling_method, arguments)
234
+ if Vanity.configuration.failover_on_datastore_error
235
+ Vanity.configuration.on_datastore_error.call(e, self.class, calling_method, arguments)
236
236
  else
237
237
  raise e
238
238
  end
@@ -1,5 +1,5 @@
1
1
  module Vanity
2
- VERSION = "2.1.1"
2
+ VERSION = "2.1.2"
3
3
 
4
4
  module Version
5
5
  version = VERSION.to_s.split(".").map { |i| i.to_i }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vanity
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.1
4
+ version: 2.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Assaf Arkin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-02-16 00:00:00.000000000 Z
11
+ date: 2016-02-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: i18n
@@ -213,7 +213,7 @@ metadata: {}
213
213
  post_install_message: To get started run vanity --help
214
214
  rdoc_options:
215
215
  - --title
216
- - Vanity 2.1.1
216
+ - Vanity 2.1.2
217
217
  - --main
218
218
  - README.md
219
219
  - --webcvs