freeswitcher 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- data/AUTHORS +1 -1
- data/CHANGELOG +4 -0
- data/freeswitcher.gemspec +1 -1
- data/lib/fsr.rb +5 -8
- data/lib/fsr/version.rb +1 -1
- metadata +1 -1
data/AUTHORS
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
Following persons have contributed to freeswitcher.
|
2
2
|
(Sorted by number of submitted patches, then alphabetically)
|
3
3
|
|
4
|
-
|
4
|
+
118 TJ Vanderpoel <bougy.man@gmail.com>
|
5
5
|
64 Jayson Vaughn <jayson@onedrop.home>
|
6
6
|
28 Michael Fellinger <m.fellinger@gmail.com>
|
7
7
|
11 Jayson Vaughn <jayson@onedrop.(none)>
|
data/CHANGELOG
CHANGED
data/freeswitcher.gemspec
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = %q{freeswitcher}
|
5
|
-
s.version = "0.3.
|
5
|
+
s.version = "0.3.1"
|
6
6
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
8
8
|
s.authors = ["Jayson Vaughn", "Michael Fellinger", "Kevin Berry", "TJ Vanderpoel"]
|
data/lib/fsr.rb
CHANGED
@@ -67,20 +67,17 @@ module FSR
|
|
67
67
|
end
|
68
68
|
end
|
69
69
|
|
70
|
-
private
|
71
70
|
|
72
71
|
# Find the FreeSWITCH install path if running FSR on a local box with FreeSWITCH installed.
|
73
72
|
# This will enable sqlite db access
|
74
73
|
def self.find_freeswitch_install
|
75
74
|
good_path = FS_INSTALL_PATHS.find do |fs_path|
|
76
|
-
Log.warn("#{fs_path} is not a directory!") if File.exists?(fs_path) && !File.directory?(fs_path)
|
77
|
-
Log.warn("#{fs_path} is not readable by this user!") if File.exists?(fs_path) && !File.readable?(fs_path)
|
78
|
-
Dir["#{fs_path}/{conf,db}/"].size == 2
|
79
|
-
end
|
80
|
-
if good_path.nil?
|
81
|
-
Log.warn("No FreeSWITCH install found, database and configuration functionality disabled")
|
82
|
-
return nil
|
75
|
+
FSR::Log.warn("#{fs_path} is not a directory!") if File.exists?(fs_path) && !File.directory?(fs_path)
|
76
|
+
FSR::Log.warn("#{fs_path} is not readable by this user!") if File.exists?(fs_path) && !File.readable?(fs_path)
|
77
|
+
Dir["#{fs_path}/{conf,db}/"].size == 2 ? fs_path.to_s : nil
|
83
78
|
end
|
79
|
+
FSR::Log.warn("No FreeSWITCH install found, database and configuration functionality disabled") if good_path.nil?
|
80
|
+
good_path
|
84
81
|
end
|
85
82
|
|
86
83
|
FS_ROOT = find_freeswitch_install # FreeSWITCH $${base_dir}
|
data/lib/fsr/version.rb
CHANGED