jasnow / air

A starting point for Intermediate Ruby presentations

Home Page:http://www.meetup.com/atlantaruby/events/171941842/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

N.B. This is a sample app for the Atlanta Intermediate Ruby group. I'm not serious. Don't take it seriously.

CATTR

Cats on demand

Running Locally

Clone this repo and then

$ bundle
$ rake db:setup cats:herd  # to download some gifs
$ rails s

Tests

Assuming the app is already up and running…

$ rake db:test:prepare  # if needed
$ rspec

Note that (in the interest of not actually depending on outside services), "serving" a cat gif really just calls open on the file. You may need to replace that call with thunar or nautilus or what have you if you're not on OSX.

Project Goals

  • Select a queue backend
  • Run CatRequest#fulfill! in the background
  • Make sure specs still pass
    • Bonus: find a better way of spec'ing the open system call
  • Install a job administration system
  • Determine appropriate failure / retry logic

Attributions

About

A starting point for Intermediate Ruby presentations

http://www.meetup.com/atlantaruby/events/171941842/


Languages

Language:Ruby 90.8%Language:CSS 7.6%Language:JavaScript 1.7%