summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
authorTed Ross <tross@apache.org>2010-12-22 13:52:20 +0000
committerTed Ross <tross@apache.org>2010-12-22 13:52:20 +0000
commit930c9eba374da23368168ed3100bdd9762dc4ee2 (patch)
treebe7f6a5c737c65e09285a2c9c70d71168ba89949 /cpp
parentc4620611bf18e268e746416387e6596047a72edb (diff)
downloadqpid-python-930c9eba374da23368168ed3100bdd9762dc4ee2.tar.gz
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 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1051903 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp')
-rw-r--r--cpp/bindings/qmf2/ruby/Makefile.am1
-rw-r--r--cpp/bindings/qmf2/ruby/qmf2.rb4
2 files changed, 3 insertions, 2 deletions
diff --git a/cpp/bindings/qmf2/ruby/Makefile.am b/cpp/bindings/qmf2/ruby/Makefile.am
index 4a8b8e269e..f3695e0fbb 100644
--- a/cpp/bindings/qmf2/ruby/Makefile.am
+++ b/cpp/bindings/qmf2/ruby/Makefile.am
@@ -31,6 +31,7 @@ cqmf2.cpp: $(srcdir)/ruby.i $(srcdir)/../qmf2.i $(srcdir)/../../swig_ruby_typema
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
diff --git a/cpp/bindings/qmf2/ruby/qmf2.rb b/cpp/bindings/qmf2/ruby/qmf2.rb
index 5175fdc2b1..97e71c642b 100644
--- a/cpp/bindings/qmf2/ruby/qmf2.rb
+++ b/cpp/bindings/qmf2/ruby/qmf2.rb
@@ -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)