vero 0.4.2 → 0.4.3
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.
- data/Gemfile.lock +9 -16
- data/lib/vero.rb +4 -0
- data/lib/vero/version.rb +1 -1
- data/spec/lib/trackable_spec.rb +4 -2
- metadata +2 -2
data/Gemfile.lock
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
vero (0.4)
|
|
4
|
+
vero (0.4.2)
|
|
5
5
|
delayed_job
|
|
6
6
|
delayed_job_active_record
|
|
7
|
-
delayed_job_mongoid
|
|
8
7
|
girl_friday
|
|
9
8
|
rest-client
|
|
10
9
|
|
|
@@ -41,18 +40,16 @@ GEM
|
|
|
41
40
|
arel (3.0.2)
|
|
42
41
|
builder (3.0.3)
|
|
43
42
|
connection_pool (0.9.2)
|
|
44
|
-
delayed_job (3.0.
|
|
43
|
+
delayed_job (3.0.4)
|
|
45
44
|
activesupport (~> 3.0)
|
|
46
|
-
delayed_job_active_record (0.3.
|
|
47
|
-
activerecord (
|
|
48
|
-
delayed_job (~> 3.0.0)
|
|
49
|
-
delayed_job_mongoid (2.0.0)
|
|
45
|
+
delayed_job_active_record (0.3.3)
|
|
46
|
+
activerecord (>= 2.1.0, < 4)
|
|
50
47
|
delayed_job (~> 3.0)
|
|
51
|
-
mongoid (~> 3.0)
|
|
52
48
|
diff-lcs (1.1.3)
|
|
53
49
|
erubis (2.7.0)
|
|
54
|
-
girl_friday (0.
|
|
50
|
+
girl_friday (0.11.1)
|
|
55
51
|
connection_pool (~> 0.9.0)
|
|
52
|
+
rubinius-actor
|
|
56
53
|
hike (1.2.1)
|
|
57
54
|
i18n (0.6.1)
|
|
58
55
|
journey (1.0.4)
|
|
@@ -62,14 +59,7 @@ GEM
|
|
|
62
59
|
mime-types (~> 1.16)
|
|
63
60
|
treetop (~> 1.4.8)
|
|
64
61
|
mime-types (1.19)
|
|
65
|
-
mongoid (3.0.6)
|
|
66
|
-
activemodel (~> 3.1)
|
|
67
|
-
moped (~> 1.1)
|
|
68
|
-
origin (~> 1.0)
|
|
69
|
-
tzinfo (~> 0.3.22)
|
|
70
|
-
moped (1.2.5)
|
|
71
62
|
multi_json (1.3.6)
|
|
72
|
-
origin (1.0.9)
|
|
73
63
|
polyglot (0.3.3)
|
|
74
64
|
rack (1.4.1)
|
|
75
65
|
rack-cache (1.2)
|
|
@@ -106,6 +96,9 @@ GEM
|
|
|
106
96
|
rspec-expectations (2.11.3)
|
|
107
97
|
diff-lcs (~> 1.1.3)
|
|
108
98
|
rspec-mocks (2.11.3)
|
|
99
|
+
rubinius-actor (0.0.2)
|
|
100
|
+
rubinius-core-api
|
|
101
|
+
rubinius-core-api (0.0.1)
|
|
109
102
|
sprockets (2.1.3)
|
|
110
103
|
hike (~> 1.2)
|
|
111
104
|
rack (~> 1.0)
|
data/lib/vero.rb
CHANGED
data/lib/vero/version.rb
CHANGED
data/spec/lib/trackable_spec.rb
CHANGED
|
@@ -205,6 +205,7 @@ describe Vero::Trackable do
|
|
|
205
205
|
it "should send an `update_user_tags` request when async is set to false" do
|
|
206
206
|
context = Vero::Context.new(Vero::App.default_context)
|
|
207
207
|
context.subject = @user
|
|
208
|
+
context.config.async = false
|
|
208
209
|
|
|
209
210
|
@user.stub(:with_vero_context).and_return(context)
|
|
210
211
|
|
|
@@ -221,7 +222,7 @@ describe Vero::Trackable do
|
|
|
221
222
|
|
|
222
223
|
@user.stub(:with_vero_context).and_return(context)
|
|
223
224
|
|
|
224
|
-
|
|
225
|
+
@user.with_vero_context.update_user_tags!.should be_true
|
|
225
226
|
end
|
|
226
227
|
end
|
|
227
228
|
|
|
@@ -238,6 +239,7 @@ describe Vero::Trackable do
|
|
|
238
239
|
it "should send an `update_user` request when async is set to false" do
|
|
239
240
|
context = Vero::Context.new(Vero::App.default_context)
|
|
240
241
|
context.subject = @user
|
|
242
|
+
context.config.async = false
|
|
241
243
|
|
|
242
244
|
@user.stub(:with_vero_context).and_return(context)
|
|
243
245
|
|
|
@@ -254,7 +256,7 @@ describe Vero::Trackable do
|
|
|
254
256
|
|
|
255
257
|
@user.stub(:with_vero_context).and_return(context)
|
|
256
258
|
|
|
257
|
-
|
|
259
|
+
@user.with_vero_context.unsubscribe!.should be_true
|
|
258
260
|
end
|
|
259
261
|
end
|
|
260
262
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: vero
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.4.
|
|
4
|
+
version: 0.4.3
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2012-12-
|
|
12
|
+
date: 2012-12-09 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: rails
|