Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F4705350
D476.id1164.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
463 B
Referenced Files
None
Subscribers
None
D476.id1164.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D476: Parse JSON natively
Attached
Detach File
Event Timeline
Log In to Comment