standard 1.27.0 → 1.28.1

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: e8c0920e71bbf9f203f59f683dfaec09f0b5828546a4b47d9d72079aa2a8fda9
4
+ data.tar.gz: 53cce6a924e050971619a48ae411dba9e002f0c3cdd48588c3f7a2ee68e20c9f
5
5
  SHA512:
6
- metadata.gz: ed7269d761c076913f7581e231a1baa132eb47a32a8bc6c4f3998075cf66c0bb0706cab4d8c2cd5d6ec7000cb03964f4000ff46ea45ba9e07fce094489c57a95
7
- data.tar.gz: 520f2681b77c15012227bf222462acae00c6b36b15fd16371694c8ef831e25a356bf548d8be34a45b271abc4f805c2b3975483d52ef3c06c85db849509388bf5
6
+ metadata.gz: f8d4318e2527b6f2d20308caa846ba861a1432a9b1930ebfd2003475eed86dc0b095191cc64f1415a8d6f6130e82923e792cbadfc686eb60401a18026ea8b0df
7
+ data.tar.gz: e1fa000dc59e5c530a369238ddc1beb75470d10deb191709bc9d84546b39a327bb4bd80ee80202ec81fc788fee8cd8af588ccab75a4f111457336a16af3a9e52
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,30 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.28.1
4
+
5
+ * Fixes plugin behavior caused by setting `DisabledByDefault: true` in `AllCops`
6
+ Effectively, a single lint_roller plugin whose `rules` were of type `:object`
7
+ would inadvertently mark all previously-defined rules as invalid.
8
+ [#557](https://github.com/standardrb/standard/pull/557)
9
+
10
+ ## 1.28.0
11
+
12
+ * Refactor Standard into 3 gems and convert all built-in configuration into
13
+ [lint_roller](https://github.com/standardrb/lint_roller) plugins. See:
14
+ * [standard-performance](https://github.com/standardrb/standard-performance)
15
+ * [standard-custom](https://github.com/standardrb/standard-custom)
16
+ * Standard's behavior when merging multiple `extend_config` that change the same
17
+ set of rules has been fixed to be first-in-wins, as opposed to last-in-wins.
18
+ This ensures a consistent behavior across plugins and extended configurations,
19
+ namely that the first thing to configure a given rule effectively locks it
20
+ from subsequent changes
21
+ * Enable `DisabledByDefault: true`. This shouldn't impact anyone, but might
22
+ change the behavior of some `extend_config` users. Because Standard specifies
23
+ every rule in rubocop and rubocop-performance, this configuration's absence
24
+ wasn't felt until we went to the plugin system, where it makes much more sense
25
+ for plugins to _opt-in_ to the cops they want to configure, as opposed to just
26
+ running every single one that they happen to load/require
27
+
3
28
  ## 1.27.0
4
29
 
5
30
  * 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,31 +1,30 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- standard (1.27.0)
4
+ standard (1.28.1)
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)
21
23
  method_source (1.0.0)
22
24
  minitest (5.18.0)
23
25
  parallel (1.23.0)
24
- parser (3.2.2.0)
26
+ parser (3.2.2.1)
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