adhearsion-asterisk 1.3.1 → 1.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +1 -0
- data/CHANGELOG.md +3 -0
- data/adhearsion-asterisk.gemspec +5 -8
- data/lib/adhearsion/asterisk/call_controller_methods.rb +13 -0
- data/lib/adhearsion/asterisk/version.rb +1 -1
- data/spec/adhearsion/asterisk/call_controller_methods_spec.rb +117 -73
- data/spec/adhearsion/asterisk/config_generators/agents_spec.rb +2 -2
- data/spec/adhearsion/asterisk/config_generators/queues_spec.rb +15 -15
- data/spec/adhearsion/asterisk/config_manager_spec.rb +1 -1
- data/spec/adhearsion/asterisk/plugin_spec.rb +1 -1
- data/spec/adhearsion/asterisk/queue_proxy/agent_proxy_spec.rb +20 -20
- data/spec/adhearsion/asterisk/queue_proxy/queue_agents_list_proxy_spec.rb +35 -35
- data/spec/adhearsion/asterisk/queue_proxy_spec.rb +41 -41
- data/spec/spec_helper.rb +0 -2
- metadata +37 -115
data/spec/spec_helper.rb
CHANGED
@@ -12,12 +12,10 @@ SimpleCov.start do
|
|
12
12
|
end
|
13
13
|
|
14
14
|
require 'adhearsion/asterisk'
|
15
|
-
require 'mocha'
|
16
15
|
|
17
16
|
Dir[File.dirname(__FILE__) + "/support/**/*.rb"].each {|f| require f}
|
18
17
|
|
19
18
|
RSpec.configure do |config|
|
20
|
-
config.mock_with :mocha
|
21
19
|
config.filter_run :focus => true
|
22
20
|
config.run_all_when_everything_filtered = true
|
23
21
|
end
|
metadata
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: adhearsion-asterisk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
5
|
-
prerelease:
|
4
|
+
version: 1.4.0
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Ben Langfeld
|
@@ -11,12 +10,11 @@ authors:
|
|
11
10
|
autorequire:
|
12
11
|
bindir: bin
|
13
12
|
cert_chain: []
|
14
|
-
date:
|
13
|
+
date: 2013-05-10 00:00:00.000000000 Z
|
15
14
|
dependencies:
|
16
15
|
- !ruby/object:Gem::Dependency
|
17
16
|
name: adhearsion
|
18
17
|
requirement: !ruby/object:Gem::Requirement
|
19
|
-
none: false
|
20
18
|
requirements:
|
21
19
|
- - ~>
|
22
20
|
- !ruby/object:Gem::Version
|
@@ -24,7 +22,6 @@ dependencies:
|
|
24
22
|
type: :runtime
|
25
23
|
prerelease: false
|
26
24
|
version_requirements: !ruby/object:Gem::Requirement
|
27
|
-
none: false
|
28
25
|
requirements:
|
29
26
|
- - ~>
|
30
27
|
- !ruby/object:Gem::Version
|
@@ -32,211 +29,143 @@ dependencies:
|
|
32
29
|
- !ruby/object:Gem::Dependency
|
33
30
|
name: activesupport
|
34
31
|
requirement: !ruby/object:Gem::Requirement
|
35
|
-
none: false
|
36
32
|
requirements:
|
37
|
-
- -
|
33
|
+
- - ~>
|
38
34
|
- !ruby/object:Gem::Version
|
39
|
-
version: 3.0
|
35
|
+
version: '3.0'
|
40
36
|
type: :runtime
|
41
37
|
prerelease: false
|
42
38
|
version_requirements: !ruby/object:Gem::Requirement
|
43
|
-
none: false
|
44
39
|
requirements:
|
45
|
-
- -
|
40
|
+
- - ~>
|
46
41
|
- !ruby/object:Gem::Version
|
47
|
-
version: 3.0
|
42
|
+
version: '3.0'
|
48
43
|
- !ruby/object:Gem::Dependency
|
49
44
|
name: bundler
|
50
45
|
requirement: !ruby/object:Gem::Requirement
|
51
|
-
none: false
|
52
46
|
requirements:
|
53
|
-
- -
|
47
|
+
- - ~>
|
54
48
|
- !ruby/object:Gem::Version
|
55
|
-
version: 1.0
|
49
|
+
version: '1.0'
|
56
50
|
type: :development
|
57
51
|
prerelease: false
|
58
52
|
version_requirements: !ruby/object:Gem::Requirement
|
59
|
-
none: false
|
60
53
|
requirements:
|
61
|
-
- -
|
54
|
+
- - ~>
|
62
55
|
- !ruby/object:Gem::Version
|
63
|
-
version: 1.0
|
56
|
+
version: '1.0'
|
64
57
|
- !ruby/object:Gem::Dependency
|
65
58
|
name: rspec
|
66
59
|
requirement: !ruby/object:Gem::Requirement
|
67
|
-
none: false
|
68
60
|
requirements:
|
69
|
-
- -
|
61
|
+
- - ~>
|
70
62
|
- !ruby/object:Gem::Version
|
71
|
-
version: 2.5
|
63
|
+
version: '2.5'
|
72
64
|
type: :development
|
73
65
|
prerelease: false
|
74
66
|
version_requirements: !ruby/object:Gem::Requirement
|
75
|
-
none: false
|
76
67
|
requirements:
|
77
|
-
- -
|
68
|
+
- - ~>
|
78
69
|
- !ruby/object:Gem::Version
|
79
|
-
version: 2.5
|
70
|
+
version: '2.5'
|
80
71
|
- !ruby/object:Gem::Dependency
|
81
72
|
name: ci_reporter
|
82
73
|
requirement: !ruby/object:Gem::Requirement
|
83
|
-
none: false
|
84
74
|
requirements:
|
85
|
-
- -
|
75
|
+
- - ~>
|
86
76
|
- !ruby/object:Gem::Version
|
87
|
-
version: 1.6
|
77
|
+
version: '1.6'
|
88
78
|
type: :development
|
89
79
|
prerelease: false
|
90
80
|
version_requirements: !ruby/object:Gem::Requirement
|
91
|
-
none: false
|
92
81
|
requirements:
|
93
|
-
- -
|
82
|
+
- - ~>
|
94
83
|
- !ruby/object:Gem::Version
|
95
|
-
version: 1.6
|
84
|
+
version: '1.6'
|
96
85
|
- !ruby/object:Gem::Dependency
|
97
86
|
name: simplecov
|
98
87
|
requirement: !ruby/object:Gem::Requirement
|
99
|
-
none: false
|
100
88
|
requirements:
|
101
|
-
- -
|
89
|
+
- - '>='
|
102
90
|
- !ruby/object:Gem::Version
|
103
91
|
version: '0'
|
104
92
|
type: :development
|
105
93
|
prerelease: false
|
106
94
|
version_requirements: !ruby/object:Gem::Requirement
|
107
|
-
none: false
|
108
95
|
requirements:
|
109
|
-
- -
|
96
|
+
- - '>='
|
110
97
|
- !ruby/object:Gem::Version
|
111
98
|
version: '0'
|
112
99
|
- !ruby/object:Gem::Dependency
|
113
100
|
name: simplecov-rcov
|
114
101
|
requirement: !ruby/object:Gem::Requirement
|
115
|
-
none: false
|
116
102
|
requirements:
|
117
|
-
- -
|
103
|
+
- - '>='
|
118
104
|
- !ruby/object:Gem::Version
|
119
105
|
version: '0'
|
120
106
|
type: :development
|
121
107
|
prerelease: false
|
122
108
|
version_requirements: !ruby/object:Gem::Requirement
|
123
|
-
none: false
|
124
109
|
requirements:
|
125
|
-
- -
|
110
|
+
- - '>='
|
126
111
|
- !ruby/object:Gem::Version
|
127
112
|
version: '0'
|
128
113
|
- !ruby/object:Gem::Dependency
|
129
114
|
name: yard
|
130
115
|
requirement: !ruby/object:Gem::Requirement
|
131
|
-
none: false
|
132
116
|
requirements:
|
133
|
-
- -
|
117
|
+
- - ~>
|
134
118
|
- !ruby/object:Gem::Version
|
135
|
-
version: 0.6
|
119
|
+
version: '0.6'
|
136
120
|
type: :development
|
137
121
|
prerelease: false
|
138
122
|
version_requirements: !ruby/object:Gem::Requirement
|
139
|
-
none: false
|
140
123
|
requirements:
|
141
|
-
- -
|
124
|
+
- - ~>
|
142
125
|
- !ruby/object:Gem::Version
|
143
|
-
version: 0.6
|
126
|
+
version: '0.6'
|
144
127
|
- !ruby/object:Gem::Dependency
|
145
128
|
name: rake
|
146
129
|
requirement: !ruby/object:Gem::Requirement
|
147
|
-
none: false
|
148
|
-
requirements:
|
149
|
-
- - ! '>='
|
150
|
-
- !ruby/object:Gem::Version
|
151
|
-
version: '0'
|
152
|
-
type: :development
|
153
|
-
prerelease: false
|
154
|
-
version_requirements: !ruby/object:Gem::Requirement
|
155
|
-
none: false
|
156
|
-
requirements:
|
157
|
-
- - ! '>='
|
158
|
-
- !ruby/object:Gem::Version
|
159
|
-
version: '0'
|
160
|
-
- !ruby/object:Gem::Dependency
|
161
|
-
name: mocha
|
162
|
-
requirement: !ruby/object:Gem::Requirement
|
163
|
-
none: false
|
164
130
|
requirements:
|
165
|
-
- -
|
131
|
+
- - '>='
|
166
132
|
- !ruby/object:Gem::Version
|
167
133
|
version: '0'
|
168
134
|
type: :development
|
169
135
|
prerelease: false
|
170
136
|
version_requirements: !ruby/object:Gem::Requirement
|
171
|
-
none: false
|
172
137
|
requirements:
|
173
|
-
- -
|
174
|
-
- !ruby/object:Gem::Version
|
175
|
-
version: '0'
|
176
|
-
- !ruby/object:Gem::Dependency
|
177
|
-
name: bones
|
178
|
-
requirement: !ruby/object:Gem::Requirement
|
179
|
-
none: false
|
180
|
-
requirements:
|
181
|
-
- - ! '>='
|
182
|
-
- !ruby/object:Gem::Version
|
183
|
-
version: '0'
|
184
|
-
type: :development
|
185
|
-
prerelease: false
|
186
|
-
version_requirements: !ruby/object:Gem::Requirement
|
187
|
-
none: false
|
188
|
-
requirements:
|
189
|
-
- - ! '>='
|
138
|
+
- - '>='
|
190
139
|
- !ruby/object:Gem::Version
|
191
140
|
version: '0'
|
192
141
|
- !ruby/object:Gem::Dependency
|
193
142
|
name: guard-rspec
|
194
143
|
requirement: !ruby/object:Gem::Requirement
|
195
|
-
none: false
|
196
144
|
requirements:
|
197
|
-
- -
|
145
|
+
- - '>='
|
198
146
|
- !ruby/object:Gem::Version
|
199
147
|
version: '0'
|
200
148
|
type: :development
|
201
149
|
prerelease: false
|
202
150
|
version_requirements: !ruby/object:Gem::Requirement
|
203
|
-
none: false
|
204
151
|
requirements:
|
205
|
-
- -
|
152
|
+
- - '>='
|
206
153
|
- !ruby/object:Gem::Version
|
207
154
|
version: '0'
|
208
155
|
- !ruby/object:Gem::Dependency
|
209
156
|
name: ruby_gntp
|
210
157
|
requirement: !ruby/object:Gem::Requirement
|
211
|
-
none: false
|
212
158
|
requirements:
|
213
|
-
- -
|
159
|
+
- - '>='
|
214
160
|
- !ruby/object:Gem::Version
|
215
161
|
version: '0'
|
216
162
|
type: :development
|
217
163
|
prerelease: false
|
218
164
|
version_requirements: !ruby/object:Gem::Requirement
|
219
|
-
none: false
|
220
165
|
requirements:
|
221
|
-
- -
|
166
|
+
- - '>='
|
222
167
|
- !ruby/object:Gem::Version
|
223
168
|
version: '0'
|
224
|
-
- !ruby/object:Gem::Dependency
|
225
|
-
name: thor
|
226
|
-
requirement: !ruby/object:Gem::Requirement
|
227
|
-
none: false
|
228
|
-
requirements:
|
229
|
-
- - ~>
|
230
|
-
- !ruby/object:Gem::Version
|
231
|
-
version: 0.14.0
|
232
|
-
type: :development
|
233
|
-
prerelease: false
|
234
|
-
version_requirements: !ruby/object:Gem::Requirement
|
235
|
-
none: false
|
236
|
-
requirements:
|
237
|
-
- - ~>
|
238
|
-
- !ruby/object:Gem::Version
|
239
|
-
version: 0.14.0
|
240
169
|
description: An Adhearsion Plugin providing Asterisk-specific dialplan methods, AMI
|
241
170
|
access, and access to Asterisk configuration
|
242
171
|
email:
|
@@ -286,33 +215,26 @@ files:
|
|
286
215
|
- spec/support/the_following_code.rb
|
287
216
|
homepage: http://adhearsion.com
|
288
217
|
licenses: []
|
218
|
+
metadata: {}
|
289
219
|
post_install_message:
|
290
220
|
rdoc_options: []
|
291
221
|
require_paths:
|
292
222
|
- lib
|
293
223
|
required_ruby_version: !ruby/object:Gem::Requirement
|
294
|
-
none: false
|
295
224
|
requirements:
|
296
|
-
- -
|
225
|
+
- - '>='
|
297
226
|
- !ruby/object:Gem::Version
|
298
227
|
version: '0'
|
299
|
-
segments:
|
300
|
-
- 0
|
301
|
-
hash: 1169002231501236776
|
302
228
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
303
|
-
none: false
|
304
229
|
requirements:
|
305
|
-
- -
|
230
|
+
- - '>='
|
306
231
|
- !ruby/object:Gem::Version
|
307
232
|
version: '0'
|
308
|
-
segments:
|
309
|
-
- 0
|
310
|
-
hash: 1169002231501236776
|
311
233
|
requirements: []
|
312
234
|
rubyforge_project: adhearsion-asterisk
|
313
|
-
rubygems_version:
|
235
|
+
rubygems_version: 2.0.0
|
314
236
|
signing_key:
|
315
|
-
specification_version:
|
237
|
+
specification_version: 4
|
316
238
|
summary: Asterisk specific features for Adhearsion
|
317
239
|
test_files:
|
318
240
|
- spec/adhearsion/asterisk/call_controller_methods_spec.rb
|