dradis-plugins 4.13.0 → 4.15.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: a50ca09189467d24c21bb3fcaeeb6be5494b8c3cb7148f65b8ce5f9da47d5c2a
4
- data.tar.gz: bd9b3867a2a167e45315f1f7fef23aecbdce0a5e6745cd191fb569c79a7b28de
3
+ metadata.gz: 66d3c74ccd3e2bfab6be839c13a701e9c10f40418c33375273f531afa3ef5245
4
+ data.tar.gz: 41805afdf16f82a1281ba71ea3c15f11f5b7a3731340ce082c119fbc8588eda6
5
5
  SHA512:
6
- metadata.gz: 2da1f8e9ce1911678eaf733f31295bb246270cf04bbb06e8b20112eef8737cd94e2b80d920e0a33b99d59b68adc6f0893dd0cb3c9a8f4fda1380b8c5062b40ad
7
- data.tar.gz: 4fa5152cab458485b66065f19025feb1551d65101841d1212db5005206f43e52688c2000ad371b33b6b6d9a3bb7c4c25b8d1e7ef570638536a10cdb9bb1cdfb6
6
+ metadata.gz: 8a694eb4175f310e71a5daabc3e83af7691bfd7b423025322a51bb8be32fae858e4a840b1084bc9d2851b86446f5dca521d4b6e0863e0adea9afb5a848bee289
7
+ data.tar.gz: d94aef2e5f2383f7f1da9bc04e59c2c77464190c473c1132c17372fd3380d49e32bdb16ed6ba9b8c3aedc36b42887d0d81e5052adbe1ecf0b9ca666c8f3b65a5
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ v4.15.0 (December 2024)
2
+ - No changes
3
+
4
+ v4.14.0 (October 2024)
5
+ - No changes
6
+
1
7
  v4.13.0 (July 2024)
2
8
  - No changes
3
9
 
@@ -7,7 +7,7 @@ module Dradis
7
7
 
8
8
  module VERSION
9
9
  MAJOR = 4
10
- MINOR = 13
10
+ MINOR = 15
11
11
  TINY = 0
12
12
  PRE = nil
13
13
 
@@ -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,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dradis-plugins
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.13.0
4
+ version: 4.15.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-08-07 00:00:00.000000000 Z
11
+ date: 2024-12-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -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
@@ -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