Skip to content

Commit

Permalink
Resolve rubocop violations
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenbinns committed Aug 2, 2023
1 parent 237e317 commit 5c19a0b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,6 @@ Metrics/CyclomaticComplexity:

Metrics/PerceivedComplexity:
Max: 11

Gemspec/DevelopmentDependencies:
Enabled: false
2 changes: 1 addition & 1 deletion lib/generators/statesman/generator_helpers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def model_file_name
end

def migration_class_name
klass.gsub(/::/, "").pluralize
klass.gsub("::", "").pluralize
end

def next_migration_number
Expand Down

0 comments on commit 5c19a0b

Please sign in to comment.