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
# 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'