mirror of
https://github.com/paper-trail-gem/paper_trail.git
synced 2022-11-09 11:33:19 -05:00
Fix Style/TrailingBlankLines
This commit is contained in:
parent
9501a83689
commit
c28e818e72
6 changed files with 4 additions and 20 deletions
|
@ -365,18 +365,3 @@ Style/SymbolProc:
|
|||
Exclude:
|
||||
- 'lib/paper_trail/reifier.rb'
|
||||
- 'test/unit/version_test.rb'
|
||||
|
||||
# Offense count: 8
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
||||
# SupportedStyles: final_newline, final_blank_line
|
||||
Style/TrailingBlankLines:
|
||||
Exclude:
|
||||
- 'lib/paper_trail/frameworks/active_record/models/paper_trail/version_association.rb'
|
||||
- 'spec/spec_helper.rb'
|
||||
- 'test/custom_json_serializer.rb'
|
||||
- 'test/dummy/app/models/thing.rb'
|
||||
- 'test/dummy/app/versions/post_version.rb'
|
||||
- 'test/dummy/config/boot.rb'
|
||||
- 'test/dummy/config/environments/development.rb'
|
||||
- 'test/test_helper.rb'
|
||||
|
|
|
@ -4,4 +4,4 @@ module PaperTrail
|
|||
class VersionAssociation < ::ActiveRecord::Base
|
||||
include PaperTrail::VersionAssociationConcern
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
class Thing < ActiveRecord::Base
|
||||
has_paper_trail save_changes: false
|
||||
end
|
||||
end
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
class PostVersion < PaperTrail::Version
|
||||
self.table_name = 'post_versions'
|
||||
end
|
||||
end
|
||||
|
|
|
@ -7,4 +7,4 @@ if File.exist?(gemfile)
|
|||
Bundler.setup
|
||||
end
|
||||
|
||||
$:.unshift File.expand_path('../../../../lib', __FILE__)
|
||||
$:.unshift File.expand_path('../../../../lib', __FILE__)
|
||||
|
|
|
@ -39,4 +39,3 @@ Dummy::Application.configure do
|
|||
# number of complex assets.
|
||||
config.assets.debug = true
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue