You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by rh...@apache.org on 2010/05/18 21:31:50 UTC

svn commit: r945839 - in /qpid/trunk/qpid/ruby: Rakefile lib/qpid/config.rb lib/qpid/specs/ lib/qpid/specs/amqp.0-10-qpid-errata.xml lib/qpid/specs/amqp.0-10.dtd

Author: rhs
Date: Tue May 18 19:31:50 2010
New Revision: 945839

URL: http://svn.apache.org/viewvc?rev=945839&view=rev
Log:
removed external spec dependency

Added:
    qpid/trunk/qpid/ruby/lib/qpid/specs/
    qpid/trunk/qpid/ruby/lib/qpid/specs/amqp.0-10-qpid-errata.xml
      - copied unchanged from r945834, qpid/trunk/qpid/specs/amqp.0-10-qpid-errata.xml
    qpid/trunk/qpid/ruby/lib/qpid/specs/amqp.0-10.dtd
      - copied unchanged from r945834, qpid/trunk/qpid/specs/amqp.0-10.dtd
Modified:
    qpid/trunk/qpid/ruby/Rakefile
    qpid/trunk/qpid/ruby/lib/qpid/config.rb

Modified: qpid/trunk/qpid/ruby/Rakefile
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/ruby/Rakefile?rev=945839&r1=945838&r2=945839&view=diff
==============================================================================
--- qpid/trunk/qpid/ruby/Rakefile (original)
+++ qpid/trunk/qpid/ruby/Rakefile Tue May 18 19:31:50 2010
@@ -88,8 +88,9 @@ end
 PKG_FILES = FileList[
   "LICENSE.txt", "NOTICE.txt",
   "Rakefile", "RELEASE_NOTES",
-  "lib/**/*.rb", "lib/*/spec_cache/*.rb*", "tests/**/*", "examples/**", "ext/**/*.[ch]",
-  "ext/**/MANIFEST", "ext/**/extconf.rb"
+  "lib/**/*.rb", "lib/**/*.xml", "lib/**/*.dtd", "lib/*/spec_cache/*.rb*",
+  "tests/**/*", "examples/**", "ext/**/*.[ch]", "ext/**/MANIFEST",
+  "ext/**/extconf.rb"
 ]
 
 DIST_FILES = FileList[

Modified: qpid/trunk/qpid/ruby/lib/qpid/config.rb
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/ruby/lib/qpid/config.rb?rev=945839&r1=945838&r2=945839&view=diff
==============================================================================
--- qpid/trunk/qpid/ruby/lib/qpid/config.rb (original)
+++ qpid/trunk/qpid/ruby/lib/qpid/config.rb Tue May 18 19:31:50 2010
@@ -21,8 +21,7 @@ module Qpid
   module Config
 
     def self.amqp_spec
-      dirs = [File::expand_path(File::join(File::dirname(__FILE__), "../../../specs")),
-              "/usr/share/amqp"]
+      dirs = [File::expand_path(File::join(File::dirname(__FILE__), "specs"))]
       dirs.each do |d|
         spec = File::join(d, "amqp.0-10-qpid-errata.xml")
         return spec if File::exists? spec



---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:commits-subscribe@qpid.apache.org