rubocop-kata 0.1.1 → 0.1.2
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 +3 -1
- data/lib/rubocop/kata/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8838bcb301e508a0fd65d2648631c43fb3a449eee183dcfdc74f681cec21ffa6
|
|
4
|
+
data.tar.gz: d8b435df49038e927b0b073f7d7a585b13d7a087d4e779271069585210c7027c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d3d2190c9b26c413f7ad4e52245675926613572c47028b6fa5e13eb4a8c373d88aede5cc0539053624ddd740de0adb661332eeab6efb06c833e8359b9c0c4827
|
|
7
|
+
data.tar.gz: 03a1269af57dc067fb2d59bda98d38c3d32a5f4079dd1812bc7a28abe06534e58cbb3d16302e81c14e929d31c74ee6f386b7fc31d2ff29dac6713ce5633103d2
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.1.2] - 2026-08-10
|
|
4
|
+
|
|
5
|
+
- `Kata/IoDiscipline` is on by default for `lib/**` — library code never prints without a receiver.
|
|
6
|
+
|
|
3
7
|
## [0.1.1] - 2026-08-10
|
|
4
8
|
|
|
5
9
|
- `Elegant/NoEmptyLinesInMethods` excludes specs by default, matching `Elegant/NoEmptyLinesInBlocks`.
|
data/README.md
CHANGED
|
@@ -45,7 +45,7 @@ That's it. The plugin loads the bundled extensions and the shared defaults, so y
|
|
|
45
45
|
| --- | --- | --- |
|
|
46
46
|
| `Kata/AgentNoun` | on | Classes named for what they are, not `-er`/`-or` doers. Allow exceptions via `AllowedNames`. |
|
|
47
47
|
| `Kata/NoComments` | on | No prose comments; say it in the code. Magic comments, linter directives, and licence headers survive. Autocorrects. |
|
|
48
|
-
| `Kata/IoDiscipline` |
|
|
48
|
+
| `Kata/IoDiscipline` | on | No bare `puts`/`warn`/`pp`/`p` in `lib/`; write through an injected `@io` or an explicit receiver. |
|
|
49
49
|
| `Kata/ProsePlacement` | off | Sentence-length strings belong in the presentation layer. Enable with an `Include`/`Exclude` matching your layering. |
|
|
50
50
|
|
|
51
51
|
## The defaults
|
data/config/default.yml
CHANGED
|
@@ -28,8 +28,10 @@ Kata/NoComments:
|
|
|
28
28
|
|
|
29
29
|
Kata/IoDiscipline:
|
|
30
30
|
Description: "Write through an injected io, not bare puts/warn/pp/p."
|
|
31
|
-
Enabled:
|
|
31
|
+
Enabled: true
|
|
32
32
|
VersionAdded: "0.1"
|
|
33
|
+
Include:
|
|
34
|
+
- "lib/**/*"
|
|
33
35
|
|
|
34
36
|
Kata/ProsePlacement:
|
|
35
37
|
Description: "Keep sentence-length strings in the presentation layer."
|
data/lib/rubocop/kata/version.rb
CHANGED