Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

0.8.0 release

  • Loading branch information...
commit bcd849e515668fbe0d1b61dcc036409e77961b8c 1 parent f9d8349
@ryanking ryanking authored
Showing with 52 additions and 2 deletions.
  1. +2 −0  CHANGELOG
  2. +1 −0  Manifest
  3. +2 −2 Rakefile
  4. +47 −0 cassandra.gemspec
View
2  CHANGELOG
@@ -1,3 +1,5 @@
+v0.8.0 Compatibility with Cassandra 0.6 betas (no longer compatible with 0.5); assorted bugfixes.
+
v0.7.6 Bugfixes.
v0.7.5 Another packaging error.
View
1  Manifest
@@ -20,6 +20,7 @@ lib/cassandra/mock.rb
lib/cassandra/ordered_hash.rb
lib/cassandra/protocol.rb
lib/cassandra/time.rb
+test/cassandra_client_test.rb
test/cassandra_mock_test.rb
test/cassandra_test.rb
test/comparable_types_test.rb
View
4 Rakefile
@@ -17,7 +17,7 @@ end
CASSANDRA_HOME = ENV['CASSANDRA_HOME'] || "#{ENV['HOME']}/cassandra"
DOWNLOAD_DIR = "/tmp"
-DIST_URL = "http://mirror.nyi.net/apache/cassandra/0.6.0/apache-cassandra-0.6.0-beta3-bin.tar.gz"
+DIST_URL = "http://apache.osuosl.org/incubator/cassandra/0.6.0/apache-cassandra-0.6.0-beta2-bin.tar.gz"
DIST_FILE = DIST_URL.split('/').last
directory CASSANDRA_HOME
@@ -39,7 +39,7 @@ end
file File.join(CASSANDRA_HOME, 'server') => File.join(DOWNLOAD_DIR, DIST_FILE) do
Dir.chdir(CASSANDRA_HOME) do
- sh "tar xzf #{File.join(DOWNLOAD_DIR, DIST_FILE)} -C #{CASSANDRA_HOME}"
+ sh "tar xzf #{DIST_FILE}"
sh "mv #{DIST_FILE.split('.')[0..2].join('.').sub('-bin', '')} server"
Dir.chdir('server') do
sh "ant ivy-retrieve"
View
47 cassandra.gemspec
@@ -0,0 +1,47 @@
+# -*- encoding: utf-8 -*-
+
+Gem::Specification.new do |s|
+ s.name = %q{cassandra}
+ s.version = "0.8.0"
+
+ s.required_rubygems_version = Gem::Requirement.new(">= 0.8") if s.respond_to? :required_rubygems_version=
+ s.authors = ["Evan Weaver, Ryan King"]
+ s.cert_chain = ["/Users/ryan/.gemkeys/gem-public_cert.pem"]
+ s.date = %q{2010-03-23}
+ s.default_executable = %q{cassandra_helper}
+ s.description = %q{A Ruby client for the Cassandra distributed database.}
+ s.email = %q{}
+ s.executables = ["cassandra_helper"]
+ s.extra_rdoc_files = ["CHANGELOG", "LICENSE", "README.rdoc", "bin/cassandra_helper", "lib/cassandra.rb", "lib/cassandra/array.rb", "lib/cassandra/cassandra.rb", "lib/cassandra/columns.rb", "lib/cassandra/comparable.rb", "lib/cassandra/constants.rb", "lib/cassandra/debug.rb", "lib/cassandra/helpers.rb", "lib/cassandra/long.rb", "lib/cassandra/mock.rb", "lib/cassandra/ordered_hash.rb", "lib/cassandra/protocol.rb", "lib/cassandra/time.rb"]
+ s.files = ["CHANGELOG", "LICENSE", "Manifest", "README.rdoc", "Rakefile", "bin/cassandra_helper", "conf/cassandra.in.sh", "conf/log4j.properties", "conf/storage-conf.xml", "lib/cassandra.rb", "lib/cassandra/array.rb", "lib/cassandra/cassandra.rb", "lib/cassandra/columns.rb", "lib/cassandra/comparable.rb", "lib/cassandra/constants.rb", "lib/cassandra/debug.rb", "lib/cassandra/helpers.rb", "lib/cassandra/long.rb", "lib/cassandra/mock.rb", "lib/cassandra/ordered_hash.rb", "lib/cassandra/protocol.rb", "lib/cassandra/time.rb", "test/cassandra_client_test.rb", "test/cassandra_mock_test.rb", "test/cassandra_test.rb", "test/comparable_types_test.rb", "test/ordered_hash_test.rb", "test/test_helper.rb", "vendor/gen-rb/cassandra.rb", "vendor/gen-rb/cassandra_constants.rb", "vendor/gen-rb/cassandra_types.rb", "cassandra.gemspec"]
+ s.homepage = %q{http://blog.evanweaver.com/files/doc/fauna/cassandra/}
+ s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Cassandra", "--main", "README.rdoc"]
+ s.require_paths = ["lib"]
+ s.rubyforge_project = %q{fauna}
+ s.rubygems_version = %q{1.3.5}
+ s.signing_key = %q{/Users/ryan/.gemkeys/gem-private_key.pem}
+ s.summary = %q{A Ruby client for the Cassandra distributed database.}
+ s.test_files = ["test/cassandra_client_test.rb", "test/cassandra_mock_test.rb", "test/cassandra_test.rb", "test/comparable_types_test.rb", "test/ordered_hash_test.rb", "test/test_helper.rb"]
+
+ if s.respond_to? :specification_version then
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
+ s.specification_version = 3
+
+ if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
+ s.add_runtime_dependency(%q<thrift_client>, [">= 0.4.0"])
+ s.add_runtime_dependency(%q<json>, [">= 0"])
+ s.add_runtime_dependency(%q<rake>, [">= 0"])
+ s.add_runtime_dependency(%q<simple_uuid>, [">= 0.1.0"])
+ else
+ s.add_dependency(%q<thrift_client>, [">= 0.4.0"])
+ s.add_dependency(%q<json>, [">= 0"])
+ s.add_dependency(%q<rake>, [">= 0"])
+ s.add_dependency(%q<simple_uuid>, [">= 0.1.0"])
+ end
+ else
+ s.add_dependency(%q<thrift_client>, [">= 0.4.0"])
+ s.add_dependency(%q<json>, [">= 0"])
+ s.add_dependency(%q<rake>, [">= 0"])
+ s.add_dependency(%q<simple_uuid>, [">= 0.1.0"])
+ end
+end

1 comment on commit bcd849e

@mrflip

This commit breaks -- it reverts the earlier commit 94792ae, which makes it so tar finds the file once downloaded, and so the download points to a URL that resolves.
To fix, run

  git diff bcd84  94792ae8 -- Rakefile | patch -p1
Please sign in to comment.
Something went wrong with that request. Please try again.