Compare commits
3 Commits
d4933fe5e4
...
49de197e76
Author | SHA1 | Date | |
---|---|---|---|
49de197e76
|
|||
f5122b9acd
|
|||
70cd5d6247
|
@ -38,11 +38,11 @@ jobs:
|
|||||||
ruby-version: '3.4'
|
ruby-version: '3.4'
|
||||||
bundler-cache: true
|
bundler-cache: true
|
||||||
|
|
||||||
- run: bundle exec rspec
|
- run: bundle exec rake
|
||||||
|
|
||||||
|
|
||||||
release-image:
|
release-image:
|
||||||
needs: test
|
needs: test
|
||||||
|
if: github.ref == 'refs/heads/main'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container:
|
container:
|
||||||
image: catthehacker/ubuntu:act-latest
|
image: catthehacker/ubuntu:act-latest
|
||||||
|
@ -10,7 +10,7 @@ class Sensitive
|
|||||||
end
|
end
|
||||||
|
|
||||||
def mask(v)
|
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
|
end
|
||||||
|
|
||||||
def unwrap
|
def unwrap
|
||||||
|
Reference in New Issue
Block a user