dradis-plugins 3.10.0 → 3.11.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
  SHA1:
3
- metadata.gz: 7672289735c03361bf9a838ad2983e10bf8cff5d
4
- data.tar.gz: 12c9ba751065766757cdff3bc726117c03a3d9a1
3
+ metadata.gz: 4a88150847adea5b172e3522beed143749553e96
4
+ data.tar.gz: 565baf13a843f8783f9a78f76b1d0caa271d94b1
5
5
  SHA512:
6
- metadata.gz: 68399c15408ee09d91244c8b5081703e94154741c091afa637611fbbc1e8bb06b97a9de1470991ed7e01bc52ec90d8ec9ef88c87bcf22645322d82ba805e4f13
7
- data.tar.gz: f6bf7cda772d6ebaf879188a641caa2ff7c90cfde1e47b098bae79f9474e54b0a24b073229013fae4fe0d8507e7c63b45e22d1259c628ece56cde5afe6bd1802
6
+ metadata.gz: 8a7135f1e53a4d3fb2f03482f5dc7803066463ca68c3d84f8f649ecea8548456879614784d3dfb74b4c15262794ea18f8a1d7c3566d0448440e94994af834ee2
7
+ data.tar.gz: a75c9ab44cef397a9544db5efab926eea77468750d267edc22e07665c5672ee7f57a6ee0b528ac689111d4f45ca1e2162d40b9b63d7f8246acdf0a330c0a4f46
@@ -1,3 +1,11 @@
1
+ ## Dradis Framework 3.11 (November, 2018) ##
2
+
3
+ * No changes.
4
+
5
+ ## Dradis Framework 3.10.1 (November, 2018) ##
6
+
7
+ * Do not use `Node#project_id`
8
+
1
9
  ## Dradis Framework 3.10 (August, 2018) ##
2
10
 
3
11
  * Add default project to task options
@@ -34,11 +34,13 @@ module Dradis::Plugins::ContentService
34
34
  end
35
35
  end
36
36
 
37
- parent.children.find_or_create_by(
37
+ new_node = parent.children.find_or_initialize_by(
38
38
  label: label,
39
- type_id: type_id,
40
- project_id: parent.project_id
39
+ type_id: type_id
41
40
  )
41
+ new_node.project = parent.project
42
+ new_node.save
43
+ new_node
42
44
  end
43
45
 
44
46
  private
@@ -7,7 +7,7 @@ module Dradis
7
7
 
8
8
  module VERSION
9
9
  MAJOR = 3
10
- MINOR = 10
10
+ MINOR = 11
11
11
  TINY = 0
12
12
  PRE = nil
13
13
 
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: 3.10.0
4
+ version: 3.11.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: 2018-08-31 00:00:00.000000000 Z
11
+ date: 2018-11-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -125,7 +125,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
125
125
  version: '0'
126
126
  requirements: []
127
127
  rubyforge_project:
128
- rubygems_version: 2.6.8
128
+ rubygems_version: 2.6.12
129
129
  signing_key:
130
130
  specification_version: 4
131
131
  summary: Plugin manager for the Dradis Framework project.