eric-adhearsion 0.7.999 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +8 -2
- data/EVENTS +11 -0
- data/Rakefile +96 -24
- data/adhearsion.gemspec +148 -0
- data/app_generators/ahn/ahn_generator.rb +24 -9
- data/app_generators/ahn/templates/.ahnrc +25 -3
- data/app_generators/ahn/templates/Rakefile +22 -2
- data/app_generators/ahn/templates/components/ami_remote/ami_remote.rb +15 -0
- data/app_generators/ahn/templates/components/disabled/HOW_TO_ENABLE +7 -0
- data/app_generators/ahn/templates/components/disabled/stomp_gateway/README.markdown +47 -0
- data/app_generators/ahn/templates/components/disabled/stomp_gateway/config.yml +12 -0
- data/app_generators/ahn/templates/components/disabled/stomp_gateway/stomp_gateway.rb +34 -0
- data/app_generators/ahn/templates/components/simon_game/{lib/simon_game.rb → simon_game.rb} +14 -19
- data/app_generators/ahn/templates/config/startup.rb +3 -6
- data/app_generators/ahn/templates/dialplan.rb +2 -3
- data/app_generators/ahn/templates/events.rb +32 -0
- data/bin/jahn +10 -0
- data/examples/asterisk_manager_interface/standalone.rb +51 -0
- data/lib/adhearsion.rb +17 -11
- data/lib/adhearsion/cli.rb +141 -24
- data/lib/adhearsion/component_manager.rb +169 -238
- data/lib/adhearsion/component_manager/component_tester.rb +55 -0
- data/lib/adhearsion/component_manager/spec_framework.rb +24 -0
- data/lib/adhearsion/events_support.rb +84 -0
- data/lib/adhearsion/{core_extensions → foundation}/all.rb +0 -0
- data/lib/adhearsion/{blank_slate.rb → foundation/blank_slate.rb} +0 -0
- data/lib/adhearsion/{core_extensions → foundation}/custom_daemonizer.rb +0 -0
- data/lib/adhearsion/foundation/event_socket.rb +203 -0
- data/lib/adhearsion/foundation/future_resource.rb +36 -0
- data/lib/adhearsion/{core_extensions → foundation}/global.rb +0 -0
- data/lib/adhearsion/{core_extensions → foundation}/metaprogramming.rb +0 -0
- data/lib/adhearsion/foundation/numeric.rb +13 -0
- data/lib/adhearsion/foundation/pseudo_guid.rb +10 -0
- data/lib/adhearsion/{core_extensions → foundation}/relationship_properties.rb +2 -0
- data/lib/adhearsion/foundation/string.rb +26 -0
- data/lib/adhearsion/foundation/synchronized_hash.rb +96 -0
- data/lib/adhearsion/{core_extensions → foundation}/thread_safety.rb +0 -0
- data/lib/adhearsion/host_definitions.rb +5 -1
- data/lib/adhearsion/initializer.rb +229 -73
- data/lib/adhearsion/initializer/asterisk.rb +33 -11
- data/lib/adhearsion/initializer/configuration.rb +58 -6
- data/lib/adhearsion/initializer/database.rb +3 -46
- data/lib/adhearsion/initializer/drb.rb +9 -3
- data/lib/adhearsion/initializer/freeswitch.rb +3 -3
- data/lib/adhearsion/initializer/rails.rb +1 -1
- data/lib/adhearsion/tasks.rb +2 -1
- data/lib/adhearsion/tasks/deprecations.rb +59 -0
- data/lib/adhearsion/version.rb +3 -3
- data/lib/adhearsion/voip/asterisk.rb +2 -2
- data/lib/adhearsion/voip/asterisk/agi_server.rb +9 -6
- data/lib/adhearsion/voip/asterisk/commands.rb +106 -4
- data/lib/adhearsion/voip/asterisk/manager_interface.rb +562 -0
- data/lib/adhearsion/voip/asterisk/manager_interface/ami_lexer.rb +1754 -0
- data/lib/adhearsion/voip/asterisk/manager_interface/ami_lexer.rl.rb +286 -0
- data/lib/adhearsion/voip/asterisk/manager_interface/ami_messages.rb +78 -0
- data/lib/adhearsion/voip/asterisk/manager_interface/ami_protocol_lexer_machine.rl +87 -0
- data/lib/adhearsion/voip/asterisk/super_manager.rb +19 -0
- data/lib/adhearsion/voip/call.rb +51 -2
- data/lib/adhearsion/voip/dial_plan.rb +74 -61
- data/lib/adhearsion/voip/dsl/dialing_dsl.rb +1 -1
- data/lib/adhearsion/voip/dsl/dialplan/parser.rb +2 -6
- data/lib/adhearsion/voip/dsl/numerical_string.rb +2 -2
- data/lib/adhearsion/voip/freeswitch/oes_server.rb +2 -2
- data/lib/theatre.rb +151 -0
- data/lib/theatre/README.markdown +64 -0
- data/lib/theatre/callback_definition_loader.rb +84 -0
- data/lib/theatre/guid.rb +23 -0
- data/lib/theatre/invocation.rb +121 -0
- data/lib/theatre/namespace_manager.rb +153 -0
- data/lib/theatre/version.rb +2 -0
- metadata +63 -138
- data/Manifest.txt +0 -149
- data/README.txt +0 -6
- data/ahn_generators/component/USAGE +0 -5
- data/ahn_generators/component/component_generator.rb +0 -57
- data/ahn_generators/component/templates/configuration.rb +0 -0
- data/ahn_generators/component/templates/lib/lib.rb.erb +0 -3
- data/ahn_generators/component/templates/test/test.rb.erb +0 -12
- data/ahn_generators/component/templates/test/test_helper.rb +0 -14
- data/app_generators/ahn/templates/components/simon_game/configuration.rb +0 -0
- data/app_generators/ahn/templates/components/simon_game/test/test_helper.rb +0 -14
- data/app_generators/ahn/templates/components/simon_game/test/test_simon_game.rb +0 -31
- data/lib/adhearsion/core_extensions/array.rb +0 -0
- data/lib/adhearsion/core_extensions/guid.rb +0 -5
- data/lib/adhearsion/core_extensions/hash.rb +0 -0
- data/lib/adhearsion/core_extensions/numeric.rb +0 -4
- data/lib/adhearsion/core_extensions/proc.rb +0 -0
- data/lib/adhearsion/core_extensions/pseudo_uuid.rb +0 -11
- data/lib/adhearsion/core_extensions/publishable.rb +0 -73
- data/lib/adhearsion/core_extensions/string.rb +0 -26
- data/lib/adhearsion/core_extensions/thread.rb +0 -13
- data/lib/adhearsion/core_extensions/time.rb +0 -0
- data/lib/adhearsion/distributed/gateways/dbus_gateway.rb +0 -0
- data/lib/adhearsion/distributed/gateways/osa_gateway.rb +0 -0
- data/lib/adhearsion/distributed/gateways/rest_gateway.rb +0 -9
- data/lib/adhearsion/distributed/gateways/soap_gateway.rb +0 -9
- data/lib/adhearsion/distributed/gateways/xmlrpc_gateway.rb +0 -9
- data/lib/adhearsion/distributed/peer_finder.rb +0 -0
- data/lib/adhearsion/distributed/remote_cli.rb +0 -0
- data/lib/adhearsion/hooks.rb +0 -57
- data/lib/adhearsion/initializer/paths.rb +0 -55
- data/lib/adhearsion/services/scheduler.rb +0 -5
- data/lib/adhearsion/voip/asterisk/ami.rb +0 -147
- data/lib/adhearsion/voip/asterisk/ami/actions.rb +0 -238
- data/lib/adhearsion/voip/asterisk/ami/machine.rb +0 -871
- data/lib/adhearsion/voip/asterisk/ami/machine.rl +0 -109
- data/lib/adhearsion/voip/asterisk/ami/parser.rb +0 -262
- data/script/destroy +0 -14
- data/script/generate +0 -14
- data/spec/fixtures/dialplan.rb +0 -3
- data/spec/initializer/test_configuration.rb +0 -267
- data/spec/initializer/test_loading.rb +0 -162
- data/spec/initializer/test_paths.rb +0 -43
- data/spec/silence.rb +0 -10
- data/spec/test_ahn_command.rb +0 -149
- data/spec/test_code_quality.rb +0 -87
- data/spec/test_component_manager.rb +0 -97
- data/spec/test_constants.rb +0 -8
- data/spec/test_drb.rb +0 -104
- data/spec/test_helper.rb +0 -94
- data/spec/test_hooks.rb +0 -37
- data/spec/test_host_definitions.rb +0 -79
- data/spec/test_initialization.rb +0 -105
- data/spec/test_logging.rb +0 -80
- data/spec/test_relationship_properties.rb +0 -54
- data/spec/voip/asterisk/ami_response_definitions.rb +0 -23
- data/spec/voip/asterisk/config_file_generators/test_agents.rb +0 -253
- data/spec/voip/asterisk/config_file_generators/test_queues.rb +0 -325
- data/spec/voip/asterisk/config_file_generators/test_voicemail.rb +0 -306
- data/spec/voip/asterisk/menu_command/test_calculated_match.rb +0 -111
- data/spec/voip/asterisk/menu_command/test_matchers.rb +0 -98
- data/spec/voip/asterisk/mock_ami_server.rb +0 -176
- data/spec/voip/asterisk/test_agi_server.rb +0 -451
- data/spec/voip/asterisk/test_ami.rb +0 -227
- data/spec/voip/asterisk/test_commands.rb +0 -2006
- data/spec/voip/asterisk/test_config_manager.rb +0 -129
- data/spec/voip/dsl/dispatcher_spec_helper.rb +0 -45
- data/spec/voip/dsl/test_dialing_dsl.rb +0 -268
- data/spec/voip/dsl/test_dispatcher.rb +0 -82
- data/spec/voip/dsl/test_parser.rb +0 -87
- data/spec/voip/freeswitch/test_basic_connection_manager.rb +0 -39
- data/spec/voip/freeswitch/test_inbound_connection_manager.rb +0 -39
- data/spec/voip/freeswitch/test_oes_server.rb +0 -9
- data/spec/voip/test_call_routing.rb +0 -127
- data/spec/voip/test_dialplan_manager.rb +0 -372
- data/spec/voip/test_numerical_string.rb +0 -48
- data/spec/voip/test_phone_number.rb +0 -36
- data/test/test_ahn_generator.rb +0 -59
- data/test/test_component_generator.rb +0 -52
- data/test/test_generator_helper.rb +0 -20
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: eric-adhearsion
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jay Phillips
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2008-
|
12
|
+
date: 2008-08-21 00:00:00 -07:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -30,7 +30,7 @@ dependencies:
|
|
30
30
|
- !ruby/object:Gem::Version
|
31
31
|
version: 1.0.5
|
32
32
|
version:
|
33
|
-
description: Adhearsion is an open-source
|
33
|
+
description: Adhearsion is an open-source telephony development framework
|
34
34
|
email: Jay -at- Codemecca.com
|
35
35
|
executables:
|
36
36
|
- ahn
|
@@ -38,63 +38,54 @@ executables:
|
|
38
38
|
- jahn
|
39
39
|
extensions: []
|
40
40
|
|
41
|
-
extra_rdoc_files:
|
42
|
-
|
43
|
-
- README.txt
|
41
|
+
extra_rdoc_files: []
|
42
|
+
|
44
43
|
files:
|
45
|
-
-
|
46
|
-
- LICENSE
|
47
|
-
- Manifest.txt
|
48
|
-
- README.txt
|
49
|
-
- Rakefile
|
50
|
-
- ahn_generators/component/USAGE
|
51
|
-
- ahn_generators/component/component_generator.rb
|
52
|
-
- ahn_generators/component/templates/configuration.rb
|
53
|
-
- ahn_generators/component/templates/lib/lib.rb.erb
|
54
|
-
- ahn_generators/component/templates/test/test.rb.erb
|
55
|
-
- ahn_generators/component/templates/test/test_helper.rb
|
56
|
-
- app_generators/ahn/USAGE
|
44
|
+
- adhearsion.gemspec
|
57
45
|
- app_generators/ahn/ahn_generator.rb
|
58
46
|
- app_generators/ahn/templates/.ahnrc
|
59
|
-
- app_generators/ahn/templates/
|
60
|
-
- app_generators/ahn/templates/
|
61
|
-
- app_generators/ahn/templates/components/
|
62
|
-
- app_generators/ahn/templates/components/
|
63
|
-
- app_generators/ahn/templates/components/
|
64
|
-
- app_generators/ahn/templates/components/
|
47
|
+
- app_generators/ahn/templates/components/ami_remote/ami_remote.rb
|
48
|
+
- app_generators/ahn/templates/components/disabled/HOW_TO_ENABLE
|
49
|
+
- app_generators/ahn/templates/components/disabled/stomp_gateway/config.yml
|
50
|
+
- app_generators/ahn/templates/components/disabled/stomp_gateway/README.markdown
|
51
|
+
- app_generators/ahn/templates/components/disabled/stomp_gateway/stomp_gateway.rb
|
52
|
+
- app_generators/ahn/templates/components/restful_rpc/config.yml
|
53
|
+
- app_generators/ahn/templates/components/restful_rpc/example-client.rb
|
54
|
+
- app_generators/ahn/templates/components/restful_rpc/README.markdown
|
55
|
+
- app_generators/ahn/templates/components/restful_rpc/restful_rpc.rb
|
56
|
+
- app_generators/ahn/templates/components/restful_rpc/spec/restful_rpc_spec.rb
|
57
|
+
- app_generators/ahn/templates/components/simon_game/simon_game.rb
|
65
58
|
- app_generators/ahn/templates/config/startup.rb
|
66
59
|
- app_generators/ahn/templates/dialplan.rb
|
60
|
+
- app_generators/ahn/templates/events.rb
|
61
|
+
- app_generators/ahn/templates/Rakefile
|
62
|
+
- app_generators/ahn/templates/README
|
63
|
+
- app_generators/ahn/USAGE
|
67
64
|
- bin/ahn
|
68
65
|
- bin/ahnctl
|
69
66
|
- bin/jahn
|
67
|
+
- CHANGELOG
|
68
|
+
- EVENTS
|
69
|
+
- examples/asterisk_manager_interface/standalone.rb
|
70
70
|
- lib/adhearsion.rb
|
71
|
-
- lib/adhearsion/blank_slate.rb
|
72
71
|
- lib/adhearsion/cli.rb
|
73
72
|
- lib/adhearsion/component_manager.rb
|
74
|
-
- lib/adhearsion/
|
75
|
-
- lib/adhearsion/
|
76
|
-
- lib/adhearsion/
|
77
|
-
- lib/adhearsion/
|
78
|
-
- lib/adhearsion/
|
79
|
-
- lib/adhearsion/
|
80
|
-
- lib/adhearsion/
|
81
|
-
- lib/adhearsion/
|
82
|
-
- lib/adhearsion/
|
83
|
-
- lib/adhearsion/
|
84
|
-
- lib/adhearsion/
|
85
|
-
- lib/adhearsion/
|
86
|
-
- lib/adhearsion/
|
87
|
-
- lib/adhearsion/
|
88
|
-
- lib/adhearsion/
|
89
|
-
- lib/adhearsion/
|
90
|
-
- lib/adhearsion/distributed/gateways/dbus_gateway.rb
|
91
|
-
- lib/adhearsion/distributed/gateways/osa_gateway.rb
|
92
|
-
- lib/adhearsion/distributed/gateways/rest_gateway.rb
|
93
|
-
- lib/adhearsion/distributed/gateways/soap_gateway.rb
|
94
|
-
- lib/adhearsion/distributed/gateways/xmlrpc_gateway.rb
|
95
|
-
- lib/adhearsion/distributed/peer_finder.rb
|
96
|
-
- lib/adhearsion/distributed/remote_cli.rb
|
97
|
-
- lib/adhearsion/hooks.rb
|
73
|
+
- lib/adhearsion/component_manager/component_tester.rb
|
74
|
+
- lib/adhearsion/component_manager/spec_framework.rb
|
75
|
+
- lib/adhearsion/events_support.rb
|
76
|
+
- lib/adhearsion/foundation/all.rb
|
77
|
+
- lib/adhearsion/foundation/blank_slate.rb
|
78
|
+
- lib/adhearsion/foundation/custom_daemonizer.rb
|
79
|
+
- lib/adhearsion/foundation/event_socket.rb
|
80
|
+
- lib/adhearsion/foundation/future_resource.rb
|
81
|
+
- lib/adhearsion/foundation/global.rb
|
82
|
+
- lib/adhearsion/foundation/metaprogramming.rb
|
83
|
+
- lib/adhearsion/foundation/numeric.rb
|
84
|
+
- lib/adhearsion/foundation/pseudo_guid.rb
|
85
|
+
- lib/adhearsion/foundation/relationship_properties.rb
|
86
|
+
- lib/adhearsion/foundation/string.rb
|
87
|
+
- lib/adhearsion/foundation/synchronized_hash.rb
|
88
|
+
- lib/adhearsion/foundation/thread_safety.rb
|
98
89
|
- lib/adhearsion/host_definitions.rb
|
99
90
|
- lib/adhearsion/initializer.rb
|
100
91
|
- lib/adhearsion/initializer/asterisk.rb
|
@@ -102,30 +93,30 @@ files:
|
|
102
93
|
- lib/adhearsion/initializer/database.rb
|
103
94
|
- lib/adhearsion/initializer/drb.rb
|
104
95
|
- lib/adhearsion/initializer/freeswitch.rb
|
105
|
-
- lib/adhearsion/initializer/paths.rb
|
106
96
|
- lib/adhearsion/initializer/rails.rb
|
107
97
|
- lib/adhearsion/logging.rb
|
108
|
-
- lib/adhearsion/services/scheduler.rb
|
109
98
|
- lib/adhearsion/tasks.rb
|
110
99
|
- lib/adhearsion/tasks/database.rb
|
100
|
+
- lib/adhearsion/tasks/deprecations.rb
|
111
101
|
- lib/adhearsion/tasks/generating.rb
|
112
102
|
- lib/adhearsion/tasks/lint.rb
|
113
103
|
- lib/adhearsion/tasks/testing.rb
|
114
104
|
- lib/adhearsion/version.rb
|
115
105
|
- lib/adhearsion/voip/asterisk.rb
|
116
106
|
- lib/adhearsion/voip/asterisk/agi_server.rb
|
117
|
-
- lib/adhearsion/voip/asterisk/ami.rb
|
118
|
-
- lib/adhearsion/voip/asterisk/ami/actions.rb
|
119
|
-
- lib/adhearsion/voip/asterisk/ami/machine.rb
|
120
|
-
- lib/adhearsion/voip/asterisk/ami/machine.rl
|
121
|
-
- lib/adhearsion/voip/asterisk/ami/parser.rb
|
122
107
|
- lib/adhearsion/voip/asterisk/commands.rb
|
123
108
|
- lib/adhearsion/voip/asterisk/config_generators/agents.conf.rb
|
124
109
|
- lib/adhearsion/voip/asterisk/config_generators/config_generator.rb
|
125
110
|
- lib/adhearsion/voip/asterisk/config_generators/queues.conf.rb
|
126
111
|
- lib/adhearsion/voip/asterisk/config_generators/voicemail.conf.rb
|
127
112
|
- lib/adhearsion/voip/asterisk/config_manager.rb
|
113
|
+
- lib/adhearsion/voip/asterisk/manager_interface.rb
|
114
|
+
- lib/adhearsion/voip/asterisk/manager_interface/ami_lexer.rb
|
115
|
+
- lib/adhearsion/voip/asterisk/manager_interface/ami_lexer.rl.rb
|
116
|
+
- lib/adhearsion/voip/asterisk/manager_interface/ami_messages.rb
|
117
|
+
- lib/adhearsion/voip/asterisk/manager_interface/ami_protocol_lexer_machine.rl
|
128
118
|
- lib/adhearsion/voip/asterisk/special_dial_plan_managers.rb
|
119
|
+
- lib/adhearsion/voip/asterisk/super_manager.rb
|
129
120
|
- lib/adhearsion/voip/call.rb
|
130
121
|
- lib/adhearsion/voip/call_routing.rb
|
131
122
|
- lib/adhearsion/voip/commands.rb
|
@@ -148,55 +139,21 @@ files:
|
|
148
139
|
- lib/adhearsion/voip/menu_state_machine/matchers.rb
|
149
140
|
- lib/adhearsion/voip/menu_state_machine/menu_builder.rb
|
150
141
|
- lib/adhearsion/voip/menu_state_machine/menu_class.rb
|
151
|
-
-
|
152
|
-
-
|
153
|
-
-
|
154
|
-
-
|
155
|
-
-
|
156
|
-
-
|
157
|
-
-
|
158
|
-
-
|
159
|
-
-
|
160
|
-
-
|
161
|
-
|
162
|
-
- spec/test_drb.rb
|
163
|
-
- spec/test_helper.rb
|
164
|
-
- spec/test_hooks.rb
|
165
|
-
- spec/test_host_definitions.rb
|
166
|
-
- spec/test_initialization.rb
|
167
|
-
- spec/test_logging.rb
|
168
|
-
- spec/test_relationship_properties.rb
|
169
|
-
- spec/voip/asterisk/ami_response_definitions.rb
|
170
|
-
- spec/voip/asterisk/config_file_generators/test_agents.rb
|
171
|
-
- spec/voip/asterisk/config_file_generators/test_queues.rb
|
172
|
-
- spec/voip/asterisk/config_file_generators/test_voicemail.rb
|
173
|
-
- spec/voip/asterisk/menu_command/test_calculated_match.rb
|
174
|
-
- spec/voip/asterisk/menu_command/test_matchers.rb
|
175
|
-
- spec/voip/asterisk/mock_ami_server.rb
|
176
|
-
- spec/voip/asterisk/test_agi_server.rb
|
177
|
-
- spec/voip/asterisk/test_ami.rb
|
178
|
-
- spec/voip/asterisk/test_commands.rb
|
179
|
-
- spec/voip/asterisk/test_config_manager.rb
|
180
|
-
- spec/voip/dsl/dispatcher_spec_helper.rb
|
181
|
-
- spec/voip/dsl/test_dialing_dsl.rb
|
182
|
-
- spec/voip/dsl/test_dispatcher.rb
|
183
|
-
- spec/voip/dsl/test_parser.rb
|
184
|
-
- spec/voip/freeswitch/test_basic_connection_manager.rb
|
185
|
-
- spec/voip/freeswitch/test_inbound_connection_manager.rb
|
186
|
-
- spec/voip/freeswitch/test_oes_server.rb
|
187
|
-
- spec/voip/test_call_routing.rb
|
188
|
-
- spec/voip/test_dialplan_manager.rb
|
189
|
-
- spec/voip/test_numerical_string.rb
|
190
|
-
- spec/voip/test_phone_number.rb
|
191
|
-
- test/test_ahn_generator.rb
|
192
|
-
- test/test_component_generator.rb
|
193
|
-
- test/test_generator_helper.rb
|
194
|
-
has_rdoc: true
|
142
|
+
- lib/theatre.rb
|
143
|
+
- lib/theatre/callback_definition_loader.rb
|
144
|
+
- lib/theatre/guid.rb
|
145
|
+
- lib/theatre/invocation.rb
|
146
|
+
- lib/theatre/namespace_manager.rb
|
147
|
+
- lib/theatre/README.markdown
|
148
|
+
- lib/theatre/version.rb
|
149
|
+
- LICENSE
|
150
|
+
- Rakefile
|
151
|
+
- README.txt
|
152
|
+
has_rdoc: false
|
195
153
|
homepage: http://adhearsion.com
|
196
154
|
post_install_message:
|
197
|
-
rdoc_options:
|
198
|
-
|
199
|
-
- README.txt
|
155
|
+
rdoc_options: []
|
156
|
+
|
200
157
|
require_paths:
|
201
158
|
- lib
|
202
159
|
required_ruby_version: !ruby/object:Gem::Requirement
|
@@ -217,38 +174,6 @@ rubyforge_project: adhearsion
|
|
217
174
|
rubygems_version: 1.2.0
|
218
175
|
signing_key:
|
219
176
|
specification_version: 2
|
220
|
-
summary: Adhearsion, open-source telephony
|
221
|
-
test_files:
|
222
|
-
|
223
|
-
- spec/initializer/test_loading.rb
|
224
|
-
- spec/initializer/test_paths.rb
|
225
|
-
- spec/test_ahn_command.rb
|
226
|
-
- spec/test_code_quality.rb
|
227
|
-
- spec/test_component_manager.rb
|
228
|
-
- spec/test_constants.rb
|
229
|
-
- spec/test_drb.rb
|
230
|
-
- spec/test_helper.rb
|
231
|
-
- spec/test_hooks.rb
|
232
|
-
- spec/test_host_definitions.rb
|
233
|
-
- spec/test_initialization.rb
|
234
|
-
- spec/test_logging.rb
|
235
|
-
- spec/test_relationship_properties.rb
|
236
|
-
- spec/voip/asterisk/config_file_generators/test_agents.rb
|
237
|
-
- spec/voip/asterisk/config_file_generators/test_queues.rb
|
238
|
-
- spec/voip/asterisk/config_file_generators/test_voicemail.rb
|
239
|
-
- spec/voip/asterisk/menu_command/test_calculated_match.rb
|
240
|
-
- spec/voip/asterisk/menu_command/test_matchers.rb
|
241
|
-
- spec/voip/asterisk/test_agi_server.rb
|
242
|
-
- spec/voip/asterisk/test_ami.rb
|
243
|
-
- spec/voip/asterisk/test_commands.rb
|
244
|
-
- spec/voip/asterisk/test_config_manager.rb
|
245
|
-
- spec/voip/dsl/test_dialing_dsl.rb
|
246
|
-
- spec/voip/dsl/test_dispatcher.rb
|
247
|
-
- spec/voip/dsl/test_parser.rb
|
248
|
-
- spec/voip/freeswitch/test_basic_connection_manager.rb
|
249
|
-
- spec/voip/freeswitch/test_inbound_connection_manager.rb
|
250
|
-
- spec/voip/freeswitch/test_oes_server.rb
|
251
|
-
- spec/voip/test_call_routing.rb
|
252
|
-
- spec/voip/test_dialplan_manager.rb
|
253
|
-
- spec/voip/test_numerical_string.rb
|
254
|
-
- spec/voip/test_phone_number.rb
|
177
|
+
summary: Adhearsion, open-source telephony development framework
|
178
|
+
test_files: []
|
179
|
+
|
data/Manifest.txt
DELETED
@@ -1,149 +0,0 @@
|
|
1
|
-
CHANGELOG
|
2
|
-
LICENSE
|
3
|
-
Manifest.txt
|
4
|
-
README.txt
|
5
|
-
Rakefile
|
6
|
-
ahn_generators/component/USAGE
|
7
|
-
ahn_generators/component/component_generator.rb
|
8
|
-
ahn_generators/component/templates/configuration.rb
|
9
|
-
ahn_generators/component/templates/lib/lib.rb.erb
|
10
|
-
ahn_generators/component/templates/test/test.rb.erb
|
11
|
-
ahn_generators/component/templates/test/test_helper.rb
|
12
|
-
app_generators/ahn/USAGE
|
13
|
-
app_generators/ahn/ahn_generator.rb
|
14
|
-
app_generators/ahn/templates/.ahnrc
|
15
|
-
app_generators/ahn/templates/README
|
16
|
-
app_generators/ahn/templates/Rakefile
|
17
|
-
app_generators/ahn/templates/components/simon_game/configuration.rb
|
18
|
-
app_generators/ahn/templates/components/simon_game/lib/simon_game.rb
|
19
|
-
app_generators/ahn/templates/components/simon_game/test/test_helper.rb
|
20
|
-
app_generators/ahn/templates/components/simon_game/test/test_simon_game.rb
|
21
|
-
app_generators/ahn/templates/config/startup.rb
|
22
|
-
app_generators/ahn/templates/dialplan.rb
|
23
|
-
bin/ahn
|
24
|
-
bin/ahnctl
|
25
|
-
bin/jahn
|
26
|
-
lib/adhearsion.rb
|
27
|
-
lib/adhearsion/blank_slate.rb
|
28
|
-
lib/adhearsion/cli.rb
|
29
|
-
lib/adhearsion/component_manager.rb
|
30
|
-
lib/adhearsion/core_extensions/all.rb
|
31
|
-
lib/adhearsion/core_extensions/array.rb
|
32
|
-
lib/adhearsion/core_extensions/custom_daemonizer.rb
|
33
|
-
lib/adhearsion/core_extensions/global.rb
|
34
|
-
lib/adhearsion/core_extensions/guid.rb
|
35
|
-
lib/adhearsion/core_extensions/hash.rb
|
36
|
-
lib/adhearsion/core_extensions/metaprogramming.rb
|
37
|
-
lib/adhearsion/core_extensions/numeric.rb
|
38
|
-
lib/adhearsion/core_extensions/proc.rb
|
39
|
-
lib/adhearsion/core_extensions/pseudo_uuid.rb
|
40
|
-
lib/adhearsion/core_extensions/publishable.rb
|
41
|
-
lib/adhearsion/core_extensions/relationship_properties.rb
|
42
|
-
lib/adhearsion/core_extensions/string.rb
|
43
|
-
lib/adhearsion/core_extensions/thread.rb
|
44
|
-
lib/adhearsion/core_extensions/thread_safety.rb
|
45
|
-
lib/adhearsion/core_extensions/time.rb
|
46
|
-
lib/adhearsion/distributed/gateways/dbus_gateway.rb
|
47
|
-
lib/adhearsion/distributed/gateways/osa_gateway.rb
|
48
|
-
lib/adhearsion/distributed/gateways/rest_gateway.rb
|
49
|
-
lib/adhearsion/distributed/gateways/soap_gateway.rb
|
50
|
-
lib/adhearsion/distributed/gateways/xmlrpc_gateway.rb
|
51
|
-
lib/adhearsion/distributed/peer_finder.rb
|
52
|
-
lib/adhearsion/distributed/remote_cli.rb
|
53
|
-
lib/adhearsion/hooks.rb
|
54
|
-
lib/adhearsion/host_definitions.rb
|
55
|
-
lib/adhearsion/initializer.rb
|
56
|
-
lib/adhearsion/initializer/asterisk.rb
|
57
|
-
lib/adhearsion/initializer/configuration.rb
|
58
|
-
lib/adhearsion/initializer/database.rb
|
59
|
-
lib/adhearsion/initializer/drb.rb
|
60
|
-
lib/adhearsion/initializer/freeswitch.rb
|
61
|
-
lib/adhearsion/initializer/paths.rb
|
62
|
-
lib/adhearsion/initializer/rails.rb
|
63
|
-
lib/adhearsion/logging.rb
|
64
|
-
lib/adhearsion/services/scheduler.rb
|
65
|
-
lib/adhearsion/tasks.rb
|
66
|
-
lib/adhearsion/tasks/database.rb
|
67
|
-
lib/adhearsion/tasks/generating.rb
|
68
|
-
lib/adhearsion/tasks/lint.rb
|
69
|
-
lib/adhearsion/tasks/testing.rb
|
70
|
-
lib/adhearsion/version.rb
|
71
|
-
lib/adhearsion/voip/asterisk.rb
|
72
|
-
lib/adhearsion/voip/asterisk/agi_server.rb
|
73
|
-
lib/adhearsion/voip/asterisk/ami.rb
|
74
|
-
lib/adhearsion/voip/asterisk/ami/actions.rb
|
75
|
-
lib/adhearsion/voip/asterisk/ami/machine.rb
|
76
|
-
lib/adhearsion/voip/asterisk/ami/machine.rl
|
77
|
-
lib/adhearsion/voip/asterisk/ami/parser.rb
|
78
|
-
lib/adhearsion/voip/asterisk/commands.rb
|
79
|
-
lib/adhearsion/voip/asterisk/config_generators/agents.conf.rb
|
80
|
-
lib/adhearsion/voip/asterisk/config_generators/config_generator.rb
|
81
|
-
lib/adhearsion/voip/asterisk/config_generators/queues.conf.rb
|
82
|
-
lib/adhearsion/voip/asterisk/config_generators/voicemail.conf.rb
|
83
|
-
lib/adhearsion/voip/asterisk/config_manager.rb
|
84
|
-
lib/adhearsion/voip/asterisk/special_dial_plan_managers.rb
|
85
|
-
lib/adhearsion/voip/call.rb
|
86
|
-
lib/adhearsion/voip/call_routing.rb
|
87
|
-
lib/adhearsion/voip/commands.rb
|
88
|
-
lib/adhearsion/voip/constants.rb
|
89
|
-
lib/adhearsion/voip/conveniences.rb
|
90
|
-
lib/adhearsion/voip/dial_plan.rb
|
91
|
-
lib/adhearsion/voip/dsl/dialing_dsl.rb
|
92
|
-
lib/adhearsion/voip/dsl/dialing_dsl/dialing_dsl_monkey_patches.rb
|
93
|
-
lib/adhearsion/voip/dsl/dialplan/control_passing_exception.rb
|
94
|
-
lib/adhearsion/voip/dsl/dialplan/dispatcher.rb
|
95
|
-
lib/adhearsion/voip/dsl/dialplan/parser.rb
|
96
|
-
lib/adhearsion/voip/dsl/dialplan/thread_mixin.rb
|
97
|
-
lib/adhearsion/voip/dsl/numerical_string.rb
|
98
|
-
lib/adhearsion/voip/freeswitch/basic_connection_manager.rb
|
99
|
-
lib/adhearsion/voip/freeswitch/event_handler.rb
|
100
|
-
lib/adhearsion/voip/freeswitch/freeswitch_dialplan_command_factory.rb
|
101
|
-
lib/adhearsion/voip/freeswitch/inbound_connection_manager.rb
|
102
|
-
lib/adhearsion/voip/freeswitch/oes_server.rb
|
103
|
-
lib/adhearsion/voip/menu_state_machine/calculated_match.rb
|
104
|
-
lib/adhearsion/voip/menu_state_machine/matchers.rb
|
105
|
-
lib/adhearsion/voip/menu_state_machine/menu_builder.rb
|
106
|
-
lib/adhearsion/voip/menu_state_machine/menu_class.rb
|
107
|
-
script/destroy
|
108
|
-
script/generate
|
109
|
-
spec/fixtures/dialplan.rb
|
110
|
-
spec/initializer/test_configuration.rb
|
111
|
-
spec/initializer/test_loading.rb
|
112
|
-
spec/initializer/test_paths.rb
|
113
|
-
spec/silence.rb
|
114
|
-
spec/test_ahn_command.rb
|
115
|
-
spec/test_code_quality.rb
|
116
|
-
spec/test_component_manager.rb
|
117
|
-
spec/test_constants.rb
|
118
|
-
spec/test_drb.rb
|
119
|
-
spec/test_helper.rb
|
120
|
-
spec/test_hooks.rb
|
121
|
-
spec/test_host_definitions.rb
|
122
|
-
spec/test_initialization.rb
|
123
|
-
spec/test_logging.rb
|
124
|
-
spec/test_relationship_properties.rb
|
125
|
-
spec/voip/asterisk/ami_response_definitions.rb
|
126
|
-
spec/voip/asterisk/config_file_generators/test_agents.rb
|
127
|
-
spec/voip/asterisk/config_file_generators/test_queues.rb
|
128
|
-
spec/voip/asterisk/config_file_generators/test_voicemail.rb
|
129
|
-
spec/voip/asterisk/menu_command/test_calculated_match.rb
|
130
|
-
spec/voip/asterisk/menu_command/test_matchers.rb
|
131
|
-
spec/voip/asterisk/mock_ami_server.rb
|
132
|
-
spec/voip/asterisk/test_agi_server.rb
|
133
|
-
spec/voip/asterisk/test_ami.rb
|
134
|
-
spec/voip/asterisk/test_commands.rb
|
135
|
-
spec/voip/asterisk/test_config_manager.rb
|
136
|
-
spec/voip/dsl/dispatcher_spec_helper.rb
|
137
|
-
spec/voip/dsl/test_dialing_dsl.rb
|
138
|
-
spec/voip/dsl/test_dispatcher.rb
|
139
|
-
spec/voip/dsl/test_parser.rb
|
140
|
-
spec/voip/freeswitch/test_basic_connection_manager.rb
|
141
|
-
spec/voip/freeswitch/test_inbound_connection_manager.rb
|
142
|
-
spec/voip/freeswitch/test_oes_server.rb
|
143
|
-
spec/voip/test_call_routing.rb
|
144
|
-
spec/voip/test_dialplan_manager.rb
|
145
|
-
spec/voip/test_numerical_string.rb
|
146
|
-
spec/voip/test_phone_number.rb
|
147
|
-
test/test_ahn_generator.rb
|
148
|
-
test/test_component_generator.rb
|
149
|
-
test/test_generator_helper.rb
|
data/README.txt
DELETED
@@ -1,6 +0,0 @@
|
|
1
|
-
Adhearsion
|
2
|
-
by Jay Phillips, et. al
|
3
|
-
http://adhearsion.com
|
4
|
-
|
5
|
-
Adhearsion is an open-source framework written in Ruby designed to vastly improve Voice over IP development. It rests atop established telephony platforms (such as Asterisk and Freeswitch) and abstracts their complexity with the beauty of a well-designed, high-level suite of solutions.
|
6
|
-
|
@@ -1,57 +0,0 @@
|
|
1
|
-
class ComponentGenerator < RubiGen::Base
|
2
|
-
|
3
|
-
default_options :author => nil
|
4
|
-
|
5
|
-
attr_reader :name, :class_name
|
6
|
-
|
7
|
-
def initialize(runtime_args, runtime_options = {})
|
8
|
-
super
|
9
|
-
usage if args.empty?
|
10
|
-
@name = args.shift
|
11
|
-
@name = @name.underscore
|
12
|
-
@class_name = @name.camelize
|
13
|
-
extract_options
|
14
|
-
end
|
15
|
-
|
16
|
-
def manifest
|
17
|
-
record do |m|
|
18
|
-
# Ensure appropriate folder(s) exists
|
19
|
-
m.directory "components/#{name}/lib"
|
20
|
-
m.directory "components/#{name}/test"
|
21
|
-
|
22
|
-
# Create stubs
|
23
|
-
m.file "configuration.rb", "components/#{name}/configuration.rb"
|
24
|
-
m.template "lib/lib.rb.erb", "components/#{name}/lib/#{name}.rb"
|
25
|
-
m.template "test/test.rb.erb", "components/#{name}/test/test_#{name}.rb"
|
26
|
-
m.file "test/test_helper.rb", "components/#{name}/test/test_helper.rb"
|
27
|
-
|
28
|
-
end
|
29
|
-
end
|
30
|
-
|
31
|
-
protected
|
32
|
-
def banner
|
33
|
-
<<-EOS
|
34
|
-
Creates a ...
|
35
|
-
|
36
|
-
USAGE: #{$0} #{spec.name} name"
|
37
|
-
EOS
|
38
|
-
end
|
39
|
-
|
40
|
-
def add_options!(opts)
|
41
|
-
# opts.separator ''
|
42
|
-
# opts.separator 'Options:'
|
43
|
-
# For each option below, place the default
|
44
|
-
# at the top of the file next to "default_options"
|
45
|
-
# opts.on("-a", "--author=\"Your Name\"", String,
|
46
|
-
# "Some comment about this option",
|
47
|
-
# "Default: none") { |options[:author]| }
|
48
|
-
# opts.on("-v", "--version", "Show the #{File.basename($0)} version number and quit.")
|
49
|
-
end
|
50
|
-
|
51
|
-
def extract_options
|
52
|
-
# for each option, extract it into a local variable (and create an "attr_reader :author" at the top)
|
53
|
-
# Templates can access these value via the attr_reader-generated methods, but not the
|
54
|
-
# raw instance variable value.
|
55
|
-
# @author = options[:author]
|
56
|
-
end
|
57
|
-
end
|