Permalink
Browse files

support for older versions of ruby

  • Loading branch information...
1 parent 998b7d2 commit 865ac2bb68a7f9b2966f5a5e09ef92394ab71197 @chrisb committed Nov 5, 2010
Showing with 3 additions and 1 deletion.
  1. +3 −1 refuddle.rb
View
@@ -3,6 +3,8 @@
require 'json'
require 'sinatra'
require 'haml'
+require 'date'
+require 'time'
def unfuddle_call_api(request,passthru=false)
puts "[API] #{request}"
@@ -53,4 +55,4 @@ def unfuddle_base_url
get '/ticket/:project_id/:number.js' do
@ticket = unfuddle_call_api("/projects/#{params[:project_id]}/tickets/by_number/#{params[:number]}.json")
haml :detail, :layout => false
-end
+end

0 comments on commit 865ac2b

Please sign in to comment.