Mercurial > rsstweet
changeset 19:157f7fd136fc
Double quotes everywhere.
author | edogawaconan <me@myconan.net> |
---|---|
date | Fri, 05 Sep 2014 23:11:19 +0900 |
parents | aeb4d50ec21b |
children | a2f7dfc68f44 |
files | Gemfile Rakefile config/application.rb config/boot.rb config/environment.rb config/environments/test.rb config/routes.rb test/controllers/static_controller_test.rb test/controllers/tweets_controller_test.rb test/models/tweet_test.rb test/test_helper.rb |
diffstat | 11 files changed, 17 insertions(+), 17 deletions(-) [+] |
line wrap: on
line diff
--- 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'
--- 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
--- 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"
--- 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"])
--- 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!
--- 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
--- 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 }
--- 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
--- 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
--- 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
--- 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...