Page MenuHomeDevCentral

D476.id1164.diff
No OneTemporary

D476.id1164.diff

diff --git a/tommy.rb b/tommy.rb
--- a/tommy.rb
+++ b/tommy.rb
@@ -1,7 +1,6 @@
require 'sinatra'
require 'rest-client'
require 'active_support/all'
-require 'crack'
require 'hashie'
require 'erb'
@@ -51,7 +50,7 @@
get '/' do
json = RestClient::Resource.new("#{HUDSON_URL}/api/json?depth=1")
- @projects = Project.parse_incoming_json(Crack::JSON.parse(json.get))
+ @projects = Project.parse_incoming_json(JSON.parse(json.get))
erb :index
end

File Metadata

Mime Type
text/plain
Expires
Wed, Feb 26, 05:51 (19 h, 31 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2443190
Default Alt Text
D476.id1164.diff (463 B)

Event Timeline