rubocop autofix

This commit is contained in:
2021-04-29 17:42:31 +02:00
parent b64fa26a55
commit f7799bb514
54 changed files with 127 additions and 50 deletions

View File

@@ -1,3 +1,5 @@
# frozen_string_literal: true
class ApplicationRecord < ActiveRecord::Base
self.abstract_class = true
end

View File

@@ -1,3 +1,5 @@
# frozen_string_literal: true
class LearnedWowPetAbility < ApplicationRecord
belongs_to :wow_pet
belongs_to :wow_pet_ability

View File

@@ -1,3 +1,5 @@
# frozen_string_literal: true
class UserObtainWowMount < ApplicationRecord
belongs_to :user
belongs_to :wow_mount

View File

@@ -1,3 +1,5 @@
# frozen_string_literal: true
class UserObtainWowPet < ApplicationRecord
belongs_to :user
belongs_to :wow_pet

View File

@@ -1,3 +1,5 @@
# frozen_string_literal: true
class WowCharacter < ApplicationRecord
extend Mobility
translates :translated_faction, :translated_gender

View File

@@ -1,3 +1,5 @@
# frozen_string_literal: true
class WowCharacterMedium < ApplicationRecord
belongs_to :wow_character
end

View File

@@ -1,3 +1,5 @@
# frozen_string_literal: true
class WowCharacterTitle < ApplicationRecord
extend Mobility
translates :name, :male_name, :female_name

View File

@@ -1,3 +1,5 @@
# frozen_string_literal: true
class WowClass < ApplicationRecord
extend Mobility
translates :name, :power_type, :male_name, :female_name

View File

@@ -1,3 +1,5 @@
# frozen_string_literal: true
class WowMount < ApplicationRecord
extend Mobility
translates :name, :description, :translated_faction, :translated_source

View File

@@ -1,3 +1,5 @@
# frozen_string_literal: true
class WowPet < ApplicationRecord
extend Mobility
translates :name, :translated_battle_pet_type, :description, :translated_source_type

View File

@@ -1,3 +1,5 @@
# frozen_string_literal: true
class WowPetAbility < ApplicationRecord
extend Mobility
translates :name, :translated_battle_pet_type

View File

@@ -1,3 +1,5 @@
# frozen_string_literal: true
class WowRace < ApplicationRecord
extend Mobility
translates :name, :translated_faction, :male_name, :female_name

View File

@@ -1,3 +1,5 @@
# frozen_string_literal: true
class WowRealm < ApplicationRecord
extend Mobility
translates :name, :category, :realm_type