zache 0.13.2 → 0.14.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 239afad7743bd2f58375201b79c3368ef98ba75621eeacdabf20dd2d5b3f1879
4
- data.tar.gz: 348062c765fccb666346e22a068dbfd5dcc1d87952b7fdf635eb840e9bd89f46
3
+ metadata.gz: c247c0f146ef35562b8d56169fdb69ef0a9a02796d0e49dfb6c8ed83094dfd24
4
+ data.tar.gz: d0b659e1315eee6f19b6c708da5b49073d3e0d9a5d5809a424c9b641d330e992
5
5
  SHA512:
6
- metadata.gz: b65995f073b8cf06cfea5b0a778df5d0f47d8a09f42075034a07d4f4b84afa350d01f654ca3d00940d928f2a14f1e92c45c26995f66ef605599ea898f22f2b95
7
- data.tar.gz: da7d27e255d7920171ed0433c1f81a7a7ce29671f43cdb082f818ac55cf9a57831d5786f6ecef7b93d97562ea8c6deb88ead9a6c7c35a9ad519d03780ba8018b
6
+ metadata.gz: 23c14258f92e749ee9876b4fae20274a954d71a34a95b427dafd9bef201d17c91c1731d1733345ed564f9e7d74e340c68d9325127a55ab73e5d654ac8d5cb866
7
+ data.tar.gz: 9232c93c2027dbe83015974315e5c609f3392216c77a96f465cc13f0ddd309fc11d4147234ff23892037619491bb037bc466e28f0075a8be424ef60c28014327
data/.0pdd.yml CHANGED
@@ -1,24 +1,5 @@
1
- # (The MIT License)
2
- #
3
- # Copyright (c) 2018-2024 Yegor Bugayenko
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.
1
+ # SPDX-FileCopyrightText: Copyright (c) 2018-2025 Yegor Bugayenko
2
+ # SPDX-License-Identifier: MIT
22
3
  ---
23
4
  errors:
24
5
  - yegor256@gmail.com
@@ -1,25 +1,7 @@
1
- # (The MIT License)
2
- #
3
- # Copyright (c) 2018-2024 Yegor Bugayenko
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.
1
+ # SPDX-FileCopyrightText: Copyright (c) 2018-2025 Yegor Bugayenko
2
+ # SPDX-License-Identifier: MIT
22
3
  ---
4
+ # yamllint disable rule:line-length
23
5
  name: actionlint
24
6
  'on':
25
7
  push:
@@ -30,12 +12,12 @@ name: actionlint
30
12
  - master
31
13
  jobs:
32
14
  actionlint:
33
- runs-on: ubuntu-22.04
15
+ timeout-minutes: 15
16
+ runs-on: ubuntu-24.04
34
17
  steps:
35
18
  - uses: actions/checkout@v4
36
19
  - name: Download actionlint
37
20
  id: get_actionlint
38
- # yamllint disable-line rule:line-length
39
21
  run: bash <(curl https://raw.githubusercontent.com/rhysd/actionlint/main/scripts/download-actionlint.bash)
40
22
  shell: bash
41
23
  - name: Check workflow files
@@ -1,40 +1,25 @@
1
- # (The MIT License)
2
- #
3
- # Copyright (c) 2018-2024 Yegor Bugayenko
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.
1
+ # SPDX-FileCopyrightText: Copyright (c) 2018-2025 Yegor Bugayenko
2
+ # SPDX-License-Identifier: MIT
22
3
  ---
4
+ # yamllint disable rule:line-length
23
5
  name: codecov
24
- on:
6
+ 'on':
25
7
  push:
26
8
  branches:
27
9
  - master
28
10
  jobs:
29
11
  codecov:
30
- runs-on: ubuntu-22.04
12
+ timeout-minutes: 15
13
+ runs-on: ubuntu-24.04
31
14
  steps:
32
15
  - uses: actions/checkout@v4
33
16
  - uses: actions/setup-ruby@v1
34
17
  with:
35
- ruby-version: 3.0
36
- - run: bundle install
18
+ ruby-version: 3.3
19
+ bundler-cache: true
20
+ - run: bundle config set --global path "$(pwd)/vendor/bundle"
21
+ - run: bundle install --no-color
37
22
  - run: bundle exec rake
38
- - uses: codecov/codecov-action@v4.0.0-beta.3
23
+ - uses: codecov/codecov-action@v5
39
24
  with:
40
25
  token: ${{ secrets.CODECOV_TOKEN }}
@@ -1,32 +1,15 @@
1
- # (The MIT License)
2
- #
3
- # Copyright (c) 2018-2024 Yegor Bugayenko
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.
1
+ # SPDX-FileCopyrightText: Copyright (c) 2018-2025 Yegor Bugayenko
2
+ # SPDX-License-Identifier: MIT
22
3
  ---
4
+ # yamllint disable rule:line-length
23
5
  name: copyrights
24
6
  'on':
25
7
  push:
26
8
  pull_request:
27
9
  jobs:
28
10
  copyrights:
29
- runs-on: ubuntu-22.04
11
+ timeout-minutes: 15
12
+ runs-on: ubuntu-24.04
30
13
  steps:
31
14
  - uses: actions/checkout@v4
32
- - uses: yegor256/copyrights-action@0.0.5
15
+ - uses: yegor256/copyrights-action@0.0.8
@@ -1,25 +1,7 @@
1
- # (The MIT License)
2
- #
3
- # Copyright (c) 2018-2024 Yegor Bugayenko
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.
1
+ # SPDX-FileCopyrightText: Copyright (c) 2018-2025 Yegor Bugayenko
2
+ # SPDX-License-Identifier: MIT
22
3
  ---
4
+ # yamllint disable rule:line-length
23
5
  name: license
24
6
  'on':
25
7
  push:
@@ -30,7 +12,8 @@ name: license
30
12
  - master
31
13
  jobs:
32
14
  license:
33
- runs-on: ubuntu-22.04
15
+ timeout-minutes: 15
16
+ runs-on: ubuntu-24.04
34
17
  steps:
35
18
  - uses: actions/checkout@v4
36
19
  - shell: bash
@@ -1,25 +1,7 @@
1
- # (The MIT License)
2
- #
3
- # Copyright (c) 2018-2024 Yegor Bugayenko
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.
1
+ # SPDX-FileCopyrightText: Copyright (c) 2018-2025 Yegor Bugayenko
2
+ # SPDX-License-Identifier: MIT
22
3
  ---
4
+ # yamllint disable rule:line-length
23
5
  name: markdown-lint
24
6
  'on':
25
7
  push:
@@ -34,7 +16,8 @@ concurrency:
34
16
  cancel-in-progress: true
35
17
  jobs:
36
18
  markdown-lint:
37
- runs-on: ubuntu-22.04
19
+ timeout-minutes: 15
20
+ runs-on: ubuntu-24.04
38
21
  steps:
39
22
  - uses: actions/checkout@v4
40
23
  - uses: articulate/actions-markdownlint@v1
@@ -1,27 +1,9 @@
1
- # (The MIT License)
2
- #
3
- # Copyright (c) 2018-2024 Yegor Bugayenko
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.
1
+ # SPDX-FileCopyrightText: Copyright (c) 2018-2025 Yegor Bugayenko
2
+ # SPDX-License-Identifier: MIT
22
3
  ---
4
+ # yamllint disable rule:line-length
23
5
  name: pdd
24
- on:
6
+ 'on':
25
7
  push:
26
8
  branches:
27
9
  - master
@@ -30,7 +12,8 @@ on:
30
12
  - master
31
13
  jobs:
32
14
  pdd:
33
- runs-on: ubuntu-22.04
15
+ timeout-minutes: 15
16
+ runs-on: ubuntu-24.04
34
17
  steps:
35
18
  - uses: actions/checkout@v4
36
19
  - uses: volodya-lombrozo/pdd-action@master
@@ -1,27 +1,9 @@
1
- # (The MIT License)
2
- #
3
- # Copyright (c) 2018-2024 Yegor Bugayenko
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.
1
+ # SPDX-FileCopyrightText: Copyright (c) 2018-2025 Yegor Bugayenko
2
+ # SPDX-License-Identifier: MIT
22
3
  ---
4
+ # yamllint disable rule:line-length
23
5
  name: rake
24
- on:
6
+ 'on':
25
7
  push:
26
8
  branches:
27
9
  - master
@@ -30,11 +12,10 @@ on:
30
12
  - master
31
13
  jobs:
32
14
  test:
33
- name: test
34
15
  strategy:
35
16
  matrix:
36
- os: [ubuntu-20.04, macos-12]
37
- ruby: [3.0, 3.2]
17
+ os: [ubuntu-24.04, macos-15]
18
+ ruby: [3.3]
38
19
  runs-on: ${{ matrix.os }}
39
20
  steps:
40
21
  - uses: actions/checkout@v4
@@ -42,5 +23,6 @@ jobs:
42
23
  with:
43
24
  ruby-version: ${{ matrix.ruby }}
44
25
  bundler-cache: true
45
- - run: bundle install
26
+ - run: bundle config set --global path "$(pwd)/vendor/bundle"
27
+ - run: bundle install --no-color
46
28
  - run: bundle exec rake
@@ -0,0 +1,19 @@
1
+ # SPDX-FileCopyrightText: Copyright (c) 2018-2025 Yegor Bugayenko
2
+ # SPDX-License-Identifier: MIT
3
+ ---
4
+ # yamllint disable rule:line-length
5
+ name: reuse
6
+ 'on':
7
+ push:
8
+ branches:
9
+ - master
10
+ pull_request:
11
+ branches:
12
+ - master
13
+ jobs:
14
+ reuse:
15
+ timeout-minutes: 15
16
+ runs-on: ubuntu-24.04
17
+ steps:
18
+ - uses: actions/checkout@v4
19
+ - uses: fsfe/reuse-action@v5
@@ -1,25 +1,7 @@
1
- # (The MIT License)
2
- #
3
- # Copyright (c) 2018-2024 Yegor Bugayenko
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.
1
+ # SPDX-FileCopyrightText: Copyright (c) 2018-2025 Yegor Bugayenko
2
+ # SPDX-License-Identifier: MIT
22
3
  ---
4
+ # yamllint disable rule:line-length
23
5
  name: xcop
24
6
  "on":
25
7
  push:
@@ -30,7 +12,8 @@ name: xcop
30
12
  - master
31
13
  jobs:
32
14
  xcop:
33
- runs-on: ubuntu-22.04
15
+ timeout-minutes: 15
16
+ runs-on: ubuntu-24.04
34
17
  steps:
35
18
  - uses: actions/checkout@v4
36
19
  - uses: g4s8/xcop-action@master
@@ -1,25 +1,7 @@
1
- # (The MIT License)
2
- #
3
- # Copyright (c) 2018-2024 Yegor Bugayenko
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.
1
+ # SPDX-FileCopyrightText: Copyright (c) 2018-2025 Yegor Bugayenko
2
+ # SPDX-License-Identifier: MIT
22
3
  ---
4
+ # yamllint disable rule:line-length
23
5
  name: yamllint
24
6
  'on':
25
7
  push:
@@ -30,7 +12,8 @@ name: yamllint
30
12
  - master
31
13
  jobs:
32
14
  yamllint:
33
- runs-on: ubuntu-22.04
15
+ timeout-minutes: 15
16
+ runs-on: ubuntu-24.04
34
17
  steps:
35
18
  - uses: actions/checkout@v4
36
19
  - uses: ibiqlik/action-yamllint@v3
data/.gitignore CHANGED
@@ -1,6 +1,10 @@
1
1
  *.gem
2
- .bundle/
3
2
  .DS_Store
4
- rdoc/
3
+ .bundle/
5
4
  .idea/
5
+ .yardoc/
6
6
  coverage/
7
+ doc/
8
+ node_modules/
9
+ rdoc/
10
+ vendor/
data/.rubocop.yml CHANGED
@@ -1,47 +1,39 @@
1
- # (The MIT License)
2
- #
3
- # Copyright (c) 2018-2024 Yegor Bugayenko
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.
1
+ # SPDX-FileCopyrightText: Copyright (c) 2018-2025 Yegor Bugayenko
2
+ # SPDX-License-Identifier: MIT
22
3
  ---
23
4
  AllCops:
5
+ Exclude:
6
+ - 'bin/**/*'
7
+ - 'assets/**/*'
8
+ - 'vendor/**/**'
24
9
  DisplayCopNames: true
25
10
  TargetRubyVersion: 2.5
26
11
  NewCops: enable
27
12
  SuggestExtensions: false
28
-
29
- Metrics/ClassLength:
30
- Exclude:
31
- - 'test/*.rb'
32
- - 'vendor/**/**'
13
+ plugins:
14
+ - rubocop-rake
15
+ - rubocop-minitest
16
+ - rubocop-performance
17
+ Minitest/EmptyLineBeforeAssertionMethods:
18
+ Enabled: false
19
+ Minitest/AssertOperator:
20
+ Enabled: false
33
21
  Layout/EmptyLineAfterGuardClause:
34
22
  Enabled: false
35
23
  Layout/MultilineMethodCallIndentation:
36
24
  Enabled: false
25
+ Metrics/ClassLength:
26
+ Max: 300
27
+ Minitest/MultipleAssertions:
28
+ Max: 5
37
29
  Metrics/AbcSize:
38
30
  Max: 30
39
31
  Metrics/MethodLength:
40
32
  Max: 30
41
33
  Metrics/CyclomaticComplexity:
42
- Max: 12
34
+ Max: 20
43
35
  Metrics/PerceivedComplexity:
44
- Max: 12
36
+ Max: 20
45
37
  Layout/EndOfLine:
46
38
  EnforcedStyle: lf
47
39
  Metrics/BlockLength:
data/.rultor.yml CHANGED
@@ -1,33 +1,16 @@
1
- # (The MIT License)
2
- #
3
- # Copyright (c) 2018-2024 Yegor Bugayenko
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.
1
+ # SPDX-FileCopyrightText: Copyright (c) 2018-2025 Yegor Bugayenko
2
+ # SPDX-License-Identifier: MIT
22
3
  ---
4
+ # yamllint disable rule:line-length
23
5
  docker:
24
- image: yegor256/rultor-image:1.23.1
6
+ image: yegor256/ruby
25
7
  assets:
26
8
  rubygems.yml: yegor256/home#assets/rubygems.yml
27
9
  install: |
28
10
  pdd -f /dev/null
29
11
  sudo bundle install --no-color "--gemfile=$(pwd)/Gemfile"
30
12
  release:
13
+ pre: false
31
14
  script: |-
32
15
  bundle exec rake
33
16
  pdd -f /dev/null
data/Gemfile CHANGED
@@ -1,33 +1,22 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright (c) 2018-2024 Yegor Bugayenko
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.
3
+ # SPDX-FileCopyrightText: Copyright (c) 2018-2025 Yegor Bugayenko
4
+ # SPDX-License-Identifier: MIT
22
5
 
23
6
  source 'https://rubygems.org'
24
7
  gemspec
25
8
 
26
- gem 'concurrent-ruby', '1.3.3', require: false
27
- gem 'minitest', '5.24.1', require: false
28
- gem 'rake', '13.2.1', require: false
29
- gem 'rdoc', '6.7.0', require: false
30
- gem 'rubocop', '1.65.0', require: false
31
- gem 'rubocop-rspec', '3.0.3', require: false
32
- gem 'simplecov', '0.22.0', require: false
33
- gem 'threads', '0.4.0', require: false
9
+ gem 'concurrent-ruby', '~>1.3', require: false
10
+ gem 'minitest', '~>5.25', require: false
11
+ gem 'minitest-reporters', '~>1.7', require: false
12
+ gem 'os', '>0', require: false
13
+ gem 'qbash', '>0', require: false
14
+ gem 'rake', '~>13.2', require: false
15
+ gem 'rubocop', '~>1.75', require: false
16
+ gem 'rubocop-minitest', '>0', require: false
17
+ gem 'rubocop-performance', '>0', require: false
18
+ gem 'rubocop-rake', '>0', require: false
19
+ gem 'simplecov', '~>0.22', require: false
20
+ gem 'simplecov-cobertura', '~>2.1', require: false
21
+ gem 'threads', '~>0.4', require: false
22
+ gem 'yard', '~>0.9', require: false