rubocop-vibe 0.2.0 → 0.3.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/config/default.yml +39 -4
- data/lib/rubocop/cop/vibe/blank_line_after_assignment.rb +217 -0
- data/lib/rubocop/cop/vibe/blank_line_before_expectation.rb +6 -1
- data/lib/rubocop/cop/vibe/class_organization.rb +20 -1
- data/lib/rubocop/cop/vibe/consecutive_assignment_alignment.rb +5 -102
- data/lib/rubocop/cop/vibe/consecutive_constant_alignment.rb +5 -113
- data/lib/rubocop/cop/vibe/consecutive_indexed_assignment_alignment.rb +145 -0
- data/lib/rubocop/cop/vibe/consecutive_let_alignment.rb +5 -94
- data/lib/rubocop/cop/vibe/describe_block_order.rb +6 -2
- data/lib/rubocop/cop/vibe/explicit_return_conditional.rb +192 -0
- data/lib/rubocop/cop/vibe/is_expected_one_liner.rb +3 -0
- data/lib/rubocop/cop/vibe/mixin/alignment_helpers.rb +92 -0
- data/lib/rubocop/cop/vibe/multiline_hash_argument_style.rb +171 -0
- data/lib/rubocop/cop/vibe/no_compound_conditions.rb +138 -0
- data/lib/rubocop/cop/vibe/no_rubocop_disable.rb +3 -0
- data/lib/rubocop/cop/vibe/no_skipped_tests.rb +1 -0
- data/lib/rubocop/cop/vibe/no_unless_guard_clause.rb +4 -0
- data/lib/rubocop/cop/vibe/prefer_one_liner_expectation.rb +4 -0
- data/lib/rubocop/cop/vibe/raise_unless_block.rb +1 -0
- data/lib/rubocop/cop/vibe/rspec_before_block_style.rb +114 -0
- data/lib/rubocop/cop/vibe/rspec_stub_chain_style.rb +4 -0
- data/lib/rubocop/cop/vibe_cops.rb +7 -0
- data/lib/rubocop/vibe/plugin.rb +4 -4
- data/lib/rubocop/vibe/version.rb +1 -1
- metadata +9 -2
data/lib/rubocop/vibe/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rubocop-vibe
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.3.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tristan Dunn
|
|
@@ -87,20 +87,27 @@ extra_rdoc_files: []
|
|
|
87
87
|
files:
|
|
88
88
|
- config/default.yml
|
|
89
89
|
- lib/rubocop-vibe.rb
|
|
90
|
+
- lib/rubocop/cop/vibe/blank_line_after_assignment.rb
|
|
90
91
|
- lib/rubocop/cop/vibe/blank_line_before_expectation.rb
|
|
91
92
|
- lib/rubocop/cop/vibe/class_organization.rb
|
|
92
93
|
- lib/rubocop/cop/vibe/consecutive_assignment_alignment.rb
|
|
93
94
|
- lib/rubocop/cop/vibe/consecutive_constant_alignment.rb
|
|
95
|
+
- lib/rubocop/cop/vibe/consecutive_indexed_assignment_alignment.rb
|
|
94
96
|
- lib/rubocop/cop/vibe/consecutive_let_alignment.rb
|
|
95
97
|
- lib/rubocop/cop/vibe/describe_block_order.rb
|
|
98
|
+
- lib/rubocop/cop/vibe/explicit_return_conditional.rb
|
|
96
99
|
- lib/rubocop/cop/vibe/is_expected_one_liner.rb
|
|
100
|
+
- lib/rubocop/cop/vibe/mixin/alignment_helpers.rb
|
|
97
101
|
- lib/rubocop/cop/vibe/mixin/spec_file_helper.rb
|
|
102
|
+
- lib/rubocop/cop/vibe/multiline_hash_argument_style.rb
|
|
98
103
|
- lib/rubocop/cop/vibe/no_assigns_attribute_testing.rb
|
|
104
|
+
- lib/rubocop/cop/vibe/no_compound_conditions.rb
|
|
99
105
|
- lib/rubocop/cop/vibe/no_rubocop_disable.rb
|
|
100
106
|
- lib/rubocop/cop/vibe/no_skipped_tests.rb
|
|
101
107
|
- lib/rubocop/cop/vibe/no_unless_guard_clause.rb
|
|
102
108
|
- lib/rubocop/cop/vibe/prefer_one_liner_expectation.rb
|
|
103
109
|
- lib/rubocop/cop/vibe/raise_unless_block.rb
|
|
110
|
+
- lib/rubocop/cop/vibe/rspec_before_block_style.rb
|
|
104
111
|
- lib/rubocop/cop/vibe/rspec_stub_chain_style.rb
|
|
105
112
|
- lib/rubocop/cop/vibe/service_call_method.rb
|
|
106
113
|
- lib/rubocop/cop/vibe_cops.rb
|
|
@@ -129,7 +136,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
129
136
|
- !ruby/object:Gem::Version
|
|
130
137
|
version: '0'
|
|
131
138
|
requirements: []
|
|
132
|
-
rubygems_version: 4.0.
|
|
139
|
+
rubygems_version: 4.0.4
|
|
133
140
|
specification_version: 4
|
|
134
141
|
summary: A set of custom cops to use on AI generated code.
|
|
135
142
|
test_files: []
|