jankubr / freec

Freec is a framework you can build voice applications on top of. It makes use of the Event socket outbound API of Freeswitch.

freec / Rakefile
100644 54 lines (47 sloc) 1.543 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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
require 'rubygems'
require 'rake'
require 'echoe'
 
Echoe.new('freec', '0.2.0') do |p|
  p.description = "Layer between your Ruby voice app and Freeswitch."
  p.url = "http://github.com/jankubr/freec"
  p.author = "Jan Kubr"
  p.email = "hi@jankubr.com"
  p.ignore_pattern = []
  p.runtime_dependencies = ['daemons']
  p.development_dependencies = ['rspec']
end
 
desc 'Clean up files.'
task :clean do |t|
  FileUtils.rm_rf "tmp"
  FileUtils.rm_rf "pkg"
end
 
spec = Gem::Specification.new do |s|
  s.name = "freec"
  s.version = '0.2.0'
  s.author = "Jan Kubr"
  s.email = "hi@jankubr.com"
  s.homepage = "http://github.com/jankubr/freec"
  s.platform = Gem::Platform::RUBY
  s.summary = "Layer between your Ruby voice app and Freeswitch."
  s.files = FileList["README*",
                                 "Rakefile",
                                 "{lib,spec}/**/*"].to_a
  s.require_path = "lib"
  s.rubyforge_project = "freec"
  s.has_rdoc = false
  s.extra_rdoc_files = FileList["README*"].to_a
  s.rdoc_options << '--line-numbers' << '--inline-source'
  s.requirements << "daemons"
  s.add_development_dependency 'rspec'
end
 
desc "Generate a gemspec file for GitHub"
task :gemspec do
  File.open("#{spec.name}.gemspec", 'w') do |f|
    f.write spec.to_ruby
  end
end
 
require 'spec/rake/spectask'
 
desc "Run all specs"
Spec::Rake::SpecTask.new('spec') do |t|
  t.spec_files = FileList['spec/**/*.rb']
end