Compare commits
3 Commits
v0.1.0
...
d4933fe5e4
Author | SHA1 | Date | |
---|---|---|---|
d4933fe5e4
|
|||
5b4822e4f8
|
|||
629ea6eaee
|
@ -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])
|
||||
String.new.concat(v[0, @head], @ch * (v.length - (@head + @tail)), v[-@tail, @tail])
|
||||
end
|
||||
|
||||
def unwrap
|
||||
|
Reference in New Issue
Block a user