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 +0 -0
- data/CHANGELOG +2 -0
- data/Rakefile +2 -1
- data/cassandra.gemspec +2 -2
- data/conf/storage-conf.xml +2 -2
- data/test/cassandra_test.rb +3 -3
- metadata +2 -2
- metadata.gz.sig +0 -0
data.tar.gz.sig
CHANGED
Binary file
|
data/CHANGELOG
CHANGED
data/Rakefile
CHANGED
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.
|
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-
|
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{}
|
data/conf/storage-conf.xml
CHANGED
@@ -42,8 +42,8 @@
|
|
42
42
|
|
43
43
|
<Keyspace Name="Multiblog">
|
44
44
|
<KeysCachedFraction>0.01</KeysCachedFraction>
|
45
|
-
<ColumnFamily CompareWith="
|
46
|
-
<ColumnFamily CompareWith="
|
45
|
+
<ColumnFamily CompareWith="TimeUUIDType" Name="Blogs"/>
|
46
|
+
<ColumnFamily CompareWith="TimeUUIDType" Name="Comments"/>
|
47
47
|
</Keyspace>
|
48
48
|
</Keyspaces>
|
49
49
|
|
data/test/cassandra_test.rb
CHANGED
@@ -49,9 +49,9 @@ class CassandraTest < Test::Unit::TestCase
|
|
49
49
|
end
|
50
50
|
|
51
51
|
def test_get_key_time_sorted
|
52
|
-
@
|
53
|
-
assert_equal({
|
54
|
-
assert_equal({}, @
|
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.
|
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-
|
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
|