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 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
- 117 TJ Vanderpoel <bougy.man@gmail.com>
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
@@ -1,3 +1,7 @@
1
+ [9451ba8 | Tue May 19 00:26:26 UTC 2009] TJ Vanderpoel <bougy.man@gmail.com>
2
+
3
+ * Version 0.3.1 fixes bug in FS_ROOT not being populated properly
4
+
1
5
  [fbaf84c | Mon May 18 23:24:58 UTC 2009] TJ Vanderpoel <bougy.man@gmail.com>
2
6
 
3
7
  * Version 0.3.0
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{freeswitcher}
5
- s.version = "0.3.0"
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}
@@ -1,3 +1,3 @@
1
1
  module FSR
2
- VERSION = "0.3.0"
2
+ VERSION = "0.3.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: freeswitcher
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jayson Vaughn