From 27f1f3f80f5cbdc20d4bbca0ce35321fcf7fe4f1 Mon Sep 17 00:00:00 2001
From: Johan Holmberg <holmberg556@gmail.com>
Date: Sun, 30 Oct 2011 20:33:16 +0100
Subject: [PATCH] Make 'cmdtest' work with Ruby 1.9.3 too.

---
 bin/cmdtest.rb              | 2 +-
 lib/cmdtest/methodfilter.rb | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/bin/cmdtest.rb b/bin/cmdtest.rb
index de30997..6ce37c5 100755
--- a/bin/cmdtest.rb
+++ b/bin/cmdtest.rb
@@ -183,7 +183,7 @@ module Cmdtest
     end
 
     def _path_separator
-      Config::CONFIG["PATH_SEPARATOR"] || ":"
+      RbConfig::CONFIG["PATH_SEPARATOR"] || ":"
     end
 
     def orig_env_path
diff --git a/lib/cmdtest/methodfilter.rb b/lib/cmdtest/methodfilter.rb
index 823ed30..67dd8b7 100644
--- a/lib/cmdtest/methodfilter.rb
+++ b/lib/cmdtest/methodfilter.rb
@@ -126,7 +126,7 @@ module Cmdtest
     end
 
     def _method_key(file, klass, method)
-      file + ":" + klass + "." + method
+      file + ":" + klass + "." + method.to_s
     end
 
   end