standard 1.26.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: 98dc49ce80e703d0a3fb0d1d70bf4bac16c28e9dbf16988c09ebada4cb8bcd9f
4
- data.tar.gz: 1e771a7f5eb05183f7700c590bb119eaa5cb104566b656b1945a2198099dd2f2
3
+ metadata.gz: f90048ed9d5a6f7fb709f72f0ce48e3afca1207f4b75ec7673baaa77b7a15ed8
4
+ data.tar.gz: e29c6e2e9c919611bfaf1ec1fb2907c0bb2552eb06a7a4340e45140ec0c0a2ad
5
5
  SHA512:
6
- metadata.gz: 2ed743c84d1ca8fc6ed19678292463cdb98c1e82d6f698c3fce646a2bcc022dd133e0d1040216c68f5c70d6884248b1fae9a04ccace31497403ba200a0b512b5
7
- data.tar.gz: fbef7298ac3da5a0842e087225ed5abd61ec75f8eb6a51629c6213fa196b477cef5b7a7b3b5be161434e405fb6068b9d2f5557f645f0ea145cb9ab39f444fdf0
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,28 @@
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
+
21
+ ## 1.27.0
22
+
23
+ * Update rubocop from 1.48.1 to [1.50.2](https://github.com/rubocop/rubocop/releases/tag/v1.50.2)
24
+ * Enabled [Style/RedundantLineContinuation](https://docs.rubocop.org/rubocop/cops_style.html#styleredundantlinecontinuation)
25
+
3
26
  ## 1.26.0
4
27
 
5
28
  * Introduce `--fix-unsafely` and `rake standard:fix_unsafely` for running
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,43 +1,42 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- standard (1.26.0)
4
+ standard (1.28.0)
5
5
  language_server-protocol (~> 3.17.0.2)
6
- rubocop (~> 1.48.1)
7
- rubocop-performance (~> 1.16.0)
6
+ lint_roller (~> 1.0)
7
+ rubocop (~> 1.50.2)
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)
21
23
  method_source (1.0.0)
22
24
  minitest (5.18.0)
23
- parallel (1.22.1)
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
- regexp_parser (2.7.0)
30
+ regexp_parser (2.8.0)
32
31
  rexml (3.2.5)
33
- rubocop (1.48.1)
32
+ rubocop (1.50.2)
34
33
  json (~> 2.3)
35
34
  parallel (~> 1.10)
36
35
  parser (>= 3.2.0.0)
37
36
  rainbow (>= 2.2.2, < 4.0)
38
37
  regexp_parser (>= 1.8, < 3.0)
39
38
  rexml (>= 3.2.5, < 4.0)
40
- rubocop-ast (>= 1.26.0, < 2.0)
39
+ rubocop-ast (>= 1.28.0, < 2.0)
41
40
  ruby-progressbar (~> 1.7)
42
41
  unicode-display_width (>= 2.4.0, < 3.0)
43
42
  rubocop-ast (1.28.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