dradis-acunetix 4.8.0 → 4.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5346f6904ed7f1b71d0f5fd0c5281856f42d83ded2213882d99a9f345feac553
4
- data.tar.gz: f63738ef2990235c68c7c3a881409fc6966f59e660d520e5a6e787c5ef6ef654
3
+ metadata.gz: 678df49b56d35b0881e595de0ae9619047aa01f4f93dd2694cf54a24f579c3b1
4
+ data.tar.gz: 261199cc40413b7be19e38fc16a5e2ed9b5c163e94f2fb57d7e1a07a5ec788f9
5
5
  SHA512:
6
- metadata.gz: 17d097bf44500762dda1559ee03f97298132827f909eeb8959cefe80f5d2cc21a0e6698aab6029bf492831deaf3cd77d65fbeb34c368b22e1a2e4e4879881477
7
- data.tar.gz: 454731183d6b2efd85559661980c04c0bef4d31941becc3b6ec57caa7938c08392639321283d8e08b46ce5f958324f5d336f39fac361313c99b17851140fffb6
6
+ metadata.gz: 321a09e646670785bcdc5802feb9c736e6da5bea8889b390f837312584beb4f9cdcb871b52262400fed366f70da2865a972bb9fe8ce30275a10b709b27bde961
7
+ data.tar.gz: d7ea273fbed5abdbf5e7814d817916982ce375f4a42808045b51df7b17738800e2f341b06877ffa5dd7fe6a5394c0896c5ce24a0838223193407aec532a1aad8
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ v4.9.0 (June 2023)
2
+ - Parse inline code, not just code blocks
3
+
1
4
  v4.8.0 (April 2023)
2
5
  - No changes
3
6
 
@@ -13,6 +13,7 @@ module Acunetix
13
13
  result.gsub!(/&lt;/, '<')
14
14
  result.gsub!(/&gt;/, '>')
15
15
 
16
+ result.gsub!(/<h[0-9] >(.*?)<\/h[0-9]>/) { "\n\n*#{$1.strip}*\n\n" }
16
17
  result.gsub!(/<b>(.*?)<\/b>/) { "*#{$1.strip}*" }
17
18
  result.gsub!(/<br\/>/, "\n")
18
19
  result.gsub!(/<div(.*?)>|<\/div>/, '')
@@ -20,9 +21,9 @@ module Acunetix
20
21
  result.gsub!(/<font.*?>(.*?)<\/font>/m, '\1')
21
22
  result.gsub!(/<h2>(.*?)<\/h2>/) { "*#{$1.strip}*" }
22
23
  result.gsub!(/<i>(.*?)<\/i>/, '\1')
23
- result.gsub!(/<p.*?>(.*?)<\/p>/) { "p. #{$1.strip}\n" }
24
+ result.gsub!(/<p.*?>(.*?)<\/p>/) { "\np. #{$1.strip}\n" }
24
25
  result.gsub!(/<code><pre.*?>(.*?)<\/pre><\/code>/m){|m| "\n\nbc.. #{$1.strip}\n\np. \n" }
25
- result.gsub!(/<code>(.*?)<\/code>/) { "\n\nbc. #{$1.strip}\n\n" }
26
+ result.gsub!(/<code>(.*?)<\/code>/) { "@#{$1.strip}@" }
26
27
  result.gsub!(/<pre.*?>(.*?)<\/pre>/m){|m| "\n\nbc.. #{$1.strip}\n\np. \n" }
27
28
 
28
29
  result.gsub!(/<li.*?>([\s\S]*?)<\/li>/m){"\n* #{$1.strip}"}
@@ -8,7 +8,7 @@ module Dradis
8
8
 
9
9
  module VERSION
10
10
  MAJOR = 4
11
- MINOR = 8
11
+ MINOR = 9
12
12
  TINY = 0
13
13
  PRE = nil
14
14
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dradis-acunetix
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.8.0
4
+ version: 4.9.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: 2023-04-12 00:00:00.000000000 Z
11
+ date: 2023-05-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dradis-plugins