rubocop 0.93.1 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/config/default.yml +59 -54
  4. data/lib/rubocop.rb +0 -2
  5. data/lib/rubocop/cli/command/version.rb +1 -1
  6. data/lib/rubocop/config.rb +4 -0
  7. data/lib/rubocop/config_loader.rb +19 -2
  8. data/lib/rubocop/config_loader_resolver.rb +7 -5
  9. data/lib/rubocop/config_validator.rb +7 -6
  10. data/lib/rubocop/cop/badge.rb +9 -24
  11. data/lib/rubocop/cop/base.rb +16 -1
  12. data/lib/rubocop/cop/commissioner.rb +34 -20
  13. data/lib/rubocop/cop/correctors/percent_literal_corrector.rb +1 -1
  14. data/lib/rubocop/cop/layout/class_structure.rb +7 -0
  15. data/lib/rubocop/cop/layout/space_around_operators.rb +4 -1
  16. data/lib/rubocop/cop/layout/trailing_whitespace.rb +37 -13
  17. data/lib/rubocop/cop/lint/to_json.rb +1 -1
  18. data/lib/rubocop/cop/metrics/parameter_lists.rb +4 -1
  19. data/lib/rubocop/cop/naming/binary_operator_parameter_name.rb +1 -1
  20. data/lib/rubocop/cop/security/open.rb +12 -10
  21. data/lib/rubocop/cop/style/accessor_grouping.rb +1 -1
  22. data/lib/rubocop/cop/style/format_string_token.rb +47 -2
  23. data/lib/rubocop/cop/style/method_call_with_args_parentheses.rb +10 -13
  24. data/lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb +6 -11
  25. data/lib/rubocop/cop/style/method_call_with_args_parentheses/require_parentheses.rb +7 -11
  26. data/lib/rubocop/cop/style/redundant_parentheses.rb +4 -0
  27. data/lib/rubocop/cop/style/redundant_self.rb +3 -0
  28. data/lib/rubocop/cop/style/safe_navigation.rb +16 -4
  29. data/lib/rubocop/cop/style/string_concatenation.rb +13 -1
  30. data/lib/rubocop/cop/style/trailing_underscore_variable.rb +3 -1
  31. data/lib/rubocop/formatter/offense_count_formatter.rb +1 -1
  32. data/lib/rubocop/formatter/worst_offenders_formatter.rb +1 -1
  33. data/lib/rubocop/options.rb +4 -1
  34. data/lib/rubocop/version.rb +56 -6
  35. metadata +4 -4
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.93.1
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bozhidar Batsov
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: exe
12
12
  cert_chain: []
13
- date: 2020-10-12 00:00:00.000000000 Z
13
+ date: 2020-10-21 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: parallel
@@ -805,7 +805,7 @@ metadata:
805
805
  homepage_uri: https://rubocop.org/
806
806
  changelog_uri: https://github.com/rubocop-hq/rubocop/blob/master/CHANGELOG.md
807
807
  source_code_uri: https://github.com/rubocop-hq/rubocop/
808
- documentation_uri: https://docs.rubocop.org/rubocop/0.93/
808
+ documentation_uri: https://docs.rubocop.org/rubocop/1.0/
809
809
  bug_tracker_uri: https://github.com/rubocop-hq/rubocop/issues
810
810
  post_install_message:
811
811
  rdoc_options: []
@@ -822,7 +822,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
822
822
  - !ruby/object:Gem::Version
823
823
  version: '0'
824
824
  requirements: []
825
- rubygems_version: 3.1.4
825
+ rubygems_version: 3.1.2
826
826
  signing_key:
827
827
  specification_version: 4
828
828
  summary: Automatic Ruby code style checking tool.