vero 0.4.5 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,8 +1,9 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- vero (0.4.5)
4
+ vero (0.5.0)
5
5
  girl_friday
6
+ json
6
7
  rest-client
7
8
 
8
9
  GEM
@@ -37,7 +38,7 @@ GEM
37
38
  multi_json (~> 1.0)
38
39
  arel (3.0.2)
39
40
  builder (3.0.3)
40
- connection_pool (0.9.2)
41
+ connection_pool (0.9.3)
41
42
  delayed_job (3.0.4)
42
43
  activesupport (~> 3.0)
43
44
  delayed_job_active_record (0.3.3)
@@ -51,7 +52,7 @@ GEM
51
52
  hike (1.2.1)
52
53
  i18n (0.6.1)
53
54
  journey (1.0.4)
54
- json (1.7.5)
55
+ json (1.7.6)
55
56
  mail (2.4.4)
56
57
  i18n (>= 0.4.0)
57
58
  mime-types (~> 1.16)
@@ -59,12 +60,12 @@ GEM
59
60
  mime-types (1.19)
60
61
  multi_json (1.3.6)
61
62
  polyglot (0.3.3)
62
- rack (1.4.1)
63
+ rack (1.4.3)
63
64
  rack-cache (1.2)
64
65
  rack (>= 0.4)
65
66
  rack-ssl (1.3.2)
66
67
  rack
67
- rack-test (0.6.1)
68
+ rack-test (0.6.2)
68
69
  rack (>= 1.0)
69
70
  rails (3.2.8)
70
71
  actionmailer (= 3.2.8)
@@ -81,7 +82,7 @@ GEM
81
82
  rake (>= 0.8.7)
82
83
  rdoc (~> 3.4)
83
84
  thor (>= 0.14.6, < 2.0)
84
- rake (0.9.2.2)
85
+ rake (10.0.3)
85
86
  rdoc (3.12)
86
87
  json (~> 1.4)
87
88
  rest-client (1.6.7)
@@ -103,7 +104,7 @@ GEM
103
104
  tilt (~> 1.1, != 1.3.0)
104
105
  thor (0.16.0)
105
106
  tilt (1.3.3)
106
- treetop (1.4.10)
107
+ treetop (1.4.12)
107
108
  polyglot
108
109
  polyglot (>= 0.3.1)
109
110
  tzinfo (0.3.33)
@@ -1,6 +1,6 @@
1
1
  # vero
2
2
 
3
- vero makes it easy to interact with Vero's REST API from your Rails 3.x app. Vero is a user lifecycle platform that allows you to engage and re-engage your customer base via email, based on the actions they perform in your software.
3
+ vero makes it easy to interact with Vero's REST API from your Ruby app. Vero is a user lifecycle platform that allows you to engage and re-engage your customer base via email, based on the actions they perform in your software.
4
4
 
5
5
  For more information about the platform, [click here](http://getvero.com) to visit Vero.
6
6
 
@@ -34,7 +34,7 @@ By default, events are sent asynchronously using a background thread. We do howe
34
34
 
35
35
  **Note:** If you're using DelayedJob and Mongoid, you must add `gem "delayed_job_mongoid"` to your Gemfile.
36
36
 
37
- Finally, vero will automatcially choose whether to send requests to your **development** or **live** environment based on your Rails environment. You can override this in your initializer:
37
+ Finally, vero will automatcially choose whether to send requests to your **development** or **live** environment if you are using Rails 3.x. You can override this in your initializer:
38
38
 
39
39
  config.development_mode = true # or false
40
40
 
@@ -76,6 +76,23 @@ There is one caveat, email (or email_address) is a required field. If the user's
76
76
  def email; self.primary_contact; end
77
77
  end
78
78
 
79
+ Finally, you can track multiple properties stored in a Hash by doing the following:
80
+
81
+ # app/models/user.rb
82
+ class User < ActiveRecord::Base
83
+ include Vero::Trackable
84
+ trackable :email, {:extras => :properties}
85
+
86
+ def email; self.primary_contact; end
87
+
88
+ def properties
89
+ {
90
+ :first_name => "James",
91
+ :last_name => "Lamont"
92
+ }
93
+ end
94
+ end
95
+
79
96
  ## Sending events
80
97
 
81
98
  Events can be sent by any model which has been previously marked as trackable.
@@ -1,5 +1,5 @@
1
- require 'rails'
2
1
  require 'rest-client'
2
+ require 'vero/utility/ext'
3
3
 
4
4
  module Vero
5
5
  autoload :Config, 'vero/config'
@@ -33,10 +33,6 @@ 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
40
36
  end
41
37
 
42
38
  require 'vero/railtie' if defined?(Rails)
@@ -1,5 +1,4 @@
1
1
  require 'json'
2
- require 'delayed_job'
3
2
  require 'rest-client'
4
3
 
5
4
  module Vero
@@ -49,7 +48,7 @@ module Vero
49
48
  end
50
49
 
51
50
  def request_params_as_json
52
- @options.to_json
51
+ JSON.dump(@options)
53
52
  end
54
53
  end
55
54
  end
@@ -16,7 +16,8 @@ module Vero
16
16
  result &&= (options[:data].nil? || options[:data].is_a?(Hash))
17
17
 
18
18
  unless result
19
- raise ArgumentError.new(:event_name => options[:event_name], :data => options[:data])
19
+ hash = {:data => options[:data], :event_name => options[:event_name]}
20
+ raise ArgumentError.new(JSON.dump(hash))
20
21
  end
21
22
  end
22
23
  end
@@ -1,3 +1,5 @@
1
+ require 'base64'
2
+
1
3
  module Vero
2
4
  class Config
3
5
  attr_writer :domain
@@ -36,7 +38,7 @@ module Vero
36
38
 
37
39
  def auth_token
38
40
  return unless auth_token?
39
- Base64::encode64("#{api_key}:#{secret}").gsub(/[\n ]/, '')
41
+ ::Base64::encode64("#{api_key}:#{secret}").gsub(/[\n ]/, '')
40
42
  end
41
43
 
42
44
  def auth_token?
@@ -49,11 +51,15 @@ module Vero
49
51
 
50
52
  def reset!
51
53
  self.disabled = false
52
- self.development_mode = !Rails.env.production?
54
+ self.development_mode = false
53
55
  self.async = true
54
56
  self.logging = false
55
57
  self.api_key = nil
56
58
  self.secret = nil
59
+
60
+ if defined?(Rails)
61
+ self.development_mode = !Rails.env.production?
62
+ end
57
63
  end
58
64
 
59
65
  def update_attributes(attributes = {})
@@ -1,3 +1,5 @@
1
+ require 'json'
2
+
1
3
  module Vero
2
4
  class SenderHash < ::Hash
3
5
  def [](key)
@@ -36,7 +38,8 @@ module Vero
36
38
  sender_class = self.senders.fetch(sender_strategy) { self.senders[false] }
37
39
  (sender_class.new).call(api_class, domain, options)
38
40
  rescue => e
39
- Vero::App.log(self.new, "method: #{api_class.name}, options: #{options.to_json}, error: #{e.message}")
41
+ options_s = JSON.dump(options)
42
+ Vero::App.log(self.new, "method: #{api_class.name}, options: #{options_s}, error: #{e.message}")
40
43
  raise e
41
44
  end
42
45
  end
@@ -1,9 +1,12 @@
1
+ require 'json'
2
+
1
3
  module Vero
2
4
  module Senders
3
5
  class Base
4
6
  def call(api_class, domain, options)
5
7
  response = api_class.perform(domain, options)
6
- Vero::App.log(self, "method: #{api_class.name}, options: #{options.to_json}, response: job performed")
8
+ options_s = JSON.dump(options)
9
+ Vero::App.log(self, "method: #{api_class.name}, options: #{options_s}, response: job performed")
7
10
  response
8
11
  end
9
12
  end
@@ -1,3 +1,4 @@
1
+ require 'json'
1
2
  require 'delayed_job'
2
3
  require 'delayed_job_active_record' if defined?(ActiveRecord)
3
4
 
@@ -6,7 +7,8 @@ module Vero
6
7
  class DelayedJob
7
8
  def call(api_class, domain, options)
8
9
  response = ::Delayed::Job.enqueue api_class.new(domain, options)
9
- Vero::App.log(self, "method: #{api_class.name}, options: #{options.to_json}, response: delayed job queued")
10
+ options_s = JSON.dump(options)
11
+ Vero::App.log(self, "method: #{api_class.name}, options: #{options_s}, response: delayed job queued")
10
12
  response
11
13
  rescue => e
12
14
  if e.message == "Could not find table 'delayed_jobs'"
@@ -1,3 +1,4 @@
1
+ require 'json'
1
2
  require 'girl_friday'
2
3
 
3
4
  module Vero
@@ -8,11 +9,12 @@ module Vero
8
9
  domain = msg[:domain]
9
10
  options = msg[:options]
10
11
 
12
+ options_s = JSON.dump(options)
11
13
  begin
12
14
  api_class.perform(domain, options)
13
- Vero::App.log(self, "method: #{api_class.name}, options: #{options.to_json}, response: job performed")
15
+ Vero::App.log(self, "method: #{api_class.name}, options: #{options_s}, response: job performed")
14
16
  rescue => e
15
- Vero::App.log(self, "method: #{api_class.name}, options: #{options.to_json}, response: #{e.message}")
17
+ Vero::App.log(self, "method: #{api_class.name}, options: #{options_s}, response: #{e.message}")
16
18
  end
17
19
  end
18
20
 
@@ -26,12 +26,23 @@ module Vero
26
26
 
27
27
  def to_vero
28
28
  klass = self.class
29
- result = klass.trackable_map.inject({}) do |hash, symbol|
29
+ symbols, other = klass.trackable_map.partition { |i| i.is_a?(Symbol) }
30
+
31
+ result = symbols.inject({}) do |hash, symbol|
30
32
  t = respond_to?(symbol) ? send(symbol) : nil
31
33
  hash[symbol] = t unless t.nil?
32
34
  hash
33
35
  end
34
36
 
37
+ if other.is_a?(Array) && !other.empty?
38
+ other.reject! { |i| !(i.is_a?(Hash) && i.has_key?(:extras)) }
39
+ other.each do |h|
40
+ symbol = h[:extras]
41
+ t = respond_to?(symbol) ? send(symbol) : nil
42
+ result.merge!(t) if t.is_a?(Hash)
43
+ end
44
+ end
45
+
35
46
  result[:email] = result.delete(:email_address) if result.has_key?(:email_address)
36
47
  result[:_user_type] = self.class.name
37
48
  result
@@ -0,0 +1,5 @@
1
+ class Object
2
+ def blank?
3
+ respond_to?(:empty?) ? empty? : !self
4
+ end
5
+ end
@@ -19,7 +19,11 @@ module Vero
19
19
  end
20
20
 
21
21
  def logger
22
- return Rails.logger if defined?(Rails) && Rails.logger
22
+ if defined?(Rails)
23
+ Rails.logger
24
+ else
25
+ nil
26
+ end
23
27
  end
24
28
  end
25
29
  end
@@ -1,3 +1,3 @@
1
1
  module Vero
2
- VERSION = '0.4.5'
2
+ VERSION = '0.5.0'
3
3
  end
@@ -34,8 +34,9 @@ module Vero
34
34
 
35
35
  def options_to_string(options)
36
36
  options = {} unless options.kind_of?(Hash)
37
- result = options.keys.collect { |k| "\"#{k}\": \"#{options[k]}\"" }
38
- result.join(", ")
37
+
38
+ keys = options.keys.map(&:to_s)
39
+ keys.sort.map { |k| "\"#{k}\": \"#{options[k.to_sym]}\"" }.join(", ")
39
40
  end
40
41
  end
41
42
  end
@@ -6,34 +6,30 @@ describe Vero::Sender do
6
6
  it "should be a Hash" do
7
7
  subject.senders.should be_a(Hash)
8
8
  end
9
+
10
+ unless RUBY_VERSION =~ /1\.9\./
11
+ context "< Ruby 1.9" do
12
+ it "should have a default set of senders (true, false, none, thread)" do
13
+ subject.senders.should == {
14
+ true => Vero::Senders::Invalid,
15
+ false => Vero::Senders::Base,
16
+ :none => Vero::Senders::Base,
17
+ :thread => Vero::Senders::Invalid,
18
+ }
19
+ end
20
+ end
21
+ end
9
22
 
10
- # context "< Ruby 1.9" do
11
- # before :all do
12
- # Object.const_set :RUBY_VERSION, "1.8.7"
13
- # end
14
-
15
- # it "should have a default set of senders (true, false, none, thread)" do
16
- # subject.senders.should == {
17
- # true => Vero::Senders::Invalid,
18
- # false => Vero::Senders::Base,
19
- # :none => Vero::Senders::Base,
20
- # :thread => Vero::Senders::Invalid,
21
- # }
22
- # end
23
- # end
24
-
25
- context "~> Ruby 1.9" do
26
- # before :all do
27
- # Object.const_set :RUBY_VERSION, "1.9.3"
28
- # end
29
-
30
- it "should have a default set of senders (true, false, none, thread)" do
31
- subject.senders.should == {
32
- true => Vero::Senders::Thread,
33
- false => Vero::Senders::Base,
34
- :none => Vero::Senders::Base,
35
- :thread => Vero::Senders::Thread,
36
- }
23
+ if RUBY_VERSION =~ /1\.9\./
24
+ context "~> Ruby 1.9" do
25
+ it "should have a default set of senders (true, false, none, thread)" do
26
+ subject.senders.should == {
27
+ true => Vero::Senders::Thread,
28
+ false => Vero::Senders::Base,
29
+ :none => Vero::Senders::Base,
30
+ :thread => Vero::Senders::Thread,
31
+ }
32
+ end
37
33
  end
38
34
  end
39
35
 
@@ -56,9 +56,9 @@ describe Vero::Trackable do
56
56
  end
57
57
 
58
58
  it "should not send a track request when the required parameters are invalid" do
59
- expect { @user.track!(nil) }.to raise_error(ArgumentError, "{:event_name=>nil, :data=>{}}")
60
- expect { @user.track!('') }.to raise_error(ArgumentError, "{:event_name=>\"\", :data=>{}}")
61
- expect { @user.track!('test', '') }.to raise_error(ArgumentError, "{:event_name=>\"test\", :data=>\"\"}")
59
+ expect { @user.track!(nil) }.to raise_error(ArgumentError, "{\"data\":{},\"event_name\":null}")
60
+ expect { @user.track!('') }.to raise_error(ArgumentError, "{\"data\":{},\"event_name\":\"\"}")
61
+ expect { @user.track!('test', '') }.to raise_error(ArgumentError, "{\"data\":\"\",\"event_name\":\"test\"}")
62
62
  end
63
63
 
64
64
  it "should send a `track!` request when async is set to false" do
@@ -217,14 +217,16 @@ describe Vero::Trackable do
217
217
  @user.with_vero_context.update_user_tags!.should == 200
218
218
  end
219
219
 
220
- it "should send using another thread when async is set to true" do
221
- context = Vero::Context.new(Vero::App.default_context)
222
- context.subject = @user
223
- context.config.async = true
220
+ if RUBY_VERSION =~ /1\.9\./
221
+ it "should send using another thread when async is set to true" do
222
+ context = Vero::Context.new(Vero::App.default_context)
223
+ context.subject = @user
224
+ context.config.async = true
224
225
 
225
- @user.stub(:with_vero_context).and_return(context)
226
+ @user.stub(:with_vero_context).and_return(context)
226
227
 
227
- @user.with_vero_context.update_user_tags!.should be_true
228
+ @user.with_vero_context.update_user_tags!.should be_true
229
+ end
228
230
  end
229
231
  end
230
232
 
@@ -251,14 +253,16 @@ describe Vero::Trackable do
251
253
  @user.with_vero_context.unsubscribe!.should == 200
252
254
  end
253
255
 
254
- it "should send using another thread when async is set to true" do
255
- context = Vero::Context.new(Vero::App.default_context)
256
- context.subject = @user
257
- context.config.async = true
256
+ if RUBY_VERSION =~ /1\.9\./
257
+ it "should send using another thread when async is set to true" do
258
+ context = Vero::Context.new(Vero::App.default_context)
259
+ context.subject = @user
260
+ context.config.async = true
258
261
 
259
- @user.stub(:with_vero_context).and_return(context)
262
+ @user.stub(:with_vero_context).and_return(context)
260
263
 
261
- @user.with_vero_context.unsubscribe!.should be_true
264
+ @user.with_vero_context.unsubscribe!.should be_true
265
+ end
262
266
  end
263
267
  end
264
268
 
@@ -280,6 +284,12 @@ describe Vero::Trackable do
280
284
  User.trackable :hair_colour
281
285
  User.trackable_map.should == [:email, :age, :hair_colour]
282
286
  end
287
+
288
+ it "should append an extra's hash to the trackable map" do
289
+ User.reset_trackable_map!
290
+ User.trackable :email, {:extras => :properties}
291
+ User.trackable_map.should == [:email, {:extras => :properties}]
292
+ end
283
293
  end
284
294
 
285
295
  describe :to_vero do
@@ -299,6 +309,11 @@ describe Vero::Trackable do
299
309
  user = UserWithNilAttributes.new
300
310
  user.to_vero.should == {:email => 'durkster@gmail.com', :_user_type => "UserWithNilAttributes"}
301
311
  end
312
+
313
+ it "should take into account any defined extras" do
314
+ user = UserWithExtras.new
315
+ user.to_vero.should == {:email => 'durkster@gmail.com', :age => 20, :gender => "female", :_user_type => "UserWithExtras"}
316
+ end
302
317
  end
303
318
 
304
319
  describe :with_vero_context do
@@ -1,6 +1,9 @@
1
1
  require 'spec_helper'
2
+
3
+ require 'rails'
2
4
  require 'action_view'
3
5
  require 'active_support'
6
+ require 'vero/view_helpers/javascript'
4
7
 
5
8
  include Vero::ViewHelpers::Javascript
6
9
  include ActionView::Helpers
@@ -66,4 +66,20 @@ class UserWithNilAttributes
66
66
  'durkster@gmail.com'
67
67
  end
68
68
  def age; nil; end
69
+ end
70
+
71
+ class UserWithExtras
72
+ include Vero::Trackable
73
+ trackable :email, {:extras => :properties}
74
+
75
+ def email
76
+ 'durkster@gmail.com'
77
+ end
78
+
79
+ def properties
80
+ {
81
+ :age => 20,
82
+ :gender => "female"
83
+ }
84
+ end
69
85
  end
@@ -7,7 +7,7 @@ Gem::Specification.new do |s|
7
7
  s.name = "vero"
8
8
  s.version = Vero::VERSION.dup
9
9
  s.date = Time.now.strftime("%Y-%m-%d")
10
- s.summary = "Rails 3.x gem for Vero"
10
+ s.summary = "Ruby gem for Vero"
11
11
  s.email = "support@getvero.com"
12
12
  s.homepage = "http://www.getvero.com/"
13
13
  s.authors = ['James Lamont']
@@ -17,6 +17,7 @@ Gem::Specification.new do |s|
17
17
  [:development, 'rspec'],
18
18
  [:development, 'delayed_job'],
19
19
  [:development, 'delayed_job_active_record'],
20
+ [:runtime, 'json'],
20
21
  [:runtime, 'rest-client'],
21
22
  [:runtime, 'girl_friday']
22
23
  ]
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.5
4
+ version: 0.5.0
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: 2013-01-05 00:00:00.000000000 Z
12
+ date: 2013-02-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -75,6 +75,22 @@ dependencies:
75
75
  - - ! '>='
76
76
  - !ruby/object:Gem::Version
77
77
  version: '0'
78
+ - !ruby/object:Gem::Dependency
79
+ name: json
80
+ requirement: !ruby/object:Gem::Requirement
81
+ none: false
82
+ requirements:
83
+ - - ! '>='
84
+ - !ruby/object:Gem::Version
85
+ version: '0'
86
+ type: :runtime
87
+ prerelease: false
88
+ version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
90
+ requirements:
91
+ - - ! '>='
92
+ - !ruby/object:Gem::Version
93
+ version: '0'
78
94
  - !ruby/object:Gem::Dependency
79
95
  name: rest-client
80
96
  requirement: !ruby/object:Gem::Requirement
@@ -115,7 +131,6 @@ extra_rdoc_files: []
115
131
  files:
116
132
  - Gemfile
117
133
  - Gemfile.lock
118
- - info
119
134
  - lib/generators/vero_generator.rb
120
135
  - lib/vero/api/base_api.rb
121
136
  - lib/vero/api/events/track_api.rb
@@ -126,7 +141,6 @@ files:
126
141
  - lib/vero/app.rb
127
142
  - lib/vero/config.rb
128
143
  - lib/vero/context.rb
129
- - lib/vero/jobs/rest_post_job.rb
130
144
  - lib/vero/railtie.rb
131
145
  - lib/vero/sender.rb
132
146
  - lib/vero/senders/base.rb
@@ -136,6 +150,7 @@ files:
136
150
  - lib/vero/trackable/base.rb
137
151
  - lib/vero/trackable/interface.rb
138
152
  - lib/vero/trackable.rb
153
+ - lib/vero/utility/ext.rb
139
154
  - lib/vero/utility/logger.rb
140
155
  - lib/vero/version.rb
141
156
  - lib/vero/view_helpers/javascript.rb
@@ -176,10 +191,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
176
191
  version: '0'
177
192
  requirements: []
178
193
  rubyforge_project:
179
- rubygems_version: 1.8.24
194
+ rubygems_version: 1.8.23
180
195
  signing_key:
181
196
  specification_version: 3
182
- summary: Rails 3.x gem for Vero
197
+ summary: Ruby gem for Vero
183
198
  test_files:
184
199
  - spec/lib/api/events/track_api_spec.rb
185
200
  - spec/lib/api/users/edit_api_spec.rb
data/info DELETED
@@ -1,219 +0,0 @@
1
- # Logfile created on 2012-08-12 22:31:19 +1000 by logger.rb/31641
2
- RestClient.post "http://localhost/api/v1/track.json", "auth_token=YWJjZDEyMzQ6ZWZnaDU2Nzg%3D&development_mode=true&data[test]=1&event_name=test_event&identity[email]=durkster%40gmail.com&identity[age]=20&identity[_user_type]=User", "Accept"=>"*/*; q=0.5, application/xml", "Accept-Encoding"=>"gzip, deflate", "Content-Length"=>"174", "Content-Type"=>"application/x-www-form-urlencoded"
3
-
4
- Class: method: Vero::API::TrackAPI, options: {"auth_token":"YWJjZDEyMzQ6ZWZnaDU2Nzg=","development_mode":true,"data":{"test":1},"event_name":"test_event","identity":{"email":"durkster@gmail.com","age":20,"_user_type":"User"}}, error: Connection refused - connect(2)
5
- RestClient.post "http://localhost/api/v1/track.json", "auth_token=YWJjZDEyMzQ6ZWZnaDU2Nzg%3D&development_mode=true&data[test]=1&event_name=test_event&identity[email]=durkster%40gmail.com&identity[age]=20&identity[_user_type]=User", "Accept"=>"*/*; q=0.5, application/xml", "Accept-Encoding"=>"gzip, deflate", "Content-Length"=>"174", "Content-Type"=>"application/x-www-form-urlencoded"
6
-
7
- RestClient.post "http://localhost/api/v1/track.json", "auth_token=YWJjZDEyMzQ6ZWZnaDU2Nzg%3D&development_mode=true&data[test]=1&event_name=test_event&identity[email]=durkster%40gmail.com&identity[age]=20&identity[_user_type]=User", "Accept"=>"*/*; q=0.5, application/xml", "Accept-Encoding"=>"gzip, deflate", "Content-Length"=>"174", "Content-Type"=>"application/x-www-form-urlencoded"
8
-
9
- Vero::Sender: method: Vero::API::TrackAPI, options: {"auth_token":"YWJjZDEyMzQ6ZWZnaDU2Nzg=","development_mode":true,"data":{"test":1},"event_name":"test_event","identity":{"email":"durkster@gmail.com","age":20,"_user_type":"User"}}, error: Connection refused - connect(2)
10
- RestClient.post "http://localhost/api/v1/track.json", "auth_token=YWJjZDEyMzQ6ZWZnaDU2Nzg%3D&development_mode=true&data[test]=1&event_name=test_event&identity[email]=durkster%40gmail.com&identity[age]=20&identity[_user_type]=User", "Accept"=>"*/*; q=0.5, application/xml", "Accept-Encoding"=>"gzip, deflate", "Content-Length"=>"174", "Content-Type"=>"application/x-www-form-urlencoded"
11
-
12
- Vero::Sender: method: Vero::API::TrackAPI, options: {"auth_token":"YWJjZDEyMzQ6ZWZnaDU2Nzg=","development_mode":true,"data":{"test":1},"event_name":"test_event","identity":{"email":"durkster@gmail.com","age":20,"_user_type":"User"}}, error: Connection refused - connect(2)
13
- RestClient.post "http://localhost/api/v1/track.json", "auth_token=YWJjZDEyMzQ6ZWZnaDU2Nzg%3D&development_mode=true&data[test]=1&event_name=test_event&identity[email]=durkster%40gmail.com&identity[age]=20&identity[_user_type]=User", "Accept"=>"*/*; q=0.5, application/xml", "Accept-Encoding"=>"gzip, deflate", "Content-Length"=>"174", "Content-Type"=>"application/x-www-form-urlencoded"
14
-
15
- Vero::Sender: method: Vero::API::TrackAPI, options: {"auth_token":"YWJjZDEyMzQ6ZWZnaDU2Nzg=","development_mode":true,"data":{"test":1},"event_name":"test_event","identity":{"email":"durkster@gmail.com","age":20,"_user_type":"User"}}, error: Connection refused - connect(2)
16
- RestClient.post "http://localhost/api/v1/track.json", "auth_token=YWJjZDEyMzQ6ZWZnaDU2Nzg%3D&development_mode=true&data[test]=1&event_name=test_event&identity[email]=durkster%40gmail.com&identity[age]=20&identity[_user_type]=User", "Accept"=>"*/*; q=0.5, application/xml", "Accept-Encoding"=>"gzip, deflate", "Content-Length"=>"174", "Content-Type"=>"application/x-www-form-urlencoded"
17
-
18
- Vero::Sender: method: Vero::API::TrackAPI, options: {"auth_token":"YWJjZDEyMzQ6ZWZnaDU2Nzg=","development_mode":true,"data":{"test":1},"event_name":"test_event","identity":{"email":"durkster@gmail.com","age":20,"_user_type":"User"}}, error: Connection refused - connect(2)
19
- RestClient.post "http://localhost/api/v1/track.json", "auth_token=YWJjZDEyMzQ6ZWZnaDU2Nzg%3D&development_mode=true&data[test]=1&event_name=test_event&identity[email]=durkster%40gmail.com&identity[age]=20&identity[_user_type]=User", "Accept"=>"*/*; q=0.5, application/xml", "Accept-Encoding"=>"gzip, deflate", "Content-Length"=>"174", "Content-Type"=>"application/x-www-form-urlencoded"
20
-
21
- Vero::Sender: method: Vero::API::TrackAPI, options: {"auth_token":"YWJjZDEyMzQ6ZWZnaDU2Nzg=","development_mode":true,"data":{"test":1},"event_name":"test_event","identity":{"email":"durkster@gmail.com","age":20,"_user_type":"User"}}, error: Connection refused - connect(2)
22
- RestClient.post "http://localhost/api/v1/track.json", "auth_token=YWJjZDEyMzQ6ZWZnaDU2Nzg%3D&development_mode=true&event_name=test_event&identity[email]=durkster%40gmail.com&identity[age]=20&identity[_user_type]=User&data[test]=1", "Accept"=>"*/*; q=0.5, application/xml", "Accept-Encoding"=>"gzip, deflate", "Content-Length"=>"174", "Content-Type"=>"application/x-www-form-urlencoded"
23
-
24
- RestClient.post "http://localhost/api/v1/track.json", "auth_token=YWJjZDEyMzQ6ZWZnaDU2Nzg%3D&development_mode=true&event_name=test_event&identity[email]=durkster%40gmail.com&identity[age]=20&identity[_user_type]=User&data[test]=1", "Accept"=>"*/*; q=0.5, application/xml", "Accept-Encoding"=>"gzip, deflate", "Content-Length"=>"174", "Content-Type"=>"application/x-www-form-urlencoded"
25
-
26
- RestClient.post "http://localhost/api/v1/track.json", "auth_token=YWJjZDEyMzQ6ZWZnaDU2Nzg%3D&development_mode=true&event_name=test_event&identity[email]=durkster%40gmail.com&identity[age]=20&identity[_user_type]=User&data[test]=1", "Accept"=>"*/*; q=0.5, application/xml", "Accept-Encoding"=>"gzip, deflate", "Content-Length"=>"174", "Content-Type"=>"application/x-www-form-urlencoded"
27
-
28
- RestClient.post "http://localhost/api/v1/track.json", "auth_token=YWJjZDEyMzQ6ZWZnaDU2Nzg%3D&development_mode=true&event_name=test_event&identity[email]=durkster%40gmail.com&identity[age]=20&identity[_user_type]=User&data[test]=1", "Accept"=>"*/*; q=0.5, application/xml", "Accept-Encoding"=>"gzip, deflate", "Content-Length"=>"174", "Content-Type"=>"application/x-www-form-urlencoded"
29
-
30
- RestClient.post "http://localhost/api/v1/track.json", "auth_token=YWJjZDEyMzQ6ZWZnaDU2Nzg%3D&development_mode=true&event_name=test_event&identity[email]=durkster%40gmail.com&identity[age]=20&identity[_user_type]=User&data[test]=1", "Accept"=>"*/*; q=0.5, application/xml", "Accept-Encoding"=>"gzip, deflate", "Content-Length"=>"174", "Content-Type"=>"application/x-www-form-urlencoded"
31
-
32
- RestClient.post "http://localhost/api/v1/track.json", "auth_token=YWJjZDEyMzQ6ZWZnaDU2Nzg%3D&development_mode=true&event_name=test_event&identity[email]=durkster%40gmail.com&identity[age]=20&identity[_user_type]=User&data[test]=1", "Accept"=>"*/*; q=0.5, application/xml", "Accept-Encoding"=>"gzip, deflate", "Content-Length"=>"174", "Content-Type"=>"application/x-www-form-urlencoded"
33
-
34
- RestClient.post "http://localhost/api/v1/track.json", "auth_token=YWJjZDEyMzQ6ZWZnaDU2Nzg%3D&development_mode=true&event_name=test_event&identity[email]=durkster%40gmail.com&identity[age]=20&identity[_user_type]=User&data[test]=1", "Accept"=>"*/*; q=0.5, application/xml", "Accept-Encoding"=>"gzip, deflate", "Content-Length"=>"174", "Content-Type"=>"application/x-www-form-urlencoded"
35
-
36
- RestClient.post "http://localhost/api/v1/track.json", "auth_token=YWJjZDEyMzQ6ZWZnaDU2Nzg%3D&development_mode=true&event_name=test_event&identity[email]=durkster%40gmail.com&identity[age]=20&identity[_user_type]=User&data[test]=1", "Accept"=>"*/*; q=0.5, application/xml", "Accept-Encoding"=>"gzip, deflate", "Content-Length"=>"174", "Content-Type"=>"application/x-www-form-urlencoded"
37
-
38
- RestClient.post "http://localhost/api/v1/track.json", "auth_token=YWJjZDEyMzQ6ZWZnaDU2Nzg%3D&development_mode=true&event_name=test_event&identity[email]=durkster%40gmail.com&identity[age]=20&identity[_user_type]=User&data[test]=1", "Accept"=>"*/*; q=0.5, application/xml", "Accept-Encoding"=>"gzip, deflate", "Content-Length"=>"174", "Content-Type"=>"application/x-www-form-urlencoded"
39
-
40
- RestClient.post "http://localhost/api/v1/track.json", "auth_token=YWJjZDEyMzQ6ZWZnaDU2Nzg%3D&development_mode=true&event_name=test_event&identity[email]=durkster%40gmail.com&identity[age]=20&identity[_user_type]=User&data[test]=1", "Accept"=>"*/*; q=0.5, application/xml", "Accept-Encoding"=>"gzip, deflate", "Content-Length"=>"174", "Content-Type"=>"application/x-www-form-urlencoded"
41
-
42
- RestClient.post "http://localhost/api/v1/track.json", "auth_token=YWJjZDEyMzQ6ZWZnaDU2Nzg%3D&development_mode=true&event_name=test_event&identity[email]=durkster%40gmail.com&identity[age]=20&identity[_user_type]=User&data[test]=1", "Accept"=>"*/*; q=0.5, application/xml", "Accept-Encoding"=>"gzip, deflate", "Content-Length"=>"174", "Content-Type"=>"application/x-www-form-urlencoded"
43
-
44
- RestClient.post "http://localhost/api/v1/track.json", "auth_token=YWJjZDEyMzQ6ZWZnaDU2Nzg%3D&development_mode=true&event_name=test_event&identity[email]=durkster%40gmail.com&identity[age]=20&identity[_user_type]=User&data[test]=1", "Accept"=>"*/*; q=0.5, application/xml", "Accept-Encoding"=>"gzip, deflate", "Content-Length"=>"174", "Content-Type"=>"application/x-www-form-urlencoded"
45
-
46
- RestClient.post "http://localhost/api/v1/track.json", "auth_token=YWJjZDEyMzQ6ZWZnaDU2Nzg%3D&development_mode=true&event_name=test_event&identity[email]=durkster%40gmail.com&identity[age]=20&identity[_user_type]=User&data[test]=1", "Accept"=>"*/*; q=0.5, application/xml", "Accept-Encoding"=>"gzip, deflate", "Content-Length"=>"174", "Content-Type"=>"application/x-www-form-urlencoded"
47
-
48
- RestClient.post "http://localhost/api/v1/track.json", "auth_token=YWJjZDEyMzQ6ZWZnaDU2Nzg%3D&development_mode=true&event_name=test_event&identity[email]=durkster%40gmail.com&identity[age]=20&identity[_user_type]=User&data[test]=1", "Accept"=>"*/*; q=0.5, application/xml", "Accept-Encoding"=>"gzip, deflate", "Content-Length"=>"174", "Content-Type"=>"application/x-www-form-urlencoded"
49
-
50
- RestClient.post "http://localhost/api/v1/track.json", "auth_token=YWJjZDEyMzQ6ZWZnaDU2Nzg%3D&development_mode=true&event_name=test_event&identity[email]=durkster%40gmail.com&identity[age]=20&identity[_user_type]=User&data[test]=1", "Accept"=>"*/*; q=0.5, application/xml", "Accept-Encoding"=>"gzip, deflate", "Content-Length"=>"174", "Content-Type"=>"application/x-www-form-urlencoded"
51
-
52
- RestClient.post "http://localhost/api/v1/track.json", "auth_token=YWJjZDEyMzQ6ZWZnaDU2Nzg%3D&development_mode=true&event_name=test_event&identity[email]=durkster%40gmail.com&identity[age]=20&identity[_user_type]=User&data[test]=1", "Accept"=>"*/*; q=0.5, application/xml", "Accept-Encoding"=>"gzip, deflate", "Content-Length"=>"174", "Content-Type"=>"application/x-www-form-urlencoded"
53
-
54
- RestClient.post "http://localhost/api/v1/track.json", "auth_token=YWJjZDEyMzQ6ZWZnaDU2Nzg%3D&development_mode=true&event_name=test_event&identity[email]=durkster%40gmail.com&identity[age]=20&identity[_user_type]=User&data[test]=1", "Accept"=>"*/*; q=0.5, application/xml", "Accept-Encoding"=>"gzip, deflate", "Content-Length"=>"174", "Content-Type"=>"application/x-www-form-urlencoded"
55
-
56
- RestClient.post "http://localhost/api/v1/track.json", "auth_token=YWJjZDEyMzQ6ZWZnaDU2Nzg%3D&development_mode=true&event_name=test_event&identity[email]=durkster%40gmail.com&identity[age]=20&identity[_user_type]=User&data[test]=1", "Accept"=>"*/*; q=0.5, application/xml", "Accept-Encoding"=>"gzip, deflate", "Content-Length"=>"174", "Content-Type"=>"application/x-www-form-urlencoded"
57
-
58
- RestClient.post "http://localhost/api/v1/track.json", "auth_token=YWJjZDEyMzQ6ZWZnaDU2Nzg%3D&development_mode=true&event_name=test_event&identity[email]=durkster%40gmail.com&identity[age]=20&identity[_user_type]=User&data[test]=1", "Accept"=>"*/*; q=0.5, application/xml", "Accept-Encoding"=>"gzip, deflate", "Content-Length"=>"174", "Content-Type"=>"application/x-www-form-urlencoded"
59
-
60
- RestClient.post "http://localhost/api/v1/track.json", "auth_token=YWJjZDEyMzQ6ZWZnaDU2Nzg%3D&development_mode=true&event_name=test_event&identity[email]=durkster%40gmail.com&identity[age]=20&identity[_user_type]=User&data[test]=1", "Accept"=>"*/*; q=0.5, application/xml", "Accept-Encoding"=>"gzip, deflate", "Content-Length"=>"174", "Content-Type"=>"application/x-www-form-urlencoded"
61
-
62
- RestClient.post "http://localhost/api/v1/track.json", "auth_token=YWJjZDEyMzQ6ZWZnaDU2Nzg%3D&development_mode=true&event_name=test_event&identity[email]=durkster%40gmail.com&identity[age]=20&identity[_user_type]=User&data[test]=1", "Accept"=>"*/*; q=0.5, application/xml", "Accept-Encoding"=>"gzip, deflate", "Content-Length"=>"174", "Content-Type"=>"application/x-www-form-urlencoded"
63
-
64
- RestClient.post "http://localhost/api/v1/track.json", "auth_token=YWJjZDEyMzQ6ZWZnaDU2Nzg%3D&development_mode=true&event_name=test_event&identity[email]=durkster%40gmail.com&identity[age]=20&identity[_user_type]=User&data[test]=1", "Accept"=>"*/*; q=0.5, application/xml", "Accept-Encoding"=>"gzip, deflate", "Content-Length"=>"174", "Content-Type"=>"application/x-www-form-urlencoded"
65
-
66
- RestClient.post "http://localhost/api/v1/track.json", "auth_token=YWJjZDEyMzQ6ZWZnaDU2Nzg%3D&development_mode=true&event_name=test_event&identity[email]=durkster%40gmail.com&identity[age]=20&identity[_user_type]=User&data[test]=1", "Accept"=>"*/*; q=0.5, application/xml", "Accept-Encoding"=>"gzip, deflate", "Content-Length"=>"174", "Content-Type"=>"application/x-www-form-urlencoded"
67
-
68
- RestClient.post "http://localhost/api/v1/track.json", "auth_token=YWJjZDEyMzQ6ZWZnaDU2Nzg%3D&development_mode=true&event_name=test_event&identity[email]=durkster%40gmail.com&identity[age]=20&identity[_user_type]=User&data[test]=1", "Accept"=>"*/*; q=0.5, application/xml", "Accept-Encoding"=>"gzip, deflate", "Content-Length"=>"174", "Content-Type"=>"application/x-www-form-urlencoded"
69
-
70
- RestClient.post "http://localhost/api/v1/track.json", "auth_token=YWJjZDEyMzQ6ZWZnaDU2Nzg%3D&development_mode=true&event_name=test_event&identity[email]=durkster%40gmail.com&identity[age]=20&identity[_user_type]=User&data[test]=1", "Accept"=>"*/*; q=0.5, application/xml", "Accept-Encoding"=>"gzip, deflate", "Content-Length"=>"174", "Content-Type"=>"application/x-www-form-urlencoded"
71
-
72
- RestClient.post "http://localhost/api/v1/track.json", "auth_token=YWJjZDEyMzQ6ZWZnaDU2Nzg%3D&development_mode=true&event_name=test_event&identity[email]=durkster%40gmail.com&identity[age]=20&identity[_user_type]=User&data[test]=1", "Accept"=>"*/*; q=0.5, application/xml", "Accept-Encoding"=>"gzip, deflate", "Content-Length"=>"174", "Content-Type"=>"application/x-www-form-urlencoded"
73
-
74
- RestClient.post "http://localhost/api/v1/track.json", "auth_token=YWJjZDEyMzQ6ZWZnaDU2Nzg%3D&development_mode=true&event_name=test_event&identity[email]=durkster%40gmail.com&identity[age]=20&identity[_user_type]=User&data[test]=1", "Accept"=>"*/*; q=0.5, application/xml", "Accept-Encoding"=>"gzip, deflate", "Content-Length"=>"174", "Content-Type"=>"application/x-www-form-urlencoded"
75
-
76
- RestClient.post "http://localhost/api/v1/track.json", "auth_token=YWJjZDEyMzQ6ZWZnaDU2Nzg%3D&development_mode=true&event_name=test_event&identity[email]=durkster%40gmail.com&identity[age]=20&identity[_user_type]=User&data[test]=1", "Accept"=>"*/*; q=0.5, application/xml", "Accept-Encoding"=>"gzip, deflate", "Content-Length"=>"174", "Content-Type"=>"application/x-www-form-urlencoded"
77
-
78
- RestClient.post "http://localhost/api/v1/track.json", "auth_token=YWJjZDEyMzQ6ZWZnaDU2Nzg%3D&development_mode=true&event_name=test_event&identity[email]=durkster%40gmail.com&identity[age]=20&identity[_user_type]=User&data[test]=1", "Accept"=>"*/*; q=0.5, application/xml", "Accept-Encoding"=>"gzip, deflate", "Content-Length"=>"174", "Content-Type"=>"application/x-www-form-urlencoded"
79
-
80
- RestClient.post "http://localhost/api/v1/track.json", "auth_token=YWJjZDEyMzQ6ZWZnaDU2Nzg%3D&development_mode=true&event_name=test_event&identity[email]=durkster%40gmail.com&identity[age]=20&identity[_user_type]=User&data[test]=1", "Accept"=>"*/*; q=0.5, application/xml", "Accept-Encoding"=>"gzip, deflate", "Content-Length"=>"174", "Content-Type"=>"application/x-www-form-urlencoded"
81
-
82
- RestClient.post "http://localhost/api/v1/track.json", "auth_token=YWJjZDEyMzQ6ZWZnaDU2Nzg%3D&development_mode=true&event_name=test_event&identity[email]=durkster%40gmail.com&identity[age]=20&identity[_user_type]=User&data[test]=1", "Accept"=>"*/*; q=0.5, application/xml", "Accept-Encoding"=>"gzip, deflate", "Content-Length"=>"174", "Content-Type"=>"application/x-www-form-urlencoded"
83
-
84
- RestClient.post "http://localhost/api/v1/track.json", "auth_token=YWJjZDEyMzQ6ZWZnaDU2Nzg%3D&development_mode=true&event_name=test_event&identity[email]=durkster%40gmail.com&identity[age]=20&identity[_user_type]=User&data[test]=1", "Accept"=>"*/*; q=0.5, application/xml", "Accept-Encoding"=>"gzip, deflate", "Content-Length"=>"174", "Content-Type"=>"application/x-www-form-urlencoded"
85
-
86
- RestClient.post "http://localhost/api/v1/track.json", "auth_token=YWJjZDEyMzQ6ZWZnaDU2Nzg%3D&development_mode=true&event_name=test_event&identity[email]=durkster%40gmail.com&identity[age]=20&identity[_user_type]=User&data[test]=1", "Accept"=>"*/*; q=0.5, application/xml", "Accept-Encoding"=>"gzip, deflate", "Content-Length"=>"174", "Content-Type"=>"application/x-www-form-urlencoded"
87
-
88
- RestClient.post "http://localhost/api/v1/track.json", "auth_token=YWJjZDEyMzQ6ZWZnaDU2Nzg%3D&development_mode=true&event_name=test_event&identity[email]=durkster%40gmail.com&identity[age]=20&identity[_user_type]=User&data[test]=1", "Accept"=>"*/*; q=0.5, application/xml", "Accept-Encoding"=>"gzip, deflate", "Content-Length"=>"174", "Content-Type"=>"application/x-www-form-urlencoded"
89
-
90
- RestClient.post "http://localhost/api/v1/track.json", "auth_token=YWJjZDEyMzQ6ZWZnaDU2Nzg%3D&development_mode=true&event_name=test_event&identity[email]=durkster%40gmail.com&identity[age]=20&identity[_user_type]=User&data[test]=1", "Accept"=>"*/*; q=0.5, application/xml", "Accept-Encoding"=>"gzip, deflate", "Content-Length"=>"174", "Content-Type"=>"application/x-www-form-urlencoded"
91
-
92
- RestClient.post "http://localhost/api/v1/track.json", "auth_token=YWJjZDEyMzQ6ZWZnaDU2Nzg%3D&development_mode=true&event_name=test_event&identity[email]=durkster%40gmail.com&identity[age]=20&identity[_user_type]=User&data[test]=1", "Accept"=>"*/*; q=0.5, application/xml", "Accept-Encoding"=>"gzip, deflate", "Content-Length"=>"174", "Content-Type"=>"application/x-www-form-urlencoded"
93
-
94
- RestClient.post "http://localhost/api/v1/track.json", "auth_token=YWJjZDEyMzQ6ZWZnaDU2Nzg%3D&development_mode=true&event_name=test_event&identity[email]=durkster%40gmail.com&identity[age]=20&identity[_user_type]=User&data[test]=1", "Accept"=>"*/*; q=0.5, application/xml", "Accept-Encoding"=>"gzip, deflate", "Content-Length"=>"174", "Content-Type"=>"application/x-www-form-urlencoded"
95
-
96
- RestClient.post "http://localhost/api/v1/track.json", "auth_token=YWJjZDEyMzQ6ZWZnaDU2Nzg%3D&development_mode=true&event_name=test_event&identity[email]=durkster%40gmail.com&identity[age]=20&identity[_user_type]=User&data[test]=1", "Accept"=>"*/*; q=0.5, application/xml", "Accept-Encoding"=>"gzip, deflate", "Content-Length"=>"174", "Content-Type"=>"application/x-www-form-urlencoded"
97
-
98
- RestClient.post "http://localhost/api/v1/track.json", "auth_token=YWJjZDEyMzQ6ZWZnaDU2Nzg%3D&development_mode=true&event_name=test_event&identity[email]=durkster%40gmail.com&identity[age]=20&identity[_user_type]=User&data[test]=1", "Accept"=>"*/*; q=0.5, application/xml", "Accept-Encoding"=>"gzip, deflate", "Content-Length"=>"174", "Content-Type"=>"application/x-www-form-urlencoded"
99
-
100
- RestClient.post "http://localhost/api/v1/track.json", "auth_token=YWJjZDEyMzQ6ZWZnaDU2Nzg%3D&development_mode=true&event_name=test_event&identity[email]=durkster%40gmail.com&identity[age]=20&identity[_user_type]=User&data[test]=1", "Accept"=>"*/*; q=0.5, application/xml", "Accept-Encoding"=>"gzip, deflate", "Content-Length"=>"174", "Content-Type"=>"application/x-www-form-urlencoded"
101
-
102
- RestClient.post "http://localhost/api/v1/track.json", "auth_token=YWJjZDEyMzQ6ZWZnaDU2Nzg%3D&development_mode=true&event_name=test_event&identity[email]=durkster%40gmail.com&identity[age]=20&identity[_user_type]=User&data[test]=1", "Accept"=>"*/*; q=0.5, application/xml", "Accept-Encoding"=>"gzip, deflate", "Content-Length"=>"174", "Content-Type"=>"application/x-www-form-urlencoded"
103
-
104
- RestClient.post "http://localhost/api/v1/track.json", "auth_token=YWJjZDEyMzQ6ZWZnaDU2Nzg%3D&development_mode=true&event_name=test_event&identity[email]=durkster%40gmail.com&identity[age]=20&identity[_user_type]=User&data[test]=1", "Accept"=>"*/*; q=0.5, application/xml", "Accept-Encoding"=>"gzip, deflate", "Content-Length"=>"174", "Content-Type"=>"application/x-www-form-urlencoded"
105
-
106
- RestClient.post "http://localhost/api/v1/track.json", "auth_token=YWJjZDEyMzQ6ZWZnaDU2Nzg%3D&development_mode=true&event_name=test_event&identity[email]=durkster%40gmail.com&identity[age]=20&identity[_user_type]=User&data[test]=1", "Accept"=>"*/*; q=0.5, application/xml", "Accept-Encoding"=>"gzip, deflate", "Content-Length"=>"174", "Content-Type"=>"application/x-www-form-urlencoded"
107
-
108
- RestClient.post "http://localhost/api/v1/track.json", "auth_token=YWJjZDEyMzQ6ZWZnaDU2Nzg%3D&development_mode=true&event_name=test_event&identity[email]=durkster%40gmail.com&identity[age]=20&identity[_user_type]=User&data[test]=1", "Accept"=>"*/*; q=0.5, application/xml", "Accept-Encoding"=>"gzip, deflate", "Content-Length"=>"174", "Content-Type"=>"application/x-www-form-urlencoded"
109
-
110
- RestClient.post "http://localhost/api/v1/track.json", "auth_token=YWJjZDEyMzQ6ZWZnaDU2Nzg%3D&development_mode=true&event_name=test_event&identity[email]=durkster%40gmail.com&identity[age]=20&identity[_user_type]=User&data[test]=1", "Accept"=>"*/*; q=0.5, application/xml", "Accept-Encoding"=>"gzip, deflate", "Content-Length"=>"174", "Content-Type"=>"application/x-www-form-urlencoded"
111
-
112
- RestClient.post "http://localhost/api/v1/track.json", "auth_token=YWJjZDEyMzQ6ZWZnaDU2Nzg%3D&development_mode=true&event_name=test_event&identity[email]=durkster%40gmail.com&identity[age]=20&identity[_user_type]=User&data[test]=1", "Accept"=>"*/*; q=0.5, application/xml", "Accept-Encoding"=>"gzip, deflate", "Content-Length"=>"174", "Content-Type"=>"application/x-www-form-urlencoded"
113
-
114
- RestClient.post "http://localhost/api/v1/track.json", "auth_token=YWJjZDEyMzQ6ZWZnaDU2Nzg%3D&development_mode=true&event_name=test_event&identity[email]=durkster%40gmail.com&identity[age]=20&identity[_user_type]=User&data[test]=1", "Accept"=>"*/*; q=0.5, application/xml", "Accept-Encoding"=>"gzip, deflate", "Content-Length"=>"174", "Content-Type"=>"application/x-www-form-urlencoded"
115
-
116
- RestClient.post "http://localhost/api/v1/track.json", "auth_token=YWJjZDEyMzQ6ZWZnaDU2Nzg%3D&development_mode=true&event_name=test_event&identity[email]=durkster%40gmail.com&identity[age]=20&identity[_user_type]=User&data[test]=1", "Accept"=>"*/*; q=0.5, application/xml", "Accept-Encoding"=>"gzip, deflate", "Content-Length"=>"174", "Content-Type"=>"application/x-www-form-urlencoded"
117
-
118
- RestClient.post "http://localhost/api/v1/track.json", "auth_token=YWJjZDEyMzQ6ZWZnaDU2Nzg%3D&development_mode=true&event_name=test_event&identity[email]=durkster%40gmail.com&identity[age]=20&identity[_user_type]=User&data[test]=1", "Accept"=>"*/*; q=0.5, application/xml", "Accept-Encoding"=>"gzip, deflate", "Content-Length"=>"174", "Content-Type"=>"application/x-www-form-urlencoded"
119
-
120
- RestClient.post "http://localhost/api/v1/track.json", "auth_token=YWJjZDEyMzQ6ZWZnaDU2Nzg%3D&development_mode=true&event_name=test_event&identity[email]=durkster%40gmail.com&identity[age]=20&identity[_user_type]=User&data[test]=1", "Accept"=>"*/*; q=0.5, application/xml", "Accept-Encoding"=>"gzip, deflate", "Content-Length"=>"174", "Content-Type"=>"application/x-www-form-urlencoded"
121
-
122
- RestClient.post "http://localhost/api/v1/track.json", "auth_token=YWJjZDEyMzQ6ZWZnaDU2Nzg%3D&development_mode=true&event_name=test_event&identity[email]=durkster%40gmail.com&identity[age]=20&identity[_user_type]=User&data[test]=1", "Accept"=>"*/*; q=0.5, application/xml", "Accept-Encoding"=>"gzip, deflate", "Content-Length"=>"174", "Content-Type"=>"application/x-www-form-urlencoded"
123
-
124
- RestClient.post "http://localhost/api/v1/track.json", "auth_token=YWJjZDEyMzQ6ZWZnaDU2Nzg%3D&development_mode=true&event_name=test_event&identity[email]=durkster%40gmail.com&identity[age]=20&identity[_user_type]=User&data[test]=1", "Accept"=>"*/*; q=0.5, application/xml", "Accept-Encoding"=>"gzip, deflate", "Content-Length"=>"174", "Content-Type"=>"application/x-www-form-urlencoded"
125
-
126
- RestClient.post "http://localhost/api/v1/track.json", "auth_token=YWJjZDEyMzQ6ZWZnaDU2Nzg%3D&development_mode=true&event_name=test_event&identity[email]=durkster%40gmail.com&identity[age]=20&identity[_user_type]=User&data[test]=1", "Accept"=>"*/*; q=0.5, application/xml", "Accept-Encoding"=>"gzip, deflate", "Content-Length"=>"174", "Content-Type"=>"application/x-www-form-urlencoded"
127
-
128
- # => 404 NotFound | text/html 49 bytes
129
-
130
- RestClient.post "http://localhost/api/v1/track.json", "auth_token=YWJjZDEyMzQ6ZWZnaDU2Nzg%3D&development_mode=true&event_name=test_event&identity[email]=durkster%40gmail.com&identity[age]=20&identity[_user_type]=User&data[test]=1", "Accept"=>"*/*; q=0.5, application/xml", "Accept-Encoding"=>"gzip, deflate", "Content-Length"=>"174", "Content-Type"=>"application/x-www-form-urlencoded"
131
-
132
- # => 404 NotFound | text/html 49 bytes
133
-
134
- RestClient.post "http://localhost/api/v1/track.json", "auth_token=YWJjZDEyMzQ6ZWZnaDU2Nzg%3D&development_mode=true&event_name=test_event&identity[email]=durkster%40gmail.com&identity[age]=20&identity[_user_type]=User&data[test]=1", "Accept"=>"*/*; q=0.5, application/xml", "Accept-Encoding"=>"gzip, deflate", "Content-Length"=>"174", "Content-Type"=>"application/x-www-form-urlencoded"
135
-
136
- # => 404 NotFound | text/html 49 bytes
137
-
138
- RestClient.post "http://localhost/api/v1/track.json", "auth_token=YWJjZDEyMzQ6ZWZnaDU2Nzg%3D&development_mode=true&event_name=test_event&identity[email]=durkster%40gmail.com&identity[age]=20&identity[_user_type]=User&data[test]=1", "Accept"=>"*/*; q=0.5, application/xml", "Accept-Encoding"=>"gzip, deflate", "Content-Length"=>"174", "Content-Type"=>"application/x-www-form-urlencoded"
139
-
140
- # => 404 NotFound | text/html 49 bytes
141
-
142
- RestClient.post "http://localhost/api/v1/track.json", "auth_token=YWJjZDEyMzQ6ZWZnaDU2Nzg%3D&development_mode=true&event_name=test_event&identity[email]=durkster%40gmail.com&identity[age]=20&identity[_user_type]=User&data[test]=1", "Accept"=>"*/*; q=0.5, application/xml", "Accept-Encoding"=>"gzip, deflate", "Content-Length"=>"174", "Content-Type"=>"application/x-www-form-urlencoded"
143
-
144
- # => 404 NotFound | text/html 49 bytes
145
-
146
- RestClient.post "http://localhost/api/v1/track.json", "auth_token=YWJjZDEyMzQ6ZWZnaDU2Nzg%3D&development_mode=true&data[test]=1&event_name=test_event&identity[email]=durkster%40gmail.com&identity[age]=20&identity[_user_type]=User", "Accept"=>"*/*; q=0.5, application/xml", "Accept-Encoding"=>"gzip, deflate", "Content-Length"=>"174", "Content-Type"=>"application/x-www-form-urlencoded"
147
-
148
- # => 404 NotFound | text/html 49 bytes
149
-
150
- Vero::Sender: method: Vero::API::TrackAPI, options: {"auth_token":"YWJjZDEyMzQ6ZWZnaDU2Nzg=","development_mode":true,"data":{"test":1},"event_name":"test_event","identity":{"email":"durkster@gmail.com","age":20,"_user_type":"User"}}, error: 404 Resource Not Found
151
- RestClient.post "http://localhost/api/v1/track.json", "auth_token=YWJjZDEyMzQ6ZWZnaDU2Nzg%3D&development_mode=true&data[test]=1&event_name=test_event&identity[email]=durkster%40gmail.com&identity[age]=20&identity[_user_type]=User", "Accept"=>"*/*; q=0.5, application/xml", "Accept-Encoding"=>"gzip, deflate", "Content-Length"=>"174", "Content-Type"=>"application/x-www-form-urlencoded"
152
-
153
- # => 404 NotFound | text/html 49 bytes
154
-
155
- Vero::Sender: method: Vero::API::TrackAPI, options: {"auth_token":"YWJjZDEyMzQ6ZWZnaDU2Nzg=","development_mode":true,"data":{"test":1},"event_name":"test_event","identity":{"email":"durkster@gmail.com","age":20,"_user_type":"User"}}, error: 404 Resource Not Found
156
- RestClient.post "http://localhost/api/v1/track.json", "auth_token=YWJjZDEyMzQ6ZWZnaDU2Nzg%3D&development_mode=true&data[test]=1&event_name=test_event&identity[email]=durkster%40gmail.com&identity[age]=20&identity[_user_type]=User", "Accept"=>"*/*; q=0.5, application/xml", "Accept-Encoding"=>"gzip, deflate", "Content-Length"=>"174", "Content-Type"=>"application/x-www-form-urlencoded"
157
-
158
- # => 404 NotFound | text/html 49 bytes
159
-
160
- Vero::Sender: method: Vero::API::TrackAPI, options: {"auth_token":"YWJjZDEyMzQ6ZWZnaDU2Nzg=","development_mode":true,"data":{"test":1},"event_name":"test_event","identity":{"email":"durkster@gmail.com","age":20,"_user_type":"User"}}, error: 404 Resource Not Found
161
- RestClient.post "http://localhost/api/v1/track.json", "auth_token=YWJjZDEyMzQ6ZWZnaDU2Nzg%3D&development_mode=true&data[test]=1&event_name=test_event&identity[email]=durkster%40gmail.com&identity[age]=20&identity[_user_type]=User", "Accept"=>"*/*; q=0.5, application/xml", "Accept-Encoding"=>"gzip, deflate", "Content-Length"=>"174", "Content-Type"=>"application/x-www-form-urlencoded"
162
-
163
- # => 404 NotFound | text/html 49 bytes
164
-
165
- Vero::Sender: method: Vero::API::TrackAPI, options: {"auth_token":"YWJjZDEyMzQ6ZWZnaDU2Nzg=","development_mode":true,"data":{"test":1},"event_name":"test_event","identity":{"email":"durkster@gmail.com","age":20,"_user_type":"User"}}, error: 404 Resource Not Found
166
- RestClient.post "http://localhost/api/v1/track.json", "auth_token=YWJjZDEyMzQ6ZWZnaDU2Nzg%3D&development_mode=true&data[test]=1&event_name=test_event&identity[email]=durkster%40gmail.com&identity[age]=20&identity[_user_type]=User", "Accept"=>"*/*; q=0.5, application/xml", "Accept-Encoding"=>"gzip, deflate", "Content-Length"=>"174", "Content-Type"=>"application/x-www-form-urlencoded"
167
-
168
- # => 404 NotFound | text/html 49 bytes
169
-
170
- Vero::Sender: method: Vero::API::TrackAPI, options: {"auth_token":"YWJjZDEyMzQ6ZWZnaDU2Nzg=","development_mode":true,"data":{"test":1},"event_name":"test_event","identity":{"email":"durkster@gmail.com","age":20,"_user_type":"User"}}, error: 404 Resource Not Found
171
- RestClient.post "http://localhost/api/v1/track.json", "auth_token=YWJjZDEyMzQ6ZWZnaDU2Nzg%3D&development_mode=true&data[test]=1&event_name=test_event&identity[email]=durkster%40gmail.com&identity[age]=20&identity[_user_type]=User", "Accept"=>"*/*; q=0.5, application/xml", "Accept-Encoding"=>"gzip, deflate", "Content-Length"=>"174", "Content-Type"=>"application/x-www-form-urlencoded"
172
-
173
- # => 404 NotFound | text/html 49 bytes
174
-
175
- Vero::Sender: method: Vero::API::TrackAPI, options: {"auth_token":"YWJjZDEyMzQ6ZWZnaDU2Nzg=","development_mode":true,"data":{"test":1},"event_name":"test_event","identity":{"email":"durkster@gmail.com","age":20,"_user_type":"User"}}, error: 404 Resource Not Found
176
- RestClient.post "http://localhost/api/v1/track.json", "auth_token=YWJjZDEyMzQ6ZWZnaDU2Nzg%3D&development_mode=true&data[test]=1&event_name=test_event&identity[email]=durkster%40gmail.com&identity[age]=20&identity[_user_type]=User", "Accept"=>"*/*; q=0.5, application/xml", "Accept-Encoding"=>"gzip, deflate", "Content-Length"=>"174", "Content-Type"=>"application/x-www-form-urlencoded"
177
-
178
- # => 404 NotFound | text/html 49 bytes
179
-
180
- Vero::Sender: method: Vero::API::TrackAPI, options: {"auth_token":"YWJjZDEyMzQ6ZWZnaDU2Nzg=","development_mode":true,"data":{"test":1},"event_name":"test_event","identity":{"email":"durkster@gmail.com","age":20,"_user_type":"User"}}, error: 404 Resource Not Found
181
- RestClient.post "http://localhost/api/v1/track.json", "auth_token=YWJjZDEyMzQ6ZWZnaDU2Nzg%3D&development_mode=true&data[test]=1&event_name=test_event&identity[email]=durkster%40gmail.com&identity[age]=20&identity[_user_type]=User", "Accept"=>"*/*; q=0.5, application/xml", "Accept-Encoding"=>"gzip, deflate", "Content-Length"=>"174", "Content-Type"=>"application/x-www-form-urlencoded"
182
-
183
- # => 404 NotFound | text/html 49 bytes
184
-
185
- Vero::Sender: method: Vero::API::TrackAPI, options: {"auth_token":"YWJjZDEyMzQ6ZWZnaDU2Nzg=","development_mode":true,"data":{"test":1},"event_name":"test_event","identity":{"email":"durkster@gmail.com","age":20,"_user_type":"User"}}, error: 404 Resource Not Found
186
- RestClient.post "http://localhost/api/v1/track.json", "auth_token=YWJjZDEyMzQ6ZWZnaDU2Nzg%3D&development_mode=true&data[test]=1&event_name=test_event&identity[email]=durkster%40gmail.com&identity[age]=20&identity[_user_type]=User", "Accept"=>"*/*; q=0.5, application/xml", "Accept-Encoding"=>"gzip, deflate", "Content-Length"=>"174", "Content-Type"=>"application/x-www-form-urlencoded"
187
-
188
- # => 404 NotFound | text/html 49 bytes
189
-
190
- Vero::Sender: method: Vero::API::TrackAPI, options: {"auth_token":"YWJjZDEyMzQ6ZWZnaDU2Nzg=","development_mode":true,"data":{"test":1},"event_name":"test_event","identity":{"email":"durkster@gmail.com","age":20,"_user_type":"User"}}, error: 404 Resource Not Found
191
- RestClient.post "http://localhost/api/v1/track.json", "auth_token=YWJjZDEyMzQ6ZWZnaDU2Nzg%3D&development_mode=true&data[test]=1&event_name=test_event&identity[email]=durkster%40gmail.com&identity[age]=20&identity[_user_type]=User", "Accept"=>"*/*; q=0.5, application/xml", "Accept-Encoding"=>"gzip, deflate", "Content-Length"=>"174", "Content-Type"=>"application/x-www-form-urlencoded"
192
-
193
- # => 404 NotFound | text/html 49 bytes
194
-
195
- Vero::Sender: method: Vero::API::TrackAPI, options: {"auth_token":"YWJjZDEyMzQ6ZWZnaDU2Nzg=","development_mode":true,"data":{"test":1},"event_name":"test_event","identity":{"email":"durkster@gmail.com","age":20,"_user_type":"User"}}, error: 404 Resource Not Found
196
- RestClient.post "http://localhost/api/v1/track.json", "auth_token=YWJjZDEyMzQ6ZWZnaDU2Nzg%3D&development_mode=true&data[test]=1&event_name=test_event&identity[email]=durkster%40gmail.com&identity[age]=20&identity[_user_type]=User", "Accept"=>"*/*; q=0.5, application/xml", "Accept-Encoding"=>"gzip, deflate", "Content-Length"=>"174", "Content-Type"=>"application/x-www-form-urlencoded"
197
-
198
- # => 404 NotFound | text/html 49 bytes
199
-
200
- Vero::Sender: method: Vero::API::TrackAPI, options: {"auth_token":"YWJjZDEyMzQ6ZWZnaDU2Nzg=","development_mode":true,"data":{"test":1},"event_name":"test_event","identity":{"email":"durkster@gmail.com","age":20,"_user_type":"User"}}, error: 404 Resource Not Found
201
- RestClient.post "http://200.200.200.200/api/v1/track.json", "auth_token=YWJjZDEyMzQ6ZWZnaDU2Nzg%3D&development_mode=true&data[test]=1&event_name=test_event&identity[email]=durkster%40gmail.com&identity[age]=20&identity[_user_type]=User", "Accept"=>"*/*; q=0.5, application/xml", "Accept-Encoding"=>"gzip, deflate", "Content-Length"=>"174", "Content-Type"=>"application/x-www-form-urlencoded"
202
-
203
- RestClient.post "http://200.200.200.200/api/v1/track.json", "auth_token=YWJjZDEyMzQ6ZWZnaDU2Nzg%3D&development_mode=true&data[test]=1&event_name=test_event&identity[email]=durkster%40gmail.com&identity[age]=20&identity[_user_type]=User", "Accept"=>"*/*; q=0.5, application/xml", "Accept-Encoding"=>"gzip, deflate", "Content-Length"=>"174", "Content-Type"=>"application/x-www-form-urlencoded"
204
-
205
- RestClient.post "http://200.200.200.200/api/v1/track.json", "auth_token=YWJjZDEyMzQ6ZWZnaDU2Nzg%3D&development_mode=true&data[test]=1&event_name=test_event&identity[email]=durkster%40gmail.com&identity[age]=20&identity[_user_type]=User", "Accept"=>"*/*; q=0.5, application/xml", "Accept-Encoding"=>"gzip, deflate", "Content-Length"=>"174", "Content-Type"=>"application/x-www-form-urlencoded"
206
-
207
- Vero::Sender: method: Vero::API::TrackAPI, options: {"auth_token":"YWJjZDEyMzQ6ZWZnaDU2Nzg=","development_mode":true,"data":{"test":1},"event_name":"test_event","identity":{"email":"durkster@gmail.com","age":20,"_user_type":"User"}}, error: Address already in use - connect(2)
208
- RestClient.post "http://200.200.200.200/api/v1/track.json", "auth_token=YWJjZDEyMzQ6ZWZnaDU2Nzg%3D&development_mode=true&data[test]=1&event_name=test_event&identity[email]=durkster%40gmail.com&identity[age]=20&identity[_user_type]=User", "Accept"=>"*/*; q=0.5, application/xml", "Accept-Encoding"=>"gzip, deflate", "Content-Length"=>"174", "Content-Type"=>"application/x-www-form-urlencoded"
209
-
210
- Vero::Sender: method: Vero::API::TrackAPI, options: {"auth_token":"YWJjZDEyMzQ6ZWZnaDU2Nzg=","development_mode":true,"data":{"test":1},"event_name":"test_event","identity":{"email":"durkster@gmail.com","age":20,"_user_type":"User"}}, error: Address already in use - connect(2)
211
- RestClient.post "http://200.200.200.200/api/v1/track.json", "auth_token=YWJjZDEyMzQ6ZWZnaDU2Nzg%3D&development_mode=true&data[test]=1&event_name=test_event&identity[email]=durkster%40gmail.com&identity[age]=20&identity[_user_type]=User", "Accept"=>"*/*; q=0.5, application/xml", "Accept-Encoding"=>"gzip, deflate", "Content-Length"=>"174", "Content-Type"=>"application/x-www-form-urlencoded"
212
-
213
- Vero::Sender: method: Vero::API::TrackAPI, options: {"auth_token":"YWJjZDEyMzQ6ZWZnaDU2Nzg=","development_mode":true,"data":{"test":1},"event_name":"test_event","identity":{"email":"durkster@gmail.com","age":20,"_user_type":"User"}}, error: Address already in use - connect(2)
214
- RestClient.post "http://200.200.200.200/api/v1/track.json", "auth_token=YWJjZDEyMzQ6ZWZnaDU2Nzg%3D&development_mode=true&data[test]=1&event_name=test_event&identity[email]=durkster%40gmail.com&identity[age]=20&identity[_user_type]=User", "Accept"=>"*/*; q=0.5, application/xml", "Accept-Encoding"=>"gzip, deflate", "Content-Length"=>"174", "Content-Type"=>"application/x-www-form-urlencoded"
215
-
216
- Vero::Sender: method: Vero::API::TrackAPI, options: {"auth_token":"YWJjZDEyMzQ6ZWZnaDU2Nzg=","development_mode":true,"data":{"test":1},"event_name":"test_event","identity":{"email":"durkster@gmail.com","age":20,"_user_type":"User"}}, error: Address already in use - connect(2)
217
- RestClient.post "http://200.200.200.200/api/v1/track.json", "auth_token=YWJjZDEyMzQ6ZWZnaDU2Nzg%3D&development_mode=true&data[test]=1&event_name=test_event&identity[email]=durkster%40gmail.com&identity[age]=20&identity[_user_type]=User", "Accept"=>"*/*; q=0.5, application/xml", "Accept-Encoding"=>"gzip, deflate", "Content-Length"=>"174", "Content-Type"=>"application/x-www-form-urlencoded"
218
-
219
- Vero::Sender: method: Vero::API::TrackAPI, options: {"auth_token":"YWJjZDEyMzQ6ZWZnaDU2Nzg=","development_mode":true,"data":{"test":1},"event_name":"test_event","identity":{"email":"durkster@gmail.com","age":20,"_user_type":"User"}}, error: Address already in use - connect(2)
@@ -1,24 +0,0 @@
1
- require 'rest-client'
2
-
3
- module Vero
4
- module Jobs
5
- class RestPostJob < Struct.new(:url, :params)
6
- def perform
7
- setup_logging
8
- RestClient.post(url, params)
9
- end
10
-
11
- private
12
- def setup_logging
13
- return unless Vero::App.logger
14
-
15
- RestClient.log = Object.new.tap do |proxy|
16
- def proxy.<<(message)
17
- Vero::App.logger.info message
18
- end
19
- end
20
- end
21
-
22
- end
23
- end
24
- end