bougyman-freeswitcher 0.3.0 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/AUTHORS CHANGED
@@ -1,3 +1,14 @@
1
1
  Following persons have contributed to freeswitcher.
2
2
  (Sorted by number of submitted patches, then alphabetically)
3
3
 
4
+ 118 TJ Vanderpoel <bougy.man@gmail.com>
5
+ 64 Jayson Vaughn <jayson@onedrop.home>
6
+ 28 Michael Fellinger <m.fellinger@gmail.com>
7
+ 11 Jayson Vaughn <jayson@onedrop.(none)>
8
+ 9 Jayson Vaughn <jayson@onedrop.nationwide-recovery.com>
9
+ 6 Mikael Bjerkeland <mikael@consoll.no>
10
+ 4 foo <jvaughn@hellspass.nationwide-recovery.com>
11
+ 4 Jayson Vaughn <vaughn.jayson@gmail.com>
12
+ 3 Kevin Berry <kevin@opensourcealchemist.com>
13
+ 1 jayson vaughn <jayson@falcon.(none)>
14
+ 1 U-Paul-PC\Paul <Paul@Paul-PC.(none)>
data/CHANGELOG CHANGED
@@ -1,3 +1,11 @@
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
+
5
+ [fbaf84c | Mon May 18 23:24:58 UTC 2009] TJ Vanderpoel <bougy.man@gmail.com>
6
+
7
+ * Version 0.3.0
8
+
1
9
  [bf6befa | Mon May 18 23:22:36 UTC 2009] TJ Vanderpoel <bougy.man@gmail.com>
2
10
 
3
11
  * functionality for receiving variables passed to a block complete. README updated. Convert Rakefile file options to Pathname
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.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}
data/lib/fsr/version.rb CHANGED
@@ -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: bougyman-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