senro_usecaser 0.1.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 ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: da485bb1bbc5f14668b4e79b4e3a1e840e4e749a2925cc80ad286e2df33732b7
4
+ data.tar.gz: 5313ff78401d64d823d6691f9c659c58bcf357843e9ee97c3636a584cdf99635
5
+ SHA512:
6
+ metadata.gz: 31e26879fc113e25048d9fde410066837502697308ca6973fe313417fe6cd6be198ef9917c9e5110ae51085032f683d66f920642557e2dd30a179af4aecaa1d7
7
+ data.tar.gz: 3957e5c91c088dde9e692101ca8db16840289caedb22bb9bf15a242a31da07898124841582ed8ec8eb9c4699e0b64d2805d04c52683245f51341d64cbc57b768
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
data/.rubocop.yml ADDED
@@ -0,0 +1,72 @@
1
+ plugins:
2
+ - rubocop-rspec
3
+ - rubocop-rake
4
+ - rubocop-rubycw
5
+ - rubocop-on-rbs
6
+
7
+ AllCops:
8
+ TargetRubyVersion: 3.2
9
+ NewCops: enable
10
+ Exclude:
11
+ - "examples/**/*"
12
+ - "vendor/**/*"
13
+
14
+ Style/StringLiterals:
15
+ EnforcedStyle: double_quotes
16
+
17
+ Style/StringLiteralsInInterpolation:
18
+ EnforcedStyle: double_quotes
19
+
20
+ # Allow RBS Inline annotations (#:)
21
+ Layout/LeadingCommentSpace:
22
+ AllowRBSInlineAnnotation: true
23
+
24
+ # Allow multiple expectations in a single example for readability
25
+ RSpec/MultipleExpectations:
26
+ Max: 5
27
+
28
+ # Allow longer examples for comprehensive testing
29
+ RSpec/ExampleLength:
30
+ Max: 35
31
+
32
+ # Allow more memoized helpers for complex test setup
33
+ RSpec/MultipleMemoizedHelpers:
34
+ Max: 10
35
+
36
+ # Allow instance variables in test helper objects
37
+ RSpec/InstanceVariable:
38
+ Enabled: false
39
+
40
+ # Container and Base classes need more lines for comprehensive functionality
41
+ Metrics/ClassLength:
42
+ Exclude:
43
+ - "lib/senro_usecaser/container.rb"
44
+ - "lib/senro_usecaser/base.rb"
45
+
46
+ # Allow longer methods in complex classes
47
+ Metrics/MethodLength:
48
+ Exclude:
49
+ - "lib/senro_usecaser/base.rb"
50
+ - "lib/senro_usecaser/configuration.rb"
51
+
52
+ # Allow complex conditions in step classes
53
+ Metrics/CyclomaticComplexity:
54
+ Exclude:
55
+ - "lib/senro_usecaser/base.rb"
56
+
57
+ Metrics/PerceivedComplexity:
58
+ Exclude:
59
+ - "lib/senro_usecaser/base.rb"
60
+
61
+ # AroundBlock is a false positive for our DSL
62
+ RSpec/AroundBlock:
63
+ Enabled: false
64
+
65
+ # Allow multiple describe blocks for related test classes
66
+ RSpec/MultipleDescribes:
67
+ Enabled: false
68
+
69
+ # Allow describe blocks without explicit class reference for behavior tests
70
+ RSpec/DescribeClass:
71
+ Exclude:
72
+ - "spec/**/*_spec.rb"
data/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Shogo Kawahara
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.