Skip to content

Commit

Permalink
Rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
CloCkWeRX committed Jul 13, 2024
1 parent 89ef45d commit aa0cff0
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 6 deletions.
6 changes: 0 additions & 6 deletions .rubocop_todo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,6 @@ Style/Documentation:
# SupportedStyles: always, always_true, never
Style/FrozenStringLiteralComment:
Exclude:
- 'Gemfile'
- 'Rakefile'
- 'acts_as_commentable.gemspec'
- 'init.rb'
- 'install.rb'
- 'lib/acts_as_commentable.rb'
Expand All @@ -85,6 +82,3 @@ Style/FrozenStringLiteralComment:
- 'lib/generators/comment/templates/comment.rb'
- 'lib/generators/comment/templates/create_comments.rb'
- 'rails/init.rb'
- 'test/acts_as_commentable_test.rb'
- 'test/models.rb'
- 'test/schema.rb'
2 changes: 2 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# frozen_string_literal: true

source 'http://rubygems.org'
gemspec

Expand Down
2 changes: 2 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# frozen_string_literal: true

require 'rake/testtask'

desc 'Test the acts_as_commentable plugin.'
Expand Down
2 changes: 2 additions & 0 deletions acts_as_commentable.gemspec
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# frozen_string_literal: true

Gem::Specification.new do |s|
s.name = 'acts_as_commentable'
s.version = '7.1.0'
Expand Down
2 changes: 2 additions & 0 deletions test/acts_as_commentable_test.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# frozen_string_literal: true

require 'test/unit'
require 'logger'
require 'pry'
Expand Down
2 changes: 2 additions & 0 deletions test/models.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# frozen_string_literal: true

class Post < ActiveRecord::Base
acts_as_commentable
end
Expand Down
2 changes: 2 additions & 0 deletions test/schema.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# frozen_string_literal: true

ActiveRecord::Schema.define(version: 0) do
create_table :posts do |t|
t.text :text
Expand Down

0 comments on commit aa0cff0

Please sign in to comment.