3 Commits

Author SHA1 Message Date
49de197e76 only build container for the main branch
Some checks failed
Gitea Actions Demo / lint (push) Successful in 29s
Gitea Actions Demo / test (push) Failing after 25s
Gitea Actions Demo / release-image (push) Has been skipped
2025-03-11 05:07:43 -05:00
f5122b9acd run tests with rake 2025-03-11 05:07:43 -05:00
70cd5d6247 fix frozen string literal warning 2025-03-11 05:07:43 -05:00
2 changed files with 3 additions and 3 deletions

View File

@ -38,11 +38,11 @@ jobs:
ruby-version: '3.4'
bundler-cache: true
- run: bundle exec rspec
- run: bundle exec rake
release-image:
needs: test
if: github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
container:
image: catthehacker/ubuntu:act-latest

View File

@ -10,7 +10,7 @@ class Sensitive
end
def mask(v)
"".concat(v[0, @head], @ch * (v.length - (@head + @tail)), v[-@tail, @tail])
+"".concat(v[0, @head], @ch * (v.length - (@head + @tail)), v[-@tail, @tail])
end
def unwrap