Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

rugroupy-server

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rugroupy-server

  • 0.2.1
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

= rugroupy-server

rugroupy-server is a sinatra based server allowing one to interact with the rugroupy library over http.

== Features

  • requests and responses use JSON
  • GET, PUT, DELETE /entity to retrieve, create, or delete entities
  • PUT, DELETE /entity/tags to tag or untag entities
  • GET /entity/similiar to find entities similiar to a given entity sorted by score
  • GET, POST /group to retrieve most similiar entities or initiate a grouping request

== Usage

Extend Groupy::GroupyServer to configure mongo and other settings and then run it

require 'rugroupy/server' class MyApp < Groupy::GroupyServer register Sinatra::MongoExtension set :mongo, 'mongodb://localhost:27017/mongo_database_name' # optionally set more things (port, etc.) according to http://www.sinatrarb.com/configuration.html end MyApp.run!

== Examples

See http://github.com/rwynn/rugroupy-server/tree/master/test for example input/output to and from the server

== Requirements

== Install

  • sudo gem install rugroupy-server

== Install from the GitHub source

The source code is available at http://github.com/rwynn/rugroupy-server. You can either clone the git repository or download a tarball or zip file. Once you have the source, you can use it from wherever you downloaded it or you can install it as a gem from the source by typing

  • sudo rake install

== Contributing to rugroupy-server

  • Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet
  • Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it
  • Fork the project
  • Start a feature/bugfix branch
  • Commit and push until you are happy with your contribution
  • Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
  • Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.

== Copyright

Copyright (c) 2011 Ryan Wynn. See LICENSE.txt for further details.

FAQs

Package last updated on 08 Mar 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc