feedupdater 0.2.4 → 0.2.5

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG CHANGED
@@ -1,3 +1,5 @@
1
+ == FeedUpdater 0.2.5
2
+ * fixed bug with redefinition of file searching system
1
3
  == FeedUpdater 0.2.4
2
4
  * added more code for detecting the location of the config file
3
5
  == FeedUpdater 0.2.3
@@ -27,20 +27,22 @@ require 'feed_updater/version'
27
27
  # ROFLCOPTERS?
28
28
  # This mainly exists because of the approximately 1 billion different
29
29
  # ways to deploy this script.
30
- class FileStalker
31
- def self.hunt(paths)
32
- for path in paths
33
- if File.exists?(File.expand_path(path))
34
- return File.expand_path(path)
35
- elsif File.exists?(File.expand_path(
36
- File.dirname(__FILE__) + path))
37
- return File.expand_path(File.dirname(__FILE__) + path)
38
- elsif File.exists?(File.expand_path(
39
- File.dirname(__FILE__) + "/" + path))
40
- return File.expand_path(File.dirname(__FILE__) + "/" + path)
30
+ if !defined?(FileStalker)
31
+ class FileStalker
32
+ def self.hunt(paths)
33
+ for path in paths
34
+ if File.exists?(File.expand_path(path))
35
+ return File.expand_path(path)
36
+ elsif File.exists?(File.expand_path(
37
+ File.dirname(__FILE__) + path))
38
+ return File.expand_path(File.dirname(__FILE__) + path)
39
+ elsif File.exists?(File.expand_path(
40
+ File.dirname(__FILE__) + "/" + path))
41
+ return File.expand_path(File.dirname(__FILE__) + "/" + path)
42
+ end
41
43
  end
44
+ return nil
42
45
  end
43
- return nil
44
46
  end
45
47
  end
46
48
  # :startdoc:
@@ -2,7 +2,7 @@ module FeedTools
2
2
  module FEED_UPDATER_VERSION #:nodoc:
3
3
  MAJOR = 0
4
4
  MINOR = 2
5
- TINY = 4
5
+ TINY = 5
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
metadata CHANGED
@@ -3,7 +3,7 @@ rubygems_version: 0.9.0
3
3
  specification_version: 1
4
4
  name: feedupdater
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.2.4
6
+ version: 0.2.5
7
7
  date: 2006-09-20 00:00:00 -04:00
8
8
  summary: Automatic feed updater daemon.
9
9
  require_paths: