Ruby wrapper for Rexster
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
Gemfile
LICENSE
README.md
Rakefile
rexster-ruby.gemspec

README.md

Rexster::Ruby

Gem to interface Ruby applications with Rexster.

Requirement

Rexster server running with at least one graph on it

Installation

Add this line to your application's Gemfile (I haven't pushed this gem yet):

gem 'rexster-ruby', :git => 'https://github.com/mavenik/rexster-ruby.git'

And then execute:

$ bundle

Usage

config/environments/development.rb Rexster::Rest.server_instance = Rexster::Rest.new host: :localhost, port: 8182, graph: :neo4j

In some class, e.g.: app/models/rackster.rb

  class Rackster
    include Rexster
  end

Usage:

rackster = Rackster.new

rackster.g.v(1).script("v.out('RELATION')")

Contributing

This gem is still in it's initial phase and has a huge scope for improvement.

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