dradis-plugins 4.2.0 → 4.5.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: 1b56de87e8607f405703cb8ece73e2cdf6f514aa7c6c7fd89c2fefd8b5f39d1d
4
- data.tar.gz: 33f2149b1749c99e9c31df1c8b97e26b839b5ee935f4ba8bb09ac62237f3e136
3
+ metadata.gz: 4339c131aa207ace140362e142a78fdcff456be73ea28613305e1b2d4c95c9c2
4
+ data.tar.gz: e9c6f6ca411e7475ed8a36c9bf47946de8518106d9c10d332773c4488f44e11b
5
5
  SHA512:
6
- metadata.gz: 66442e0dca27ba296ed4a54468586341a837a1ed0155782f8c622b5d012d8ef32a01219e96c6fbcbb08499fef52162245612cd4d0616d35bd88b100737b78886
7
- data.tar.gz: 61424c09130289f723a4e86a193db3207bf6faa2d9b70e7d2c1803b9e78249bf7ee0b2ed24660acfb1a2abe98de5e6b5ba81b75bcaece60113170dd6cae7f8f3
6
+ metadata.gz: 6b23de36437861bf0e659a71edf7e747c19aa04736017c71254224747533dd56aa460da39e365020db79879d6287adae8fa02babaf6f1a36069946afd7277c28
7
+ data.tar.gz: 960e7ceb874626d3daba375a75fc41c988d5b68984a81d01d328507c1471aee5610621b5ad7d9de847c196e699226f35a038aecc2b7fa65d3e18abfd55571455
data/CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
1
+ v4.5.0 (August 2022)
2
+ - No changes
3
+
4
+ v4.4.0 (June 2022)
5
+ - Provide default plugin template mappings
6
+
7
+ v4.3.0 (February 2022)
8
+ - No changes
9
+
1
10
  v4.2.0 (February 2022)
2
11
  - No changes
3
12
 
@@ -7,7 +7,7 @@ module Dradis
7
7
 
8
8
  module VERSION
9
9
  MAJOR = 4
10
- MINOR = 2
10
+ MINOR = 5
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.2.0
4
+ version: 4.5.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: 2022-02-14 00:00:00.000000000 Z
11
+ date: 2022-08-22 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.4
130
+ rubygems_version: 3.2.28
131
131
  signing_key:
132
132
  specification_version: 4
133
133
  summary: Plugin manager for the Dradis Framework project.