sipgate_io 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/config/routes.rb +0 -2
- data/lib/sipgate_io/engine.rb +5 -0
- data/lib/sipgate_io/route_extension.rb +7 -0
- data/lib/sipgate_io/version.rb +1 -1
- data/lib/sipgate_io.rb +1 -0
- data/test/dummy/config/routes.rb +1 -2
- data/test/dummy/log/development.log +90 -0
- data/test/dummy/log/test.log +1505 -0
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 57d41a830962b9b073c635138f99a9cae29946bb
|
4
|
+
data.tar.gz: 7654d3ddb97dfb17f81940b96a589a030646a96f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 65de1ef4b72372e87662afc51e24ada4af3f01dde8ecb0cd72d58cab4a6eb573bfe98ecf589232e74eb443d90397faef6cb9fb0e5783df71282481603d8e4e1a
|
7
|
+
data.tar.gz: 312b2737ed8d889a78def52e10a053b027002c1e9b4aa0751fab4b76422fb6ab7db4f94034d398e8bd040406847de92a7d4699ed36b8b30e733399a9d9b5194f
|
data/config/routes.rb
CHANGED
data/lib/sipgate_io/engine.rb
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
module SipgateIo
|
2
2
|
class Engine < ::Rails::Engine
|
3
3
|
isolate_namespace SipgateIo
|
4
|
+
initializer 'sipgate_io.routes',
|
5
|
+
after: 'action_dispatch.prepare_dispatcher' do |app|
|
6
|
+
|
7
|
+
ActionDispatch::Routing::Mapper.send :include, SipgateIo::RouteExtensions
|
8
|
+
end
|
4
9
|
end
|
5
10
|
end
|
data/lib/sipgate_io/version.rb
CHANGED
data/lib/sipgate_io.rb
CHANGED
data/test/dummy/config/routes.rb
CHANGED
@@ -16,3 +16,93 @@ Started POST "/sipgate_io/events/create" for 217.116.118.254 at 2016-02-11 13:20
|
|
16
16
|
Processing by SipgateIo::EventsController#create as XML
|
17
17
|
Parameters: {"event"=>"newCall", "direction"=>"out", "from"=>"4915792303200", "to"=>"491624275122", "callId"=>"7482429611629850748", "user"=>["Christian Schmidt"]}
|
18
18
|
Completed 200 OK in 4ms (Views: 0.6ms | ActiveRecord: 0.0ms)
|
19
|
+
|
20
|
+
|
21
|
+
Started POST "/sipgate_io" for 217.116.118.254 at 2016-02-12 21:38:16 +0100
|
22
|
+
|
23
|
+
ActionController::RoutingError (No route matches [POST] "/sipgate_io"):
|
24
|
+
actionpack (4.2.5.1) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
|
25
|
+
actionpack (4.2.5.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
|
26
|
+
railties (4.2.5.1) lib/rails/rack/logger.rb:38:in `call_app'
|
27
|
+
railties (4.2.5.1) lib/rails/rack/logger.rb:20:in `block in call'
|
28
|
+
activesupport (4.2.5.1) lib/active_support/tagged_logging.rb:68:in `block in tagged'
|
29
|
+
activesupport (4.2.5.1) lib/active_support/tagged_logging.rb:26:in `tagged'
|
30
|
+
activesupport (4.2.5.1) lib/active_support/tagged_logging.rb:68:in `tagged'
|
31
|
+
railties (4.2.5.1) lib/rails/rack/logger.rb:20:in `call'
|
32
|
+
actionpack (4.2.5.1) lib/action_dispatch/middleware/request_id.rb:21:in `call'
|
33
|
+
rack (1.6.4) lib/rack/methodoverride.rb:22:in `call'
|
34
|
+
rack (1.6.4) lib/rack/runtime.rb:18:in `call'
|
35
|
+
activesupport (4.2.5.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
|
36
|
+
rack (1.6.4) lib/rack/lock.rb:17:in `call'
|
37
|
+
actionpack (4.2.5.1) lib/action_dispatch/middleware/static.rb:116:in `call'
|
38
|
+
rack (1.6.4) lib/rack/sendfile.rb:113:in `call'
|
39
|
+
railties (4.2.5.1) lib/rails/engine.rb:518:in `call'
|
40
|
+
railties (4.2.5.1) lib/rails/application.rb:165:in `call'
|
41
|
+
rack (1.6.4) lib/rack/lock.rb:17:in `call'
|
42
|
+
rack (1.6.4) lib/rack/content_length.rb:15:in `call'
|
43
|
+
rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service'
|
44
|
+
/Users/christian/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service'
|
45
|
+
/Users/christian/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run'
|
46
|
+
/Users/christian/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread'
|
47
|
+
|
48
|
+
|
49
|
+
Rendered /Users/christian/.rvm/gems/ruby-2.2.3/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.9ms)
|
50
|
+
Rendered /Users/christian/.rvm/gems/ruby-2.2.3/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.1ms)
|
51
|
+
Rendered /Users/christian/.rvm/gems/ruby-2.2.3/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.1ms)
|
52
|
+
Rendered /Users/christian/.rvm/gems/ruby-2.2.3/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/routes/_table.html.erb (14.4ms)
|
53
|
+
Rendered /Users/christian/.rvm/gems/ruby-2.2.3/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (13.4ms)
|
54
|
+
Rendered /Users/christian/.rvm/gems/ruby-2.2.3/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (116.6ms)
|
55
|
+
|
56
|
+
|
57
|
+
Started POST "/sipgate_io/events/create" for 217.116.118.254 at 2016-02-12 21:39:05 +0100
|
58
|
+
Processing by SipgateIo::EventsController#create as XML
|
59
|
+
Parameters: {"event"=>"newCall", "direction"=>"out", "from"=>"4915792303200", "to"=>"498003303000", "callId"=>"4989247263841388750", "user"=>["Christian Schmidt"]}
|
60
|
+
Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
61
|
+
|
62
|
+
|
63
|
+
Started POST "/sipgate_io" for 217.116.118.254 at 2016-02-12 21:44:52 +0100
|
64
|
+
Processing by SipgateIo::EventsController#create as XML
|
65
|
+
Parameters: {"event"=>"newCall", "direction"=>"out", "from"=>"4915792303200", "to"=>"498003303000", "callId"=>"6499012522432278276", "user"=>["Christian Schmidt"]}
|
66
|
+
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
67
|
+
|
68
|
+
|
69
|
+
Started POST "/sipgate_io" for 217.116.118.254 at 2016-02-12 21:53:15 +0100
|
70
|
+
|
71
|
+
ActionController::RoutingError (No route matches [POST] "/sipgate_io"):
|
72
|
+
actionpack (4.2.5.1) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
|
73
|
+
actionpack (4.2.5.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
|
74
|
+
railties (4.2.5.1) lib/rails/rack/logger.rb:38:in `call_app'
|
75
|
+
railties (4.2.5.1) lib/rails/rack/logger.rb:20:in `block in call'
|
76
|
+
activesupport (4.2.5.1) lib/active_support/tagged_logging.rb:68:in `block in tagged'
|
77
|
+
activesupport (4.2.5.1) lib/active_support/tagged_logging.rb:26:in `tagged'
|
78
|
+
activesupport (4.2.5.1) lib/active_support/tagged_logging.rb:68:in `tagged'
|
79
|
+
railties (4.2.5.1) lib/rails/rack/logger.rb:20:in `call'
|
80
|
+
actionpack (4.2.5.1) lib/action_dispatch/middleware/request_id.rb:21:in `call'
|
81
|
+
rack (1.6.4) lib/rack/methodoverride.rb:22:in `call'
|
82
|
+
rack (1.6.4) lib/rack/runtime.rb:18:in `call'
|
83
|
+
activesupport (4.2.5.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
|
84
|
+
rack (1.6.4) lib/rack/lock.rb:17:in `call'
|
85
|
+
actionpack (4.2.5.1) lib/action_dispatch/middleware/static.rb:116:in `call'
|
86
|
+
rack (1.6.4) lib/rack/sendfile.rb:113:in `call'
|
87
|
+
railties (4.2.5.1) lib/rails/engine.rb:518:in `call'
|
88
|
+
railties (4.2.5.1) lib/rails/application.rb:165:in `call'
|
89
|
+
rack (1.6.4) lib/rack/lock.rb:17:in `call'
|
90
|
+
rack (1.6.4) lib/rack/content_length.rb:15:in `call'
|
91
|
+
rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service'
|
92
|
+
/Users/christian/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service'
|
93
|
+
/Users/christian/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run'
|
94
|
+
/Users/christian/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread'
|
95
|
+
|
96
|
+
|
97
|
+
Rendered /Users/christian/.rvm/gems/ruby-2.2.3/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.7ms)
|
98
|
+
Rendered /Users/christian/.rvm/gems/ruby-2.2.3/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.1ms)
|
99
|
+
Rendered /Users/christian/.rvm/gems/ruby-2.2.3/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.1ms)
|
100
|
+
Rendered /Users/christian/.rvm/gems/ruby-2.2.3/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/routes/_table.html.erb (12.7ms)
|
101
|
+
Rendered /Users/christian/.rvm/gems/ruby-2.2.3/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (9.6ms)
|
102
|
+
Rendered /Users/christian/.rvm/gems/ruby-2.2.3/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (102.2ms)
|
103
|
+
|
104
|
+
|
105
|
+
Started POST "/sipgate_io" for 217.116.118.254 at 2016-02-12 21:53:57 +0100
|
106
|
+
Processing by SipgateIo::EventsController#create as XML
|
107
|
+
Parameters: {"event"=>"newCall", "direction"=>"out", "from"=>"4915792303200", "to"=>"498003303000", "callId"=>"2400977796991724418", "user"=>["Christian Schmidt"]}
|
108
|
+
Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|