From bad615ef09ffe4cdb18aece31b82d57b0f2e2130 Mon Sep 17 00:00:00 2001 From: Chris Eppstein Date: Thu, 19 Nov 2009 02:19:38 -0800 Subject: [PATCH] Fix a bug in FSSM for ruby 1.9. Closes GH-48. --- lib/vendor/fssm/state.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/vendor/fssm/state.rb b/lib/vendor/fssm/state.rb index fe514c3f..9850bfa5 100644 --- a/lib/vendor/fssm/state.rb +++ b/lib/vendor/fssm/state.rb @@ -37,7 +37,7 @@ class FSSM::State end def add_glob(snap, glob) - Pathname.glob(@path.to_pathname.join(glob)).each do |fn| + Pathname.glob(@path.to_pathname.join(glob).to_s).each do |fn| next unless fn.file? snap["#{fn}"] = fn.mtime end