Skip to content

Commit

Permalink
AVRO-424. Include a Ruby gem in distributions. Contributed by Ryan King.
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.apache.org/repos/asf/hadoop/avro/trunk@916066 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
cutting committed Feb 25, 2010
1 parent 2b15803 commit 15bc535
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 15 deletions.
6 changes: 5 additions & 1 deletion CHANGES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,16 @@ Avro Change Log

Avro 1.3.1 (unreleased)

IMPROVEMENTS

AVRO-426. Include a ruby gem in distributions.
(Ryan King via cutting)

BUG FIXES

AVRO-424. Fix the specification of the deflate codec.
(Scott Carey via cutting)


Avro 1.3.0 (24 February 2010)

INCOMPATIBLE CHANGES
Expand Down
2 changes: 2 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@ case "$target" in

(cd lang/c++; ./build.sh dist)

(cd lang/ruby; rake dist)

# build docs
(cd doc; ant)
(cd build; tar czf ../dist/avro-doc-$VERSION.tar.gz avro-doc-$VERSION)
Expand Down
30 changes: 17 additions & 13 deletions lang/ruby/Manifest
Original file line number Diff line number Diff line change
@@ -1,15 +1,19 @@
CHANGELOG
Rakefile
lib/rb/avro.rb
lib/rb/avro/collect_hash.rb
lib/rb/avro/data_file.rb
lib/rb/avro/io.rb
lib/rb/avro/ipc.rb
lib/rb/avro/protocol.rb
lib/rb/avro/schema.rb
test/rb/sample_ipc_client.rb
test/rb/sample_ipc_server.rb
test/rb/test_help.rb
test/rb/test_io.rb
test/rb/test_protocol.rb
Manifest
Rakefile
avro.gemspec
interop/test_interop.rb
lib/avro.rb
lib/avro/collect_hash.rb
lib/avro/data_file.rb
lib/avro/io.rb
lib/avro/ipc.rb
lib/avro/protocol.rb
lib/avro/schema.rb
test/random_data.rb
test/sample_ipc_client.rb
test/sample_ipc_server.rb
test/test_help.rb
test/test_io.rb
test/test_protocol.rb
tmp/test.rb.avro
7 changes: 6 additions & 1 deletion lang/ruby/Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@

require 'rubygems'
require 'echoe'
Echoe.new('avro') do |p|
VERSION = File.open('../../share/VERSION.txt').read
Echoe.new('avro', VERSION) do |p|
p.author = "Jeff Hodges"
p.author = "Ryan King"
p.summary = "Apache Avro for Ruby"
Expand Down Expand Up @@ -51,3 +52,7 @@ SHARE = HERE + '/../../share'
SCHEMAS = SHARE + '/test/schemas'
BUILD = HERE + '/../../build'

task :dist => [:manifest, :gem] do
mkdir_p "../../dist/ruby"
cp "pkg/avro-#{VERSION}.gem", "../../dist/ruby"
end

0 comments on commit 15bc535

Please sign in to comment.