Author: tross
Date: Wed Dec 22 13:52:20 2010
New Revision: 1051903
URL: http://svn.apache.org/viewvc?rev=1051903&view=rev
Log:
Two fixes in the Ruby QMF2 binding:
1) Fixed typos in the close methods for Console and Agent sessions
2) Fixed the makefile to properly distribute the qmf2.rb wrapper
Modified:
qpid/trunk/qpid/cpp/bindings/qmf2/ruby/Makefile.am
qpid/trunk/qpid/cpp/bindings/qmf2/ruby/qmf2.rb
Modified: qpid/trunk/qpid/cpp/bindings/qmf2/ruby/Makefile.am
URL:
http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/bindings/qmf2/ruby/Makefile.am?rev=1051903&r1=1051902&r2=1051903&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/bindings/qmf2/ruby/Makefile.am (original)
+++ qpid/trunk/qpid/cpp/bindings/qmf2/ruby/Makefile.am Wed Dec 22 13:52:20 2010
@@ -31,6 +31,7 @@ cqmf2.cpp: $(srcdir)/ruby.i $(srcdir)/..
rubylibarchdir = $(RUBY_LIB_ARCH)
rubylibarch_LTLIBRARIES = cqmf2.la
+dist_rubylib_DATA = qmf2.rb
cqmf2_la_LDFLAGS = -avoid-version -module -shrext ".$(RUBY_DLEXT)"
cqmf2_la_LIBADD = $(RUBY_LIBS) -L$(top_builddir)/src/.libs -lqmf2
$(top_builddir)/src/libqmf2.la
Modified: qpid/trunk/qpid/cpp/bindings/qmf2/ruby/qmf2.rb
URL:
http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/bindings/qmf2/ruby/qmf2.rb?rev=1051903&r1=1051902&r2=1051903&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/bindings/qmf2/ruby/qmf2.rb (original)
+++ qpid/trunk/qpid/cpp/bindings/qmf2/ruby/qmf2.rb Wed Dec 22 13:52:20 2010
@@ -101,7 +101,7 @@ module Qmf2
def set_agent_filter(filter) @impl.setAgentFilter(filter) end
def open() @impl.open end
- def close() @imp.close end
+ def close() @impl.close end
def agents
result = []
@@ -134,7 +134,7 @@ module Qmf2
def set_instance(val) @impl.setInstance(val) end
def set_attribute(key, val) @impl.setAttribute(key, val) end
def open() @impl.open end
- def close() @imp.close end
+ def close() @impl.close end
def register_schema(cls) @impl.registerSchema(cls.impl) end
def add_data(data, name="", persistent=:false)
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:[email protected]