# HG changeset patch # User edogawaconan # Date 1409926279 -32400 # Node ID 157f7fd136fc986aeab18e99e81b5a9f65d13591 # Parent aeb4d50ec21bbe8b8cc4c47fd3ded08ed5479f3d Double quotes everywhere. diff -r aeb4d50ec21b -r 157f7fd136fc Gemfile --- a/Gemfile Fri Sep 05 23:10:53 2014 +0900 +++ b/Gemfile Fri Sep 05 23:11:19 2014 +0900 @@ -1,15 +1,15 @@ -source 'https://rubygems.org' +source "https://rubygems.org" # Bundle edge Rails instead: gem 'rails', github: 'rails/rails' -gem 'rails', '~> 4.1.4' +gem "rails", "~> 4.1.4" # Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder # gem 'jbuilder', '~> 2.0' # bundle exec rake doc:rails generates the API under doc/api. -gem 'sdoc', '~> 0.4.0', :group => :doc +gem "sdoc", "~> 0.4.0", :group => :doc # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring -gem 'spring', :group => :development +gem "spring", :group => :development # Use ActiveModel has_secure_password # gem 'bcrypt', '~> 3.1.7' diff -r aeb4d50ec21b -r 157f7fd136fc Rakefile --- a/Rakefile Fri Sep 05 23:10:53 2014 +0900 +++ b/Rakefile Fri Sep 05 23:11:19 2014 +0900 @@ -1,6 +1,6 @@ # Add your own tasks in files placed in lib/tasks ending in .rake, # for example lib/tasks/capistrano.rake, and they will automatically be available to Rake. -require File.expand_path('../config/application', __FILE__) +require File.expand_path("../config/application", __FILE__) Rails.application.load_tasks diff -r aeb4d50ec21b -r 157f7fd136fc config/application.rb --- a/config/application.rb Fri Sep 05 23:10:53 2014 +0900 +++ b/config/application.rb Fri Sep 05 23:11:19 2014 +0900 @@ -1,4 +1,4 @@ -require File.expand_path('../boot', __FILE__) +require File.expand_path("../boot", __FILE__) # Pick the frameworks you want: require "active_model/railtie" diff -r aeb4d50ec21b -r 157f7fd136fc config/boot.rb --- a/config/boot.rb Fri Sep 05 23:10:53 2014 +0900 +++ b/config/boot.rb Fri Sep 05 23:11:19 2014 +0900 @@ -1,4 +1,4 @@ # Set up gems listed in the Gemfile. -ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__) +ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile", __FILE__) -require 'bundler/setup' if File.exist?(ENV['BUNDLE_GEMFILE']) +require "bundler/setup" if File.exist?(ENV["BUNDLE_GEMFILE"]) diff -r aeb4d50ec21b -r 157f7fd136fc config/environment.rb --- a/config/environment.rb Fri Sep 05 23:10:53 2014 +0900 +++ b/config/environment.rb Fri Sep 05 23:11:19 2014 +0900 @@ -1,5 +1,5 @@ # Load the Rails application. -require File.expand_path('../application', __FILE__) +require File.expand_path("../application", __FILE__) # Initialize the Rails application. Rails.application.initialize! diff -r aeb4d50ec21b -r 157f7fd136fc config/environments/test.rb --- a/config/environments/test.rb Fri Sep 05 23:10:53 2014 +0900 +++ b/config/environments/test.rb Fri Sep 05 23:11:19 2014 +0900 @@ -14,7 +14,7 @@ # Configure static asset server for tests with Cache-Control for performance. config.serve_static_assets = true - config.static_cache_control = 'public, max-age=3600' + config.static_cache_control = "public, max-age=3600" # Show full error reports and disable caching. config.consider_all_requests_local = true diff -r aeb4d50ec21b -r 157f7fd136fc config/routes.rb --- a/config/routes.rb Fri Sep 05 23:10:53 2014 +0900 +++ b/config/routes.rb Fri Sep 05 23:11:19 2014 +0900 @@ -3,7 +3,7 @@ # See how all your routes lay out with "rake routes". # You can have the root of your site routed with "root" - root 'static#index' + root "static#index" get "*id" => "tweets#show", :defaults => { :format => :atom } diff -r aeb4d50ec21b -r 157f7fd136fc test/controllers/static_controller_test.rb --- a/test/controllers/static_controller_test.rb Fri Sep 05 23:10:53 2014 +0900 +++ b/test/controllers/static_controller_test.rb Fri Sep 05 23:11:19 2014 +0900 @@ -1,4 +1,4 @@ -require 'test_helper' +require "test_helper" class StaticControllerTest < ActionController::TestCase test "should get index" do diff -r aeb4d50ec21b -r 157f7fd136fc test/controllers/tweets_controller_test.rb --- a/test/controllers/tweets_controller_test.rb Fri Sep 05 23:10:53 2014 +0900 +++ b/test/controllers/tweets_controller_test.rb Fri Sep 05 23:11:19 2014 +0900 @@ -1,4 +1,4 @@ -require 'test_helper' +require "test_helper" class TweetsControllerTest < ActionController::TestCase test "should get show" do diff -r aeb4d50ec21b -r 157f7fd136fc test/models/tweet_test.rb --- a/test/models/tweet_test.rb Fri Sep 05 23:10:53 2014 +0900 +++ b/test/models/tweet_test.rb Fri Sep 05 23:11:19 2014 +0900 @@ -1,4 +1,4 @@ -require 'test_helper' +require "test_helper" class TweetTest < ActiveSupport::TestCase test "loads a tweet" do diff -r aeb4d50ec21b -r 157f7fd136fc test/test_helper.rb --- a/test/test_helper.rb Fri Sep 05 23:10:53 2014 +0900 +++ b/test/test_helper.rb Fri Sep 05 23:11:19 2014 +0900 @@ -1,6 +1,6 @@ -ENV['RAILS_ENV'] ||= 'test' -require File.expand_path('../../config/environment', __FILE__) -require 'rails/test_help' +ENV["RAILS_ENV"] ||= "test" +require File.expand_path("../../config/environment", __FILE__) +require "rails/test_help" class ActiveSupport::TestCase # Add more helper methods to be used by all tests here...