class RuboCop::Cop::Bundler::OrderedGems

Gems should be alphabetically sorted within groups.

@example

# bad
gem 'rubocop'
gem 'rspec'

# good
gem 'rspec'
gem 'rubocop'

# good
gem 'rubocop'

gem 'rspec'

@example TreatCommentsAsGroupSeparators: true (default)

# good
# For code quality
gem 'rubocop'
# For tests
gem 'rspec'

@example TreatCommentsAsGroupSeparators: false

# bad
# For code quality
gem 'rubocop'
# For tests
gem 'rspec'