Skip to content

Commit 9c2b8c0

Browse files
author
Peter de Ruijter
committed
Bumped version.
1 parent 36e4b03 commit 9c2b8c0

File tree

3 files changed

+36
-6
lines changed

3 files changed

+36
-6
lines changed

README.md

Lines changed: 33 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,35 @@ Or install it yourself as:
1818

1919
$ gem install ab_panel
2020

21+
## Upgrading from 0.2.0 to 0.3.0
22+
23+
In this new version we've added weights to different conditions/scenarios. This
24+
is so that you can rollout certain features slowly. We've also removed the
25+
original (control scenario) that is added standard.
26+
27+
The only thing you need to do to upgrade is update the ``ab_panel.yml``.
28+
29+
Old:
30+
31+
```yaml
32+
33+
foo:
34+
- bar1
35+
- bar2
36+
37+
```
38+
39+
New (if you want to keep original or need original):
40+
41+
```yaml
42+
43+
foo:
44+
bar1: 2
45+
bar2: 2
46+
original: 2
47+
48+
```
49+
2150
## Usage
2251

2352
Create a config file with one or more experiments and conditions.
@@ -26,13 +55,14 @@ In `config/ab_panel.yml`
2655

2756
```yaml
2857
my_experiment:
29-
- condition_b
30-
- condition_c
58+
original: 1
59+
condition_b: 1
60+
condition_c: 1
3161
```
3262
3363
Note that this will create 3 conditions:
3464
35-
1. Original condition (control condition)
65+
1. Original condition
3666
2. Condition B
3767
3. Condition C
3868

ab_panel.gemspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ require 'ab_panel/version'
66
Gem::Specification.new do |spec|
77
spec.name = "ab_panel"
88
spec.version = AbPanel::VERSION
9-
spec.authors = ["Wouter de Vos", "Mark Mulder"]
10-
9+
spec.authors = ["Wouter de Vos", "Mark Mulder", "Peter de Ruijter"]
10+
1111
spec.description = %q{Run A/B test experiments on your Rails 3+ site using Mixpanel as a backend.}
1212
spec.summary = %q{Run A/B test experiments on your Rails 3+ site using Mixpanel as a backend.}
1313
spec.homepage = "https://github.com/Springest/ab_panel"

lib/ab_panel/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module AbPanel
2-
VERSION = "0.2.0"
2+
VERSION = "0.3.0"
33
end

0 commit comments

Comments
 (0)