docquet 1.2.0 → 1.4.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +16 -0
- data/config/cops/style.yml +1 -1
- data/config/defaults/bundler.yml +2 -2
- data/config/defaults/capybara.yml +70 -56
- data/config/defaults/capybara_rspec.yml +91 -4
- data/config/defaults/i18n_railsi18n.yml +1 -1
- data/config/defaults/layout.yml +22 -9
- data/config/defaults/lint.yml +108 -21
- data/config/defaults/metrics.yml +9 -7
- data/config/defaults/migration.yml +2 -2
- data/config/defaults/naming.yml +6 -3
- data/config/defaults/rspec.yml +33 -2
- data/config/defaults/security.yml +4 -5
- data/config/defaults/style.yml +217 -41
- data/config/defaults/thread_safety.yml +27 -1
- data/lib/docquet/version.rb +1 -1
- metadata +4 -4
|
@@ -1,4 +1,10 @@
|
|
|
1
|
-
# Department 'ThreadSafety' (
|
|
1
|
+
# Department 'ThreadSafety' (10):
|
|
2
|
+
# https://docs.rubocop.org/rubocop-thread_safety/cops_thread_safety.html#threadsafetyactivesupportcallbacks
|
|
3
|
+
ThreadSafety/ActiveSupportCallbacks:
|
|
4
|
+
Description: Avoid mutating ActiveSupport callback chains at runtime.
|
|
5
|
+
Enabled: true # was pending
|
|
6
|
+
VersionAdded: '0.8'
|
|
7
|
+
|
|
2
8
|
# https://docs.rubocop.org/rubocop-thread_safety/cops_thread_safety.html#threadsafetyclassandmoduleattributes
|
|
3
9
|
ThreadSafety/ClassAndModuleAttributes:
|
|
4
10
|
Description: Avoid mutating class and module attributes.
|
|
@@ -16,6 +22,26 @@ ThreadSafety/DirChdir:
|
|
|
16
22
|
Enabled: true
|
|
17
23
|
AllowCallWithBlock: false
|
|
18
24
|
|
|
25
|
+
# https://docs.rubocop.org/rubocop-thread_safety/cops_thread_safety.html#threadsafetyenvmutation
|
|
26
|
+
ThreadSafety/EnvMutation:
|
|
27
|
+
Description: Avoid mutating `ENV` due to its process-wide effect.
|
|
28
|
+
Enabled: true # was false
|
|
29
|
+
VersionAdded: '0.8'
|
|
30
|
+
|
|
31
|
+
# https://docs.rubocop.org/rubocop-thread_safety/cops_thread_safety.html#threadsafetylazysynchronizationprimitive
|
|
32
|
+
ThreadSafety/LazySynchronizationPrimitive:
|
|
33
|
+
Description: Do not lazily initialize synchronization primitives with `||=`.
|
|
34
|
+
Enabled: true # was pending
|
|
35
|
+
VersionAdded: '0.8'
|
|
36
|
+
|
|
37
|
+
# https://docs.rubocop.org/rubocop-thread_safety/cops_thread_safety.html#threadsafetymethodredefinition
|
|
38
|
+
ThreadSafety/MethodRedefinition:
|
|
39
|
+
Description: Do not use `remove_method` followed by method definition.
|
|
40
|
+
Enabled: true # was pending
|
|
41
|
+
VersionAdded: '0.8'
|
|
42
|
+
References:
|
|
43
|
+
- https://bugs.ruby-lang.org/issues/13574
|
|
44
|
+
|
|
19
45
|
# Supports --autocorrect
|
|
20
46
|
# https://docs.rubocop.org/rubocop-thread_safety/cops_thread_safety.html#threadsafetymutableclassinstancevariable
|
|
21
47
|
ThreadSafety/MutableClassInstanceVariable:
|
data/lib/docquet/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: docquet
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.4.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- OZAWA Sakuro
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2026-11-21 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: dry-cli
|
|
@@ -158,14 +158,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
158
158
|
requirements:
|
|
159
159
|
- - ">="
|
|
160
160
|
- !ruby/object:Gem::Version
|
|
161
|
-
version: '3.
|
|
161
|
+
version: '3.3'
|
|
162
162
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
163
163
|
requirements:
|
|
164
164
|
- - ">="
|
|
165
165
|
- !ruby/object:Gem::Version
|
|
166
166
|
version: '0'
|
|
167
167
|
requirements: []
|
|
168
|
-
rubygems_version: 3.
|
|
168
|
+
rubygems_version: 3.5.22
|
|
169
169
|
signing_key:
|
|
170
170
|
specification_version: 4
|
|
171
171
|
summary: Standardized RuboCop configuration with CLI tools
|