sipgate_io 0.3.3 → 0.3.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d250a89b7760c16184aafb4a732e0cee508dcf7d
4
- data.tar.gz: f5495d6e33dfee38b7325481418cf3450dafbf39
3
+ metadata.gz: 769953234b9be44a7ece9b9d2336d37369747d40
4
+ data.tar.gz: 05cde2d18793140bc816cef55dbbb40dda9b1937
5
5
  SHA512:
6
- metadata.gz: 386852cee73a88acc8adf787998d72bc8740d6e13660f36cdfcbb57dfabc48020ba093b535bed173add08ae15a1409add364d7cd8896e267da0c4fbc2fd99403
7
- data.tar.gz: 20632df508025f91b636bb2878a50d3709fdd334fa0363da5b70f37ed73d00b2de6e99e95fe18ee187d8d655d1e5208943412598a2e294617a3743aac12ff799
6
+ metadata.gz: fc827157aa690bf679ec359375ca621ccf905806e9d7fd309efe79c55f77a212d8d366c1b7a063406d6b19802645c174b4a130dbf85ff84c237968cf1193b7d3
7
+ data.tar.gz: 56b0a31e5ffafda78aaf4356d195567293e6c74f9a4d658175860ad9925ee523d4284b20be7f9b8d66ff1df4b6a7b8cfa213aa3bec0f5148032719e43005cbc6
@@ -1,3 +1,3 @@
1
1
  module SipgateIo
2
- VERSION = "0.3.3"
2
+ VERSION = "0.3.4"
3
3
  end
@@ -29005,3 +29005,182 @@ SipgateIo::XmlResponseTestTest: test_play_with_url_and_callback
29005
29005
  SipgateIo::XmlResponseTestTest: test_play_with_url
29006
29006
  --------------------------------------------------
29007
29007
   (0.0ms) rollback transaction
29008
+  (0.1ms) begin transaction
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
+  (0.1ms) rollback transaction
29016
+  (0.1ms) begin transaction
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
+  (0.1ms) rollback transaction
29024
+  (0.1ms) begin transaction
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
+  (0.1ms) rollback transaction
29032
+  (0.1ms) begin transaction
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
+  (0.1ms) rollback transaction
29040
+  (0.1ms) begin transaction
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
+  (0.1ms) rollback transaction
29048
+  (0.1ms) begin transaction
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
+  (0.1ms) rollback transaction
29056
+  (0.1ms) begin transaction
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
+  (0.1ms) rollback transaction
29064
+  (0.1ms) begin transaction
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
+  (0.1ms) rollback transaction
29071
+  (0.1ms) begin transaction
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
+  (0.3ms) rollback transaction
29079
+  (0.2ms) begin transaction
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
+  (0.1ms) rollback transaction
29087
+  (0.0ms) begin transaction
29088
+ ------------------------------------------------------------
29089
+ SipgateIo::XmlResponseTestTest: test_call_redirect_to_number
29090
+ ------------------------------------------------------------
29091
+  (0.0ms) rollback transaction
29092
+  (0.1ms) begin transaction
29093
+ ---------------------------------------------------
29094
+ SipgateIo::XmlResponseTestTest: test_only_on_hangup
29095
+ ---------------------------------------------------
29096
+  (0.0ms) rollback transaction
29097
+  (0.1ms) begin transaction
29098
+ ---------------------------------------------------
29099
+ SipgateIo::XmlResponseTestTest: test_only_on_answer
29100
+ ---------------------------------------------------
29101
+  (0.0ms) rollback transaction
29102
+  (0.0ms) begin transaction
29103
+ ----------------------------------------------------------
29104
+ SipgateIo::XmlResponseTestTest: test_reject_without_reason
29105
+ ----------------------------------------------------------
29106
+  (0.0ms) rollback transaction
29107
+  (0.0ms) begin transaction
29108
+ -------------------------------------------------------
29109
+ SipgateIo::XmlResponseTestTest: test_reject_with_reason
29110
+ -------------------------------------------------------
29111
+  (0.0ms) rollback transaction
29112
+  (0.1ms) begin transaction
29113
+ ----------------------------------------------------------------------
29114
+ SipgateIo::XmlResponseTestTest: test_call_redirect_to_number_with_clip
29115
+ ----------------------------------------------------------------------
29116
+  (0.0ms) rollback transaction
29117
+  (0.0ms) begin transaction
29118
+ -----------------------------------------------------------------------------------
29119
+ SipgateIo::XmlResponseTestTest: test_call_redirect_to_number_with_clip_and_callback
29120
+ -----------------------------------------------------------------------------------
29121
+  (0.0ms) rollback transaction
29122
+  (0.0ms) begin transaction
29123
+ --------------------------------------------------------------------------
29124
+ SipgateIo::XmlResponseTestTest: test_gather_xml_response_without_parameter
29125
+ --------------------------------------------------------------------------
29126
+  (0.0ms) rollback transaction
29127
+  (0.1ms) begin transaction
29128
+ ------------------------------------------------------------------------------------
29129
+ SipgateIo::XmlResponseTestTest: test_gather_xml_response_with_parameter_and_callback
29130
+ ------------------------------------------------------------------------------------
29131
+  (0.1ms) rollback transaction
29132
+  (0.1ms) begin transaction
29133
+ -----------------------------------------------------------------------
29134
+ SipgateIo::XmlResponseTestTest: test_gather_xml_response_with_parameter
29135
+ -----------------------------------------------------------------------
29136
+  (0.0ms) rollback transaction
29137
+  (0.0ms) begin transaction
29138
+ ---------------------------------------------------------------------------------
29139
+ SipgateIo::XmlResponseTestTest: test_hangup_xml_response_with_on_hangup_parameter
29140
+ ---------------------------------------------------------------------------------
29141
+  (0.0ms) rollback transaction
29142
+  (0.1ms) begin transaction
29143
+ ---------------------------------------------------------------
29144
+ SipgateIo::XmlResponseTestTest: test_call_redirect_to_voicemail
29145
+ ---------------------------------------------------------------
29146
+  (0.0ms) rollback transaction
29147
+  (0.0ms) begin transaction
29148
+ ---------------------------------------------------------------------------------
29149
+ SipgateIo::XmlResponseTestTest: test_hangup_xml_response_with_on_answer_parameter
29150
+ ---------------------------------------------------------------------------------
29151
+  (0.1ms) rollback transaction
29152
+  (0.1ms) begin transaction
29153
+ --------------------------------------------------
29154
+ SipgateIo::XmlResponseTestTest: test_play_with_url
29155
+ --------------------------------------------------
29156
+  (0.0ms) rollback transaction
29157
+  (0.0ms) begin transaction
29158
+ --------------------------------------------------------------------------
29159
+ SipgateIo::XmlResponseTestTest: test_hangup_xml_response_without_parameter
29160
+ --------------------------------------------------------------------------
29161
+  (0.0ms) rollback transaction
29162
+  (0.1ms) begin transaction
29163
+ ---------------------------------------------------------------
29164
+ SipgateIo::XmlResponseTestTest: test_play_with_url_and_callback
29165
+ ---------------------------------------------------------------
29166
+  (0.1ms) rollback transaction
29167
+  (0.0ms) begin transaction
29168
+ --------------------------------------------------------------------
29169
+ SipgateIo::XmlResponseTestTest: test_reject_with_reason_and_callback
29170
+ --------------------------------------------------------------------
29171
+  (0.0ms) rollback transaction
29172
+  (0.0ms) begin transaction
29173
+ ----------------------------------------------------------------------
29174
+ SipgateIo::XmlResponseTestTest: test_gather_xml_response_with_callback
29175
+ ----------------------------------------------------------------------
29176
+  (0.0ms) rollback transaction
29177
+  (0.0ms) begin transaction
29178
+ ---------------------------------------------------------------------------
29179
+ SipgateIo::XmlResponseTestTest: test_call_redirect_to_number_with_anonymous
29180
+ ---------------------------------------------------------------------------
29181
+  (0.0ms) rollback transaction
29182
+  (0.1ms) begin transaction
29183
+ -------------------------
29184
+ SipgateIoTest: test_truth
29185
+ -------------------------
29186
+  (0.0ms) 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.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-17 00:00:00.000000000 Z
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: 4.2.5.1
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: 4.2.5.1
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: 4.2.5.1
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: 4.2.5.1
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: 4.2.5.1
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: 4.2.5.1
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: