Project

sick-beard

0.0
Repository is archived
No commit activity in last 3 years
No release in over 3 years
A Ruby interface for interacting with the Sick Beard PRV API (http://sickbeard.com/api)
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.1.2
~> 1.0.3
~> 2.5.1
~> 10.0.4
~> 0.9.1
~> 2.13.0
~> 0.0.6
~> 0.7.1
~> 2.8.0
~> 1.9.0

Runtime

~> 1.8.1
~> 1.6.7
 Project Readme

Sick Beard

The sick-beard gem provides a Ruby interface for interacting with the Sick Beard PRV API. Pull requests are always welcome.

Badges!

Gem Version Build Status Coverage Status

Author

Ryan Lovelett ( @rlovelett )

Drop me a message for any questions, suggestions, requests, bugs or submit them to the issue log.

Installation

Add this line to your application's Gemfile:

gem 'sick-beard'

And then execute:

$ bundle

Or install it yourself as:

$ gem install sick-beard

Usage

The specs for this Gem should give you some idea of how to make use of the API. For now they will be the usage information. As always Pull Requests for better documentation are welcome.

Testing

The tests for the API have been mocked using VCR and WebMock.

Actual calls to a Sick Beard have been mocked out to prevent storage of valid API credentials and making superflous API calls while testing. As such, in order to run existing tests, using the mocked API requests, the only thing that needs to be done is to run the specs (e.g., bundle exec rake spec or bundle exec guard start).

However, if you want to refresh the actual server API responses you will need to re-record all of the VCR cassettes. This can be achieved simply by performing the following two steps:

  1. Delete all the cassettes (rm spec/cassettes/*.yml)
  2. Run specs passing the API key as environment variable (SICKBEARD_API_URI='http://uri.to/sickbeard' SICBEARD_API_KEY=realapikey bundle exec rake spec)

Contributing

  1. Fork it
  2. Create a topic branch (git checkout -b topic)
  3. Make your changes
  4. Squash your changes into one commit
  5. Create new Pull Request against this squashed commit

Aknowlegements

This is a permanent fork of bigkevmcd / sickbeard. Thank you to Kevin McDermott for a starting point.