cassandra 0.22.0 → 0.23.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5daf0bcf89a1be06c7a378c60ee41c037e2a5c23
4
- data.tar.gz: f054a9ea46806ebaae4cf3d24602eb3a1462e942
3
+ metadata.gz: 1c44f51d7bcd0b0bb3c777a73d1aa5621ba71e2a
4
+ data.tar.gz: 4a353dcf93310e362f7cd1f37247151779a5781d
5
5
  SHA512:
6
- metadata.gz: ac367f6fe75340bae0019c46c59415bb541d1df7cef5d45bc49bde9b4beed9c6d759f49077c761ed0eedced549104bab13ac8239cd85d2087c618c6468d37cb7
7
- data.tar.gz: 62b7dfa25c51cafdd5426e4c4e1b156ee5d107ee3c86e54e8cbd770cbb1651d85fe41d035e223c7337c293c657f6826bf918d53aba5800fcd36f39a9e3ce36aa
6
+ metadata.gz: 890ee1fdf7d0d4ac9240bc8b69313a54e8a4b935ae7e4afb4bc96eec4c99890e6a29977d52ff27ff3330e07330695e45f5c28d90683b1da1b82a79421c5f18ed
7
+ data.tar.gz: c90cdc612620c9b7d0aaa9cfc629b34259be1ec5d97b457b866b1a33aa1a2e22af1f2a942d677c6330c8dcc2802ea36f79f1dae8e20ba30202ecbe0eec4a618a
data/CHANGELOG CHANGED
@@ -1,3 +1,7 @@
1
+ v0.23.0
2
+ - Update simple_uuid dependency (issue #197, courtesy @tsenart)
3
+ - Changed to new github url: github.com/cassandra-rb/cassandra
4
+
1
5
  v0.22.0
2
6
  - Add new composite API to resolve ambiguity between unpacking a composite and packing a composite with one element (issue #196, courtesy @kevinkehl)
3
7
  - Breaking change: schema change methods no longer catch exceptions internally. They work the same as everything else.
data/README.md CHANGED
@@ -348,20 +348,20 @@ Example:
348
348
  @client.get_indexed_slices(:Statuses, expressions).length # returns 5
349
349
 
350
350
  ### batch
351
- Takes a block where all the mutations (inserts and deletions) inside it are
351
+ Takes a block where all the mutations (inserts and deletions) inside it are
352
352
  queued, and at the end of the block are passed to cassandra in a single batch.
353
353
 
354
- If you don't want to send all the mutations inside the block in a big single
355
- batch, you can use the :queue\_size option to send smaller batches. If the
354
+ If you don't want to send all the mutations inside the block in a big single
355
+ batch, you can use the :queue\_size option to send smaller batches. If the
356
356
  queue is not empty at the end of the block, the remaining mutations are sent.
357
357
 
358
358
  * options
359
359
  * :consistency - Override the consistency level from individual mutations.
360
360
  * :queue\_size - Maximum number of mutations to send at once.
361
361
 
362
- Example:
362
+ Example:
363
363
 
364
- @client.batch do
364
+ @client.batch do
365
365
  @client.insert(:Statuses, 'k1', {'body' => 'v1'})
366
366
  @client.insert(:Statuses, 'k2', {'body' => 'v2'})
367
367
  @client.remove(:Statuses, 'k3')
@@ -370,4 +370,4 @@ Example:
370
370
 
371
371
  ## Reporting Problems
372
372
 
373
- The Github issue tracker is [here](http://github.com/twitter/cassandra/issues). If you have problems with this library or Cassandra itself, please use the [cassandra-user mailing list](http://mail-archives.apache.org/mod_mbox/incubator-cassandra-user/).
373
+ The Github issue tracker is [here](http://github.com/cassandra-rb/cassandra/issues). If you have problems with this library or Cassandra itself, please use the [cassandra-user mailing list](http://mail-archives.apache.org/mod_mbox/incubator-cassandra-user/).
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = "cassandra"
5
- s.version = "0.22.0"
5
+ s.version = "0.23.0"
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, Ryan King"]
@@ -13,7 +13,7 @@ Gem::Specification.new do |s|
13
13
  s.extensions = ["ext/extconf.rb"]
14
14
  s.extra_rdoc_files = ["CHANGELOG", "LICENSE", "README.md", "bin/cassandra_helper", "ext/cassandra_native.c", "ext/extconf.rb", "lib/cassandra.rb", "lib/cassandra/0.6.rb", "lib/cassandra/0.6/cassandra.rb", "lib/cassandra/0.6/columns.rb", "lib/cassandra/0.6/protocol.rb", "lib/cassandra/0.7.rb", "lib/cassandra/0.7/cassandra.rb", "lib/cassandra/0.7/columns.rb", "lib/cassandra/0.7/protocol.rb", "lib/cassandra/0.8.rb", "lib/cassandra/0.8/cassandra.rb", "lib/cassandra/0.8/columns.rb", "lib/cassandra/0.8/protocol.rb", "lib/cassandra/1.0.rb", "lib/cassandra/1.0/cassandra.rb", "lib/cassandra/1.0/columns.rb", "lib/cassandra/1.0/protocol.rb", "lib/cassandra/1.1.rb", "lib/cassandra/1.1/cassandra.rb", "lib/cassandra/1.1/columns.rb", "lib/cassandra/1.1/protocol.rb", "lib/cassandra/array.rb", "lib/cassandra/batch.rb", "lib/cassandra/cassandra.rb", "lib/cassandra/column_family.rb", "lib/cassandra/columns.rb", "lib/cassandra/comparable.rb", "lib/cassandra/composite.rb", "lib/cassandra/constants.rb", "lib/cassandra/debug.rb", "lib/cassandra/dynamic_composite.rb", "lib/cassandra/helpers.rb", "lib/cassandra/keyspace.rb", "lib/cassandra/long.rb", "lib/cassandra/mock.rb", "lib/cassandra/ordered_hash.rb", "lib/cassandra/protocol.rb", "lib/cassandra/time.rb"]
15
15
  s.files = ["CHANGELOG", "Gemfile", "LICENSE", "Manifest", "README.md", "Rakefile", "bin/cassandra_helper", "conf/0.6/cassandra.in.sh", "conf/0.6/log4j.properties", "conf/0.6/schema.json", "conf/0.6/storage-conf.xml", "conf/0.7/cassandra.in.sh", "conf/0.7/cassandra.yaml", "conf/0.7/log4j-server.properties", "conf/0.7/schema.json", "conf/0.7/schema.txt", "conf/0.8/cassandra.in.sh", "conf/0.8/cassandra.yaml", "conf/0.8/log4j-server.properties", "conf/0.8/schema.json", "conf/0.8/schema.txt", "conf/1.0/cassandra.in.sh", "conf/1.0/cassandra.yaml", "conf/1.0/log4j-server.properties", "conf/1.0/schema.json", "conf/1.0/schema.txt", "conf/1.1/cassandra.in.sh", "conf/1.1/cassandra.yaml", "conf/1.1/log4j-server.properties", "conf/1.1/schema.json", "conf/1.1/schema.txt", "ext/cassandra_native.c", "ext/extconf.rb", "lib/cassandra.rb", "lib/cassandra/0.6.rb", "lib/cassandra/0.6/cassandra.rb", "lib/cassandra/0.6/columns.rb", "lib/cassandra/0.6/protocol.rb", "lib/cassandra/0.7.rb", "lib/cassandra/0.7/cassandra.rb", "lib/cassandra/0.7/columns.rb", "lib/cassandra/0.7/protocol.rb", "lib/cassandra/0.8.rb", "lib/cassandra/0.8/cassandra.rb", "lib/cassandra/0.8/columns.rb", "lib/cassandra/0.8/protocol.rb", "lib/cassandra/1.0.rb", "lib/cassandra/1.0/cassandra.rb", "lib/cassandra/1.0/columns.rb", "lib/cassandra/1.0/protocol.rb", "lib/cassandra/1.1.rb", "lib/cassandra/1.1/cassandra.rb", "lib/cassandra/1.1/columns.rb", "lib/cassandra/1.1/protocol.rb", "lib/cassandra/array.rb", "lib/cassandra/batch.rb", "lib/cassandra/cassandra.rb", "lib/cassandra/column_family.rb", "lib/cassandra/columns.rb", "lib/cassandra/comparable.rb", "lib/cassandra/composite.rb", "lib/cassandra/constants.rb", "lib/cassandra/debug.rb", "lib/cassandra/dynamic_composite.rb", "lib/cassandra/helpers.rb", "lib/cassandra/keyspace.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/composite_type_test.rb", "test/eventmachine_test.rb", "test/ordered_hash_test.rb", "test/test_helper.rb", "vendor/0.6/gen-rb/cassandra.rb", "vendor/0.6/gen-rb/cassandra_constants.rb", "vendor/0.6/gen-rb/cassandra_types.rb", "vendor/0.7/gen-rb/cassandra.rb", "vendor/0.7/gen-rb/cassandra_constants.rb", "vendor/0.7/gen-rb/cassandra_types.rb", "vendor/0.8/gen-rb/cassandra.rb", "vendor/0.8/gen-rb/cassandra_constants.rb", "vendor/0.8/gen-rb/cassandra_types.rb", "vendor/1.0/gen-rb/cassandra.rb", "vendor/1.0/gen-rb/cassandra_constants.rb", "vendor/1.0/gen-rb/cassandra_types.rb", "vendor/1.1/gen-rb/cassandra.rb", "vendor/1.1/gen-rb/cassandra_constants.rb", "vendor/1.1/gen-rb/cassandra_types.rb", "cassandra.gemspec", "vendor/1.2/gen-rb", "vendor/1.2/gen-rb/cassandra.rb", "vendor/1.2/gen-rb/cassandra_constants.rb", "vendor/1.2/gen-rb/cassandra_types.rb", "conf/1.2/cassandra.in.sh", "conf/1.2/cassandra.yaml", "conf/1.2/log4j-server.properties", "conf/1.2/schema.json", "conf/1.2/schema.txt", "lib/cassandra/1.2.rb", "lib/cassandra/1.2/cassandra.rb", "lib/cassandra/1.2/columns.rb", "lib/cassandra/1.2/protocol.rb"]
16
- s.homepage = "http://github.com/twitter/cassandra"
16
+ s.homepage = "http://github.com/cassandra-rb/cassandra"
17
17
  s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Cassandra", "--main", "README.md"]
18
18
  s.require_paths = ["lib", "ext"]
19
19
  s.rubyforge_project = "cassandra"
@@ -24,6 +24,6 @@ Gem::Specification.new do |s|
24
24
  s.add_runtime_dependency('thrift_client', ['< 0.9', '~> 0.7'])
25
25
  s.add_runtime_dependency('json', '>= 0')
26
26
  s.add_runtime_dependency('rake', '>= 0')
27
- s.add_runtime_dependency('simple_uuid', '~> 0.2.0')
27
+ s.add_runtime_dependency('simple_uuid', '~> 0.3')
28
28
  s.add_development_dependency('rake-compiler', '~> 0.8.0')
29
29
  end
@@ -1,7 +1,7 @@
1
1
  require 'rubygems'
2
2
  gem 'thrift_client', '~> 0.7'
3
3
  require 'thrift_client'
4
- gem 'simple_uuid' , '~> 0.2.0'
4
+ gem 'simple_uuid' , '~> 0.3'
5
5
  require 'simple_uuid'
6
6
 
7
7
  require 'json' unless defined?(JSON)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cassandra
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.22.0
4
+ version: 0.23.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Evan Weaver, Ryan King
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-08-28 00:00:00.000000000 Z
11
+ date: 2013-10-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thrift_client
@@ -64,14 +64,14 @@ dependencies:
64
64
  requirements:
65
65
  - - ~>
66
66
  - !ruby/object:Gem::Version
67
- version: 0.2.0
67
+ version: '0.3'
68
68
  type: :runtime
69
69
  prerelease: false
70
70
  version_requirements: !ruby/object:Gem::Requirement
71
71
  requirements:
72
72
  - - ~>
73
73
  - !ruby/object:Gem::Version
74
- version: 0.2.0
74
+ version: '0.3'
75
75
  - !ruby/object:Gem::Dependency
76
76
  name: rake-compiler
77
77
  requirement: !ruby/object:Gem::Requirement
@@ -245,7 +245,7 @@ files:
245
245
  - lib/cassandra/1.2/cassandra.rb
246
246
  - lib/cassandra/1.2/columns.rb
247
247
  - lib/cassandra/1.2/protocol.rb
248
- homepage: http://github.com/twitter/cassandra
248
+ homepage: http://github.com/cassandra-rb/cassandra
249
249
  licenses:
250
250
  - Apache 2.0
251
251
  metadata: {}