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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 89a8fe24e888b9db525eaf1f8fe496430fe3e2e9a4f8a8bdf804182bd78e1823
4
- data.tar.gz: 3025371ab1e974fb7a22d14be2c0ea0113433703410d4b382fe6ff4d3066c47e
3
+ metadata.gz: 8838bcb301e508a0fd65d2648631c43fb3a449eee183dcfdc74f681cec21ffa6
4
+ data.tar.gz: d8b435df49038e927b0b073f7d7a585b13d7a087d4e779271069585210c7027c
5
5
  SHA512:
6
- metadata.gz: eccf0db9780dd46644739af2a34026b961d69aac8ce9f771d9c69a8c858b0f304acc59dbd6b74d166441d698adedcb10c9dfbee4c84cc559f0a461c373e0d8c0
7
- data.tar.gz: dc4bf00280baca8767e26563bf082f15983efa2726213f40867c8ec61c93e17881519c80ae8a30e125ba23982ee4e75c226f6294c6962b79e078e0d618eb81db
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` | off | No bare `puts`/`warn`/`pp`/`p`; write through an injected `@io`. Enable with an `Include` on your output layer. |
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: false
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."
@@ -2,6 +2,6 @@
2
2
 
3
3
  module RuboCop
4
4
  module Kata
5
- VERSION = "0.1.1"
5
+ VERSION = "0.1.2"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop-kata
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Giacomo GK