First line. Second line.
Last line in new paragraph.
| require "sinatra" | |
| require 'fileutils' | |
| get '/time' do | |
| Time.now.to_s | |
| end | |
| # curl -X PUT -T foo http://localhost:3000/upload/foo | |
| put '/upload/:file' do | |
| input = env["rack.input"] |
| namespace :deploy do | |
| desc "Write the name of the tag that we're deploying to a VERSION file" | |
| task :write_version_file do | |
| run "git describe > #{release_path}/VERSION" | |
| end | |
| end | |
| before "deploy:finalize_update", "deploy:write_version_file" |
| class Foo | |
| attr_accessor :color | |
| attr_accessor :history | |
| def initialize | |
| @color = "white" | |
| @history = [@color] | |
| end | |
| def dump |
I hereby claim:
To claim this, I am signing this object: