0.01
No commit activity in last 3 years
No release in over 3 years
ROMA client library
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0
>= 0
>= 0
>= 0
 Project Readme

ROMA Client for Ruby

Build Status Gem Version Coverage Status

ROMA is one of the data storing systems for distributed key-value stores in Ruby. The gem roma-client is Ruby client to talk with ROMA severs.

Install

Add this line to your application's Gemfile:

  gem 'roma-client'

And then execute:

$ bundle

Or install it yourself as:

$ gem install roma-client

Usage

  require 'roma/client'

  nodes = ['host1:11211', 'host2:11211']
  client = Roma::Client::RomaClient.new(nodes)

  key = 'key'
  res = client.set(key, 'valie')
  puts "put:#{res}"

  puts "get:#{client.get key}"

  res = client.delete key
  puts "del:#{res}"
  puts "get:#{client.get key}"

Development

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/roma/roma-ruby-client. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

License

GPL v3


Copyright (C) 2009 Rakuten, Inc.