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
class ConferenceSerializer < ActiveModel::Serializer
include ApplicationHelper
attributes :short_title, :title, :description, :start_date, :end_date, :picture_url,

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
#
# Needed in order to add the API version number to the conferences array
#

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
class EventScheduleSerializer < ActiveModel::Serializer
include ActionView::Helpers::TextHelper

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
class EventSerializer < ActiveModel::Serializer
include ActionView::Helpers::TextHelper

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
class RoomSerializer < ActiveModel::Serializer
attributes :guid, :name, :description

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
class SpeakerSerializer < ActiveModel::Serializer
include ActionView::Helpers::TextHelper

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
class TrackSerializer < ActiveModel::Serializer
attributes :guid, :name, :color
end