From ed14202ab580b438b920baa2ba7e42110a9217ee Mon Sep 17 00:00:00 2001 From: Nobuhiro IMAI Date: Sat, 9 Mar 2013 11:03:52 +0900 Subject: [PATCH 1/2] suppress "No newline at end of file" --- Gemfile | 2 +- web.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Gemfile b/Gemfile index 762c72d..fd60fc4 100644 --- a/Gemfile +++ b/Gemfile @@ -1,3 +1,3 @@ source :rubygems gem 'sinatra', '1.1.0' -gem 'thin' \ No newline at end of file +gem 'thin' diff --git a/web.rb b/web.rb index dbef456..3a1faf6 100644 --- a/web.rb +++ b/web.rb @@ -2,4 +2,4 @@ get '/' do "Hello, world" -end \ No newline at end of file +end From 951921f1941c349d35bf07e839359c2dd9342bb0 Mon Sep 17 00:00:00 2001 From: Nobuhiro IMAI Date: Sat, 9 Mar 2013 11:12:48 +0900 Subject: [PATCH 2/2] use SSL for secure reason --- Gemfile | 2 +- Gemfile.lock | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Gemfile b/Gemfile index fd60fc4..ea1536f 100644 --- a/Gemfile +++ b/Gemfile @@ -1,3 +1,3 @@ -source :rubygems +source "https://rubygems.org" gem 'sinatra', '1.1.0' gem 'thin' diff --git a/Gemfile.lock b/Gemfile.lock index 0f0e01e..7c5b2a4 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,5 +1,5 @@ GEM - remote: http://rubygems.org/ + remote: https://rubygems.org/ specs: daemons (1.1.9) eventmachine (0.12.10)