Projects
Open source, side projects and the code behind the talks.
Capistrano
Capistrano, the Ruby deployment tool, and its version 3 rewrite in particular - including SSHKit, which powers it, and capistrano-rails, which extends it for Rails apps. 7 reasons to be excited about deployment, and a follow-up on remote file dependencies.
Gems
give A gem that wraps a simple git workflow around the GitHub API, with the aim of making it easier to get started contributing to open source projects. Fork, branch, rebase and open a pull request without leaving the command line. Written up here.
google_fish A deliberately tiny Ruby client for the Google Translate API v2, built when the official client came with far more than we needed. Written up here.
Talks and demo code
4 steps to faster Rails tests Demo application from a talk given at Magrails in Manchester, on pulling business logic out of ActiveRecord so unit tests don’t have to boot Rails. The slides are on GitHub too, and there’s a full write-up.
features_a_go_go The same acceptance test implemented three ways - Cucumber, Capybara and Spinach - as a side-by-side comparison. Written up here.
scamp-bot-heroku A minimal Campfire bot, built on Scamp and deployable to Heroku as a Rack app. Written up here.
cucumber-doing-it-right and git-presentation Slides and demo repositories from other talks around the same period.
Configuration
vim My vim configuration, rebuilt from scratch after deleting the lot and starting over. Reasonably well documented, and there’s a tour of the highlights.
dotfiles Everything else.
More, including forks and older experiments, on GitHub.