dradis-csv 3.19.0 → 3.20.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/dradis/plugins/csv/gem_version.rb +1 -1
- data/lib/tasks/thorfile.rb +8 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1b0852a3d79abcc0c4ab2fe6c8bcf9203014fd9da426126efd91386fd983667d
|
4
|
+
data.tar.gz: 6cf6b2c8e530fea641d4e6555195cf6819b1aefd6b94ff4e017aed95fcc2367b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: df1c621ff40282e468a5fa23c2a64e4086840038ef9a22875df08b551a6e7979abb1b108e794985aaec14d701f65e5e955c21adee371559d9e68af3106f50419
|
7
|
+
data.tar.gz: 34ec80810b7c7840ac166dd3882df7574647d650317cfb8e0a29a940a4271a27884b637f0a88d9c7305cdc196c3eee86981f2a4d08d4f42067c4bf0adddd8414
|
data/CHANGELOG.md
CHANGED
data/lib/tasks/thorfile.rb
CHANGED
@@ -12,7 +12,14 @@ class CSVTasks < Thor
|
|
12
12
|
exporter = Dradis::Plugins::CSV::Exporter.new(task_options)
|
13
13
|
csv = exporter.export()
|
14
14
|
|
15
|
-
|
15
|
+
date = DateTime.now.strftime("%Y-%m-%d")
|
16
|
+
base_filename = "dradis-report_#{date}.csv"
|
17
|
+
|
18
|
+
filename = NamingService.name_file(
|
19
|
+
original_filename: base_filename,
|
20
|
+
pathname: Rails.root
|
21
|
+
)
|
22
|
+
|
16
23
|
File.open(filename, 'w') { |f| f.write csv }
|
17
24
|
|
18
25
|
logger.info "File written to ./#{ filename }"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dradis-csv
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.20.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel Martin
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-01-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dradis-plugins
|
@@ -99,7 +99,7 @@ homepage: http://dradisframework.org
|
|
99
99
|
licenses:
|
100
100
|
- GPL-2
|
101
101
|
metadata: {}
|
102
|
-
post_install_message:
|
102
|
+
post_install_message:
|
103
103
|
rdoc_options: []
|
104
104
|
require_paths:
|
105
105
|
- lib
|
@@ -114,8 +114,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
114
114
|
- !ruby/object:Gem::Version
|
115
115
|
version: '0'
|
116
116
|
requirements: []
|
117
|
-
rubygems_version: 3.
|
118
|
-
signing_key:
|
117
|
+
rubygems_version: 3.2.4
|
118
|
+
signing_key:
|
119
119
|
specification_version: 4
|
120
120
|
summary: CSV export plugin for the Dradis Framework.
|
121
121
|
test_files:
|