I’ve just released the first version of Redmine Simple Support. It is a Redmine plugin that makes it easy to link Redmine issues to external resources like a third party bug tracker or support system. Download The plugin can be download from the Little Stream Software project or from GitHub. Features Enter multiple support urls …
Daily Code Reading #22 – RestClient::Resource#get
From yesterday’s code reading, I found that the restclient command uses RestClient::Resource for most of the work. So I’m going to start with it’s methods, starting with it’s HTTP verbs, #get. The Code 1 2 3 4 5 6 7 8 9 10 11 module RestClient class Resource def get(additional_headers={}, &block) headers = (options[:headers] || …
Daily Code Reading #21 – RestClient binary
This week I’m going to read through the code for RestClient. RestClient is a simple HTTP and REST client for Ruby that can be used to consume RESTful resources. I’ve used it in a Single Sign On system I built for Redmine, redmine_sso_client and redmine_sso_server. Today I started with the command line binary for RestClient. …
Capistrano Deploy Sequence
During my last code reading of Capistrano, I traced the deploy recipe to find out what other recipes it uses. Since overriding and hooking into these recipes are used when you customize your application deploy, I wanted to document them here so I can find it again. deploy |-- deploy:update |---- deploy:update_code |------ Code update …
Daily Code Reading #20 – Capistrano recipes – deploy
I’m finishing up my code reading of Capistrano‘s recipes with the recipe that is run most often, deploy. The Code and Review deploy 1 2 3 4 5 6 namespace :deploy do task :default do update restart end endnamespace :deploy do task :default do update restart end end The deploy recipe itself is simple and …