vero 0.4.2 → 0.4.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -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.3)
43
+ delayed_job (3.0.4)
45
44
  activesupport (~> 3.0)
46
- delayed_job_active_record (0.3.2)
47
- activerecord (> 2.1.0)
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.10.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)
@@ -33,6 +33,10 @@ module Vero
33
33
  autoload :Thread, 'vero/senders/thread'
34
34
  end
35
35
  autoload :Sender, 'vero/sender'
36
+
37
+ module Jobs
38
+ autoload :RestPostJob, 'vero/jobs/rest_post_job'
39
+ end
36
40
  end
37
41
 
38
42
  require 'vero/railtie' if defined?(Rails)
@@ -1,3 +1,3 @@
1
1
  module Vero
2
- VERSION = '0.4.2'
2
+ VERSION = '0.4.3'
3
3
  end
@@ -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
- expect { @user.with_vero_context.update_user_tags! }.to raise_error
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
- expect { @user.with_vero_context.unsubscribe! }.to raise_error
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.2
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-07 00:00:00.000000000 Z
12
+ date: 2012-12-09 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails