Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
minimal-ruby-app
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Soumyadip De
minimal-ruby-app
Commits
714f5bcc
Commit
714f5bcc
authored
5 years ago
by
Daniel Gruesso
Browse files
Options
Downloads
Patches
Plain Diff
Update server.rb
parent
a0636eba
No related branches found
No related tags found
No related merge requests found
Pipeline
#36330
passed with stages
in 9 minutes and 50 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
server.rb
+1
-1
1 addition, 1 deletion
server.rb
with
1 addition
and
1 deletion
server.rb
+
1
−
1
View file @
714f5bcc
...
...
@@ -6,7 +6,7 @@ server = WEBrick::HTTPServer.new :Port => ENV.fetch('PORT'){ 5000 }
#Return a successful Hello World response.
server
.
mount_proc
'/'
do
|
_request
,
response
|
#TODO: use HTML
response
.
body
=
'
<h1>
Hello
from GitLab Contribute 2019!</h1>
'
response
.
body
=
'Hello
world!
'
sleep
0.125
+
SecureRandom
.
random_number
*
0.250
end
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment