cassandra 0.5.2 → 0.5.3

Sign up to get free protection for your applications and to get access to all the features.
data.tar.gz.sig CHANGED
Binary file
data/CHANGELOG CHANGED
@@ -1,4 +1,6 @@
1
1
 
2
+ v0.5.3. Update Multiblog sample schema.
3
+
2
4
  v0.5.2. Update server version so CommitLog replay is fixed.
3
5
 
4
6
  v0.5.1. Add bin/cassandra_helper script, to build and start the server for you. Improve build error reporting.
data/Rakefile CHANGED
@@ -18,7 +18,8 @@ end
18
18
 
19
19
  REVISION = "007df950fc9e9fad255167db74517095a8326f25"
20
20
 
21
- PATCHES = []
21
+ PATCHES = [
22
+ "http://issues.apache.org/jira/secure/attachment/12417025/CASSANDRA-377.diff"]
22
23
 
23
24
  CASSANDRA_HOME = "#{ENV['HOME']}/cassandra/r#{REVISION[0, 8]}"
24
25
 
data/cassandra.gemspec CHANGED
@@ -2,12 +2,12 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{cassandra}
5
- s.version = "0.5.2"
5
+ s.version = "0.5.3"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0.8") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Evan Weaver"]
9
9
  s.cert_chain = ["/Users/eweaver/p/configuration/gem_certificates/evan_weaver-original-public_cert.pem"]
10
- s.date = %q{2009-08-18}
10
+ s.date = %q{2009-08-19}
11
11
  s.default_executable = %q{cassandra_helper}
12
12
  s.description = %q{A Ruby client for the Cassandra distributed database.}
13
13
  s.email = %q{}
@@ -42,8 +42,8 @@
42
42
 
43
43
  <Keyspace Name="Multiblog">
44
44
  <KeysCachedFraction>0.01</KeysCachedFraction>
45
- <ColumnFamily CompareWith="UTF8Type" Name="Blogs"/>
46
- <ColumnFamily CompareWith="UTF8Type" Name="Comments"/>
45
+ <ColumnFamily CompareWith="TimeUUIDType" Name="Blogs"/>
46
+ <ColumnFamily CompareWith="TimeUUIDType" Name="Comments"/>
47
47
  </Keyspace>
48
48
  </Keyspaces>
49
49
 
@@ -49,9 +49,9 @@ class CassandraTest < Test::Unit::TestCase
49
49
  end
50
50
 
51
51
  def test_get_key_time_sorted
52
- @twitter.insert(:Statuses, key, {'body' => 'v', 'user' => 'v'})
53
- assert_equal({'body' => 'v', 'user' => 'v'}, @twitter.get(:Statuses, key))
54
- assert_equal({}, @twitter.get(:Statuses, 'bogus'))
52
+ @blogs.insert(:Blogs, key, {@uuids[0] => 'I like this cat'})
53
+ assert_equal({@uuids[0] => 'I like this cat'}, @blogs.get(:Blogs, key))
54
+ assert_equal({}, @blogs.get(:Blogs, 'bogus'))
55
55
  end
56
56
 
57
57
  def test_get_with_count
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cassandra
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.2
4
+ version: 0.5.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Evan Weaver
@@ -30,7 +30,7 @@ cert_chain:
30
30
  yZ0=
31
31
  -----END CERTIFICATE-----
32
32
 
33
- date: 2009-08-18 00:00:00 -04:00
33
+ date: 2009-08-19 00:00:00 -04:00
34
34
  default_executable:
35
35
  dependencies:
36
36
  - !ruby/object:Gem::Dependency
metadata.gz.sig CHANGED
Binary file