dradis-plugins 4.12.1 → 4.14.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 +6 -0
- data/dradis-plugins.gemspec +1 -1
- data/lib/dradis/plugins/gem_version.rb +2 -2
- data/spec/support/spec_macros.rb +26 -0
- metadata +9 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cd249f6d5d5b682b684310614b1db53620b618bb45ea2bbb07ec4563af25ae30
|
4
|
+
data.tar.gz: 1bd3674b5655e4989907ad783804844269e2ba1de5efcdfaa6aeb700920535ea
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d18a465acc3fec195ccd2e2491cc4262ece21f738694213e0b010c2e96d5ca41cfb0a26cd4ab975eb18f6e4c013495dd935f7ebfc129c730812e769b51e7b2bf
|
7
|
+
data.tar.gz: 1f1c179cc543585d855e19afd0fccda11a6e3adf7e2285f53a7abac4b9fd34f74b20f94136283a0b003cbe05d3304d388662ec41a1a810b2d3bd90ff15f3dcbb
|
data/CHANGELOG.md
CHANGED
data/dradis-plugins.gemspec
CHANGED
@@ -19,7 +19,7 @@ Gem::Specification.new do |spec|
|
|
19
19
|
spec.executables = spec.files.grep(%r{^bin/}).map { |f| File.basename(f) }
|
20
20
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
21
21
|
|
22
|
-
spec.add_development_dependency 'bundler'
|
22
|
+
spec.add_development_dependency 'bundler', '~> 2.0'
|
23
23
|
spec.add_development_dependency 'rake'
|
24
24
|
spec.add_development_dependency 'rspec-rails'
|
25
25
|
end
|
@@ -0,0 +1,26 @@
|
|
1
|
+
module Dradis::Plugins::SpecMacros
|
2
|
+
extend ActiveSupport::Concern
|
3
|
+
|
4
|
+
def stub_content_service
|
5
|
+
@content_service = Dradis::Plugins::ContentService::Base.new(
|
6
|
+
logger: Logger.new(STDOUT),
|
7
|
+
plugin: Dradis::Plugins::Nexpose
|
8
|
+
)
|
9
|
+
|
10
|
+
# Stub content_service methods
|
11
|
+
# They return their argument hashes as objects mimicking
|
12
|
+
# nodes, issues, etc
|
13
|
+
allow(@content_service).to receive(:create_node) do |args|
|
14
|
+
OpenStruct.new(args)
|
15
|
+
end
|
16
|
+
allow(@content_service).to receive(:create_note) do |args|
|
17
|
+
OpenStruct.new(args)
|
18
|
+
end
|
19
|
+
allow(@content_service).to receive(:create_issue) do |args|
|
20
|
+
OpenStruct.new(args)
|
21
|
+
end
|
22
|
+
allow(@content_service).to receive(:create_evidence) do |args|
|
23
|
+
OpenStruct.new(args)
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
metadata
CHANGED
@@ -1,29 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dradis-plugins
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.
|
4
|
+
version: 4.14.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: 2024-
|
11
|
+
date: 2024-10-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0'
|
19
|
+
version: '2.0'
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '0'
|
26
|
+
version: '2.0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rake
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -117,6 +117,7 @@ files:
|
|
117
117
|
- spec/lib/dradis/plugins/settings/adapters/encrypted_configuration_spec.rb
|
118
118
|
- spec/settings_spec.rb
|
119
119
|
- spec/spec_helper.rb
|
120
|
+
- spec/support/spec_macros.rb
|
120
121
|
homepage: http://dradis.com/ce/
|
121
122
|
licenses:
|
122
123
|
- GPL-2
|
@@ -136,7 +137,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
136
137
|
- !ruby/object:Gem::Version
|
137
138
|
version: '0'
|
138
139
|
requirements: []
|
139
|
-
rubygems_version: 3.
|
140
|
+
rubygems_version: 3.5.6
|
140
141
|
signing_key:
|
141
142
|
specification_version: 4
|
142
143
|
summary: Plugin manager for the Dradis Framework project.
|
@@ -150,3 +151,4 @@ test_files:
|
|
150
151
|
- spec/lib/dradis/plugins/settings/adapters/encrypted_configuration_spec.rb
|
151
152
|
- spec/settings_spec.rb
|
152
153
|
- spec/spec_helper.rb
|
154
|
+
- spec/support/spec_macros.rb
|