netsoft-rubocop 1.1.11 → 1.1.12
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +1 -1
- data/config/default.yml +1 -1
- data/lib/netsoft/rubocop/inject.rb +1 -1
- data/lib/netsoft/rubocop/version.rb +1 -1
- data/lib/netsoft-rubocop.rb +12 -0
- metadata +10 -10
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c2b16ccc543b6e7ee466f3a5ee9ac85bf08bb8298e809587ce1dfdb6d0968ec6
|
|
4
|
+
data.tar.gz: 110c83d12a267b2a3e7ea479b4d55cf5e8a43823d6396d5ea2f401d26c0acffb
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cf2eaf528c57d4092ba16df2e7f0a9018aa18e079b51b094b047d9e3f6d5186476b40772893359a2cb8f29912884d60a7f2d273ba6050145d349cda4c17a9127
|
|
7
|
+
data.tar.gz: 0e432917cd7317dad7d1186c2e4154acc64fbd6d286bfa510e8f74abce9e8f00dfe985b591aeaec08d5aa04969b6c9a1230985b6117ba3b7bd0dd7dca755979c
|
data/CHANGELOG.md
CHANGED
|
@@ -10,6 +10,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
10
10
|
### Changed
|
|
11
11
|
### Fixed
|
|
12
12
|
|
|
13
|
+
## [1.1.12] - 2026-08-06
|
|
14
|
+
### Changed
|
|
15
|
+
- update rubocop, and rubocop-[everything] to latest possible versions as of August 2026
|
|
16
|
+
|
|
13
17
|
## [1.1.11] - 2026-04-21
|
|
14
18
|
### Changed
|
|
15
19
|
- update rubocop, and rubocop-[everything] to latest possible versions as of April 2026
|
data/README.md
CHANGED
data/config/default.yml
CHANGED
|
@@ -296,7 +296,7 @@ RSpec/UndescriptiveLiteralsDescription:
|
|
|
296
296
|
# Enforces either `to have_no_selector` (the default) or `to_not have_selector` (a setting).
|
|
297
297
|
# We use the latter in our codebase, but there is no reason to strictly prohibit the former (it
|
|
298
298
|
# might be used in chains), so no biggie.
|
|
299
|
-
Capybara/NegationMatcher:
|
|
299
|
+
Capybara/RSpec/NegationMatcher:
|
|
300
300
|
Enabled: false
|
|
301
301
|
|
|
302
302
|
# Prohibits all and every case like
|
|
@@ -9,7 +9,7 @@ module Netsoft
|
|
|
9
9
|
path = CONFIG_DEFAULT.to_s
|
|
10
10
|
hash = ::RuboCop::ConfigLoader.send(:load_yaml_configuration, path)
|
|
11
11
|
config = ::RuboCop::Config.new(hash, path)
|
|
12
|
-
puts "configuration from #{path}" if ::RuboCop::ConfigLoader.debug?
|
|
12
|
+
puts "configuration from #{path}" if ::RuboCop::ConfigLoader.debug? # rubocop:disable Rails/Output
|
|
13
13
|
config = ::RuboCop::ConfigLoader.merge_with_default(config, path)
|
|
14
14
|
::RuboCop::ConfigLoader.instance_variable_set(:@default_configuration, config)
|
|
15
15
|
end
|
data/lib/netsoft-rubocop.rb
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
+
# Note: Since Rubocop 1.89, the Inject.defaults! stopped working. It is also unnecessary, as
|
|
4
|
+
# the documentation advises to require explicitly default.yml as described below, for a long time.
|
|
5
|
+
#
|
|
6
|
+
# This file is left for historical reasons.
|
|
7
|
+
#
|
|
8
|
+
# To use the netsoft-rubocop cops and settings, just add to your .rubocop.yml:
|
|
9
|
+
#
|
|
10
|
+
# inherit_gem:
|
|
11
|
+
# netsoft-rubocop:
|
|
12
|
+
# - config/default.yml
|
|
13
|
+
#
|
|
14
|
+
|
|
3
15
|
require 'rubocop'
|
|
4
16
|
|
|
5
17
|
require_relative 'netsoft/rubocop'
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: netsoft-rubocop
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.1.
|
|
4
|
+
version: 1.1.12
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Alex Yarotsky
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2026-
|
|
12
|
+
date: 2026-08-10 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: rubocop
|
|
@@ -17,14 +17,14 @@ dependencies:
|
|
|
17
17
|
requirements:
|
|
18
18
|
- - '='
|
|
19
19
|
- !ruby/object:Gem::Version
|
|
20
|
-
version: 1.
|
|
20
|
+
version: 1.89.0
|
|
21
21
|
type: :runtime
|
|
22
22
|
prerelease: false
|
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
|
24
24
|
requirements:
|
|
25
25
|
- - '='
|
|
26
26
|
- !ruby/object:Gem::Version
|
|
27
|
-
version: 1.
|
|
27
|
+
version: 1.89.0
|
|
28
28
|
- !ruby/object:Gem::Dependency
|
|
29
29
|
name: rubocop-graphql
|
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -59,14 +59,14 @@ dependencies:
|
|
|
59
59
|
requirements:
|
|
60
60
|
- - '='
|
|
61
61
|
- !ruby/object:Gem::Version
|
|
62
|
-
version: 2.
|
|
62
|
+
version: 2.36.0
|
|
63
63
|
type: :runtime
|
|
64
64
|
prerelease: false
|
|
65
65
|
version_requirements: !ruby/object:Gem::Requirement
|
|
66
66
|
requirements:
|
|
67
67
|
- - '='
|
|
68
68
|
- !ruby/object:Gem::Version
|
|
69
|
-
version: 2.
|
|
69
|
+
version: 2.36.0
|
|
70
70
|
- !ruby/object:Gem::Dependency
|
|
71
71
|
name: rubocop-rake
|
|
72
72
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -87,28 +87,28 @@ dependencies:
|
|
|
87
87
|
requirements:
|
|
88
88
|
- - '='
|
|
89
89
|
- !ruby/object:Gem::Version
|
|
90
|
-
version: 3.
|
|
90
|
+
version: 3.10.2
|
|
91
91
|
type: :runtime
|
|
92
92
|
prerelease: false
|
|
93
93
|
version_requirements: !ruby/object:Gem::Requirement
|
|
94
94
|
requirements:
|
|
95
95
|
- - '='
|
|
96
96
|
- !ruby/object:Gem::Version
|
|
97
|
-
version: 3.
|
|
97
|
+
version: 3.10.2
|
|
98
98
|
- !ruby/object:Gem::Dependency
|
|
99
99
|
name: rubocop-capybara
|
|
100
100
|
requirement: !ruby/object:Gem::Requirement
|
|
101
101
|
requirements:
|
|
102
102
|
- - '='
|
|
103
103
|
- !ruby/object:Gem::Version
|
|
104
|
-
version:
|
|
104
|
+
version: 3.0.0
|
|
105
105
|
type: :runtime
|
|
106
106
|
prerelease: false
|
|
107
107
|
version_requirements: !ruby/object:Gem::Requirement
|
|
108
108
|
requirements:
|
|
109
109
|
- - '='
|
|
110
110
|
- !ruby/object:Gem::Version
|
|
111
|
-
version:
|
|
111
|
+
version: 3.0.0
|
|
112
112
|
- !ruby/object:Gem::Dependency
|
|
113
113
|
name: rubocop-factory_bot
|
|
114
114
|
requirement: !ruby/object:Gem::Requirement
|