diff options
| author | Ted Ross <tross@apache.org> | 2010-12-22 13:52:20 +0000 |
|---|---|---|
| committer | Ted Ross <tross@apache.org> | 2010-12-22 13:52:20 +0000 |
| commit | 0836e38953b8a1b6c0dc1a8899874b094d6115b6 (patch) | |
| tree | 0e320e1f119cfb2dea05c9e582f1b632a5e6b9a4 /qpid/cpp | |
| parent | 4365a8b0b4a55892262896d52676794d13e2e4b3 (diff) | |
| download | qpid-python-0836e38953b8a1b6c0dc1a8899874b094d6115b6.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@1051903 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp')
| -rw-r--r-- | qpid/cpp/bindings/qmf2/ruby/Makefile.am | 1 | ||||
| -rw-r--r-- | qpid/cpp/bindings/qmf2/ruby/qmf2.rb | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/qpid/cpp/bindings/qmf2/ruby/Makefile.am b/qpid/cpp/bindings/qmf2/ruby/Makefile.am index 4a8b8e269e..f3695e0fbb 100644 --- a/qpid/cpp/bindings/qmf2/ruby/Makefile.am +++ b/qpid/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/qpid/cpp/bindings/qmf2/ruby/qmf2.rb b/qpid/cpp/bindings/qmf2/ruby/qmf2.rb index 5175fdc2b1..97e71c642b 100644 --- a/qpid/cpp/bindings/qmf2/ruby/qmf2.rb +++ b/qpid/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) |
