Compare commits
3 Commits
d4933fe5e4
...
49de197e76
Author | SHA1 | Date | |
---|---|---|---|
49de197e76
|
|||
f5122b9acd
|
|||
70cd5d6247
|
@ -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
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user