standard 1.27.0 → 1.28.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9da8591aa948bc0d345964c18383dc5213cbca194eca797075c1dbedf2e72e43
4
- data.tar.gz: a6baa46440bb2658ef887f1ad678fd2a227d510f06790eb58e96679cca64a0e9
3
+ metadata.gz: f90048ed9d5a6f7fb709f72f0ce48e3afca1207f4b75ec7673baaa77b7a15ed8
4
+ data.tar.gz: e29c6e2e9c919611bfaf1ec1fb2907c0bb2552eb06a7a4340e45140ec0c0a2ad
5
5
  SHA512:
6
- metadata.gz: ed7269d761c076913f7581e231a1baa132eb47a32a8bc6c4f3998075cf66c0bb0706cab4d8c2cd5d6ec7000cb03964f4000ff46ea45ba9e07fce094489c57a95
7
- data.tar.gz: 520f2681b77c15012227bf222462acae00c6b36b15fd16371694c8ef831e25a356bf548d8be34a45b271abc4f805c2b3975483d52ef3c06c85db849509388bf5
6
+ metadata.gz: 53482d43182ade55a2828dd8fbd877c54dfc88cddf7dfdc842fb6a2ade273930fd43422dac37687f42617bfc35d2c65ac2b11211abad4e4d7f1a5409b5fa6cf3
7
+ data.tar.gz: 84a62318f010f8361e94120f579fe24eca5d0ae7efc3cabe7175817f6ce799857ce95abbf59acfe3d898396464cd55231b2d29fd80dbfe781a9a561401e87312
data/.gitignore CHANGED
@@ -6,4 +6,5 @@
6
6
  /pkg/
7
7
  /spec/reports/
8
8
  /tmp/
9
+ /dont_call_it_tmp/
9
10
  /vendor/
data/CHANGELOG.md CHANGED
@@ -1,5 +1,23 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.28.0
4
+
5
+ * Refactor Standard into 3 gems and convert all built-in configuration into
6
+ [lint_roller](https://github.com/standardrb/lint_roller) plugins. See:
7
+ * [standard-performance](https://github.com/standardrb/standard-performance)
8
+ * [standard-custom](https://github.com/standardrb/standard-custom)
9
+ * Standard's behavior when merging multiple `extend_config` that change the same
10
+ set of rules has been fixed to be first-in-wins, as opposed to last-in-wins.
11
+ This ensures a consistent behavior across plugins and extended configurations,
12
+ namely that the first thing to configure a given rule effectively locks it
13
+ from subsequent changes
14
+ * Enable `DisabledByDefault: true`. This shouldn't impact anyone, but might
15
+ change the behavior of some `extend_config` users. Because Standard specifies
16
+ every rule in rubocop and rubocop-performance, this configuration's absence
17
+ wasn't felt until we went to the plugin system, where it makes much more sense
18
+ for plugins to _opt-in_ to the cops they want to configure, as opposed to just
19
+ running every single one that they happen to load/require
20
+
3
21
  ## 1.27.0
4
22
 
5
23
  * Update rubocop from 1.48.1 to [1.50.2](https://github.com/rubocop/rubocop/releases/tag/v1.50.2)
data/Gemfile CHANGED
@@ -4,11 +4,13 @@ gemspec
4
4
 
5
5
  gem "bundler"
6
6
  gem "minitest", "~> 5.0"
7
- gem "pry"
8
7
  gem "rake", "~> 13.0"
9
8
  gem "gimme"
10
9
  gem "m"
11
10
 
12
- if Gem::Version.new(RUBY_VERSION) >= Gem::Version.new("2.5")
13
- gem "simplecov"
14
- end
11
+ # You may want to run these off path locally:
12
+ # gem "lint_roller", path: "../lint_roller"
13
+ # gem "standard-custom", path: "../standard-custom"
14
+ # gem "standard-performance", path: "../standard-performance"
15
+
16
+ gem "simplecov"
data/Gemfile.lock CHANGED
@@ -1,20 +1,22 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- standard (1.27.0)
4
+ standard (1.28.0)
5
5
  language_server-protocol (~> 3.17.0.2)
6
+ lint_roller (~> 1.0)
6
7
  rubocop (~> 1.50.2)
7
- rubocop-performance (~> 1.16.0)
8
+ standard-custom (~> 1.0.0)
9
+ standard-performance (~> 1.0.1)
8
10
 
9
11
  GEM
10
12
  remote: https://rubygems.org/
11
13
  specs:
12
14
  ast (2.4.2)
13
- coderay (1.1.3)
14
15
  docile (1.4.0)
15
16
  gimme (0.5.0)
16
17
  json (2.6.3)
17
18
  language_server-protocol (3.17.0.3)
19
+ lint_roller (1.0.0)
18
20
  m (1.6.1)
19
21
  method_source (>= 0.6.7)
20
22
  rake (>= 0.9.2.2)
@@ -23,9 +25,6 @@ GEM
23
25
  parallel (1.23.0)
24
26
  parser (3.2.2.0)
25
27
  ast (~> 2.4.1)
26
- pry (0.14.2)
27
- coderay (~> 1.1)
28
- method_source (~> 1.0)
29
28
  rainbow (3.1.1)
30
29
  rake (13.0.6)
31
30
  regexp_parser (2.8.0)
@@ -52,6 +51,11 @@ GEM
52
51
  simplecov_json_formatter (~> 0.1)
53
52
  simplecov-html (0.12.3)
54
53
  simplecov_json_formatter (0.1.4)
54
+ standard-custom (1.0.0)
55
+ lint_roller (~> 1.0)
56
+ standard-performance (1.0.1)
57
+ lint_roller (~> 1.0)
58
+ rubocop-performance (~> 1.16.0)
55
59
  unicode-display_width (2.4.2)
56
60
 
57
61
  PLATFORMS
@@ -63,7 +67,6 @@ DEPENDENCIES
63
67
  gimme
64
68
  m
65
69
  minitest (~> 5.0)
66
- pry
67
70
  rake (~> 13.0)
68
71
  simplecov
69
72
  standard!
data/LICENSE.txt CHANGED
@@ -1,9 +1,8 @@
1
- Copyright (c) 2019 Test Double, LLC
1
+ Copyright (c) 2023 Test Double, Inc.
2
2
 
3
- Portions of these files Copyright (c) 2012-18 Bozhidar Batsov:
3
+ Portions of these files Copyright (c) Bozhidar Batsov:
4
4
  - config/base.yml
5
- - lib/standard/cop/block_single_line_braces.rb
6
- - test/cop_invoker.rb
5
+ - lib/standard/plugin/merges_plugins_into_rubocop_config.rb
7
6
 
8
7
  Permission is hereby granted, free of charge, to any person obtaining
9
8
  a copy of this software and associated documentation files (the