adhearsion 0.7.1 → 0.7.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. data/.version +1 -0
  2. data/Rakefile +4 -4
  3. data/ahn +1 -1
  4. metadata +3 -2
  5. data/new_projects/old.extensions.rb +0 -49
@@ -0,0 +1 @@
1
+ 0.7.2
data/Rakefile CHANGED
@@ -3,7 +3,7 @@ require 'rake/testtask'
3
3
  require 'rake/rdoctask'
4
4
  require 'rake/gempackagetask'
5
5
 
6
- ADHEARSION_VERSION = File.read '.version'
6
+ ADHEARSION_VERSION = File.read('.version').strip
7
7
  Summary = %{Adhearsion is a professional integration system for
8
8
  integrating anything and everything.}
9
9
 
@@ -34,10 +34,10 @@ gem_spec = Gem::Specification.new do |s|
34
34
  s.bindir = '.'
35
35
  #s.extra_rdoc_files = ['LICENSE']
36
36
 
37
- include = Dir['**/*']
38
- exclude = Dir['{log,pkg}/**/*']
37
+ inc = Dir['**/*'] << '.version'
38
+ exc = Dir['{log,pkg}/**/*']
39
39
 
40
- s.files = include - exclude
40
+ s.files = inc - exc
41
41
 
42
42
  # test_files = Dir['tests/*.rb'] # Will be added when not so buggy
43
43
  end
data/ahn CHANGED
@@ -34,7 +34,7 @@ usage = %"Usage:
34
34
  The helper management system is still under development. Not all of these
35
35
  commands will work. It's coming soon, though! :)"
36
36
 
37
- ADHEARSION_VERSION = File.read File.join(File.dirname(__FILE__), '.version')
37
+ ADHEARSION_VERSION = File.read(File.join(File.dirname(__FILE__), '.version')).strip
38
38
  ARGV.unshift 'start' if ARGV.empty?
39
39
 
40
40
  case ARGV.shift
metadata CHANGED
@@ -3,7 +3,7 @@ rubygems_version: 0.9.0
3
3
  specification_version: 1
4
4
  name: adhearsion
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.7.1
6
+ version: 0.7.2
7
7
  date: 2006-12-29 00:00:00 -06:00
8
8
  summary: Adhearsion is a professional integration system for integrating anything and everything.
9
9
  require_paths:
@@ -34,6 +34,7 @@ files:
34
34
  - lib
35
35
  - LICENSE
36
36
  - new_projects
37
+ - pkg
37
38
  - Rakefile
38
39
  - test
39
40
  - lib/adhearsion.rb
@@ -46,7 +47,6 @@ files:
46
47
  - new_projects/extensions.rb
47
48
  - new_projects/helpers
48
49
  - new_projects/logs
49
- - new_projects/old.extensions.rb
50
50
  - new_projects/Rakefile
51
51
  - new_projects/config/adhearsion.sqlite3
52
52
  - new_projects/config/adhearsion.yml
@@ -87,6 +87,7 @@ files:
87
87
  - test/core_extensions_test.rb
88
88
  - test/dial_test.rb
89
89
  - test/test_micromenus.rb
90
+ - .version
90
91
  test_files: []
91
92
 
92
93
  rdoc_options: []
@@ -1,49 +0,0 @@
1
- # This is an example dialplan. Be sure to use
2
- internal {
3
- callee = User.find_by_ivr_extension extension
4
- if callee
5
-
6
- voicemail extension if last_dial_status != :answer
7
-
8
- #elsif extension.to_s =~ //#/^(((\d{1,3})?\d{1{3})?[1-9]\d{2})?[1-9]\d{6}$/
9
- # puts "got here"
10
- # dial "SIP/#{extension}@sipphone"
11
- else
12
- case extension
13
- when 21 then play weather_report
14
- when 32 then dial "SIP/zoip@demo.zoip.org"
15
- when 888 then loop { print '.'; XBMC.sendkey XBMC.translate(wait_for_digit) }
16
- when 9999
17
- if rand(20) == 0
18
- play %W(a-connect-charge-of #{rand(50) + 10} cents-per-minute will-apply)
19
- sleep 1.second
20
- play %w(just-kidding-not-upset)
21
- end
22
- check_voicemail caller.voicemailbox
23
- else
24
- play 'all-your-base'
25
- end
26
- end
27
- }
28
-
29
- old {
30
- case extension
31
- when 1 then play weather_report("Richardson, Texas")
32
- when 2 then play weather_report(input(5, :play => 'zip-code'))
33
- when 3 then +xbmc
34
- when 4
35
- dial :tweedledee
36
- end
37
- }
38
-
39
- xbmc {
40
- loop {
41
- print '.'
42
- XBMC.sendkey XBMC.translate(wait_for_digit)
43
- }
44
- }
45
-
46
- from_gizmo {
47
- #dial :tweedledum
48
- +xbmc
49
- }