Project

cellect

0.0
Repository is archived
No commit activity in last 3 years
No release in over 3 years
This rubygem does not have a description or summary.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

 Project Readme

Cellect

A scalable subject selector for Panoptes

Build Status Test Coverage Code Climate Gem Version

Available as

Cellect::Server

An actor based system that provides an API around subject selection actions. Server nodes are discovered via Attention.

Cellect::Server::Adapters

An adapter provides an API for defining the data to be used with the system.

We're overriding the default adapter with a customization in cellect_panoptes.

Cellect::Client

Provides operations for server awareness and API communication.

API timeouts can be set with

  Cellect::Client::Connection.timeout = 5 # seconds

Building

  1. Install Boost V1.55+: OS X: brew update && brew install boost, Ubuntu: sudo apt-get update && sudo apt-get install libboost-all-dev
  2. Install gem dependencies: bundle (See Note)

Note

To install rice your Ruby must be compiled with shared libraries enabled, from the rice docs:

  • rvm: rvm reinstall [version] -- --enable-shared
  • rbenv: CONFIGURE_OPTS="--enable-shared" rbenv install [version]

Testing

  • You'll need a local Redis server to run the specs.

Run the specs with rake

Start server:

rackup # uses config.ru file

Versions

See .travis.yml for supported ruby versions