]> git.openstreetmap.org Git - rails.git/blobdiff - vendor/gems/rspec-1.1.2/lib/spec/runner/drb_command_line.rb
Removing rspec from svn, as it isn't being used.
[rails.git] / vendor / gems / rspec-1.1.2 / lib / spec / runner / drb_command_line.rb
diff --git a/vendor/gems/rspec-1.1.2/lib/spec/runner/drb_command_line.rb b/vendor/gems/rspec-1.1.2/lib/spec/runner/drb_command_line.rb
deleted file mode 100644 (file)
index 6c340cf..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-require "drb/drb"
-
-module Spec
-  module Runner
-    # Facade to run specs by connecting to a DRB server
-    class DrbCommandLine
-      # Runs specs on a DRB server. Note that this API is similar to that of
-      # CommandLine - making it possible for clients to use both interchangeably.
-      def self.run(options)
-        begin
-          DRb.start_service
-          spec_server = DRbObject.new_with_uri("druby://localhost:8989")
-          spec_server.run(options.argv, options.error_stream, options.output_stream)
-        rescue DRb::DRbConnError => e
-          options.error_stream.puts "No server is running"
-        end
-      end
-    end
-  end
-end