Pattern: Malformed Gem filename
Issue: -
This rule verifies that a project contains Gemfile
or gems.rb
file and correct
associated lock file based on the configuration.
# bad
Project contains gems.rb and gems.locked files
# bad
Project contains Gemfile and gems.locked file
# good
Project contains Gemfile and Gemfile.lock
# bad
Project contains Gemfile and Gemfile.lock files
# bad
Project contains gems.rb and Gemfile.lock file
# good
Project contains gems.rb and gems.locked files
Name | Default value | Configurable values |
---|---|---|
EnforcedStyle | Gemfile |
Gemfile , gems.rb |
Include | +**/Gemfile+ , +**/gems.rb+ , +**/Gemfile.lock+ , +**/gems.locked+ |
Array |