aspisec 0.2.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/LICENSE +1 -1
- data/lib-ruby/aspisec/clean.rb +2 -2
- data/lib-ruby/aspisec/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8213ffd819cccc11b9671da93fd6f44f7b26d73e0d90ae24c6d913bb915c203c
|
|
4
|
+
data.tar.gz: '0945b029bf090dbaffa4385bc0308d2e198ad64618b6502a18fcd3e52dd96c48'
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5d45342d654cf38b1a0f4c4ff80c499f871aa4f86610ff7ce3f06f0b432b5a13b233031f4b39ff0beaef4e814c066209b45ff78d10e64a30b49db3fd8e6a316e
|
|
7
|
+
data.tar.gz: 34e9159888f8c7017aaec2d60f9b097680845f82b05e2d9ef5f052689f8b4d2490c4212f81be4c30c0faa866e2f46ceb582dacdc6f0e705ff1dbecff76614af7
|
data/LICENSE
CHANGED
data/lib-ruby/aspisec/clean.rb
CHANGED
|
@@ -29,7 +29,7 @@ module Aspisec
|
|
|
29
29
|
# It will follow the configuration wether it has to display the description or not.
|
|
30
30
|
# @param location [Aspisec::Module::Location]
|
|
31
31
|
# @return [true|false]
|
|
32
|
-
def prompt_removal(location:)
|
|
32
|
+
def prompt_removal?(location:)
|
|
33
33
|
puts "——— #{@painter.decorate(location.name, :cyan, :bold)} ———"
|
|
34
34
|
puts_decorated('Path', location.path.to_s)
|
|
35
35
|
puts_decorated('Type', file_type(location.path))
|
|
@@ -145,7 +145,7 @@ module Aspisec
|
|
|
145
145
|
# Handles the manual deletion mode.
|
|
146
146
|
# @param loc [Aspisec::Module::Location]
|
|
147
147
|
def manual_delete(loc)
|
|
148
|
-
remove = prompt_removal(location: loc)
|
|
148
|
+
remove = prompt_removal?(location: loc)
|
|
149
149
|
if remove
|
|
150
150
|
delete_location(loc.path)
|
|
151
151
|
else
|
data/lib-ruby/aspisec/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: aspisec
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.3.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Alexandre ZANNI
|
|
8
8
|
bindir: bin-ruby
|
|
9
9
|
cert_chain: []
|
|
10
|
-
date:
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
11
11
|
dependencies:
|
|
12
12
|
- !ruby/object:Gem::Dependency
|
|
13
13
|
name: activesupport
|
|
@@ -187,17 +187,17 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
187
187
|
requirements:
|
|
188
188
|
- - ">="
|
|
189
189
|
- !ruby/object:Gem::Version
|
|
190
|
-
version: 3.
|
|
190
|
+
version: 3.2.0
|
|
191
191
|
- - "<"
|
|
192
192
|
- !ruby/object:Gem::Version
|
|
193
|
-
version: '
|
|
193
|
+
version: '5.0'
|
|
194
194
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
195
195
|
requirements:
|
|
196
196
|
- - ">="
|
|
197
197
|
- !ruby/object:Gem::Version
|
|
198
198
|
version: '0'
|
|
199
199
|
requirements: []
|
|
200
|
-
rubygems_version:
|
|
200
|
+
rubygems_version: 4.0.3
|
|
201
201
|
specification_version: 4
|
|
202
202
|
summary: Removes the traces left by offensive security tools.
|
|
203
203
|
test_files: []
|