Skip to content

jasnow/air

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 90.7%
  • CSS 7.6%
  • JavaScript 1.7%