Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F56045980
D476.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
463 B
Referenced Files
None
Subscribers
None
D476.id.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
Tue, Nov 3, 07:32 (6 h, 38 m ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4247612
Default Alt Text
D476.id.diff (463 B)
Attached To
Mode
D476: Parse JSON natively
Attached
Detach File
Event Timeline
Log In to Comment