whoa 0.7.0 → 0.8.0

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.
Files changed (4) hide show
  1. data/README.md +11 -1
  2. data/VERSION +1 -1
  3. data/whoa.gemspec +1 -1
  4. metadata +2 -2
data/README.md CHANGED
@@ -17,8 +17,11 @@ Authentication
17
17
  --------------
18
18
 
19
19
  > Whoa.email = 'xxxxx'
20
+
20
21
  > Whoa.password = 'xxxxx'
21
22
 
23
+ > Whoa.account_id = 'xxxxx'
24
+
22
25
  Uses ClientLogin. OAuth coming soon.
23
26
 
24
27
  Basic actions
@@ -33,7 +36,9 @@ Basic actions
33
36
  or
34
37
 
35
38
  > Whoa::Experiment.new
39
+
36
40
  > Whoa::Experiment.title = "My New Experiment"
41
+
37
42
  > Whoa::Experiment.save
38
43
 
39
44
  Update
@@ -43,7 +48,9 @@ Basic actions
43
48
  Read
44
49
 
45
50
  > Whoa::Experiment.all(:status => "Running")
51
+
46
52
  > Whoa::Experiment.first(:title => "Foo")
53
+
47
54
  > Whoa::Experiment.find(123456)
48
55
 
49
56
  If you're wondering what you can get/set, take a look at the WO API docs. You also have the handy #attributes method.
@@ -60,7 +67,9 @@ Experiments
60
67
  Some handy shortcuts:
61
68
 
62
69
  > @experiment.copy!
70
+
63
71
  > @experiment.start!
72
+
64
73
  > @experiment.stop!
65
74
 
66
75
  Each experiment has #tracking\_script, #control\_script and #conversion_script. You'll need to inject this code into your pages somehow to get experiments working.
@@ -73,12 +82,13 @@ Pages
73
82
  Experiments have many pages; each page belongs to an experiment.
74
83
 
75
84
  > @experiment.pages.first
85
+
76
86
  > @experiment.create_page(:title => "foo", :content => "bar")
77
87
 
78
88
  Requirements
79
89
  ------------
80
90
 
81
- * rest-client 0.4.2
91
+ * rest-client >= 0.4.2
82
92
  * happymapper >= 0.3.0
83
93
  * active_support >= 2.2.0
84
94
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.7.0
1
+ 0.8.0
data/whoa.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{whoa}
8
- s.version = "0.7.0"
8
+ s.version = "0.8.0"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["richmolj@gmail.com"]
metadata CHANGED
@@ -4,9 +4,9 @@ version: !ruby/object:Gem::Version
4
4
  prerelease: false
5
5
  segments:
6
6
  - 0
7
- - 7
7
+ - 8
8
8
  - 0
9
- version: 0.7.0
9
+ version: 0.8.0
10
10
  platform: ruby
11
11
  authors:
12
12
  - richmolj@gmail.com