Add frozen_string_literal magic comment

re: https://www.rubydoc.info/gems/rubocop/RuboCop/Cop/Style/FrozenStringLiteralComment
This commit is contained in:
James Mason 2018-05-07 16:47:29 -07:00
parent dd0a52cca9
commit 6d31dfeef4
568 changed files with 1134 additions and 0 deletions

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'spec_helper'
describe Admin::BoothsController do

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'spec_helper'
describe Admin::CommentsController, type: :controller do

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'spec_helper'
describe Admin::ConferencesController do

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'spec_helper'
describe Admin::EventSchedulesController do

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'spec_helper'
describe Admin::EventsController do

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'spec_helper'
describe Admin::OrganizationsController do

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'spec_helper'
describe Admin::ProgramsController, type: :controller do

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'spec_helper'
describe Admin::RegistrationPeriodsController do

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'spec_helper'
describe Admin::RolesController do

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'spec_helper'
describe Admin::RoomsController do

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'spec_helper'
describe Admin::SchedulesController do

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'spec_helper'
describe Admin::SponsorshipLevelsController do

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'spec_helper'
describe Admin::TargetsController, type: :controller do

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'spec_helper'
describe Admin::TicketScanningsController do

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'spec_helper'
describe Admin::TracksController do

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'spec_helper'
describe Admin::UsersController do
let(:admin) { create(:admin) }

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'spec_helper'
describe Admin::VersionsController do

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'spec_helper'
describe Api::V1::ConferencesController do

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'spec_helper'
describe Api::V1::EventsController do

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'spec_helper'
describe Api::V1::RoomsController do

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'spec_helper'
describe Api::V1::SpeakersController do

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'spec_helper'
describe Api::V1::TracksController do

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'spec_helper'
describe ApplicationController, type: :controller do

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'spec_helper'
describe BoothsController do

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'spec_helper'
describe ConferenceRegistrationsController, type: :controller do

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'spec_helper'
describe ConferencesController do

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'spec_helper'
describe ConfirmationsController do

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'spec_helper'
describe OrganizationsController do

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'spec_helper'
describe PhysicalTicketsController do

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'spec_helper'
describe ProposalsController do

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'spec_helper'
describe SchedulesController do

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'spec_helper'
describe SubscriptionsController do

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'spec_helper'
describe TracksController do

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'spec_helper'
describe Users::OmniauthCallbacksController do

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'spec_helper'
describe UsersController do

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
# Read about factories at https://github.com/thoughtbot/factory_girl
FactoryGirl.define do

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
FactoryGirl.define do
factory :booth_request do
booth

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
FactoryGirl.define do
factory :booth do
title { Faker::Hipster.sentence }

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
# Read about factories at https://github.com/thoughtbot/factory_girl
FactoryGirl.define do

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
# Read about factories at https://github.com/thoughtbot/factory_girl
FactoryGirl.define do

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
# Read about factories at https://github.com/thoughtbot/factory_girl
FactoryGirl.define do

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
# Read about factories at https://github.com/thoughtbot/factory_girl
FactoryGirl.define do

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
# Read about factories at https://github.com/thoughtbot/factory_girl
FactoryGirl.define do

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
FactoryGirl.define do
factory :contact do
social_tag { SecureRandom.urlsafe_base64(4) }

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
FactoryGirl.define do
factory :difficulty_level do
title 'Example Difficulty Level'

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
# Read about factories at https://github.com/thoughtbot/factory_girl
FactoryGirl.define do

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
# Read about factories at https://github.com/thoughtbot/factory_girl
FactoryGirl.define do

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
# Read about factories at https://github.com/thoughtbot/factory_girl
FactoryGirl.define do

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
# Read about factories at https://github.com/thoughtbot/factory_girl
FactoryGirl.define do

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
# Read about factories at https://github.com/thoughtbot/factory_girl
FactoryGirl.define do

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
# Read about factories at https://github.com/thoughtbot/factory_girl
FactoryGirl.define do

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
# Read about factories at https://github.com/thoughtbot/factory_girl
FactoryGirl.define do

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
# Read about factories at https://github.com/thoughtbot/factory_girl
FactoryGirl.define do

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
FactoryGirl.define do
factory :organization do
sequence(:name) { |n| "#{Faker::Company.name} #{n}" }

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
FactoryGirl.define do
factory :payment do
user

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
FactoryGirl.define do
factory :physical_ticket do
ticket_purchase

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
# Read about factories at https://github.com/thoughtbot/factory_girl
FactoryGirl.define do

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
# Read about factories at https://github.com/thoughtbot/factory_girl
FactoryGirl.define do

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
# Read about factories at https://github.com/thoughtbot/factory_girl
FactoryGirl.define do

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
# Read about factories at https://github.com/thoughtbot/factory_girl
FactoryGirl.define do

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
# Read about factories at https://github.com/thoughtbot/factory_girl
FactoryGirl.define do

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
# Read about factories at https://github.com/thoughtbot/factory_girl
FactoryGirl.define do

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
FactoryGirl.define do
factory :resource do
name { 'Resource' }

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
FactoryGirl.define do
factory :role do
name 'my role'

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
# Read about factories at https://github.com/thoughtbot/factory_girl
FactoryGirl.define do
factory :room do

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
# Read about factories at https://github.com/thoughtbot/factory_girl
FactoryGirl.define do

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
# Read about factories at https://github.com/thoughtbot/factory_girl
FactoryGirl.define do

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
# Read about factories at https://github.com/thoughtbot/factory_girl
FactoryGirl.define do

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
# Read about factories at https://github.com/thoughtbot/factory_girl
FactoryGirl.define do

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
FactoryGirl.define do
factory :subscription do
user

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
# Read about factories at https://github.com/thoughtbot/factory_girl
FactoryGirl.define do

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
FactoryGirl.define do
factory :ticket_purchase do
user

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
FactoryGirl.define do
factory :ticket_scanning do
physical_ticket

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
FactoryGirl.define do
factory :ticket do
title { "#{Faker::Hipster.word} Ticket" }

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
FactoryGirl.define do
factory :track do
name { Faker::Commerce.department(2, true) }

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
# Read about factories at https://github.com/thoughtbot/factory_girl
# It is a feature of our app that first signed up user is admin. This property

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
FactoryGirl.define do
factory :vday do
day { Time.zone.today }

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
# Read about factories at https://github.com/thoughtbot/factory_girl
FactoryGirl.define do
factory :venue do

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
# Read about factories at https://github.com/thoughtbot/factory_girl
FactoryGirl.define do

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
FactoryGirl.define do
factory :vote do
event

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
FactoryGirl.define do
factory :vposition do
title 'Example Volunteer Position'

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'spec_helper'
feature 'BaseController' do

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'spec_helper'
feature Campaign do

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'spec_helper'
feature 'Has correct abilities' do

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'spec_helper'
feature Conference do

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'spec_helper'
feature Commercial do

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'spec_helper'
feature Registration do

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'spec_helper'
feature Conference do

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'spec_helper'
feature Contact do

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'spec_helper'
feature DifficultyLevel do

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'spec_helper'
feature EmailSettings do

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'spec_helper'
feature EventType do

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'spec_helper'
feature 'Has correct abilities' do

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'spec_helper'
feature Lodging do

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'spec_helper'
feature Openid do

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'spec_helper'
feature 'Has correct abilities' do

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'spec_helper'
feature Organization do

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'spec_helper'
feature 'Has correct abilities' do

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'spec_helper'
feature Program do

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'spec_helper'
feature Event do

Some files were not shown because too many files have changed in this diff Show more