qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@apache.org
Subject svn commit: r451317 - in /incubator/qpid/trunk/qpid/ruby: ./ qpid/
Date Fri, 29 Sep 2006 14:54:38 GMT
Author: rhs
Date: Fri Sep 29 07:54:37 2006
New Revision: 451317

URL: http://svn.apache.org/viewvc?view=rev&rev=451317
Log:
moved ruby code into a qpid package

Added:
    incubator/qpid/trunk/qpid/ruby/qpid/
    incubator/qpid/trunk/qpid/ruby/qpid/client.rb
      - copied, changed from r449770, incubator/qpid/trunk/qpid/ruby/client.rb
    incubator/qpid/trunk/qpid/ruby/qpid/codec.rb
      - copied unchanged from r449770, incubator/qpid/trunk/qpid/ruby/codec.rb
    incubator/qpid/trunk/qpid/ruby/qpid/connection.rb
      - copied, changed from r449770, incubator/qpid/trunk/qpid/ruby/connection.rb
    incubator/qpid/trunk/qpid/ruby/qpid/fields.rb
      - copied unchanged from r449770, incubator/qpid/trunk/qpid/ruby/fields.rb
    incubator/qpid/trunk/qpid/ruby/qpid/peer.rb
      - copied, changed from r449770, incubator/qpid/trunk/qpid/ruby/peer.rb
    incubator/qpid/trunk/qpid/ruby/qpid/queue.rb
      - copied unchanged from r449770, incubator/qpid/trunk/qpid/ruby/queue.rb
    incubator/qpid/trunk/qpid/ruby/qpid/spec.rb
      - copied, changed from r449770, incubator/qpid/trunk/qpid/ruby/spec.rb
    incubator/qpid/trunk/qpid/ruby/qpid/traverse.rb
      - copied unchanged from r449770, incubator/qpid/trunk/qpid/ruby/traverse.rb
Removed:
    incubator/qpid/trunk/qpid/ruby/client.rb
    incubator/qpid/trunk/qpid/ruby/codec.rb
    incubator/qpid/trunk/qpid/ruby/connection.rb
    incubator/qpid/trunk/qpid/ruby/fields.rb
    incubator/qpid/trunk/qpid/ruby/peer.rb
    incubator/qpid/trunk/qpid/ruby/queue.rb
    incubator/qpid/trunk/qpid/ruby/spec.rb
    incubator/qpid/trunk/qpid/ruby/traverse.rb
Modified:
    incubator/qpid/trunk/qpid/ruby/diff.rb
    incubator/qpid/trunk/qpid/ruby/test.rb

Modified: incubator/qpid/trunk/qpid/ruby/diff.rb
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/ruby/diff.rb?view=diff&rev=451317&r1=451316&r2=451317
==============================================================================
--- incubator/qpid/trunk/qpid/ruby/diff.rb (original)
+++ incubator/qpid/trunk/qpid/ruby/diff.rb Fri Sep 29 07:54:37 2006
@@ -14,7 +14,7 @@
 # limitations under the License.
 #
 
-require "spec"
+require "qpid/spec"
 
 spec = Spec.load(File.new($*[0]))
 

Copied: incubator/qpid/trunk/qpid/ruby/qpid/client.rb (from r449770, incubator/qpid/trunk/qpid/ruby/client.rb)
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/ruby/qpid/client.rb?view=diff&rev=451317&p1=incubator/qpid/trunk/qpid/ruby/client.rb&r1=449770&p2=incubator/qpid/trunk/qpid/ruby/qpid/client.rb&r2=451317
==============================================================================
--- incubator/qpid/trunk/qpid/ruby/client.rb (original)
+++ incubator/qpid/trunk/qpid/ruby/qpid/client.rb Fri Sep 29 07:54:37 2006
@@ -14,9 +14,9 @@
 # limitations under the License.
 #
 
-require "peer"
 require "thread"
-require "queue"
+require "qpid/peer"
+require "qpid/queue"
 
 module Qpid
 

Copied: incubator/qpid/trunk/qpid/ruby/qpid/connection.rb (from r449770, incubator/qpid/trunk/qpid/ruby/connection.rb)
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/ruby/qpid/connection.rb?view=diff&rev=451317&p1=incubator/qpid/trunk/qpid/ruby/connection.rb&r1=449770&p2=incubator/qpid/trunk/qpid/ruby/qpid/connection.rb&r2=451317
==============================================================================
--- incubator/qpid/trunk/qpid/ruby/connection.rb (original)
+++ incubator/qpid/trunk/qpid/ruby/qpid/connection.rb Fri Sep 29 07:54:37 2006
@@ -15,7 +15,7 @@
 #
 
 require "socket"
-require "codec"
+require "qpid/codec"
 
 include Codec
 

Copied: incubator/qpid/trunk/qpid/ruby/qpid/peer.rb (from r449770, incubator/qpid/trunk/qpid/ruby/peer.rb)
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/ruby/qpid/peer.rb?view=diff&rev=451317&p1=incubator/qpid/trunk/qpid/ruby/peer.rb&r1=449770&p2=incubator/qpid/trunk/qpid/ruby/qpid/peer.rb&r2=451317
==============================================================================
--- incubator/qpid/trunk/qpid/ruby/peer.rb (original)
+++ incubator/qpid/trunk/qpid/ruby/qpid/peer.rb Fri Sep 29 07:54:37 2006
@@ -15,9 +15,9 @@
 #
 
 require "thread"
-require "queue"
-require "connection"
-require "fields"
+require "qpid/queue"
+require "qpid/connection"
+require "qpid/fields"
 
 module Qpid
 

Copied: incubator/qpid/trunk/qpid/ruby/qpid/spec.rb (from r449770, incubator/qpid/trunk/qpid/ruby/spec.rb)
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/ruby/qpid/spec.rb?view=diff&rev=451317&p1=incubator/qpid/trunk/qpid/ruby/spec.rb&r1=449770&p2=incubator/qpid/trunk/qpid/ruby/qpid/spec.rb&r2=451317
==============================================================================
--- incubator/qpid/trunk/qpid/ruby/spec.rb (original)
+++ incubator/qpid/trunk/qpid/ruby/qpid/spec.rb Fri Sep 29 07:54:37 2006
@@ -14,11 +14,10 @@
 # limitations under the License.
 #
 
-require "rexml/document"
 require "set"
-require "fields"
-require "traverse"
-require "delegate"
+require "rexml/document"
+require "qpid/fields"
+require "qpid/traverse"
 
 module Spec
 

Modified: incubator/qpid/trunk/qpid/ruby/test.rb
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/ruby/test.rb?view=diff&rev=451317&r1=451316&r2=451317
==============================================================================
--- incubator/qpid/trunk/qpid/ruby/test.rb (original)
+++ incubator/qpid/trunk/qpid/ruby/test.rb Fri Sep 29 07:54:37 2006
@@ -14,8 +14,16 @@
 # limitations under the License.
 #
 
-require "client"
-require "spec"
+require "qpid/client"
+require "qpid/spec"
+
+def die(msg)
+  puts msg
+  exit(1)
+end
+
+specfile = $*[0]
+die("usage: test.rb <spec file>") if specfile.nil?
 
 c = Qpid::Client.new("0.0.0.0", 5672, Spec.load($*[0]))
 c.start({"LOGIN" => "guest", "PASSWORD" => "guest"})



Mime
View raw message