sipgate_io 0.3.3 → 0.3.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/sipgate_io/version.rb +1 -1
- data/test/dummy/log/test.log +179 -0
- metadata +21 -20
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 769953234b9be44a7ece9b9d2336d37369747d40
|
4
|
+
data.tar.gz: 05cde2d18793140bc816cef55dbbb40dda9b1937
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fc827157aa690bf679ec359375ca621ccf905806e9d7fd309efe79c55f77a212d8d366c1b7a063406d6b19802645c174b4a130dbf85ff84c237968cf1193b7d3
|
7
|
+
data.tar.gz: 56b0a31e5ffafda78aaf4356d195567293e6c74f9a4d658175860ad9925ee523d4284b20be7f9b8d66ff1df4b6a7b8cfa213aa3bec0f5148032719e43005cbc6
|
data/lib/sipgate_io/version.rb
CHANGED
data/test/dummy/log/test.log
CHANGED
@@ -29005,3 +29005,182 @@ SipgateIo::XmlResponseTestTest: test_play_with_url_and_callback
|
|
29005
29005
|
SipgateIo::XmlResponseTestTest: test_play_with_url
|
29006
29006
|
--------------------------------------------------
|
29007
29007
|
[1m[35m (0.0ms)[0m rollback transaction
|
29008
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
29009
|
+
---------------------------------------------------------------------
|
29010
|
+
SipgateIo::EventsControllerTest: test_a_new_call_with_missing_to/from
|
29011
|
+
---------------------------------------------------------------------
|
29012
|
+
Processing by SipgateIo::EventsController#create as HTML
|
29013
|
+
Parameters: {"direction"=>"in", "event"=>"newCall", "callId"=>"55555", "user"=>["Bob"]}
|
29014
|
+
Completed 500 Internal Server Error in 18ms (ActiveRecord: 0.0ms)
|
29015
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
29016
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
29017
|
+
------------------------------------------------
|
29018
|
+
SipgateIo::EventsControllerTest: test_a_new_call
|
29019
|
+
------------------------------------------------
|
29020
|
+
Processing by SipgateIo::EventsController#create as HTML
|
29021
|
+
Parameters: {"to"=>"12345", "from"=>"anonymous", "direction"=>"in", "event"=>"newCall", "callId"=>"55555", "user"=>["Bob"]}
|
29022
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
29023
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
29024
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
29025
|
+
-------------------------------------------------------
|
29026
|
+
SipgateIo::EventsControllerTest: test_an_invalid_answer
|
29027
|
+
-------------------------------------------------------
|
29028
|
+
Processing by SipgateIo::EventsController#create as HTML
|
29029
|
+
Parameters: {"event"=>"answer", "callId"=>"55555"}
|
29030
|
+
Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)
|
29031
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
29032
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
29033
|
+
---------------------------------------------------------------------
|
29034
|
+
SipgateIo::EventsControllerTest: test_a_new_call_with_invalid_to/from
|
29035
|
+
---------------------------------------------------------------------
|
29036
|
+
Processing by SipgateIo::EventsController#create as HTML
|
29037
|
+
Parameters: {"to"=>"", "from"=>"peter", "direction"=>"in", "event"=>"newCall", "callId"=>"55555", "user"=>["Bob"]}
|
29038
|
+
Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.0ms)
|
29039
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
29040
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
29041
|
+
--------------------------------------------------
|
29042
|
+
SipgateIo::EventsControllerTest: test_a_valid_dtmf
|
29043
|
+
--------------------------------------------------
|
29044
|
+
Processing by SipgateIo::EventsController#create as HTML
|
29045
|
+
Parameters: {"event"=>"dtmf", "callId"=>"55555", "dtmf"=>"1234"}
|
29046
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
29047
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
29048
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
29049
|
+
-------------------------------------------------------
|
29050
|
+
SipgateIo::EventsControllerTest: test_an_invalid_hangup
|
29051
|
+
-------------------------------------------------------
|
29052
|
+
Processing by SipgateIo::EventsController#create as HTML
|
29053
|
+
Parameters: {"event"=>"hangup", "callId"=>"55555", "cause"=>"idk"}
|
29054
|
+
Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)
|
29055
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
29056
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
29057
|
+
----------------------------------------------------
|
29058
|
+
SipgateIo::EventsControllerTest: test_a_valid_hangup
|
29059
|
+
----------------------------------------------------
|
29060
|
+
Processing by SipgateIo::EventsController#create as HTML
|
29061
|
+
Parameters: {"event"=>"hangup", "callId"=>"55555", "cause"=>"normalClearing"}
|
29062
|
+
Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
29063
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
29064
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
29065
|
+
---------------------------------------------------------------------
|
29066
|
+
SipgateIo::EventsControllerTest: test_create_without_params_gives_500
|
29067
|
+
---------------------------------------------------------------------
|
29068
|
+
Processing by SipgateIo::EventsController#create as HTML
|
29069
|
+
Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
|
29070
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
29071
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
29072
|
+
----------------------------------------------------
|
29073
|
+
SipgateIo::EventsControllerTest: test_a_valid_answer
|
29074
|
+
----------------------------------------------------
|
29075
|
+
Processing by SipgateIo::EventsController#create as HTML
|
29076
|
+
Parameters: {"event"=>"answer", "callId"=>"55555", "user"=>["Bob"]}
|
29077
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
29078
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
29079
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
29080
|
+
-----------------------------------------------------
|
29081
|
+
SipgateIo::EventsControllerTest: test_an_invalid_dtmf
|
29082
|
+
-----------------------------------------------------
|
29083
|
+
Processing by SipgateIo::EventsController#create as HTML
|
29084
|
+
Parameters: {"event"=>"dtmf", "callId"=>"55555", "dtmf"=>"1234abc"}
|
29085
|
+
Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
|
29086
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
29087
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
29088
|
+
------------------------------------------------------------
|
29089
|
+
SipgateIo::XmlResponseTestTest: test_call_redirect_to_number
|
29090
|
+
------------------------------------------------------------
|
29091
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
29092
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
29093
|
+
---------------------------------------------------
|
29094
|
+
SipgateIo::XmlResponseTestTest: test_only_on_hangup
|
29095
|
+
---------------------------------------------------
|
29096
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
29097
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
29098
|
+
---------------------------------------------------
|
29099
|
+
SipgateIo::XmlResponseTestTest: test_only_on_answer
|
29100
|
+
---------------------------------------------------
|
29101
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
29102
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
29103
|
+
----------------------------------------------------------
|
29104
|
+
SipgateIo::XmlResponseTestTest: test_reject_without_reason
|
29105
|
+
----------------------------------------------------------
|
29106
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
29107
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
29108
|
+
-------------------------------------------------------
|
29109
|
+
SipgateIo::XmlResponseTestTest: test_reject_with_reason
|
29110
|
+
-------------------------------------------------------
|
29111
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
29112
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
29113
|
+
----------------------------------------------------------------------
|
29114
|
+
SipgateIo::XmlResponseTestTest: test_call_redirect_to_number_with_clip
|
29115
|
+
----------------------------------------------------------------------
|
29116
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
29117
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
29118
|
+
-----------------------------------------------------------------------------------
|
29119
|
+
SipgateIo::XmlResponseTestTest: test_call_redirect_to_number_with_clip_and_callback
|
29120
|
+
-----------------------------------------------------------------------------------
|
29121
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
29122
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
29123
|
+
--------------------------------------------------------------------------
|
29124
|
+
SipgateIo::XmlResponseTestTest: test_gather_xml_response_without_parameter
|
29125
|
+
--------------------------------------------------------------------------
|
29126
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
29127
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
29128
|
+
------------------------------------------------------------------------------------
|
29129
|
+
SipgateIo::XmlResponseTestTest: test_gather_xml_response_with_parameter_and_callback
|
29130
|
+
------------------------------------------------------------------------------------
|
29131
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
29132
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
29133
|
+
-----------------------------------------------------------------------
|
29134
|
+
SipgateIo::XmlResponseTestTest: test_gather_xml_response_with_parameter
|
29135
|
+
-----------------------------------------------------------------------
|
29136
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
29137
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
29138
|
+
---------------------------------------------------------------------------------
|
29139
|
+
SipgateIo::XmlResponseTestTest: test_hangup_xml_response_with_on_hangup_parameter
|
29140
|
+
---------------------------------------------------------------------------------
|
29141
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
29142
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
29143
|
+
---------------------------------------------------------------
|
29144
|
+
SipgateIo::XmlResponseTestTest: test_call_redirect_to_voicemail
|
29145
|
+
---------------------------------------------------------------
|
29146
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
29147
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
29148
|
+
---------------------------------------------------------------------------------
|
29149
|
+
SipgateIo::XmlResponseTestTest: test_hangup_xml_response_with_on_answer_parameter
|
29150
|
+
---------------------------------------------------------------------------------
|
29151
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
29152
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
29153
|
+
--------------------------------------------------
|
29154
|
+
SipgateIo::XmlResponseTestTest: test_play_with_url
|
29155
|
+
--------------------------------------------------
|
29156
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
29157
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
29158
|
+
--------------------------------------------------------------------------
|
29159
|
+
SipgateIo::XmlResponseTestTest: test_hangup_xml_response_without_parameter
|
29160
|
+
--------------------------------------------------------------------------
|
29161
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
29162
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
29163
|
+
---------------------------------------------------------------
|
29164
|
+
SipgateIo::XmlResponseTestTest: test_play_with_url_and_callback
|
29165
|
+
---------------------------------------------------------------
|
29166
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
29167
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
29168
|
+
--------------------------------------------------------------------
|
29169
|
+
SipgateIo::XmlResponseTestTest: test_reject_with_reason_and_callback
|
29170
|
+
--------------------------------------------------------------------
|
29171
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
29172
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
29173
|
+
----------------------------------------------------------------------
|
29174
|
+
SipgateIo::XmlResponseTestTest: test_gather_xml_response_with_callback
|
29175
|
+
----------------------------------------------------------------------
|
29176
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
29177
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
29178
|
+
---------------------------------------------------------------------------
|
29179
|
+
SipgateIo::XmlResponseTestTest: test_call_redirect_to_number_with_anonymous
|
29180
|
+
---------------------------------------------------------------------------
|
29181
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
29182
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
29183
|
+
-------------------------
|
29184
|
+
SipgateIoTest: test_truth
|
29185
|
+
-------------------------
|
29186
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
metadata
CHANGED
@@ -1,75 +1,75 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sipgate_io
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Schmidt
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-02-
|
11
|
+
date: 2016-02-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: actionpack
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '4.2'
|
20
|
-
- - "
|
20
|
+
- - "<="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version:
|
22
|
+
version: '5.1'
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
26
26
|
requirements:
|
27
|
-
- - "
|
27
|
+
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
29
|
version: '4.2'
|
30
|
-
- - "
|
30
|
+
- - "<="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version:
|
32
|
+
version: '5.1'
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: activemodel
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
36
36
|
requirements:
|
37
|
-
- - "
|
37
|
+
- - ">="
|
38
38
|
- !ruby/object:Gem::Version
|
39
39
|
version: '4.2'
|
40
|
-
- - "
|
40
|
+
- - "<="
|
41
41
|
- !ruby/object:Gem::Version
|
42
|
-
version:
|
42
|
+
version: '5.1'
|
43
43
|
type: :runtime
|
44
44
|
prerelease: false
|
45
45
|
version_requirements: !ruby/object:Gem::Requirement
|
46
46
|
requirements:
|
47
|
-
- - "
|
47
|
+
- - ">="
|
48
48
|
- !ruby/object:Gem::Version
|
49
49
|
version: '4.2'
|
50
|
-
- - "
|
50
|
+
- - "<="
|
51
51
|
- !ruby/object:Gem::Version
|
52
|
-
version:
|
52
|
+
version: '5.1'
|
53
53
|
- !ruby/object:Gem::Dependency
|
54
54
|
name: rails
|
55
55
|
requirement: !ruby/object:Gem::Requirement
|
56
56
|
requirements:
|
57
|
-
- - "
|
57
|
+
- - ">="
|
58
58
|
- !ruby/object:Gem::Version
|
59
59
|
version: '4.2'
|
60
|
-
- - "
|
60
|
+
- - "<="
|
61
61
|
- !ruby/object:Gem::Version
|
62
|
-
version:
|
62
|
+
version: '5.1'
|
63
63
|
type: :development
|
64
64
|
prerelease: false
|
65
65
|
version_requirements: !ruby/object:Gem::Requirement
|
66
66
|
requirements:
|
67
|
-
- - "
|
67
|
+
- - ">="
|
68
68
|
- !ruby/object:Gem::Version
|
69
69
|
version: '4.2'
|
70
|
-
- - "
|
70
|
+
- - "<="
|
71
71
|
- !ruby/object:Gem::Version
|
72
|
-
version:
|
72
|
+
version: '5.1'
|
73
73
|
- !ruby/object:Gem::Dependency
|
74
74
|
name: sqlite3
|
75
75
|
requirement: !ruby/object:Gem::Requirement
|
@@ -322,3 +322,4 @@ test_files:
|
|
322
322
|
- test/lib/sipgate_io/xml_response_test.rb
|
323
323
|
- test/sipgate_io_test.rb
|
324
324
|
- test/test_helper.rb
|
325
|
+
has_rdoc:
|