errplane 1.0.5 → 1.0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +2 -37
- data/gemfiles/Gemfile.rails-3.2.x.lock +1 -1
- data/lib/errplane.rb +4 -4
- data/lib/errplane/rails/benchmarking.rb +6 -6
- data/lib/errplane/rails/instrumentation.rb +6 -3
- data/lib/errplane/railtie.rb +4 -4
- data/lib/errplane/version.rb +1 -1
- data/spec/support/rails3/log/test.log +200 -0
- metadata +20 -20
data/Gemfile.lock
CHANGED
@@ -1,34 +1,14 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
errplane (0.
|
5
|
-
actionpack (>= 2.3.2)
|
6
|
-
activesupport (>= 2.3.2)
|
4
|
+
errplane (1.0.6)
|
7
5
|
json
|
8
6
|
|
9
7
|
GEM
|
10
|
-
remote:
|
8
|
+
remote: https://rubygems.org/
|
11
9
|
specs:
|
12
|
-
actionpack (3.2.9)
|
13
|
-
activemodel (= 3.2.9)
|
14
|
-
activesupport (= 3.2.9)
|
15
|
-
builder (~> 3.0.0)
|
16
|
-
erubis (~> 2.7.0)
|
17
|
-
journey (~> 1.0.4)
|
18
|
-
rack (~> 1.4.0)
|
19
|
-
rack-cache (~> 1.2)
|
20
|
-
rack-test (~> 0.6.1)
|
21
|
-
sprockets (~> 2.2.1)
|
22
|
-
activemodel (3.2.9)
|
23
|
-
activesupport (= 3.2.9)
|
24
|
-
builder (~> 3.0.0)
|
25
|
-
activesupport (3.2.9)
|
26
|
-
i18n (~> 0.6)
|
27
|
-
multi_json (~> 1.0)
|
28
|
-
builder (3.0.4)
|
29
10
|
coderay (1.0.8)
|
30
11
|
diff-lcs (1.1.3)
|
31
|
-
erubis (2.7.0)
|
32
12
|
fakeweb (1.3.0)
|
33
13
|
guard (1.5.4)
|
34
14
|
listen (>= 0.4.2)
|
@@ -38,23 +18,14 @@ GEM
|
|
38
18
|
guard-rspec (2.3.1)
|
39
19
|
guard (>= 1.1)
|
40
20
|
rspec (~> 2.11)
|
41
|
-
hike (1.2.1)
|
42
|
-
i18n (0.6.1)
|
43
|
-
journey (1.0.4)
|
44
21
|
json (1.7.5)
|
45
22
|
listen (0.6.0)
|
46
23
|
lumberjack (1.0.2)
|
47
24
|
method_source (0.8.1)
|
48
|
-
multi_json (1.5.0)
|
49
25
|
pry (0.9.10)
|
50
26
|
coderay (~> 1.0.5)
|
51
27
|
method_source (~> 0.8)
|
52
28
|
slop (~> 3.3.1)
|
53
|
-
rack (1.4.1)
|
54
|
-
rack-cache (1.2)
|
55
|
-
rack (>= 0.4)
|
56
|
-
rack-test (0.6.2)
|
57
|
-
rack (>= 1.0)
|
58
29
|
rake (10.0.2)
|
59
30
|
rdoc (3.12)
|
60
31
|
json (~> 1.4)
|
@@ -67,13 +38,7 @@ GEM
|
|
67
38
|
diff-lcs (~> 1.1.3)
|
68
39
|
rspec-mocks (2.12.0)
|
69
40
|
slop (3.3.3)
|
70
|
-
sprockets (2.2.2)
|
71
|
-
hike (~> 1.2)
|
72
|
-
multi_json (~> 1.0)
|
73
|
-
rack (~> 1.0)
|
74
|
-
tilt (~> 1.1, != 1.3.0)
|
75
41
|
thor (0.16.0)
|
76
|
-
tilt (1.3.3)
|
77
42
|
tzinfo (0.3.35)
|
78
43
|
|
79
44
|
PLATFORMS
|
data/lib/errplane.rb
CHANGED
@@ -47,11 +47,11 @@ module Errplane
|
|
47
47
|
end
|
48
48
|
end
|
49
49
|
|
50
|
-
def
|
50
|
+
def aggregate(name, params = {})
|
51
51
|
Errplane.api.send generate_data(name, params), "t"
|
52
52
|
end
|
53
53
|
|
54
|
-
def
|
54
|
+
def sum(name, params = {})
|
55
55
|
Errplane.api.send generate_data(name, params), "c"
|
56
56
|
end
|
57
57
|
|
@@ -77,13 +77,13 @@ module Errplane
|
|
77
77
|
report("deployments", {:context => context}, udp)
|
78
78
|
end
|
79
79
|
|
80
|
-
def heartbeat(name, interval)
|
80
|
+
def heartbeat(name, interval, params)
|
81
81
|
log :debug, "Starting heartbeat '#{name}' on a #{interval} second interval."
|
82
82
|
Thread.new do
|
83
83
|
while true do
|
84
84
|
log :debug, "Sleeping '#{name}' for #{interval} seconds."
|
85
85
|
sleep(interval)
|
86
|
-
report(name, :
|
86
|
+
report(name, :dimensions => params[:dimensions], :context => params[:context])
|
87
87
|
end
|
88
88
|
end
|
89
89
|
end
|
@@ -13,23 +13,23 @@ module Errplane
|
|
13
13
|
private
|
14
14
|
def perform_action_with_instrumentation
|
15
15
|
ms = Benchmark.ms { perform_action_without_instrumentation }
|
16
|
-
if Errplane.configuration.instrumentation_enabled
|
17
|
-
Errplane.
|
16
|
+
if Errplane.configuration.instrumentation_enabled && ! Errplane.configuration.ignore_current_environment?
|
17
|
+
Errplane.aggregate "controllers", :value => ms.ceil, :dimensions => dimensions
|
18
18
|
end
|
19
19
|
end
|
20
20
|
|
21
21
|
def view_runtime_with_instrumentation
|
22
22
|
runtime = view_runtime_without_instrumentation
|
23
|
-
if Errplane.configuration.instrumentation_enabled
|
24
|
-
Errplane.
|
23
|
+
if Errplane.configuration.instrumentation_enabled && ! Errplane.configuration.ignore_current_environment?
|
24
|
+
Errplane.aggregate "views", :value => runtime.split.last.to_f.ceil, :dimensions => dimensions
|
25
25
|
end
|
26
26
|
runtime
|
27
27
|
end
|
28
28
|
|
29
29
|
def active_record_runtime_with_instrumentation
|
30
30
|
runtime = active_record_runtime_without_instrumentation
|
31
|
-
if Errplane.configuration.instrumentation_enabled
|
32
|
-
Errplane.
|
31
|
+
if Errplane.configuration.instrumentation_enabled && ! Errplane.configuration.ignore_current_environment?
|
32
|
+
Errplane.aggregate "db", :value => runtime.split.last.to_f.ceil, :dimensions => dimensions
|
33
33
|
end
|
34
34
|
runtime
|
35
35
|
end
|
@@ -4,9 +4,12 @@ module Errplane
|
|
4
4
|
def benchmark_for_instrumentation
|
5
5
|
start = Time.now
|
6
6
|
yield
|
7
|
-
|
8
|
-
|
9
|
-
|
7
|
+
|
8
|
+
unless Errplane.configuration.ignore_current_environment?
|
9
|
+
elapsed = ((Time.now - start) * 1000).ceil
|
10
|
+
dimensions = { :method => "#{controller_name}##{action_name}", :server => Socket.gethostname }
|
11
|
+
Errplane.aggregate "instrumentation", :value => elapsed, :dimensions => dimensions
|
12
|
+
end
|
10
13
|
end
|
11
14
|
|
12
15
|
def self.included(base)
|
data/lib/errplane/railtie.rb
CHANGED
@@ -129,7 +129,7 @@ module Errplane
|
|
129
129
|
|
130
130
|
if defined?(ActiveSupport::Notifications)
|
131
131
|
ActiveSupport::Notifications.subscribe "process_action.action_controller" do |name, start, finish, id, payload|
|
132
|
-
if Errplane.configuration.instrumentation_enabled?
|
132
|
+
if Errplane.configuration.instrumentation_enabled && ! Errplane.configuration.ignore_current_environment?
|
133
133
|
timestamp = finish.utc.to_i
|
134
134
|
controller_runtime = ((finish - start)*1000).ceil
|
135
135
|
view_runtime = (payload[:view_runtime] || 0).ceil
|
@@ -138,9 +138,9 @@ module Errplane
|
|
138
138
|
action_name = payload[:action]
|
139
139
|
|
140
140
|
dimensions = {:method => "#{controller_name}##{action_name}", :server => Socket.gethostname}
|
141
|
-
Errplane.
|
142
|
-
Errplane.
|
143
|
-
Errplane.
|
141
|
+
Errplane.aggregate "controllers", :value => controller_runtime, :dimensions => dimensions
|
142
|
+
Errplane.aggregate "views", :value => view_runtime, :dimensions => dimensions
|
143
|
+
Errplane.aggregate "db", :value => db_runtime, :dimensions => dimensions
|
144
144
|
end
|
145
145
|
end
|
146
146
|
end
|
data/lib/errplane/version.rb
CHANGED
@@ -85358,3 +85358,203 @@ ZeroDivisionError (divided by 0):
|
|
85358
85358
|
/Users/todd/.rvm/gems/ruby-1.8.7-p370@errplane-ruby/bin/rspec:19
|
85359
85359
|
|
85360
85360
|
[Errplane] Error calling API: #<FakeWeb::NetConnectNotAllowedError: Real HTTP connections are disabled. Unregistered request: POST https://w.apiv3.errplane.com/databases/b12r8c72test/points?api_key=f123-e456-d789c012>
|
85361
|
+
Processing by WidgetsController#new as HTML
|
85362
|
+
Completed 500 Internal Server Error in 0ms
|
85363
|
+
Processing by WidgetsController#index as HTML
|
85364
|
+
Completed 200 OK in 8ms (Views: 8.1ms)
|
85365
|
+
|
85366
|
+
|
85367
|
+
Started GET "/widgets/new" for 127.0.0.1 at 2013-07-24 00:29:51 -0400
|
85368
|
+
Processing by WidgetsController#new as HTML
|
85369
|
+
Completed 500 Internal Server Error in 0ms
|
85370
|
+
|
85371
|
+
ZeroDivisionError (divided by 0):
|
85372
|
+
app.rb:23:in `/'
|
85373
|
+
app.rb:23:in `new'
|
85374
|
+
actionpack (3.2.7) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
|
85375
|
+
actionpack (3.2.7) lib/abstract_controller/base.rb:167:in `process_action'
|
85376
|
+
actionpack (3.2.7) lib/action_controller/metal/rendering.rb:10:in `process_action'
|
85377
|
+
actionpack (3.2.7) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
|
85378
|
+
activesupport (3.2.7) lib/active_support/callbacks.rb:403:in `_run__304245172517853346__process_action__57809795108017383__callbacks'
|
85379
|
+
activesupport (3.2.7) lib/active_support/callbacks.rb:405:in `__run_callback'
|
85380
|
+
activesupport (3.2.7) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
|
85381
|
+
activesupport (3.2.7) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
85382
|
+
actionpack (3.2.7) lib/abstract_controller/callbacks.rb:17:in `process_action'
|
85383
|
+
actionpack (3.2.7) lib/action_controller/metal/rescue.rb:29:in `process_action'
|
85384
|
+
actionpack (3.2.7) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
|
85385
|
+
activesupport (3.2.7) lib/active_support/notifications.rb:123:in `block in instrument'
|
85386
|
+
activesupport (3.2.7) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
|
85387
|
+
activesupport (3.2.7) lib/active_support/notifications.rb:123:in `instrument'
|
85388
|
+
actionpack (3.2.7) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
|
85389
|
+
actionpack (3.2.7) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
|
85390
|
+
actionpack (3.2.7) lib/abstract_controller/base.rb:121:in `process'
|
85391
|
+
actionpack (3.2.7) lib/abstract_controller/rendering.rb:45:in `process'
|
85392
|
+
actionpack (3.2.7) lib/action_controller/metal.rb:203:in `dispatch'
|
85393
|
+
actionpack (3.2.7) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
|
85394
|
+
actionpack (3.2.7) lib/action_controller/metal.rb:246:in `block in action'
|
85395
|
+
actionpack (3.2.7) lib/action_dispatch/routing/route_set.rb:73:in `call'
|
85396
|
+
actionpack (3.2.7) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
|
85397
|
+
actionpack (3.2.7) lib/action_dispatch/routing/route_set.rb:36:in `call'
|
85398
|
+
journey (1.0.4) lib/journey/router.rb:68:in `block in call'
|
85399
|
+
journey (1.0.4) lib/journey/router.rb:56:in `each'
|
85400
|
+
journey (1.0.4) lib/journey/router.rb:56:in `call'
|
85401
|
+
actionpack (3.2.7) lib/action_dispatch/routing/route_set.rb:600:in `call'
|
85402
|
+
actionpack (3.2.7) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
|
85403
|
+
rack (1.4.1) lib/rack/etag.rb:23:in `call'
|
85404
|
+
rack (1.4.1) lib/rack/conditionalget.rb:25:in `call'
|
85405
|
+
actionpack (3.2.7) lib/action_dispatch/middleware/head.rb:14:in `call'
|
85406
|
+
actionpack (3.2.7) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
|
85407
|
+
actionpack (3.2.7) lib/action_dispatch/middleware/flash.rb:242:in `call'
|
85408
|
+
rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context'
|
85409
|
+
rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call'
|
85410
|
+
actionpack (3.2.7) lib/action_dispatch/middleware/cookies.rb:338:in `call'
|
85411
|
+
actionpack (3.2.7) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
|
85412
|
+
activesupport (3.2.7) lib/active_support/callbacks.rb:405:in `_run__275300470188735511__call__4492755607316274782__callbacks'
|
85413
|
+
activesupport (3.2.7) lib/active_support/callbacks.rb:405:in `__run_callback'
|
85414
|
+
activesupport (3.2.7) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
|
85415
|
+
activesupport (3.2.7) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
85416
|
+
actionpack (3.2.7) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
|
85417
|
+
actionpack (3.2.7) lib/action_dispatch/middleware/reloader.rb:65:in `call'
|
85418
|
+
actionpack (3.2.7) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
|
85419
|
+
actionpack (3.2.7) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
|
85420
|
+
actionpack (3.2.7) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
|
85421
|
+
railties (3.2.7) lib/rails/rack/logger.rb:26:in `call_app'
|
85422
|
+
railties (3.2.7) lib/rails/rack/logger.rb:16:in `call'
|
85423
|
+
actionpack (3.2.7) lib/action_dispatch/middleware/request_id.rb:22:in `call'
|
85424
|
+
rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
|
85425
|
+
rack (1.4.1) lib/rack/runtime.rb:17:in `call'
|
85426
|
+
activesupport (3.2.7) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
|
85427
|
+
rack (1.4.1) lib/rack/lock.rb:15:in `call'
|
85428
|
+
actionpack (3.2.7) lib/action_dispatch/middleware/static.rb:62:in `call'
|
85429
|
+
/Users/todd/Projects/errplane/errplane-ruby/lib/errplane/rack.rb:13:in `_call'
|
85430
|
+
/Users/todd/Projects/errplane/errplane-ruby/lib/errplane/rack.rb:8:in `call'
|
85431
|
+
railties (3.2.7) lib/rails/engine.rb:479:in `call'
|
85432
|
+
railties (3.2.7) lib/rails/application.rb:220:in `call'
|
85433
|
+
rack-test (0.6.1) lib/rack/mock_session.rb:30:in `request'
|
85434
|
+
rack-test (0.6.1) lib/rack/test.rb:219:in `process_request'
|
85435
|
+
rack-test (0.6.1) lib/rack/test.rb:114:in `request'
|
85436
|
+
actionpack (3.2.7) lib/action_dispatch/testing/integration.rb:300:in `process'
|
85437
|
+
actionpack (3.2.7) lib/action_dispatch/testing/integration.rb:33:in `get'
|
85438
|
+
actionpack (3.2.7) lib/action_dispatch/testing/integration.rb:334:in `block (2 levels) in <module:Runner>'
|
85439
|
+
/Users/todd/Projects/errplane/errplane-ruby/spec/integration/exceptions_spec.rb:22:in `block (3 levels) in <top (required)>'
|
85440
|
+
rspec-core (2.11.1) lib/rspec/core/example.rb:113:in `instance_eval'
|
85441
|
+
rspec-core (2.11.1) lib/rspec/core/example.rb:113:in `block in run'
|
85442
|
+
rspec-core (2.11.1) lib/rspec/core/example.rb:253:in `with_around_each_hooks'
|
85443
|
+
rspec-core (2.11.1) lib/rspec/core/example.rb:110:in `run'
|
85444
|
+
rspec-core (2.11.1) lib/rspec/core/example_group.rb:378:in `block in run_examples'
|
85445
|
+
rspec-core (2.11.1) lib/rspec/core/example_group.rb:374:in `map'
|
85446
|
+
rspec-core (2.11.1) lib/rspec/core/example_group.rb:374:in `run_examples'
|
85447
|
+
rspec-core (2.11.1) lib/rspec/core/example_group.rb:360:in `run'
|
85448
|
+
rspec-core (2.11.1) lib/rspec/core/example_group.rb:361:in `block in run'
|
85449
|
+
rspec-core (2.11.1) lib/rspec/core/example_group.rb:361:in `map'
|
85450
|
+
rspec-core (2.11.1) lib/rspec/core/example_group.rb:361:in `run'
|
85451
|
+
rspec-core (2.11.1) lib/rspec/core/command_line.rb:28:in `block (2 levels) in run'
|
85452
|
+
rspec-core (2.11.1) lib/rspec/core/command_line.rb:28:in `map'
|
85453
|
+
rspec-core (2.11.1) lib/rspec/core/command_line.rb:28:in `block in run'
|
85454
|
+
rspec-core (2.11.1) lib/rspec/core/reporter.rb:34:in `report'
|
85455
|
+
rspec-core (2.11.1) lib/rspec/core/command_line.rb:25:in `run'
|
85456
|
+
rspec-core (2.11.1) lib/rspec/core/runner.rb:69:in `run'
|
85457
|
+
rspec-core (2.11.1) lib/rspec/core/runner.rb:8:in `block in autorun'
|
85458
|
+
|
85459
|
+
|
85460
|
+
|
85461
|
+
|
85462
|
+
Started GET "/widgets" for 127.0.0.1 at 2013-07-24 00:29:51 -0400
|
85463
|
+
Processing by WidgetsController#index as HTML
|
85464
|
+
Completed 200 OK in 0ms (Views: 0.2ms)
|
85465
|
+
|
85466
|
+
|
85467
|
+
Started GET "/widgets/new" for 127.0.0.1 at 2013-07-24 00:29:51 -0400
|
85468
|
+
Processing by WidgetsController#new as HTML
|
85469
|
+
Completed 500 Internal Server Error in 0ms
|
85470
|
+
|
85471
|
+
ZeroDivisionError (divided by 0):
|
85472
|
+
app.rb:23:in `/'
|
85473
|
+
app.rb:23:in `new'
|
85474
|
+
actionpack (3.2.7) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
|
85475
|
+
actionpack (3.2.7) lib/abstract_controller/base.rb:167:in `process_action'
|
85476
|
+
actionpack (3.2.7) lib/action_controller/metal/rendering.rb:10:in `process_action'
|
85477
|
+
actionpack (3.2.7) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
|
85478
|
+
activesupport (3.2.7) lib/active_support/callbacks.rb:403:in `_run__304245172517853346__process_action__57809795108017383__callbacks'
|
85479
|
+
activesupport (3.2.7) lib/active_support/callbacks.rb:405:in `__run_callback'
|
85480
|
+
activesupport (3.2.7) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
|
85481
|
+
activesupport (3.2.7) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
85482
|
+
actionpack (3.2.7) lib/abstract_controller/callbacks.rb:17:in `process_action'
|
85483
|
+
actionpack (3.2.7) lib/action_controller/metal/rescue.rb:29:in `process_action'
|
85484
|
+
actionpack (3.2.7) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
|
85485
|
+
activesupport (3.2.7) lib/active_support/notifications.rb:123:in `block in instrument'
|
85486
|
+
activesupport (3.2.7) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
|
85487
|
+
activesupport (3.2.7) lib/active_support/notifications.rb:123:in `instrument'
|
85488
|
+
actionpack (3.2.7) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
|
85489
|
+
actionpack (3.2.7) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
|
85490
|
+
actionpack (3.2.7) lib/abstract_controller/base.rb:121:in `process'
|
85491
|
+
actionpack (3.2.7) lib/abstract_controller/rendering.rb:45:in `process'
|
85492
|
+
actionpack (3.2.7) lib/action_controller/metal.rb:203:in `dispatch'
|
85493
|
+
actionpack (3.2.7) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
|
85494
|
+
actionpack (3.2.7) lib/action_controller/metal.rb:246:in `block in action'
|
85495
|
+
actionpack (3.2.7) lib/action_dispatch/routing/route_set.rb:73:in `call'
|
85496
|
+
actionpack (3.2.7) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
|
85497
|
+
actionpack (3.2.7) lib/action_dispatch/routing/route_set.rb:36:in `call'
|
85498
|
+
journey (1.0.4) lib/journey/router.rb:68:in `block in call'
|
85499
|
+
journey (1.0.4) lib/journey/router.rb:56:in `each'
|
85500
|
+
journey (1.0.4) lib/journey/router.rb:56:in `call'
|
85501
|
+
actionpack (3.2.7) lib/action_dispatch/routing/route_set.rb:600:in `call'
|
85502
|
+
actionpack (3.2.7) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
|
85503
|
+
rack (1.4.1) lib/rack/etag.rb:23:in `call'
|
85504
|
+
rack (1.4.1) lib/rack/conditionalget.rb:25:in `call'
|
85505
|
+
actionpack (3.2.7) lib/action_dispatch/middleware/head.rb:14:in `call'
|
85506
|
+
actionpack (3.2.7) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
|
85507
|
+
actionpack (3.2.7) lib/action_dispatch/middleware/flash.rb:242:in `call'
|
85508
|
+
rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context'
|
85509
|
+
rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call'
|
85510
|
+
actionpack (3.2.7) lib/action_dispatch/middleware/cookies.rb:338:in `call'
|
85511
|
+
actionpack (3.2.7) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
|
85512
|
+
activesupport (3.2.7) lib/active_support/callbacks.rb:405:in `_run__275300470188735511__call__4492755607316274782__callbacks'
|
85513
|
+
activesupport (3.2.7) lib/active_support/callbacks.rb:405:in `__run_callback'
|
85514
|
+
activesupport (3.2.7) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
|
85515
|
+
activesupport (3.2.7) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
85516
|
+
actionpack (3.2.7) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
|
85517
|
+
actionpack (3.2.7) lib/action_dispatch/middleware/reloader.rb:65:in `call'
|
85518
|
+
actionpack (3.2.7) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
|
85519
|
+
actionpack (3.2.7) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
|
85520
|
+
actionpack (3.2.7) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
|
85521
|
+
railties (3.2.7) lib/rails/rack/logger.rb:26:in `call_app'
|
85522
|
+
railties (3.2.7) lib/rails/rack/logger.rb:16:in `call'
|
85523
|
+
actionpack (3.2.7) lib/action_dispatch/middleware/request_id.rb:22:in `call'
|
85524
|
+
rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
|
85525
|
+
rack (1.4.1) lib/rack/runtime.rb:17:in `call'
|
85526
|
+
activesupport (3.2.7) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
|
85527
|
+
rack (1.4.1) lib/rack/lock.rb:15:in `call'
|
85528
|
+
actionpack (3.2.7) lib/action_dispatch/middleware/static.rb:62:in `call'
|
85529
|
+
/Users/todd/Projects/errplane/errplane-ruby/lib/errplane/rack.rb:13:in `_call'
|
85530
|
+
/Users/todd/Projects/errplane/errplane-ruby/lib/errplane/rack.rb:8:in `call'
|
85531
|
+
railties (3.2.7) lib/rails/engine.rb:479:in `call'
|
85532
|
+
railties (3.2.7) lib/rails/application.rb:220:in `call'
|
85533
|
+
rack-test (0.6.1) lib/rack/mock_session.rb:30:in `request'
|
85534
|
+
rack-test (0.6.1) lib/rack/test.rb:219:in `process_request'
|
85535
|
+
rack-test (0.6.1) lib/rack/test.rb:114:in `request'
|
85536
|
+
actionpack (3.2.7) lib/action_dispatch/testing/integration.rb:300:in `process'
|
85537
|
+
actionpack (3.2.7) lib/action_dispatch/testing/integration.rb:33:in `get'
|
85538
|
+
actionpack (3.2.7) lib/action_dispatch/testing/integration.rb:334:in `block (2 levels) in <module:Runner>'
|
85539
|
+
/Users/todd/Projects/errplane/errplane-ruby/spec/integration/exceptions_spec.rb:39:in `block (3 levels) in <top (required)>'
|
85540
|
+
rspec-core (2.11.1) lib/rspec/core/example.rb:113:in `instance_eval'
|
85541
|
+
rspec-core (2.11.1) lib/rspec/core/example.rb:113:in `block in run'
|
85542
|
+
rspec-core (2.11.1) lib/rspec/core/example.rb:253:in `with_around_each_hooks'
|
85543
|
+
rspec-core (2.11.1) lib/rspec/core/example.rb:110:in `run'
|
85544
|
+
rspec-core (2.11.1) lib/rspec/core/example_group.rb:378:in `block in run_examples'
|
85545
|
+
rspec-core (2.11.1) lib/rspec/core/example_group.rb:374:in `map'
|
85546
|
+
rspec-core (2.11.1) lib/rspec/core/example_group.rb:374:in `run_examples'
|
85547
|
+
rspec-core (2.11.1) lib/rspec/core/example_group.rb:360:in `run'
|
85548
|
+
rspec-core (2.11.1) lib/rspec/core/example_group.rb:361:in `block in run'
|
85549
|
+
rspec-core (2.11.1) lib/rspec/core/example_group.rb:361:in `map'
|
85550
|
+
rspec-core (2.11.1) lib/rspec/core/example_group.rb:361:in `run'
|
85551
|
+
rspec-core (2.11.1) lib/rspec/core/command_line.rb:28:in `block (2 levels) in run'
|
85552
|
+
rspec-core (2.11.1) lib/rspec/core/command_line.rb:28:in `map'
|
85553
|
+
rspec-core (2.11.1) lib/rspec/core/command_line.rb:28:in `block in run'
|
85554
|
+
rspec-core (2.11.1) lib/rspec/core/reporter.rb:34:in `report'
|
85555
|
+
rspec-core (2.11.1) lib/rspec/core/command_line.rb:25:in `run'
|
85556
|
+
rspec-core (2.11.1) lib/rspec/core/runner.rb:69:in `run'
|
85557
|
+
rspec-core (2.11.1) lib/rspec/core/runner.rb:8:in `block in autorun'
|
85558
|
+
|
85559
|
+
|
85560
|
+
[Errplane] Error calling API: #<FakeWeb::NetConnectNotAllowedError: Real HTTP connections are disabled. Unregistered request: POST https://w.apiv3.errplane.com/databases/b12r8c72test/points?api_key=f123-e456-d789c012>
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: errplane
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.6
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-07-
|
12
|
+
date: 2013-07-24 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: json
|
16
|
-
requirement: &
|
16
|
+
requirement: &70287823625700 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: '0'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70287823625700
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: bundler
|
27
|
-
requirement: &
|
27
|
+
requirement: &70287823625180 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ! '>='
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: 1.0.0
|
33
33
|
type: :development
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *70287823625180
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: fakeweb
|
38
|
-
requirement: &
|
38
|
+
requirement: &70287823624660 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ! '>='
|
@@ -43,10 +43,10 @@ dependencies:
|
|
43
43
|
version: '0'
|
44
44
|
type: :development
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *70287823624660
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: guard
|
49
|
-
requirement: &
|
49
|
+
requirement: &70287823624180 !ruby/object:Gem::Requirement
|
50
50
|
none: false
|
51
51
|
requirements:
|
52
52
|
- - ! '>='
|
@@ -54,10 +54,10 @@ dependencies:
|
|
54
54
|
version: '0'
|
55
55
|
type: :development
|
56
56
|
prerelease: false
|
57
|
-
version_requirements: *
|
57
|
+
version_requirements: *70287823624180
|
58
58
|
- !ruby/object:Gem::Dependency
|
59
59
|
name: guard-rspec
|
60
|
-
requirement: &
|
60
|
+
requirement: &70287823623700 !ruby/object:Gem::Requirement
|
61
61
|
none: false
|
62
62
|
requirements:
|
63
63
|
- - ! '>='
|
@@ -65,10 +65,10 @@ dependencies:
|
|
65
65
|
version: '0'
|
66
66
|
type: :development
|
67
67
|
prerelease: false
|
68
|
-
version_requirements: *
|
68
|
+
version_requirements: *70287823623700
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: rake
|
71
|
-
requirement: &
|
71
|
+
requirement: &70287823623220 !ruby/object:Gem::Requirement
|
72
72
|
none: false
|
73
73
|
requirements:
|
74
74
|
- - ! '>='
|
@@ -76,10 +76,10 @@ dependencies:
|
|
76
76
|
version: '0'
|
77
77
|
type: :development
|
78
78
|
prerelease: false
|
79
|
-
version_requirements: *
|
79
|
+
version_requirements: *70287823623220
|
80
80
|
- !ruby/object:Gem::Dependency
|
81
81
|
name: rdoc
|
82
|
-
requirement: &
|
82
|
+
requirement: &70287823622740 !ruby/object:Gem::Requirement
|
83
83
|
none: false
|
84
84
|
requirements:
|
85
85
|
- - ! '>='
|
@@ -87,10 +87,10 @@ dependencies:
|
|
87
87
|
version: '0'
|
88
88
|
type: :development
|
89
89
|
prerelease: false
|
90
|
-
version_requirements: *
|
90
|
+
version_requirements: *70287823622740
|
91
91
|
- !ruby/object:Gem::Dependency
|
92
92
|
name: rspec
|
93
|
-
requirement: &
|
93
|
+
requirement: &70287823622260 !ruby/object:Gem::Requirement
|
94
94
|
none: false
|
95
95
|
requirements:
|
96
96
|
- - ! '>='
|
@@ -98,10 +98,10 @@ dependencies:
|
|
98
98
|
version: '0'
|
99
99
|
type: :development
|
100
100
|
prerelease: false
|
101
|
-
version_requirements: *
|
101
|
+
version_requirements: *70287823622260
|
102
102
|
- !ruby/object:Gem::Dependency
|
103
103
|
name: tzinfo
|
104
|
-
requirement: &
|
104
|
+
requirement: &70287823621780 !ruby/object:Gem::Requirement
|
105
105
|
none: false
|
106
106
|
requirements:
|
107
107
|
- - ! '>='
|
@@ -109,7 +109,7 @@ dependencies:
|
|
109
109
|
version: '0'
|
110
110
|
type: :development
|
111
111
|
prerelease: false
|
112
|
-
version_requirements: *
|
112
|
+
version_requirements: *70287823621780
|
113
113
|
description: This gem provides implements instrumentation with Errplane for Rails
|
114
114
|
2.3.x and 3.x applications.
|
115
115
|
email:
|