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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: db59ecafb7c102a11203455aa7f1d1ccbfac7596d0f1530b4557de21e8f5ad06
4
- data.tar.gz: d6987cfe9b5ad9108923b9dedaf60269042b5759793ca9d5b23aa11a9a2463dd
3
+ metadata.gz: 8213ffd819cccc11b9671da93fd6f44f7b26d73e0d90ae24c6d913bb915c203c
4
+ data.tar.gz: '0945b029bf090dbaffa4385bc0308d2e198ad64618b6502a18fcd3e52dd96c48'
5
5
  SHA512:
6
- metadata.gz: 1365946eb9d604a9d360066ee78667e39098c462c82990130db80a799eeedb9044f6d0c5462d840458c2347a9b163ecf1fdb7b8e465d5cad6e38e45f51ac9a55
7
- data.tar.gz: f9aab52c43bb87c353c914032333e86e5cee22649f0c7779d0592a21042ccc858f08cf070119b917f08db78947ef0945c06d688a85be3f499167d7161d52c6af
6
+ metadata.gz: 5d45342d654cf38b1a0f4c4ff80c499f871aa4f86610ff7ce3f06f0b432b5a13b233031f4b39ff0beaef4e814c066209b45ff78d10e64a30b49db3fd8e6a316e
7
+ data.tar.gz: 34e9159888f8c7017aaec2d60f9b097680845f82b05e2d9ef5f052689f8b4d2490c4212f81be4c30c0faa866e2f46ceb582dacdc6f0e705ff1dbecff76614af7
data/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2024 Alexandre ZANNI (independent)
3
+ Copyright (c) 2024-2026 Alexandre ZANNI (independent)
4
4
  Copyright (c) 2024 Alexandre ZANNI at ACCEIS
5
5
 
6
6
  Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -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
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Aspisec
4
4
  # Version of aspisec library and app
5
- VERSION = '0.2.0'
5
+ VERSION = '0.3.0'
6
6
  end
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.2.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: 2025-03-23 00:00:00.000000000 Z
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.1.0
190
+ version: 3.2.0
191
191
  - - "<"
192
192
  - !ruby/object:Gem::Version
193
- version: '4.0'
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: 3.6.2
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: []