metasploit_data_models 2.0.14 → 2.0.15
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/app/models/mdm/host.rb +1 -1
- data/app/models/mdm/workspace.rb +1 -1
- data/lib/metasploit_data_models/version.rb +1 -1
- metadata +3 -3
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d5d270902510767e44738176ebba92e6b4324cc8
|
4
|
+
data.tar.gz: a98e488fd9c58c7bf2b3d05c994065bdee69a0e1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2845436efeb4ee1a75e2a896d13364258e6fcc4360d02a05606294802568d5b02d8823f4c88cb31cd56c5fea5e3dca6b27979e98ac961f281bc19d79ab729274
|
7
|
+
data.tar.gz: c6f61f282a3f8969e544226bd042be6c11cbc0cf243721f4f5f1fb678ea4e191dbce1a99795d11ac728583da872e00b9cfad4cda1e882e78627add813941aa8b
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/app/models/mdm/host.rb
CHANGED
@@ -107,7 +107,7 @@ class Mdm::Host < ActiveRecord::Base
|
|
107
107
|
# @return [ActiveRecord::Relation<Mdm::Event>]
|
108
108
|
has_many :events,
|
109
109
|
class_name: 'Mdm::Event',
|
110
|
-
dependent: :
|
110
|
+
dependent: :delete_all,
|
111
111
|
inverse_of: :host
|
112
112
|
|
113
113
|
# @!attribute [rw] task_hosts
|
data/app/models/mdm/workspace.rb
CHANGED
@@ -28,7 +28,7 @@ class Mdm::Workspace < ActiveRecord::Base
|
|
28
28
|
has_many :creds, :through => :services, :class_name => 'Mdm::Cred'
|
29
29
|
|
30
30
|
# Events that occurred in this workspace.
|
31
|
-
has_many :events, :class_name => 'Mdm::Event'
|
31
|
+
has_many :events, dependent: :delete_all, :class_name => 'Mdm::Event'
|
32
32
|
|
33
33
|
# Hosts in this workspace.
|
34
34
|
has_many :hosts, :dependent => :destroy, :class_name => 'Mdm::Host'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: metasploit_data_models
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.15
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Samuel Huckins
|
@@ -91,7 +91,7 @@ cert_chain:
|
|
91
91
|
G+Hmcg1v810agasPdoydE0RTVZgEOOMoQ07qu7JFXVWZ9ZQpHT7qJATWL/b2csFG
|
92
92
|
8mVuTXnyJOKRJA==
|
93
93
|
-----END CERTIFICATE-----
|
94
|
-
date: 2017-
|
94
|
+
date: 2017-06-23 00:00:00.000000000 Z
|
95
95
|
dependencies:
|
96
96
|
- !ruby/object:Gem::Dependency
|
97
97
|
name: metasploit-yard
|
@@ -788,7 +788,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
788
788
|
version: '0'
|
789
789
|
requirements: []
|
790
790
|
rubyforge_project:
|
791
|
-
rubygems_version: 2.
|
791
|
+
rubygems_version: 2.6.8
|
792
792
|
signing_key:
|
793
793
|
specification_version: 4
|
794
794
|
summary: Database code for MSF and Metasploit Pro
|
metadata.gz.sig
CHANGED
Binary file
|