kaizo 0.7.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 +7 -0
- data/CHANGELOG.md +92 -0
- data/LICENSE.txt +21 -0
- data/README.md +529 -0
- data/config/default.yml +210 -0
- data/lib/kaizo/plugin.rb +27 -0
- data/lib/kaizo/version.rb +3 -0
- data/lib/kaizo.rb +15 -0
- data/lib/rubocop/cop/kaizo/agent_noun_class_name.rb +76 -0
- data/lib/rubocop/cop/kaizo/argument_counting.rb +74 -0
- data/lib/rubocop/cop/kaizo/explicit_begin.rb +119 -0
- data/lib/rubocop/cop/kaizo/file_utils_inclusion.rb +92 -0
- data/lib/rubocop/cop/kaizo/keyword_arguments.rb +35 -0
- data/lib/rubocop/cop/kaizo/nested_method_calls.rb +130 -0
- data/lib/rubocop/cop/kaizo/next_in_non_void_enumerable.rb +134 -0
- data/lib/rubocop/cop/kaizo/positional_arguments.rb +35 -0
- data/lib/rubocop/cop/kaizo/prefer_pathname.rb +63 -0
- data/lib/rubocop/cop/kaizo/spec_comment.rb +75 -0
- data/lib/rubocop/cop/kaizo/spec_description_prose.rb +136 -0
- data/lib/rubocop/cop/kaizo/total_arguments.rb +39 -0
- data/lib/rubocop/cop/kaizo_cops.rb +12 -0
- metadata +96 -0
metadata
ADDED
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: kaizo
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.7.0
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- David Gillis
|
|
8
|
+
bindir: bin
|
|
9
|
+
cert_chain: []
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
11
|
+
dependencies:
|
|
12
|
+
- !ruby/object:Gem::Dependency
|
|
13
|
+
name: lint_roller
|
|
14
|
+
requirement: !ruby/object:Gem::Requirement
|
|
15
|
+
requirements:
|
|
16
|
+
- - "~>"
|
|
17
|
+
- !ruby/object:Gem::Version
|
|
18
|
+
version: '1.1'
|
|
19
|
+
type: :runtime
|
|
20
|
+
prerelease: false
|
|
21
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
22
|
+
requirements:
|
|
23
|
+
- - "~>"
|
|
24
|
+
- !ruby/object:Gem::Version
|
|
25
|
+
version: '1.1'
|
|
26
|
+
- !ruby/object:Gem::Dependency
|
|
27
|
+
name: rubocop
|
|
28
|
+
requirement: !ruby/object:Gem::Requirement
|
|
29
|
+
requirements:
|
|
30
|
+
- - ">="
|
|
31
|
+
- !ruby/object:Gem::Version
|
|
32
|
+
version: 1.72.2
|
|
33
|
+
type: :runtime
|
|
34
|
+
prerelease: false
|
|
35
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
36
|
+
requirements:
|
|
37
|
+
- - ">="
|
|
38
|
+
- !ruby/object:Gem::Version
|
|
39
|
+
version: 1.72.2
|
|
40
|
+
description: 'RuboCop cops that hold AI-agent-authored Ruby to a demanding design
|
|
41
|
+
bar: they bound positional, keyword, and total argument counts, flag agent-noun
|
|
42
|
+
class names, flag calls nested too deeply in arguments, and keep spec comments and
|
|
43
|
+
descriptions as structure -- applying steady pressure toward good domain modeling
|
|
44
|
+
and away from primitive obsession.'
|
|
45
|
+
email:
|
|
46
|
+
- david@flipmine.com
|
|
47
|
+
executables: []
|
|
48
|
+
extensions: []
|
|
49
|
+
extra_rdoc_files: []
|
|
50
|
+
files:
|
|
51
|
+
- CHANGELOG.md
|
|
52
|
+
- LICENSE.txt
|
|
53
|
+
- README.md
|
|
54
|
+
- config/default.yml
|
|
55
|
+
- lib/kaizo.rb
|
|
56
|
+
- lib/kaizo/plugin.rb
|
|
57
|
+
- lib/kaizo/version.rb
|
|
58
|
+
- lib/rubocop/cop/kaizo/agent_noun_class_name.rb
|
|
59
|
+
- lib/rubocop/cop/kaizo/argument_counting.rb
|
|
60
|
+
- lib/rubocop/cop/kaizo/explicit_begin.rb
|
|
61
|
+
- lib/rubocop/cop/kaizo/file_utils_inclusion.rb
|
|
62
|
+
- lib/rubocop/cop/kaizo/keyword_arguments.rb
|
|
63
|
+
- lib/rubocop/cop/kaizo/nested_method_calls.rb
|
|
64
|
+
- lib/rubocop/cop/kaizo/next_in_non_void_enumerable.rb
|
|
65
|
+
- lib/rubocop/cop/kaizo/positional_arguments.rb
|
|
66
|
+
- lib/rubocop/cop/kaizo/prefer_pathname.rb
|
|
67
|
+
- lib/rubocop/cop/kaizo/spec_comment.rb
|
|
68
|
+
- lib/rubocop/cop/kaizo/spec_description_prose.rb
|
|
69
|
+
- lib/rubocop/cop/kaizo/total_arguments.rb
|
|
70
|
+
- lib/rubocop/cop/kaizo_cops.rb
|
|
71
|
+
homepage: https://github.com/flipmine/kaizo
|
|
72
|
+
licenses:
|
|
73
|
+
- MIT
|
|
74
|
+
metadata:
|
|
75
|
+
source_code_uri: https://github.com/flipmine/kaizo
|
|
76
|
+
changelog_uri: https://github.com/flipmine/kaizo/blob/master/CHANGELOG.md
|
|
77
|
+
default_lint_roller_plugin: Kaizo::Plugin
|
|
78
|
+
rubygems_mfa_required: 'true'
|
|
79
|
+
rdoc_options: []
|
|
80
|
+
require_paths:
|
|
81
|
+
- lib
|
|
82
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
83
|
+
requirements:
|
|
84
|
+
- - ">="
|
|
85
|
+
- !ruby/object:Gem::Version
|
|
86
|
+
version: '4.0'
|
|
87
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
88
|
+
requirements:
|
|
89
|
+
- - ">="
|
|
90
|
+
- !ruby/object:Gem::Version
|
|
91
|
+
version: '0'
|
|
92
|
+
requirements: []
|
|
93
|
+
rubygems_version: 4.0.16
|
|
94
|
+
specification_version: 4
|
|
95
|
+
summary: A strict, punishing set of RuboCop design cops for AI-agent-authored Ruby.
|
|
96
|
+
test_files: []
|