Author: mcpierce
Date: Tue Jan  8 19:48:08 2013
New Revision: 1430466

URL: http://svn.apache.org/viewvc?rev=1430466&view=rev
Log:
NO-JIRA: Creates an upstream source tarball for the Ruby language bindings.

Generates a tarball that includes the Swig descriptor for the Ruby
bindings, as well as the public Ruby APIs that sit on top of the Swig
APIs, and various documentation.

Removed:
    qpid/proton/trunk/proton-c/bindings/ruby/Rakefile
Modified:
    qpid/proton/trunk/bin/release.sh
    qpid/proton/trunk/proton-c/bindings/ruby/README.rdoc

Modified: qpid/proton/trunk/bin/release.sh
URL: 
http://svn.apache.org/viewvc/qpid/proton/trunk/bin/release.sh?rev=1430466&r1=1430465&r2=1430466&view=diff
==============================================================================
--- qpid/proton/trunk/bin/release.sh (original)
+++ qpid/proton/trunk/bin/release.sh Tue Jan  8 19:48:08 2013
@@ -131,7 +131,7 @@ EOF
 ##
 ## Create the Ruby GEM
 ##
-rootname="qpid-proton-${VERSION}"
+rootname="qpid-proton-ruby-${VERSION}"
 WORKDIR=$(mktemp -d)
 mkdir -p "${WORKDIR}"
 (
@@ -140,7 +140,9 @@ mkdir -p "${WORKDIR}"
     echo "In ${PWD}:"
     ls -l
     cd ${rootname}/bindings/ruby
-    gem build qpid_proton.gemspec
-    cp qpid_proton-*gem ${CURRDIR}
+    tar zcf  ${CURRDIR}/${rootname}.tar.gz ${rootname} \
+      --exclude=spec \
+      --exclude=CMakeLists.txt \
+      --exclude=.gitignore
 )
 

Modified: qpid/proton/trunk/proton-c/bindings/ruby/README.rdoc
URL: 
http://svn.apache.org/viewvc/qpid/proton/trunk/proton-c/bindings/ruby/README.rdoc?rev=1430466&r1=1430465&r2=1430466&view=diff
==============================================================================
--- qpid/proton/trunk/proton-c/bindings/ruby/README.rdoc (original)
+++ qpid/proton/trunk/proton-c/bindings/ruby/README.rdoc Tue Jan  8 19:48:08 
2013
@@ -1,7 +1,31 @@
 Qpid Proton Ruby Language Bindings
 ==================================
 
+The Ruby code contained here provides Ruby language bindings for working
+with the Proton messaging framework.
+
+
+Creating The Bindings
+=====================
+
+To generate the bindings, you will need to have the Proton messaging
+libraries installed. You will also need to have Swig [1].
+
+To generate the bindings, simply type:
+
+    gem build qpid_proton.gemspec
+
+This will generate the Ruby wrapper for the C libraries and bundle them,
+along with the public APIs, into a gemfile. You can then install that
+gem file using:
+
+    gem install qpid_proton-##.gem
+
+where ## is the release version.
+
+[1] http://www.swig.org/
+
 KNOWN ISSUES
 ============
 
- * Setting a pn_atom_t of type String to a nil returns an empty string.
\ No newline at end of file
+ * Setting a pn_atom_t of type String to a nil returns an empty string.



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to