dradis-plugins 4.12.0 → 4.12.1

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: 303a79ec7a8bf67064fe8a6dbb7e7c86cb9bc9ff4de1df69f7ab94ba9f55f805
4
- data.tar.gz: 4fd4d6780ba9737bd45551f8c1b40e9f9654989f8925fae1bc38261e2288f95c
3
+ metadata.gz: ba4cb22668a11590dbc84e6c20f0ee0b3e7f291dade669e4b1b823baefc41477
4
+ data.tar.gz: a06984951d47017cafd3cd6c6b61fc0cb83687b9d11b10395164c4be2f149edb
5
5
  SHA512:
6
- metadata.gz: f5070d0ac07b7b045d140013aa5a26448bd6be87cbab58a8b7b19c298da1f6162bd867c66e2d2a0497ba8bcea32417ad4b22449863c322a760fdd3e32596bf9b
7
- data.tar.gz: 7f73a9201af4be0334536254024b70e7dc2f317f8bdd0d1e2a8fae785c8abf815060cd71be3e9799b65dc15ad9252da0a0d1c1fb9c23b7920be0c34ce431d62d
6
+ metadata.gz: '058642c52770ce4e15c63cc1b539260ed00e50159c6c93b7a7cc10a875aef4f8badc89572423cd43ef3f42339c1a5ea7b20ab319b679c8848e53358a66a5188c'
7
+ data.tar.gz: 2fb4785d9969753cc15078b4b84c018e51300a9248a898b884e72d2f568482d7171c294a8df0976ff0d39d490648c987fab34d4155bfdb976314b249510bdd25
@@ -8,7 +8,7 @@ module Dradis
8
8
  module VERSION
9
9
  MAJOR = 4
10
10
  MINOR = 12
11
- TINY = 0
11
+ TINY = 1
12
12
  PRE = nil
13
13
 
14
14
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join('.')
@@ -72,7 +72,11 @@ module Dradis
72
72
  source_field = field_content.match(LEGACY_FIELDS_REGEX)
73
73
  source_field = source_field ? source_field[1] : 'Custom Text'
74
74
 
75
- updated_content = update_syntax(field_content)
75
+ updated_content = if field_content.empty?
76
+ '!NO_CONTENT_DEFINED_FOR_THIS_FIELD_IN_MAPPINGS_MANAGER!'
77
+ else
78
+ update_syntax(field_content)
79
+ end
76
80
 
77
81
  mapping.mapping_fields.find_or_create_by!(
78
82
  source_field: source_field,
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.12.0
4
+ version: 4.12.1
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-05-07 00:00:00.000000000 Z
11
+ date: 2024-05-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -136,7 +136,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
136
136
  - !ruby/object:Gem::Version
137
137
  version: '0'
138
138
  requirements: []
139
- rubygems_version: 3.1.4
139
+ rubygems_version: 3.3.7
140
140
  signing_key:
141
141
  specification_version: 4
142
142
  summary: Plugin manager for the Dradis Framework project.