rubocop-kata 0.1.0 → 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: afc68d8fc2ae4c367777585d33f35a3b33606f0e228a20b258f2bb3d0626b93c
4
- data.tar.gz: 7ef9e559ce1dc181a714f648450ee1f8a7e38933310242020a918f37deb26101
3
+ metadata.gz: 8838bcb301e508a0fd65d2648631c43fb3a449eee183dcfdc74f681cec21ffa6
4
+ data.tar.gz: d8b435df49038e927b0b073f7d7a585b13d7a087d4e779271069585210c7027c
5
5
  SHA512:
6
- metadata.gz: fb1e23f94f65585d432ccae75b64637b3d4731c8296bb80e04fe6ffe6780e381f3e9d81a5523c131f8ed0c2e970e3d3022b247c224bd13aeb82fba757111d230
7
- data.tar.gz: c26e89e367edbe8b36deb696232aafe1f30739abb91aa1a163fb4c56eb8b25a8b3e13a9baf83155bcb986535ffe09528eec8f57fbda23469b201b246b71494b9
6
+ metadata.gz: d3d2190c9b26c413f7ad4e52245675926613572c47028b6fa5e13eb4a8c373d88aede5cc0539053624ddd740de0adb661332eeab6efb06c833e8359b9c0c4827
7
+ data.tar.gz: 03a1269af57dc067fb2d59bda98d38c3d32a5f4079dd1812bc7a28abe06534e58cbb3d16302e81c14e929d31c74ee6f386b7fc31d2ff29dac6713ce5633103d2
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
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
+
7
+ ## [0.1.1] - 2026-08-10
8
+
9
+ - `Elegant/NoEmptyLinesInMethods` excludes specs by default, matching `Elegant/NoEmptyLinesInBlocks`.
10
+
3
11
  ## [0.1.0] - 2026-08-10
4
12
 
5
13
  - Initial release.
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."
@@ -98,6 +100,10 @@ Elegant/NoEmptyLinesInBlocks:
98
100
  Exclude:
99
101
  - "spec/**/*"
100
102
 
103
+ Elegant/NoEmptyLinesInMethods:
104
+ Exclude:
105
+ - "spec/**/*"
106
+
101
107
  Elegant/NoComments:
102
108
  Enabled: false
103
109
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module RuboCop
4
4
  module Kata
5
- VERSION = "0.1.0"
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.0
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Giacomo GK