Add frozen_string_literal: true

This commit is contained in:
Shuhei Kitagawa 2018-03-11 11:49:03 +09:00 committed by Shishir Kakaraddi
parent 8c630d9b1c
commit b4eaa04c09
6 changed files with 12 additions and 0 deletions

View File

@ -1,3 +1,5 @@
# frozen_string_literal: true
begin
require 'active_record'

View File

@ -1,3 +1,5 @@
# frozen_string_literal: true
module FastJsonapi
require 'fast_jsonapi/object_serializer'
require 'extensions/has_one'

View File

@ -1,3 +1,5 @@
# frozen_string_literal: true
# Usage:
# class Movie
# def to_json(payload)

View File

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'active_support/core_ext/object'
require 'active_support/concern'
require 'active_support/inflector'

View File

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'active_support/concern'
require 'fast_jsonapi/multi_to_json'

View File

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'rails/generators/base'
class SerializerGenerator < Rails::Generators::NamedBase