<commit_before># Rexster::Ruby

Gem to interface Ruby applications with Rexster.

## Installation

Add this line to your application's Gemfile:

    gem 'rexster-ruby'

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install rexster-ruby

## 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

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
<commit_msg>Update README for bundler instruction, minimal copy changes<commit_after># 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

{'fraction_non_alphanumeric': 0.11680761099365751, 'fraction_numerical': 0.011627906976744186, 'mean_word_length': 4.075067024128686, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1132286', 'n_tokens_mistral': 670, 'n_tokens_neox': 612, 'n_words': 217}