dradis-plugins 4.1.0 → 4.4.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: e5e8d28fafeee08283a345a7561c6bacb29d1117cd71a5e51e7139ab21f72211
4
- data.tar.gz: 73a0e633400e650e008f508d5545f09ac822356a9b2bfbd663df2769d11a56c6
3
+ metadata.gz: 8e42cc6dc34f3e73b497952422e7207816209bc60ec4275e57eca873158f5f84
4
+ data.tar.gz: 1d6e80f858ce2e0916238508390896fb66f774e32e662602d01135e52de62078
5
5
  SHA512:
6
- metadata.gz: 00a69d5789d78330c5f92df394538a05010594f1782a01315a37ef66caf7a3c1d9774e7e645ce543698d8bdb65f0b63ccd9088bf1f8158727dfa80ec1db1ec6b
7
- data.tar.gz: 16f7ab9e1ec1b16ea2dce00bb98520ae7de0ff058daf0e18e37a12c51ddd6b0675e60639a87859ac0b4cbd453c488df390666d13f521ee596120f0dd0eb5fd84
6
+ metadata.gz: 8680e24dd513ca728536e7edc4f628a1f31e8ae8c8aa80b318ec7aa0a90003d3dad4fe2320985ebe79a77a5a75bd1b78e6faa8f4688cd1eb7f7a2c41795fbb77
7
+ data.tar.gz: be69a5402095f40f48708432680e0b7a7804c933e5ad583548c53b925e2c5ef9b23ab70c6f485e53708c47e427b2e8f7eeae6791ce4b9c486f78865ab3f9c1e5
data/CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
1
+ v4.4.0 (June 2022)
2
+ - Provide default plugin template mappings
3
+
4
+ v4.3.0 (February 2022)
5
+ - No changes
6
+
7
+ v4.2.0 (February 2022)
8
+ - No changes
9
+
1
10
  v4.1.0 (November 2021)
2
11
  - No changes
3
12
 
@@ -7,7 +7,7 @@ module Dradis
7
7
 
8
8
  module VERSION
9
9
  MAJOR = 4
10
- MINOR = 1
10
+ MINOR = 4
11
11
  TINY = 0
12
12
  PRE = nil
13
13
 
@@ -40,9 +40,20 @@ module Dradis::Plugins::Upload::Base
40
40
  # Dradis::Plugins::Projects::Template
41
41
  # ]
42
42
  # end
43
- def uploaders()
43
+ def uploaders
44
44
  [module_parent]
45
45
  end
46
+
47
+ # Return the list of templates that the module provides
48
+ # def self.template_names
49
+ # { Dradis::Plugins::Burp::Html => { evidence: 'html_evidence', issue: 'issue' } },
50
+ # { Dradis::Plugins::Burp::Xml => { evidence: 'evidence', issue: 'issue' } }
51
+ # end
52
+ #
53
+ # The default implementation returns nothing at all.
54
+ def templates
55
+ uploaders.each_with_object({}) { |uploader, acc| acc[uploader] = uploader::Importer.templates }
56
+ end
46
57
  end
47
58
 
48
59
  module NamespaceClassMethods
@@ -15,6 +15,10 @@ module Dradis
15
15
  :template_service
16
16
  )
17
17
 
18
+ def self.templates
19
+ { evidence: 'evidence', issue: 'issue' }
20
+ end
21
+
18
22
  def initialize(args={})
19
23
  @options = args
20
24
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dradis-plugins
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.1.0
4
+ version: 4.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Martin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-11-18 00:00:00.000000000 Z
11
+ date: 2022-06-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -127,7 +127,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
127
127
  - !ruby/object:Gem::Version
128
128
  version: '0'
129
129
  requirements: []
130
- rubygems_version: 3.1.6
130
+ rubygems_version: 3.2.32
131
131
  signing_key:
132
132
  specification_version: 4
133
133
  summary: Plugin manager for the Dradis Framework project.