ROM::Cassandra
¶ ↑
Apache Cassandra support for Ruby Object Mapper.
Based on the official datastax ruby driver and CQL query builder.
Installation¶ ↑
Add this line to your application’s Gemfile:
# Gemfile gem "rom-cassandra"
Then execute:
bundle
Or add it manually:
gem install rom-cassandra
Usage¶ ↑
See the corresponding Guide on rom-rb.org.
Compatibility¶ ↑
Compatible to ROM
0.9.1+, Cassandra Query Language v3 (CQL3), Apache Cassandra 1.2+.
Tested under MRI and JRuby compatible to 1.9.3+.
Uses RSpec 3.0+ for testing and hexx-suit for dev/test tools collection.
Contributing¶ ↑
-
Create your feature branch (
git checkout -b my-new-feature
) -
Add tests for it
-
Run
rubocop
andinch --pedantic
to ensure the style and inline docs are ok -
Run
rake mutant
orrake exhort
to ensure 100% mutation testing coverage -
Commit your changes (
git commit -am '[UPDATE] Add some feature'
) -
Push to the branch (
git push origin my-new-feature
) -
Create a new Pull Request
License¶ ↑
See the MIT LICENSE.