Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

support for older versions of ruby

  • Loading branch information...
commit 865ac2bb68a7f9b2966f5a5e09ef92394ab71197 1 parent 998b7d2
@chrisb authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 refuddle.rb
View
4 refuddle.rb
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.