3 Commits

Author SHA1 Message Date
d4933fe5e4 only build container for the main branch
Some checks failed
Gitea Actions Demo / lint (push) Failing after 19s
Gitea Actions Demo / test (push) Has been skipped
Gitea Actions Demo / release-image (push) Has been skipped
2025-03-11 05:05:14 -05:00
5b4822e4f8 run tests with rake 2025-03-11 05:01:15 -05:00
629ea6eaee fix frozen string literal warning
Some checks failed
Gitea Actions Demo / lint (push) Failing after 28s
Gitea Actions Demo / test (push) Has been skipped
Gitea Actions Demo / release-image (push) Has been skipped
2025-03-11 04:54:04 -05:00

View File

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