assistant 0.0.2 → 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 +4 -4
- data/.editorconfig +13 -0
- data/.github/dependabot.yml +4 -0
- data/.github/workflows/ci.yml +41 -0
- data/.github/workflows/release.yml +46 -0
- data/.markdownlint.json +6 -0
- data/.rubocop.yml +32 -150
- data/.rubocop_todo.yml +7 -0
- data/.ruby-version +1 -1
- data/CHANGELOG.md +56 -0
- data/Gemfile.lock +96 -93
- data/Rakefile +8 -3
- data/assistant.gemspec +13 -17
- data/lib/assistant/input_builder.rb +84 -0
- data/lib/assistant/log_item.rb +1 -1
- data/lib/assistant/log_list.rb +7 -1
- data/lib/assistant/refinements/string_blankness.rb +18 -0
- data/lib/assistant/service.rb +37 -6
- data/lib/assistant/service.rbs +5 -0
- data/lib/assistant/version.rb +1 -1
- data/lib/assistant.rb +0 -1
- data/mise.toml +4 -0
- metadata +39 -127
- data/.circleci/config.yml +0 -45
- data/.rspec +0 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a5c9349088dd10a8a058d3d95c0fb80217f5ac5abd2a7bded0e2d19018baf1fb
|
|
4
|
+
data.tar.gz: e8494d003e8a5cfe35da752c9234f6635db669f0529a941bef551ae143096c79
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d336fd45017b3d6446bb1dd5d4f697ad3ee962295761201521dc15a8b423da336d1d9ab0eecd0d04c0486db9c2886c3e5c49cd845581bad67f1bee8131758a20
|
|
7
|
+
data.tar.gz: 68153612bb94532f476072fc7b326eeb392248cd6161fccdcf654315c36b437e4f1c4e90f78d3d13fb15da3e87ecae2182161e94f263f820d30a0c7cb4599a20
|
data/.editorconfig
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# EditorConfig is awesome: https://EditorConfig.org
|
|
2
|
+
|
|
3
|
+
# top-most EditorConfig file
|
|
4
|
+
root = true
|
|
5
|
+
|
|
6
|
+
[*]
|
|
7
|
+
indent_style = space
|
|
8
|
+
indent_size = 2
|
|
9
|
+
end_of_line = lf
|
|
10
|
+
charset = utf-8
|
|
11
|
+
trim_trailing_whitespace = true
|
|
12
|
+
insert_final_newline = true
|
|
13
|
+
quote_type = single
|
data/.github/dependabot.yml
CHANGED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: CI
|
|
3
|
+
|
|
4
|
+
on:
|
|
5
|
+
push:
|
|
6
|
+
branches: [main]
|
|
7
|
+
pull_request:
|
|
8
|
+
branches: [main]
|
|
9
|
+
|
|
10
|
+
# Default to least privilege; jobs may opt into more.
|
|
11
|
+
permissions:
|
|
12
|
+
contents: read
|
|
13
|
+
|
|
14
|
+
jobs:
|
|
15
|
+
test:
|
|
16
|
+
name: Minitest (Ruby ${{ matrix.ruby }})
|
|
17
|
+
runs-on: ubuntu-latest
|
|
18
|
+
strategy:
|
|
19
|
+
fail-fast: false
|
|
20
|
+
matrix:
|
|
21
|
+
ruby: ['3.4', '4.0']
|
|
22
|
+
steps:
|
|
23
|
+
- uses: actions/checkout@v4
|
|
24
|
+
- uses: ruby/setup-ruby@v1
|
|
25
|
+
with:
|
|
26
|
+
ruby-version: ${{ matrix.ruby }}
|
|
27
|
+
bundler-cache: true
|
|
28
|
+
- name: Run tests
|
|
29
|
+
run: bundle exec rake test
|
|
30
|
+
|
|
31
|
+
rubocop:
|
|
32
|
+
name: RuboCop
|
|
33
|
+
runs-on: ubuntu-latest
|
|
34
|
+
steps:
|
|
35
|
+
- uses: actions/checkout@v4
|
|
36
|
+
- uses: ruby/setup-ruby@v1
|
|
37
|
+
with:
|
|
38
|
+
ruby-version: '4.0'
|
|
39
|
+
bundler-cache: true
|
|
40
|
+
- name: Run RuboCop
|
|
41
|
+
run: bundle exec rubocop --parallel
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: Release
|
|
3
|
+
|
|
4
|
+
on:
|
|
5
|
+
push:
|
|
6
|
+
tags:
|
|
7
|
+
- 'v*.*.*'
|
|
8
|
+
workflow_dispatch:
|
|
9
|
+
|
|
10
|
+
# Default to least privilege; the release job opts into the perms it needs.
|
|
11
|
+
permissions:
|
|
12
|
+
contents: read
|
|
13
|
+
|
|
14
|
+
jobs:
|
|
15
|
+
release:
|
|
16
|
+
name: Build and publish gem
|
|
17
|
+
runs-on: ubuntu-latest
|
|
18
|
+
environment: rubygems
|
|
19
|
+
permissions:
|
|
20
|
+
contents: write
|
|
21
|
+
id-token: write
|
|
22
|
+
steps:
|
|
23
|
+
- uses: actions/checkout@v4
|
|
24
|
+
- uses: ruby/setup-ruby@v1
|
|
25
|
+
with:
|
|
26
|
+
ruby-version: '4.0'
|
|
27
|
+
bundler-cache: true
|
|
28
|
+
|
|
29
|
+
- name: Run tests before publishing
|
|
30
|
+
run: bundle exec rake test
|
|
31
|
+
|
|
32
|
+
- name: Configure trusted publishing
|
|
33
|
+
uses: rubygems/configure-rubygems-credentials@v1.0.0
|
|
34
|
+
|
|
35
|
+
- name: Build gem
|
|
36
|
+
run: gem build assistant.gemspec
|
|
37
|
+
|
|
38
|
+
- name: Push gem to RubyGems
|
|
39
|
+
run: gem push assistant-*.gem
|
|
40
|
+
|
|
41
|
+
- name: Create GitHub Release
|
|
42
|
+
if: startsWith(github.ref, 'refs/tags/')
|
|
43
|
+
uses: softprops/action-gh-release@v2
|
|
44
|
+
with:
|
|
45
|
+
generate_release_notes: true
|
|
46
|
+
files: assistant-*.gem
|
data/.markdownlint.json
ADDED
data/.rubocop.yml
CHANGED
|
@@ -1,49 +1,39 @@
|
|
|
1
|
-
# This is the configuration used to check the rubocop source code.
|
|
2
|
-
|
|
3
1
|
inherit_from: .rubocop_todo.yml
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
|
|
3
|
+
plugins:
|
|
6
4
|
- rubocop-performance
|
|
7
|
-
- rubocop-
|
|
5
|
+
- rubocop-minitest
|
|
6
|
+
|
|
7
|
+
require:
|
|
8
8
|
- rubocop-rake
|
|
9
9
|
|
|
10
10
|
AllCops:
|
|
11
11
|
NewCops: enable
|
|
12
|
+
TargetRubyVersion: 3.4
|
|
13
|
+
SuggestExtensions: false
|
|
12
14
|
Exclude:
|
|
13
15
|
- 'vendor/**/*'
|
|
14
|
-
- 'spec/fixtures/**/*'
|
|
15
16
|
- 'tmp/**/*'
|
|
16
17
|
- '.git/**/*'
|
|
17
18
|
- 'bin/*'
|
|
18
|
-
|
|
19
|
-
SuggestExtensions: false
|
|
19
|
+
- 'Gemfile.lock'
|
|
20
20
|
|
|
21
21
|
Gemspec/DevelopmentDependencies:
|
|
22
|
-
|
|
22
|
+
EnforcedStyle: gemspec
|
|
23
23
|
|
|
24
|
-
|
|
25
|
-
|
|
24
|
+
Gemspec/DependencyVersion:
|
|
25
|
+
Enabled: true
|
|
26
|
+
|
|
27
|
+
Naming/PredicatePrefix:
|
|
26
28
|
MethodDefinitionMacros:
|
|
27
29
|
- define_method
|
|
28
30
|
- define_singleton_method
|
|
29
|
-
- def_node_matcher
|
|
30
|
-
- def_node_search
|
|
31
31
|
|
|
32
|
-
|
|
32
|
+
# Tests use simple `def execute = true` to fabricate services; the boolean
|
|
33
|
+
# return doesn't make these predicate methods.
|
|
34
|
+
Naming/PredicateMethod:
|
|
33
35
|
Exclude:
|
|
34
|
-
-
|
|
35
|
-
- lib/rubocop/cop/offense.rb
|
|
36
|
-
|
|
37
|
-
Style/FormatStringToken:
|
|
38
|
-
# Because we parse a lot of source codes from strings. Percent arrays
|
|
39
|
-
# look like unannotated format string tokens to this cop.
|
|
40
|
-
Exclude:
|
|
41
|
-
- spec/**/*
|
|
42
|
-
|
|
43
|
-
Style/IpAddresses:
|
|
44
|
-
# The test for this cop includes strings that would cause offenses
|
|
45
|
-
Exclude:
|
|
46
|
-
- spec/rubocop/cop/style/ip_addresses_spec.rb
|
|
36
|
+
- 'test/**/*.rb'
|
|
47
37
|
|
|
48
38
|
Layout/EndOfLine:
|
|
49
39
|
EnforcedStyle: lf
|
|
@@ -54,13 +44,6 @@ Layout/ClassStructure:
|
|
|
54
44
|
Layout/RedundantLineBreak:
|
|
55
45
|
Enabled: true
|
|
56
46
|
|
|
57
|
-
Layout/TrailingWhitespace:
|
|
58
|
-
AllowInHeredoc: false
|
|
59
|
-
|
|
60
|
-
Lint/AmbiguousBlockAssociation:
|
|
61
|
-
Exclude:
|
|
62
|
-
- 'spec/**/*.rb'
|
|
63
|
-
|
|
64
47
|
Layout/HashAlignment:
|
|
65
48
|
EnforcedHashRocketStyle:
|
|
66
49
|
- key
|
|
@@ -71,133 +54,32 @@ Layout/HashAlignment:
|
|
|
71
54
|
|
|
72
55
|
Layout/LineLength:
|
|
73
56
|
Max: 120
|
|
74
|
-
AllowedPatterns:
|
|
75
|
-
- !ruby/regexp /\A +(it|describe|context|shared_examples|include_examples|it_behaves_like) ["']/
|
|
76
|
-
|
|
77
|
-
Lint/InterpolationCheck:
|
|
78
|
-
Exclude:
|
|
79
|
-
- 'spec/**/*.rb'
|
|
80
57
|
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
- 'def_matcher'
|
|
84
|
-
- 'def_node_matcher'
|
|
85
|
-
|
|
86
|
-
Lint/EmptyFile:
|
|
87
|
-
Exclude:
|
|
88
|
-
# This file is intentionally empty to catch rubocop cops failing on empty files.
|
|
89
|
-
- spec/rubocop/intentionally_empty_file.rb
|
|
58
|
+
Style/RequireOrder:
|
|
59
|
+
Enabled: true
|
|
90
60
|
|
|
61
|
+
# Test files use anonymous Class.new(...) blocks and dynamic define_method,
|
|
62
|
+
# which inflates length/metrics counts that don't reflect real complexity.
|
|
91
63
|
Metrics/BlockLength:
|
|
92
64
|
Exclude:
|
|
93
65
|
- 'Rakefile'
|
|
94
66
|
- '**/*.rake'
|
|
95
|
-
- '
|
|
67
|
+
- 'test/**/*.rb'
|
|
96
68
|
- '**/*.gemspec'
|
|
97
69
|
|
|
98
70
|
Metrics/ClassLength:
|
|
99
71
|
Exclude:
|
|
100
|
-
-
|
|
101
|
-
- lib/rubocop/options.rb
|
|
72
|
+
- 'test/**/*.rb'
|
|
102
73
|
|
|
103
|
-
Metrics/
|
|
74
|
+
Metrics/MethodLength:
|
|
104
75
|
Exclude:
|
|
105
|
-
- '
|
|
76
|
+
- 'test/**/*.rb'
|
|
106
77
|
|
|
107
|
-
Naming/
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
Suggestions:
|
|
113
|
-
- an offense
|
|
114
|
-
auto-correct:
|
|
115
|
-
Suggestions:
|
|
116
|
-
- autocorrect
|
|
117
|
-
auto_correct:
|
|
118
|
-
Suggestions:
|
|
119
|
-
- autocorrect
|
|
120
|
-
behaviour:
|
|
121
|
-
Suggestions:
|
|
122
|
-
- behavior
|
|
123
|
-
offence:
|
|
124
|
-
Suggestions:
|
|
125
|
-
- offense
|
|
126
|
-
'does not registers':
|
|
127
|
-
Suggestions:
|
|
128
|
-
- does not register
|
|
129
|
-
Exclude:
|
|
130
|
-
- lib/rubocop/cop/naming/inclusive_language.rb
|
|
131
|
-
- lib/rubocop/cop/mixin/auto_corrector.rb
|
|
132
|
-
- spec/rubocop/cop/naming/inclusive_language_spec.rb
|
|
133
|
-
|
|
134
|
-
RSpec:
|
|
135
|
-
Language:
|
|
136
|
-
Expectations:
|
|
137
|
-
- expect_autocorrect_options_for_autocorrect
|
|
138
|
-
- expect_autocorrect_options_for_autocorrect_all
|
|
139
|
-
- expect_autocorrect_options_for_fix_layout
|
|
140
|
-
- expect_correction
|
|
141
|
-
- expect_feature_loader
|
|
142
|
-
- expect_no_offenses
|
|
143
|
-
- expect_offense
|
|
144
|
-
|
|
145
|
-
RSpec/FilePath:
|
|
146
|
-
Exclude:
|
|
147
|
-
- spec/rubocop/cop/internal_affairs/redundant_let_rubocop_config_new_spec.rb
|
|
148
|
-
- spec/rubocop/formatter/junit_formatter_spec.rb
|
|
149
|
-
|
|
150
|
-
RSpec/PredicateMatcher:
|
|
151
|
-
EnforcedStyle: explicit
|
|
152
|
-
|
|
153
|
-
RSpec/MessageSpies:
|
|
154
|
-
EnforcedStyle: receive
|
|
155
|
-
|
|
156
|
-
RSpec/NestedGroups:
|
|
157
|
-
Max: 7
|
|
158
|
-
|
|
159
|
-
RSpec/MultipleMemoizedHelpers:
|
|
160
|
-
Enabled: false
|
|
161
|
-
|
|
162
|
-
Performance/CollectionLiteralInLoop:
|
|
163
|
-
Exclude:
|
|
164
|
-
- 'Rakefile'
|
|
165
|
-
- 'spec/**/*.rb'
|
|
166
|
-
|
|
167
|
-
Performance/EndWith:
|
|
168
|
-
SafeMultiline: false
|
|
169
|
-
|
|
170
|
-
Performance/StartWith:
|
|
171
|
-
SafeMultiline: false
|
|
172
|
-
|
|
173
|
-
RSpec/StubbedMock:
|
|
174
|
-
Enabled: false
|
|
175
|
-
|
|
176
|
-
InternalAffairs/ExampleDescription:
|
|
177
|
-
Include:
|
|
178
|
-
- 'spec/rubocop/cop/**/*.rb'
|
|
78
|
+
Naming/MethodParameterName:
|
|
79
|
+
AllowedNames:
|
|
80
|
+
- a
|
|
81
|
+
- b
|
|
82
|
+
- c
|
|
179
83
|
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
- 'spec/rubocop/cop/**/*.rb'
|
|
183
|
-
|
|
184
|
-
InternalAffairs/UndefinedConfig:
|
|
185
|
-
Include:
|
|
186
|
-
- 'lib/rubocop/cop/**/*.rb'
|
|
187
|
-
Exclude:
|
|
188
|
-
- 'lib/rubocop/cop/correctors/**/*.rb'
|
|
189
|
-
- 'lib/rubocop/cop/mixin/**/*.rb'
|
|
190
|
-
|
|
191
|
-
InternalAffairs/StyleDetectedApiUse:
|
|
192
|
-
Exclude:
|
|
193
|
-
- 'lib/rubocop/cop/mixin/percent_array.rb'
|
|
194
|
-
|
|
195
|
-
InternalAffairs/NumblockHandler:
|
|
196
|
-
Exclude:
|
|
197
|
-
- 'lib/rubocop/cop/internal_affairs/*.rb'
|
|
198
|
-
|
|
199
|
-
Gemspec/DependencyVersion:
|
|
200
|
-
Enabled: true
|
|
201
|
-
|
|
202
|
-
Style/RequireOrder:
|
|
203
|
-
Enabled: true
|
|
84
|
+
Minitest/MultipleAssertions:
|
|
85
|
+
Max: 8
|
data/.rubocop_todo.yml
CHANGED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# This configuration was generated by
|
|
2
|
+
# `rubocop --auto-gen-config --auto-gen-only-exclude --exclude-limit 20000`
|
|
3
|
+
# on 2023-11-27 19:58:04 UTC using RuboCop version 1.57.2.
|
|
4
|
+
# The point is for the user to remove these configuration records
|
|
5
|
+
# one by one as the offenses are removed from the code base.
|
|
6
|
+
# Note that changes in the inspected code, or installation of new
|
|
7
|
+
# versions of RuboCop, may require this file to be generated again.
|
data/.ruby-version
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
3.4.1
|
data/CHANGELOG.md
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
<!-- markdownlint-disable MD043 -->
|
|
2
|
+
# Changelog
|
|
3
|
+
|
|
4
|
+
All notable changes to this project will be documented in this file.
|
|
5
|
+
|
|
6
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
7
|
+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
8
|
+
|
|
9
|
+
## [Unreleased]
|
|
10
|
+
|
|
11
|
+
## [0.1.0] - 2026-05-07
|
|
12
|
+
|
|
13
|
+
### Added
|
|
14
|
+
|
|
15
|
+
- `LogList#log_item_error_initialize` helper, used by `InputBuilder`-generated
|
|
16
|
+
validators (previously redefined on every `input` declaration).
|
|
17
|
+
- GitHub Actions CI workflow (`.github/workflows/ci.yml`) running Minitest and
|
|
18
|
+
RuboCop.
|
|
19
|
+
- GitHub Actions release workflow (`.github/workflows/release.yml`) using
|
|
20
|
+
RubyGems trusted publishing (OIDC) on `v*.*.*` tags.
|
|
21
|
+
- Direct test coverage for `LogList#warnings`, `#errors`, `#merge_logs`,
|
|
22
|
+
`Service#success?`, `#failure?`, `#status`, `#result` memoization,
|
|
23
|
+
conditional requirement behavior, the `inputs(...)` plural DSL form, and
|
|
24
|
+
`LogItem#trace`/`#item`.
|
|
25
|
+
|
|
26
|
+
### Changed
|
|
27
|
+
|
|
28
|
+
- Standardized on Ruby 3.4 (`.ruby-version`, gemspec `required_ruby_version`,
|
|
29
|
+
RuboCop `TargetRubyVersion`).
|
|
30
|
+
- `InputBuilder` no longer requires `active_support`; the previous use of
|
|
31
|
+
`Object#present?` is replaced with plain Ruby checks. Whitespace-only
|
|
32
|
+
strings continue to be treated as missing via a scoped
|
|
33
|
+
`Assistant::Refinements::StringBlankness` refinement that adds
|
|
34
|
+
`String#whitespace?` and is activated inside `InputBuilder`. The method is
|
|
35
|
+
intentionally named to avoid colliding with ActiveSupport's `String#blank?`.
|
|
36
|
+
- `assistant.gemspec` `changelog_uri` now points at `CHANGELOG.md` instead of
|
|
37
|
+
`CODE_OF_CONDUCT.md`.
|
|
38
|
+
- Migrated the test suite from RSpec to Minitest (`test/**/*_test.rb`),
|
|
39
|
+
exposed via `rake test` (the new default rake task).
|
|
40
|
+
- Replaced the largely-dead RuboCop config (a fork of RuboCop's own internal
|
|
41
|
+
config) with a focused configuration for this gem; `rubocop-rspec` is
|
|
42
|
+
replaced with `rubocop-minitest`.
|
|
43
|
+
|
|
44
|
+
### Removed
|
|
45
|
+
|
|
46
|
+
- CircleCI configuration (`.circleci/`); replaced by GitHub Actions.
|
|
47
|
+
- Dead `@keys = []` instance variable in `Assistant::Service#initialize`.
|
|
48
|
+
- `active_support` and `active_support/core_ext/object` requires from
|
|
49
|
+
`lib/assistant/input_builder.rb`.
|
|
50
|
+
- RSpec, FactoryBot, Faker, `rspec-collection_matchers`,
|
|
51
|
+
`rspec_junit_formatter`, `rubocop-faker`, and `rubocop-rspec` development
|
|
52
|
+
dependencies; replaced by `minitest` and `rubocop-minitest`.
|
|
53
|
+
|
|
54
|
+
## [0.0.2] - 2023-11-27
|
|
55
|
+
|
|
56
|
+
- Initial public release.
|
data/Gemfile.lock
CHANGED
|
@@ -1,115 +1,118 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
assistant (0.0
|
|
4
|
+
assistant (0.1.0)
|
|
5
5
|
|
|
6
6
|
GEM
|
|
7
7
|
remote: https://rubygems.org/
|
|
8
8
|
specs:
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
byebug (11.1.3)
|
|
17
|
-
colorize (0.8.1)
|
|
18
|
-
concurrent-ruby (1.2.2)
|
|
19
|
-
diff-lcs (1.5.0)
|
|
20
|
-
factory_bot (6.2.1)
|
|
21
|
-
activesupport (>= 5.0.0)
|
|
22
|
-
faker (2.22.0)
|
|
23
|
-
i18n (>= 1.8.11, < 2)
|
|
24
|
-
fasterer (0.10.1)
|
|
25
|
-
colorize (~> 0.7)
|
|
9
|
+
ast (2.4.3)
|
|
10
|
+
brakeman (8.0.4)
|
|
11
|
+
racc
|
|
12
|
+
byebug (13.0.0)
|
|
13
|
+
reline (>= 0.6.0)
|
|
14
|
+
colorize (1.1.0)
|
|
15
|
+
fasterer (0.11.0)
|
|
26
16
|
ruby_parser (>= 3.19.1)
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
17
|
+
io-console (0.8.2)
|
|
18
|
+
json (2.19.5)
|
|
19
|
+
language_server-protocol (3.17.0.5)
|
|
20
|
+
lint_roller (1.1.0)
|
|
21
|
+
minitest (5.27.0)
|
|
22
|
+
parallel (2.1.0)
|
|
23
|
+
parser (3.3.11.1)
|
|
33
24
|
ast (~> 2.4.1)
|
|
25
|
+
racc
|
|
26
|
+
prism (1.9.0)
|
|
27
|
+
racc (1.8.1)
|
|
34
28
|
rainbow (3.1.1)
|
|
35
|
-
rake (13.
|
|
36
|
-
regexp_parser (2.
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
rspec-expectations (~> 3.12.0)
|
|
41
|
-
rspec-mocks (~> 3.12.0)
|
|
42
|
-
rspec-collection_matchers (1.2.0)
|
|
43
|
-
rspec-expectations (>= 2.99.0.beta1)
|
|
44
|
-
rspec-core (3.12.0)
|
|
45
|
-
rspec-support (~> 3.12.0)
|
|
46
|
-
rspec-expectations (3.12.1)
|
|
47
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
|
48
|
-
rspec-support (~> 3.12.0)
|
|
49
|
-
rspec-mocks (3.12.1)
|
|
50
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
|
51
|
-
rspec-support (~> 3.12.0)
|
|
52
|
-
rspec-support (3.12.0)
|
|
53
|
-
rspec_junit_formatter (0.6.0)
|
|
54
|
-
rspec-core (>= 2, < 4, != 2.12.0)
|
|
55
|
-
rubocop (1.51.0)
|
|
29
|
+
rake (13.4.2)
|
|
30
|
+
regexp_parser (2.12.0)
|
|
31
|
+
reline (0.6.3)
|
|
32
|
+
io-console (~> 0.5)
|
|
33
|
+
rubocop (1.86.1)
|
|
56
34
|
json (~> 2.3)
|
|
57
|
-
|
|
58
|
-
|
|
35
|
+
language_server-protocol (~> 3.17.0.2)
|
|
36
|
+
lint_roller (~> 1.1.0)
|
|
37
|
+
parallel (>= 1.10)
|
|
38
|
+
parser (>= 3.3.0.2)
|
|
59
39
|
rainbow (>= 2.2.2, < 4.0)
|
|
60
|
-
regexp_parser (>=
|
|
61
|
-
|
|
62
|
-
rubocop-ast (>= 1.28.0, < 2.0)
|
|
40
|
+
regexp_parser (>= 2.9.3, < 3.0)
|
|
41
|
+
rubocop-ast (>= 1.49.0, < 2.0)
|
|
63
42
|
ruby-progressbar (~> 1.7)
|
|
64
|
-
unicode-display_width (>= 2.4.0, <
|
|
65
|
-
rubocop-ast (1.
|
|
66
|
-
parser (>= 3.
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
rubocop (
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
rubocop (>= 1.
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
rubocop (
|
|
79
|
-
rubocop-rspec (2.22.0)
|
|
80
|
-
rubocop (~> 1.33)
|
|
81
|
-
rubocop-capybara (~> 2.17)
|
|
82
|
-
rubocop-factory_bot (~> 2.22)
|
|
43
|
+
unicode-display_width (>= 2.4.0, < 4.0)
|
|
44
|
+
rubocop-ast (1.49.1)
|
|
45
|
+
parser (>= 3.3.7.2)
|
|
46
|
+
prism (~> 1.7)
|
|
47
|
+
rubocop-minitest (0.39.1)
|
|
48
|
+
lint_roller (~> 1.1)
|
|
49
|
+
rubocop (>= 1.75.0, < 2.0)
|
|
50
|
+
rubocop-ast (>= 1.38.0, < 2.0)
|
|
51
|
+
rubocop-performance (1.26.1)
|
|
52
|
+
lint_roller (~> 1.1)
|
|
53
|
+
rubocop (>= 1.75.0, < 2.0)
|
|
54
|
+
rubocop-ast (>= 1.47.1, < 2.0)
|
|
55
|
+
rubocop-rake (0.7.1)
|
|
56
|
+
lint_roller (~> 1.1)
|
|
57
|
+
rubocop (>= 1.72.1)
|
|
83
58
|
ruby-progressbar (1.13.0)
|
|
84
|
-
ruby_parser (3.
|
|
59
|
+
ruby_parser (3.22.0)
|
|
60
|
+
racc (~> 1.5)
|
|
85
61
|
sexp_processor (~> 4.16)
|
|
86
|
-
sexp_processor (4.17.
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
unicode-
|
|
62
|
+
sexp_processor (4.17.5)
|
|
63
|
+
unicode-display_width (3.2.0)
|
|
64
|
+
unicode-emoji (~> 4.1)
|
|
65
|
+
unicode-emoji (4.2.0)
|
|
90
66
|
|
|
91
67
|
PLATFORMS
|
|
92
|
-
arm64-darwin-
|
|
93
|
-
|
|
94
|
-
x86_64-linux
|
|
68
|
+
arm64-darwin-25
|
|
69
|
+
ruby
|
|
95
70
|
|
|
96
71
|
DEPENDENCIES
|
|
97
72
|
assistant!
|
|
98
|
-
brakeman (~>
|
|
99
|
-
bundler (~>
|
|
100
|
-
byebug (~>
|
|
101
|
-
colorize (~>
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
rake (~> 13.
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
rubocop (~>
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
73
|
+
brakeman (~> 8.0)
|
|
74
|
+
bundler (~> 4.0)
|
|
75
|
+
byebug (~> 13.0)
|
|
76
|
+
colorize (~> 1.1)
|
|
77
|
+
fasterer (~> 0.11.0)
|
|
78
|
+
minitest (~> 5.25)
|
|
79
|
+
rake (~> 13.4)
|
|
80
|
+
rubocop (~> 1.86)
|
|
81
|
+
rubocop-minitest (~> 0.39)
|
|
82
|
+
rubocop-performance (~> 1.26)
|
|
83
|
+
rubocop-rake (~> 0.7)
|
|
84
|
+
|
|
85
|
+
CHECKSUMS
|
|
86
|
+
assistant (0.1.0)
|
|
87
|
+
ast (2.4.3) sha256=954615157c1d6a382bc27d690d973195e79db7f55e9765ac7c481c60bdb4d383
|
|
88
|
+
brakeman (8.0.4) sha256=7bf921fa9638544835df9aa7b3e720a9a72c0267f34f92135955edd80d4dcf6f
|
|
89
|
+
bundler (4.0.11) sha256=5bcec0fb78302e48d02ee46f10ee6e6942be647ba5b44a6d1ddfda9a240ce785
|
|
90
|
+
byebug (13.0.0) sha256=d2263efe751941ca520fa29744b71972d39cbc41839496706f5d9b22e92ae05d
|
|
91
|
+
colorize (1.1.0) sha256=30b5237f0603f6662ab8d1fc2bd4a96142b806c6415d79e45ef5fdc6a0cfc837
|
|
92
|
+
fasterer (0.11.0) sha256=9c38b77583584f3339a729eb077fd8f2856a317abe747528f6563d7c23e9dda8
|
|
93
|
+
io-console (0.8.2) sha256=d6e3ae7a7cc7574f4b8893b4fca2162e57a825b223a177b7afa236c5ef9814cc
|
|
94
|
+
json (2.19.5) sha256=218a18553e4801d579ca7e0f5bc72bafd776d7397238a1fb4e74db5b0a812c59
|
|
95
|
+
language_server-protocol (3.17.0.5) sha256=fd1e39a51a28bf3eec959379985a72e296e9f9acfce46f6a79d31ca8760803cc
|
|
96
|
+
lint_roller (1.1.0) sha256=2c0c845b632a7d172cb849cc90c1bce937a28c5c8ccccb50dfd46a485003cc87
|
|
97
|
+
minitest (5.27.0) sha256=2d3b17f8a36fe7801c1adcffdbc38233b938eb0b4966e97a6739055a45fa77d5
|
|
98
|
+
parallel (2.1.0) sha256=b35258865c2e31134c5ecb708beaaf6772adf9d5efae28e93e99260877b09356
|
|
99
|
+
parser (3.3.11.1) sha256=d17ace7aabe3e72c3cc94043714be27cc6f852f104d81aa284c2281aecc65d54
|
|
100
|
+
prism (1.9.0) sha256=7b530c6a9f92c24300014919c9dcbc055bf4cdf51ec30aed099b06cd6674ef85
|
|
101
|
+
racc (1.8.1) sha256=4a7f6929691dbec8b5209a0b373bc2614882b55fc5d2e447a21aaa691303d62f
|
|
102
|
+
rainbow (3.1.1) sha256=039491aa3a89f42efa1d6dec2fc4e62ede96eb6acd95e52f1ad581182b79bc6a
|
|
103
|
+
rake (13.4.2) sha256=cb825b2bd5f1f8e91ca37bddb4b9aaf345551b4731da62949be002fa89283701
|
|
104
|
+
regexp_parser (2.12.0) sha256=35a916a1d63190ab5c9009457136ae5f3c0c7512d60291d0d1378ba18ce08ebb
|
|
105
|
+
reline (0.6.3) sha256=1198b04973565b36ec0f11542ab3f5cfeeec34823f4e54cebde90968092b1835
|
|
106
|
+
rubocop (1.86.1) sha256=44415f3f01d01a21e01132248d2fd0867572475b566ca188a0a42133a08d4531
|
|
107
|
+
rubocop-ast (1.49.1) sha256=4412f3ee70f6fe4546cc489548e0f6fcf76cafcfa80fa03af67098ffed755035
|
|
108
|
+
rubocop-minitest (0.39.1) sha256=998398d6da4026d297f0f9bf709a1eac5f2b6947c24431f94af08138510cf7ed
|
|
109
|
+
rubocop-performance (1.26.1) sha256=cd19b936ff196df85829d264b522fd4f98b6c89ad271fa52744a8c11b8f71834
|
|
110
|
+
rubocop-rake (0.7.1) sha256=3797f2b6810c3e9df7376c26d5f44f3475eda59eb1adc38e6f62ecf027cbae4d
|
|
111
|
+
ruby-progressbar (1.13.0) sha256=80fc9c47a9b640d6834e0dc7b3c94c9df37f08cb072b7761e4a71e22cff29b33
|
|
112
|
+
ruby_parser (3.22.0) sha256=1eb4937cd9eb220aa2d194e352a24dba90aef00751e24c8dfffdb14000f15d23
|
|
113
|
+
sexp_processor (4.17.5) sha256=ae2b48ba98353d5d465ce8759836b7a05f2e12c5879fcd14d7815b026de32f0e
|
|
114
|
+
unicode-display_width (3.2.0) sha256=0cdd96b5681a5949cdbc2c55e7b420facae74c4aaf9a9815eee1087cb1853c42
|
|
115
|
+
unicode-emoji (4.2.0) sha256=519e69150f75652e40bf736106cfbc8f0f73aa3fb6a65afe62fefa7f80b0f80f
|
|
113
116
|
|
|
114
117
|
BUNDLED WITH
|
|
115
|
-
|
|
118
|
+
4.0.11
|
data/Rakefile
CHANGED
|
@@ -1,8 +1,13 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
3
|
require 'bundler/gem_tasks'
|
|
4
|
-
require '
|
|
4
|
+
require 'rake/testtask'
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
Rake::TestTask.new(:test) do |t|
|
|
7
|
+
t.libs << 'test'
|
|
8
|
+
t.libs << 'lib'
|
|
9
|
+
t.test_files = FileList['test/**/*_test.rb']
|
|
10
|
+
t.warning = false
|
|
11
|
+
end
|
|
7
12
|
|
|
8
|
-
task default: :
|
|
13
|
+
task default: :test
|