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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1c40bf09c0f9da20ebb1842ebd10c6a33b213ea46c81d8984a8906d0b7981e8d
4
- data.tar.gz: 9e704f9ca5e85f802466ba26f25235d06a0935242483682773f11a4f5fe3cbc2
3
+ metadata.gz: 1b0852a3d79abcc0c4ab2fe6c8bcf9203014fd9da426126efd91386fd983667d
4
+ data.tar.gz: 6cf6b2c8e530fea641d4e6555195cf6819b1aefd6b94ff4e017aed95fcc2367b
5
5
  SHA512:
6
- metadata.gz: c26d6638e7f097f80cf11e393a20f0f963aac4cd5904093c979aff661c9d0f6948dba3e9302df3671856a5927f40623e52399f2fefab7c3d14a11ab9c6a9075c
7
- data.tar.gz: f906942bd46707849b732e942eead9ebe3de3292779db52a0f1c903608de2a8db68a71afd49eeca78be300f993eb9001e59ccaa20bab41ac49fb9fd7d13d9137
6
+ metadata.gz: df1c621ff40282e468a5fa23c2a64e4086840038ef9a22875df08b551a6e7979abb1b108e794985aaec14d701f65e5e955c21adee371559d9e68af3106f50419
7
+ data.tar.gz: 34ec80810b7c7840ac166dd3882df7574647d650317cfb8e0a29a940a4271a27884b637f0a88d9c7305cdc196c3eee86981f2a4d08d4f42067c4bf0adddd8414
@@ -1,3 +1,7 @@
1
+ ## Dradis Framework 3.20 (December, 2020) ##
2
+
3
+ * Use NamingService to build export filename.
4
+
1
5
  ## Dradis Framework 3.19 (September, 2020) ##
2
6
 
3
7
  * No changes.
@@ -8,7 +8,7 @@ module Dradis
8
8
 
9
9
  module VERSION
10
10
  MAJOR = 3
11
- MINOR = 19
11
+ MINOR = 20
12
12
  TINY = 0
13
13
  PRE = nil
14
14
 
@@ -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
- filename = "dradis-report_#{Time.now.to_i}.csv"
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.19.0
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: 2020-09-04 00:00:00.000000000 Z
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.0.1
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: