adhearsion 1.0.3 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +8 -0
- data/adhearsion.gemspec +1 -1
- data/app_generators/ahn/templates/events.rb +7 -0
- data/lib/adhearsion/cli.rb +14 -10
- data/lib/adhearsion/component_manager.rb +7 -0
- data/lib/adhearsion/console.rb +49 -0
- data/lib/adhearsion/events_support.rb +1 -0
- data/lib/adhearsion/initializer.rb +23 -4
- data/lib/adhearsion/logging.rb +4 -1
- data/lib/adhearsion/version.rb +6 -3
- data/lib/adhearsion/voip/asterisk/agi_server.rb +2 -3
- data/lib/adhearsion/voip/asterisk/commands.rb +6 -4
- data/lib/adhearsion/voip/asterisk/config_manager.rb +4 -11
- data/lib/adhearsion/voip/asterisk/manager_interface.rb +7 -1
- data/lib/adhearsion/voip/call.rb +23 -4
- data/lib/theatre.rb +2 -7
- data/lib/theatre/invocation.rb +0 -2
- data/spec/ahn_command_spec.rb +20 -8
- data/spec/initialization_spec.rb +1 -1
- data/spec/voip/asterisk/commands_spec.rb +7 -0
- data/spec/voip/asterisk/config_manager_spec.rb +1 -1
- metadata +379 -402
data/lib/theatre/invocation.rb
CHANGED
data/spec/ahn_command_spec.rb
CHANGED
@@ -76,39 +76,51 @@ describe "A simulated use of the 'ahn' command" do
|
|
76
76
|
it "arguments to 'start' are executed properly properly" do
|
77
77
|
some_path = "/tmp/blargh"
|
78
78
|
simulate_args "start", some_path
|
79
|
-
flexmock(Adhearsion::CLI::AhnCommand::CommandHandler).should_receive(:start).once.with(some_path,
|
79
|
+
flexmock(Adhearsion::CLI::AhnCommand::CommandHandler).should_receive(:start).once.with(some_path, :foreground, nil)
|
80
80
|
Adhearsion::CLI::AhnCommand.execute!
|
81
81
|
end
|
82
82
|
|
83
83
|
it "should execute arguments to 'start' for daemonizing properly" do
|
84
84
|
somewhere = "/tmp/blarghh"
|
85
85
|
simulate_args "start", 'daemon', somewhere
|
86
|
-
flexmock(Adhearsion::CLI::AhnCommand::CommandHandler).should_receive(:start).once.with(somewhere,
|
86
|
+
flexmock(Adhearsion::CLI::AhnCommand::CommandHandler).should_receive(:start).once.with(somewhere, :daemon, nil)
|
87
|
+
Adhearsion::CLI::AhnCommand.execute!
|
88
|
+
end
|
89
|
+
|
90
|
+
it "should execute arguments to 'start' for using a console properly" do
|
91
|
+
somewhere = "/tmp/blarghh"
|
92
|
+
simulate_args "start", 'console', somewhere
|
93
|
+
flexmock(Adhearsion::CLI::AhnCommand::CommandHandler).should_receive(:start).once.with(somewhere, :console, nil)
|
87
94
|
Adhearsion::CLI::AhnCommand.execute!
|
88
95
|
end
|
89
96
|
|
90
97
|
it 'parse_arguments should recognize start with daemon properly' do
|
91
98
|
path = '/path/to/somesuch'
|
92
|
-
arguments = [
|
93
|
-
Adhearsion::CLI::AhnCommand.parse_arguments(arguments).should == [:start, path,
|
99
|
+
arguments = ['start', 'daemon', path]
|
100
|
+
Adhearsion::CLI::AhnCommand.parse_arguments(arguments).should == [:start, path, :daemon, nil]
|
101
|
+
end
|
102
|
+
|
103
|
+
it 'should not allow both daemon and console to be specified' do
|
104
|
+
path = '/path/to/somesuch'
|
105
|
+
arguments = ['start', 'daemon', 'console', path]
|
106
|
+
lambda { Adhearsion::CLI::AhnCommand.parse_arguments(arguments) }.should raise_error Adhearsion::CLI::AhnCommand::CommandHandler::CLIException
|
94
107
|
end
|
95
108
|
|
96
109
|
it 'should recognize start with daemon and pid file properly' do
|
97
110
|
project_path = '/second/star/on/the/right'
|
98
111
|
pid_file_path = '/straight/on/til/morning'
|
99
112
|
arguments = ["start", "daemon", project_path, "--pid-file=#{pid_file_path}"]
|
100
|
-
Adhearsion::CLI::AhnCommand.parse_arguments(arguments).should == [:start, project_path,
|
113
|
+
Adhearsion::CLI::AhnCommand.parse_arguments(arguments).should == [:start, project_path, :daemon, pid_file_path]
|
101
114
|
end
|
102
115
|
|
103
116
|
it 'parse_arguments should recognize start without daemon properly' do
|
104
117
|
path = '/path/to/somewhere'
|
105
118
|
arguments = ['start', path]
|
106
|
-
Adhearsion::CLI::AhnCommand.parse_arguments(arguments).should == [:start, path,
|
119
|
+
Adhearsion::CLI::AhnCommand.parse_arguments(arguments).should == [:start, path, :foreground, nil]
|
107
120
|
end
|
108
121
|
|
109
122
|
it "if no path is provided, running Ahn command blows up" do
|
110
|
-
|
111
|
-
Adhearsion::CLI::AhnCommand.parse_arguments(['start'])
|
123
|
+
lambda { Adhearsion::CLI::AhnCommand.parse_arguments(['start']) }.should raise_error Adhearsion::CLI::AhnCommand::CommandHandler::CLIException
|
112
124
|
end
|
113
125
|
|
114
126
|
it "printing the version" do
|
data/spec/initialization_spec.rb
CHANGED
@@ -38,7 +38,7 @@ describe "Adhearsion::Initializer" do
|
|
38
38
|
it "should create a pid file in the app's path by default when daemonizing" do
|
39
39
|
stub_behavior_for_initializer_with_no_path_changing_behavior do
|
40
40
|
flexmock(File).should_receive(:open).once.with(File.join(path, 'adhearsion.pid'), 'w', Proc)
|
41
|
-
ahn = Adhearsion::Initializer.start path, :
|
41
|
+
ahn = Adhearsion::Initializer.start path, :mode => :daemon
|
42
42
|
ahn.pid_file[0, path.size].should == path
|
43
43
|
end
|
44
44
|
end
|
@@ -13,6 +13,7 @@ module DialplanCommandTestHelpers
|
|
13
13
|
@output = MockSocket.new
|
14
14
|
@mock_call = Object.new
|
15
15
|
@mock_call.metaclass.send(:attr_reader, :call)
|
16
|
+
@mock_call.instance_variable_set(:@call, MockCall.new)
|
16
17
|
mock_call.extend(Adhearsion::VoIP::Asterisk::Commands)
|
17
18
|
flexmock(mock_call) do |call|
|
18
19
|
call.should_receive(:from_pbx).and_return(input)
|
@@ -21,6 +22,12 @@ module DialplanCommandTestHelpers
|
|
21
22
|
end
|
22
23
|
end
|
23
24
|
|
25
|
+
class MockCall
|
26
|
+
def with_command_lock
|
27
|
+
yield
|
28
|
+
end
|
29
|
+
end
|
30
|
+
|
24
31
|
class MockSocket
|
25
32
|
|
26
33
|
def print(message)
|
@@ -9,7 +9,7 @@ module ConfigurationManagerTestHelper
|
|
9
9
|
|
10
10
|
def mock_config_manager_for(config_string)
|
11
11
|
new_config_manager_with("bogus filename").tap do |manager|
|
12
|
-
flexmock(
|
12
|
+
flexmock(File).should_receive(:open).and_return config_string
|
13
13
|
end
|
14
14
|
end
|
15
15
|
|
metadata
CHANGED
@@ -1,422 +1,399 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: adhearsion
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
|
6
|
-
- 1
|
7
|
-
- 0
|
8
|
-
- 3
|
9
|
-
version: 1.0.3
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.1.0
|
5
|
+
prerelease:
|
10
6
|
platform: ruby
|
11
|
-
authors:
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
7
|
+
authors:
|
8
|
+
- Jay Phillips
|
9
|
+
- Jason Goecke
|
10
|
+
- Ben Klang
|
11
|
+
- Ben Langfeld
|
16
12
|
autorequire:
|
17
13
|
bindir: bin
|
18
14
|
cert_chain: []
|
19
|
-
|
20
|
-
date: 2011-05-05 00:00:00 -04:00
|
15
|
+
date: 2011-05-29 00:00:00.000000000 -04:00
|
21
16
|
default_executable:
|
22
|
-
dependencies:
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
- !ruby/object:Gem::Dependency
|
156
|
-
name: rake
|
157
|
-
prerelease: false
|
158
|
-
requirement: &id011 !ruby/object:Gem::Requirement
|
159
|
-
requirements:
|
160
|
-
- - ">="
|
161
|
-
- !ruby/object:Gem::Version
|
162
|
-
segments:
|
163
|
-
- 0
|
164
|
-
version: "0"
|
165
|
-
type: :development
|
166
|
-
version_requirements: *id011
|
17
|
+
dependencies:
|
18
|
+
- !ruby/object:Gem::Dependency
|
19
|
+
name: bundler
|
20
|
+
requirement: &2153140220 !ruby/object:Gem::Requirement
|
21
|
+
none: false
|
22
|
+
requirements:
|
23
|
+
- - ! '>='
|
24
|
+
- !ruby/object:Gem::Version
|
25
|
+
version: 1.0.10
|
26
|
+
type: :runtime
|
27
|
+
prerelease: false
|
28
|
+
version_requirements: *2153140220
|
29
|
+
- !ruby/object:Gem::Dependency
|
30
|
+
name: log4r
|
31
|
+
requirement: &2153139740 !ruby/object:Gem::Requirement
|
32
|
+
none: false
|
33
|
+
requirements:
|
34
|
+
- - ! '>='
|
35
|
+
- !ruby/object:Gem::Version
|
36
|
+
version: 1.0.5
|
37
|
+
type: :runtime
|
38
|
+
prerelease: false
|
39
|
+
version_requirements: *2153139740
|
40
|
+
- !ruby/object:Gem::Dependency
|
41
|
+
name: activesupport
|
42
|
+
requirement: &2153139260 !ruby/object:Gem::Requirement
|
43
|
+
none: false
|
44
|
+
requirements:
|
45
|
+
- - ! '>='
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 2.1.0
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: *2153139260
|
51
|
+
- !ruby/object:Gem::Dependency
|
52
|
+
name: i18n
|
53
|
+
requirement: &2153138880 !ruby/object:Gem::Requirement
|
54
|
+
none: false
|
55
|
+
requirements:
|
56
|
+
- - ! '>='
|
57
|
+
- !ruby/object:Gem::Version
|
58
|
+
version: '0'
|
59
|
+
type: :runtime
|
60
|
+
prerelease: false
|
61
|
+
version_requirements: *2153138880
|
62
|
+
- !ruby/object:Gem::Dependency
|
63
|
+
name: rubigen
|
64
|
+
requirement: &2153138320 !ruby/object:Gem::Requirement
|
65
|
+
none: false
|
66
|
+
requirements:
|
67
|
+
- - ! '>='
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: 1.5.6
|
70
|
+
type: :runtime
|
71
|
+
prerelease: false
|
72
|
+
version_requirements: *2153138320
|
73
|
+
- !ruby/object:Gem::Dependency
|
74
|
+
name: rake
|
75
|
+
requirement: &2153137900 !ruby/object:Gem::Requirement
|
76
|
+
none: false
|
77
|
+
requirements:
|
78
|
+
- - ! '>='
|
79
|
+
- !ruby/object:Gem::Version
|
80
|
+
version: '0'
|
81
|
+
type: :runtime
|
82
|
+
prerelease: false
|
83
|
+
version_requirements: *2153137900
|
84
|
+
- !ruby/object:Gem::Dependency
|
85
|
+
name: pry
|
86
|
+
requirement: &2153137440 !ruby/object:Gem::Requirement
|
87
|
+
none: false
|
88
|
+
requirements:
|
89
|
+
- - ! '>='
|
90
|
+
- !ruby/object:Gem::Version
|
91
|
+
version: '0'
|
92
|
+
type: :runtime
|
93
|
+
prerelease: false
|
94
|
+
version_requirements: *2153137440
|
95
|
+
- !ruby/object:Gem::Dependency
|
96
|
+
name: rubigen
|
97
|
+
requirement: &2153136920 !ruby/object:Gem::Requirement
|
98
|
+
none: false
|
99
|
+
requirements:
|
100
|
+
- - ! '>='
|
101
|
+
- !ruby/object:Gem::Version
|
102
|
+
version: 1.5.6
|
103
|
+
type: :development
|
104
|
+
prerelease: false
|
105
|
+
version_requirements: *2153136920
|
106
|
+
- !ruby/object:Gem::Dependency
|
107
|
+
name: rspec
|
108
|
+
requirement: &2153136400 !ruby/object:Gem::Requirement
|
109
|
+
none: false
|
110
|
+
requirements:
|
111
|
+
- - ! '>='
|
112
|
+
- !ruby/object:Gem::Version
|
113
|
+
version: 2.4.0
|
114
|
+
type: :development
|
115
|
+
prerelease: false
|
116
|
+
version_requirements: *2153136400
|
117
|
+
- !ruby/object:Gem::Dependency
|
118
|
+
name: flexmock
|
119
|
+
requirement: &2153136020 !ruby/object:Gem::Requirement
|
120
|
+
none: false
|
121
|
+
requirements:
|
122
|
+
- - ! '>='
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0'
|
125
|
+
type: :development
|
126
|
+
prerelease: false
|
127
|
+
version_requirements: *2153136020
|
128
|
+
- !ruby/object:Gem::Dependency
|
129
|
+
name: activerecord
|
130
|
+
requirement: &2153135560 !ruby/object:Gem::Requirement
|
131
|
+
none: false
|
132
|
+
requirements:
|
133
|
+
- - ! '>='
|
134
|
+
- !ruby/object:Gem::Version
|
135
|
+
version: '0'
|
136
|
+
type: :development
|
137
|
+
prerelease: false
|
138
|
+
version_requirements: *2153135560
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: rake
|
141
|
+
requirement: &2153135140 !ruby/object:Gem::Requirement
|
142
|
+
none: false
|
143
|
+
requirements:
|
144
|
+
- - ! '>='
|
145
|
+
- !ruby/object:Gem::Version
|
146
|
+
version: '0'
|
147
|
+
type: :development
|
148
|
+
prerelease: false
|
149
|
+
version_requirements: *2153135140
|
167
150
|
description: Adhearsion is an open-source telephony development framework
|
168
151
|
email: dev&Adhearsion.com
|
169
|
-
executables:
|
170
|
-
|
171
|
-
|
172
|
-
|
152
|
+
executables:
|
153
|
+
- ahn
|
154
|
+
- ahnctl
|
155
|
+
- jahn
|
173
156
|
extensions: []
|
174
|
-
|
175
157
|
extra_rdoc_files: []
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
|
332
|
-
|
333
|
-
|
334
|
-
|
335
|
-
|
336
|
-
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
|
341
|
-
|
342
|
-
|
343
|
-
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
|
348
|
-
|
158
|
+
files:
|
159
|
+
- .gitignore
|
160
|
+
- CHANGELOG
|
161
|
+
- EVENTS
|
162
|
+
- Gemfile
|
163
|
+
- LICENSE
|
164
|
+
- README.markdown
|
165
|
+
- Rakefile
|
166
|
+
- adhearsion.gemspec
|
167
|
+
- app_generators/ahn/USAGE
|
168
|
+
- app_generators/ahn/ahn_generator.rb
|
169
|
+
- app_generators/ahn/templates/.ahnrc
|
170
|
+
- app_generators/ahn/templates/Gemfile
|
171
|
+
- app_generators/ahn/templates/README
|
172
|
+
- app_generators/ahn/templates/Rakefile
|
173
|
+
- app_generators/ahn/templates/components/ami_remote/ami_remote.rb
|
174
|
+
- app_generators/ahn/templates/components/disabled/HOW_TO_ENABLE
|
175
|
+
- app_generators/ahn/templates/components/disabled/restful_rpc/README.markdown
|
176
|
+
- app_generators/ahn/templates/components/disabled/restful_rpc/example-client.rb
|
177
|
+
- app_generators/ahn/templates/components/disabled/restful_rpc/restful_rpc.rb
|
178
|
+
- app_generators/ahn/templates/components/disabled/restful_rpc/restful_rpc.yml
|
179
|
+
- app_generators/ahn/templates/components/disabled/restful_rpc/spec/restful_rpc_spec.rb
|
180
|
+
- app_generators/ahn/templates/components/disabled/sandbox/sandbox.rb
|
181
|
+
- app_generators/ahn/templates/components/disabled/sandbox/sandbox.yml
|
182
|
+
- app_generators/ahn/templates/components/disabled/stomp_gateway/README.markdown
|
183
|
+
- app_generators/ahn/templates/components/disabled/stomp_gateway/stomp_gateway.rb
|
184
|
+
- app_generators/ahn/templates/components/disabled/stomp_gateway/stomp_gateway.yml
|
185
|
+
- app_generators/ahn/templates/components/disabled/xmpp_gateway/README.markdown
|
186
|
+
- app_generators/ahn/templates/components/disabled/xmpp_gateway/xmpp_gateway.rb
|
187
|
+
- app_generators/ahn/templates/components/disabled/xmpp_gateway/xmpp_gateway.yml
|
188
|
+
- app_generators/ahn/templates/components/simon_game/simon_game.rb
|
189
|
+
- app_generators/ahn/templates/config/startup.rb
|
190
|
+
- app_generators/ahn/templates/dialplan.rb
|
191
|
+
- app_generators/ahn/templates/events.rb
|
192
|
+
- bin/ahn
|
193
|
+
- bin/ahnctl
|
194
|
+
- bin/jahn
|
195
|
+
- examples/asterisk_manager_interface/standalone.rb
|
196
|
+
- lib/adhearsion.rb
|
197
|
+
- lib/adhearsion/cli.rb
|
198
|
+
- lib/adhearsion/component_manager.rb
|
199
|
+
- lib/adhearsion/component_manager/component_tester.rb
|
200
|
+
- lib/adhearsion/component_manager/spec_framework.rb
|
201
|
+
- lib/adhearsion/console.rb
|
202
|
+
- lib/adhearsion/events_support.rb
|
203
|
+
- lib/adhearsion/foundation/all.rb
|
204
|
+
- lib/adhearsion/foundation/blank_slate.rb
|
205
|
+
- lib/adhearsion/foundation/custom_daemonizer.rb
|
206
|
+
- lib/adhearsion/foundation/event_socket.rb
|
207
|
+
- lib/adhearsion/foundation/future_resource.rb
|
208
|
+
- lib/adhearsion/foundation/metaprogramming.rb
|
209
|
+
- lib/adhearsion/foundation/numeric.rb
|
210
|
+
- lib/adhearsion/foundation/object.rb
|
211
|
+
- lib/adhearsion/foundation/pseudo_guid.rb
|
212
|
+
- lib/adhearsion/foundation/relationship_properties.rb
|
213
|
+
- lib/adhearsion/foundation/string.rb
|
214
|
+
- lib/adhearsion/foundation/synchronized_hash.rb
|
215
|
+
- lib/adhearsion/foundation/thread_safety.rb
|
216
|
+
- lib/adhearsion/host_definitions.rb
|
217
|
+
- lib/adhearsion/initializer.rb
|
218
|
+
- lib/adhearsion/initializer/asterisk.rb
|
219
|
+
- lib/adhearsion/initializer/configuration.rb
|
220
|
+
- lib/adhearsion/initializer/database.rb
|
221
|
+
- lib/adhearsion/initializer/drb.rb
|
222
|
+
- lib/adhearsion/initializer/freeswitch.rb
|
223
|
+
- lib/adhearsion/initializer/ldap.rb
|
224
|
+
- lib/adhearsion/initializer/rails.rb
|
225
|
+
- lib/adhearsion/initializer/xmpp.rb
|
226
|
+
- lib/adhearsion/logging.rb
|
227
|
+
- lib/adhearsion/tasks.rb
|
228
|
+
- lib/adhearsion/tasks/components.rb
|
229
|
+
- lib/adhearsion/tasks/database.rb
|
230
|
+
- lib/adhearsion/tasks/deprecations.rb
|
231
|
+
- lib/adhearsion/tasks/generating.rb
|
232
|
+
- lib/adhearsion/tasks/lint.rb
|
233
|
+
- lib/adhearsion/tasks/testing.rb
|
234
|
+
- lib/adhearsion/version.rb
|
235
|
+
- lib/adhearsion/voip/asterisk.rb
|
236
|
+
- lib/adhearsion/voip/asterisk/agi_server.rb
|
237
|
+
- lib/adhearsion/voip/asterisk/commands.rb
|
238
|
+
- lib/adhearsion/voip/asterisk/config_generators/agents.conf.rb
|
239
|
+
- lib/adhearsion/voip/asterisk/config_generators/config_generator.rb
|
240
|
+
- lib/adhearsion/voip/asterisk/config_generators/queues.conf.rb
|
241
|
+
- lib/adhearsion/voip/asterisk/config_generators/voicemail.conf.rb
|
242
|
+
- lib/adhearsion/voip/asterisk/config_manager.rb
|
243
|
+
- lib/adhearsion/voip/asterisk/manager_interface.rb
|
244
|
+
- lib/adhearsion/voip/asterisk/manager_interface/ami_lexer.rb
|
245
|
+
- lib/adhearsion/voip/asterisk/manager_interface/ami_lexer.rl.rb
|
246
|
+
- lib/adhearsion/voip/asterisk/manager_interface/ami_messages.rb
|
247
|
+
- lib/adhearsion/voip/asterisk/manager_interface/ami_protocol_lexer_machine.rl
|
248
|
+
- lib/adhearsion/voip/asterisk/special_dial_plan_managers.rb
|
249
|
+
- lib/adhearsion/voip/asterisk/super_manager.rb
|
250
|
+
- lib/adhearsion/voip/call.rb
|
251
|
+
- lib/adhearsion/voip/call_routing.rb
|
252
|
+
- lib/adhearsion/voip/commands.rb
|
253
|
+
- lib/adhearsion/voip/constants.rb
|
254
|
+
- lib/adhearsion/voip/conveniences.rb
|
255
|
+
- lib/adhearsion/voip/dial_plan.rb
|
256
|
+
- lib/adhearsion/voip/dsl/dialing_dsl.rb
|
257
|
+
- lib/adhearsion/voip/dsl/dialing_dsl/dialing_dsl_monkey_patches.rb
|
258
|
+
- lib/adhearsion/voip/dsl/dialplan/control_passing_exception.rb
|
259
|
+
- lib/adhearsion/voip/dsl/dialplan/dispatcher.rb
|
260
|
+
- lib/adhearsion/voip/dsl/dialplan/parser.rb
|
261
|
+
- lib/adhearsion/voip/dsl/dialplan/thread_mixin.rb
|
262
|
+
- lib/adhearsion/voip/dsl/numerical_string.rb
|
263
|
+
- lib/adhearsion/voip/freeswitch/basic_connection_manager.rb
|
264
|
+
- lib/adhearsion/voip/freeswitch/event_handler.rb
|
265
|
+
- lib/adhearsion/voip/freeswitch/freeswitch_dialplan_command_factory.rb
|
266
|
+
- lib/adhearsion/voip/freeswitch/inbound_connection_manager.rb
|
267
|
+
- lib/adhearsion/voip/freeswitch/oes_server.rb
|
268
|
+
- lib/adhearsion/voip/menu_state_machine/calculated_match.rb
|
269
|
+
- lib/adhearsion/voip/menu_state_machine/matchers.rb
|
270
|
+
- lib/adhearsion/voip/menu_state_machine/menu_builder.rb
|
271
|
+
- lib/adhearsion/voip/menu_state_machine/menu_class.rb
|
272
|
+
- lib/adhearsion/xmpp/connection.rb
|
273
|
+
- lib/theatre.rb
|
274
|
+
- lib/theatre/README.markdown
|
275
|
+
- lib/theatre/callback_definition_loader.rb
|
276
|
+
- lib/theatre/guid.rb
|
277
|
+
- lib/theatre/invocation.rb
|
278
|
+
- lib/theatre/namespace_manager.rb
|
279
|
+
- lib/theatre/version.rb
|
280
|
+
- spec/ahn_command_spec.rb
|
281
|
+
- spec/component_manager_spec.rb
|
282
|
+
- spec/constants_spec.rb
|
283
|
+
- spec/drb_spec.rb
|
284
|
+
- spec/fixtures/dialplan.rb
|
285
|
+
- spec/foundation/event_socket_spec.rb
|
286
|
+
- spec/host_definitions_spec.rb
|
287
|
+
- spec/initialization_spec.rb
|
288
|
+
- spec/initializer/configuration_spec.rb
|
289
|
+
- spec/initializer/loading_spec.rb
|
290
|
+
- spec/initializer/paths_spec.rb
|
291
|
+
- spec/logging_spec.rb
|
292
|
+
- spec/relationship_properties_spec.rb
|
293
|
+
- spec/silence.rb
|
294
|
+
- spec/spec_helper.rb
|
295
|
+
- spec/voip/asterisk/agi_server_spec.rb
|
296
|
+
- spec/voip/asterisk/ami/ami_spec.rb
|
297
|
+
- spec/voip/asterisk/ami/lexer/ami_fixtures.yml
|
298
|
+
- spec/voip/asterisk/ami/lexer/lexer_story
|
299
|
+
- spec/voip/asterisk/ami/lexer/lexer_story.rb
|
300
|
+
- spec/voip/asterisk/ami/lexer/story_helper.rb
|
301
|
+
- spec/voip/asterisk/ami/old_tests.rb
|
302
|
+
- spec/voip/asterisk/ami/super_manager/super_manager_story
|
303
|
+
- spec/voip/asterisk/ami/super_manager/super_manager_story.rb
|
304
|
+
- spec/voip/asterisk/ami/super_manager/super_manager_story_helper.rb
|
305
|
+
- spec/voip/asterisk/commands_spec.rb
|
306
|
+
- spec/voip/asterisk/config_file_generators/agents_spec.rb
|
307
|
+
- spec/voip/asterisk/config_file_generators/queues_spec.rb
|
308
|
+
- spec/voip/asterisk/config_file_generators/voicemail_spec.rb
|
309
|
+
- spec/voip/asterisk/config_manager_spec.rb
|
310
|
+
- spec/voip/asterisk/menu_command/calculated_match_spec.rb
|
311
|
+
- spec/voip/asterisk/menu_command/matchers_spec.rb
|
312
|
+
- spec/voip/call_routing_spec.rb
|
313
|
+
- spec/voip/dialplan_manager_spec.rb
|
314
|
+
- spec/voip/dsl/dialing_dsl_spec.rb
|
315
|
+
- spec/voip/dsl/dispatcher_spec.rb
|
316
|
+
- spec/voip/dsl/dispatcher_spec_helper.rb
|
317
|
+
- spec/voip/dsl/parser_spec.rb
|
318
|
+
- spec/voip/freeswitch/basic_connection_manager_spec.rb
|
319
|
+
- spec/voip/freeswitch/inbound_connection_manager_spec.rb
|
320
|
+
- spec/voip/freeswitch/oes_server_spec.rb
|
321
|
+
- spec/voip/numerical_string_spec.rb
|
322
|
+
- spec/voip/phone_number_spec.rb
|
323
|
+
- theatre-spec/dsl_examples/dynamic_stomp.rb
|
324
|
+
- theatre-spec/dsl_examples/simple_before_call.rb
|
325
|
+
- theatre-spec/dsl_spec.rb
|
326
|
+
- theatre-spec/invocation_spec.rb
|
327
|
+
- theatre-spec/namespace_spec.rb
|
328
|
+
- theatre-spec/spec_helper.rb
|
329
|
+
- theatre-spec/spec_helper_spec.rb
|
330
|
+
- theatre-spec/theatre_class_spec.rb
|
349
331
|
has_rdoc: true
|
350
332
|
homepage: http://adhearsion.com
|
351
333
|
licenses: []
|
352
|
-
|
353
334
|
post_install_message:
|
354
335
|
rdoc_options: []
|
355
|
-
|
356
|
-
|
357
|
-
|
358
|
-
|
359
|
-
requirements:
|
360
|
-
|
361
|
-
|
362
|
-
|
363
|
-
|
364
|
-
|
365
|
-
|
366
|
-
|
367
|
-
-
|
368
|
-
|
369
|
-
segments:
|
370
|
-
- 0
|
371
|
-
version: "0"
|
336
|
+
require_paths:
|
337
|
+
- lib
|
338
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
339
|
+
none: false
|
340
|
+
requirements:
|
341
|
+
- - ! '>='
|
342
|
+
- !ruby/object:Gem::Version
|
343
|
+
version: '0'
|
344
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
345
|
+
none: false
|
346
|
+
requirements:
|
347
|
+
- - ! '>='
|
348
|
+
- !ruby/object:Gem::Version
|
349
|
+
version: '0'
|
372
350
|
requirements: []
|
373
|
-
|
374
351
|
rubyforge_project: adhearsion
|
375
|
-
rubygems_version: 1.
|
352
|
+
rubygems_version: 1.6.2
|
376
353
|
signing_key:
|
377
354
|
specification_version: 2
|
378
355
|
summary: Adhearsion, open-source telephony development framework
|
379
|
-
test_files:
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
|
388
|
-
|
389
|
-
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
|
402
|
-
|
403
|
-
|
404
|
-
|
405
|
-
|
406
|
-
|
407
|
-
|
408
|
-
|
409
|
-
|
410
|
-
|
411
|
-
|
412
|
-
|
413
|
-
|
414
|
-
|
415
|
-
|
416
|
-
|
417
|
-
|
418
|
-
|
419
|
-
|
420
|
-
|
421
|
-
|
422
|
-
|
356
|
+
test_files:
|
357
|
+
- spec/ahn_command_spec.rb
|
358
|
+
- spec/component_manager_spec.rb
|
359
|
+
- spec/constants_spec.rb
|
360
|
+
- spec/drb_spec.rb
|
361
|
+
- spec/fixtures/dialplan.rb
|
362
|
+
- spec/foundation/event_socket_spec.rb
|
363
|
+
- spec/host_definitions_spec.rb
|
364
|
+
- spec/initialization_spec.rb
|
365
|
+
- spec/initializer/configuration_spec.rb
|
366
|
+
- spec/initializer/loading_spec.rb
|
367
|
+
- spec/initializer/paths_spec.rb
|
368
|
+
- spec/logging_spec.rb
|
369
|
+
- spec/relationship_properties_spec.rb
|
370
|
+
- spec/silence.rb
|
371
|
+
- spec/spec_helper.rb
|
372
|
+
- spec/voip/asterisk/agi_server_spec.rb
|
373
|
+
- spec/voip/asterisk/ami/ami_spec.rb
|
374
|
+
- spec/voip/asterisk/ami/lexer/ami_fixtures.yml
|
375
|
+
- spec/voip/asterisk/ami/lexer/lexer_story
|
376
|
+
- spec/voip/asterisk/ami/lexer/lexer_story.rb
|
377
|
+
- spec/voip/asterisk/ami/lexer/story_helper.rb
|
378
|
+
- spec/voip/asterisk/ami/old_tests.rb
|
379
|
+
- spec/voip/asterisk/ami/super_manager/super_manager_story
|
380
|
+
- spec/voip/asterisk/ami/super_manager/super_manager_story.rb
|
381
|
+
- spec/voip/asterisk/ami/super_manager/super_manager_story_helper.rb
|
382
|
+
- spec/voip/asterisk/commands_spec.rb
|
383
|
+
- spec/voip/asterisk/config_file_generators/agents_spec.rb
|
384
|
+
- spec/voip/asterisk/config_file_generators/queues_spec.rb
|
385
|
+
- spec/voip/asterisk/config_file_generators/voicemail_spec.rb
|
386
|
+
- spec/voip/asterisk/config_manager_spec.rb
|
387
|
+
- spec/voip/asterisk/menu_command/calculated_match_spec.rb
|
388
|
+
- spec/voip/asterisk/menu_command/matchers_spec.rb
|
389
|
+
- spec/voip/call_routing_spec.rb
|
390
|
+
- spec/voip/dialplan_manager_spec.rb
|
391
|
+
- spec/voip/dsl/dialing_dsl_spec.rb
|
392
|
+
- spec/voip/dsl/dispatcher_spec.rb
|
393
|
+
- spec/voip/dsl/dispatcher_spec_helper.rb
|
394
|
+
- spec/voip/dsl/parser_spec.rb
|
395
|
+
- spec/voip/freeswitch/basic_connection_manager_spec.rb
|
396
|
+
- spec/voip/freeswitch/inbound_connection_manager_spec.rb
|
397
|
+
- spec/voip/freeswitch/oes_server_spec.rb
|
398
|
+
- spec/voip/numerical_string_spec.rb
|
399
|
+
- spec/voip/phone_number_spec.rb
|