metasploit_data_models 0.12.0 → 0.12.1
Sign up to get free protection for your applications and to get access to all the features.
data/app/models/mdm/host.rb
CHANGED
@@ -4,5 +4,5 @@ module MetasploitDataModels
|
|
4
4
|
# metasploit-framework/data/sql/migrate to db/migrate in this project, not all models have specs that verify the
|
5
5
|
# migrations (with have_db_column and have_db_index) and certain models may not be shared between metasploit-framework
|
6
6
|
# and pro, so models may be removed in the future. Because of the unstable API the version should remain below 1.0.0
|
7
|
-
VERSION = '0.12.
|
7
|
+
VERSION = '0.12.1'
|
8
8
|
end
|
@@ -8,11 +8,13 @@ Gem::Specification.new do |s|
|
|
8
8
|
s.authors = [
|
9
9
|
'Samuel Huckins',
|
10
10
|
'Luke Imhoff',
|
11
|
+
"David 'thelightcosine' Maloney",
|
11
12
|
'Trevor Rosen'
|
12
13
|
]
|
13
14
|
s.email = [
|
14
15
|
'shuckins@rapid7.com',
|
15
16
|
'luke_imhoff@rapid7.com',
|
17
|
+
'dmaloney@rapid7.com',
|
16
18
|
'trevor_rosen@rapid7.com'
|
17
19
|
]
|
18
20
|
s.homepage = ""
|
@@ -24,7 +24,8 @@ describe Mdm::Host do
|
|
24
24
|
'tty',
|
25
25
|
'x64',
|
26
26
|
'x86',
|
27
|
-
'x86_64'
|
27
|
+
'x86_64',
|
28
|
+
''
|
28
29
|
]
|
29
30
|
end
|
30
31
|
|
@@ -386,7 +387,7 @@ describe Mdm::Host do
|
|
386
387
|
end
|
387
388
|
end
|
388
389
|
|
389
|
-
it { should ensure_inclusion_of(:arch).in_array(architectures).
|
390
|
+
it { should ensure_inclusion_of(:arch).in_array(architectures).allow_blank }
|
390
391
|
it { should ensure_inclusion_of(:state).in_array(states).allow_nil }
|
391
392
|
it { should validate_presence_of(:workspace) }
|
392
393
|
end
|
metadata
CHANGED
@@ -1,17 +1,18 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: metasploit_data_models
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.12.
|
4
|
+
version: 0.12.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Samuel Huckins
|
9
9
|
- Luke Imhoff
|
10
|
+
- David 'thelightcosine' Maloney
|
10
11
|
- Trevor Rosen
|
11
12
|
autorequire:
|
12
13
|
bindir: bin
|
13
14
|
cert_chain: []
|
14
|
-
date: 2013-05-
|
15
|
+
date: 2013-05-15 00:00:00.000000000 Z
|
15
16
|
dependencies:
|
16
17
|
- !ruby/object:Gem::Dependency
|
17
18
|
name: rake
|
@@ -130,6 +131,7 @@ description: Implements minimal ActiveRecord models and database helper code use
|
|
130
131
|
email:
|
131
132
|
- shuckins@rapid7.com
|
132
133
|
- luke_imhoff@rapid7.com
|
134
|
+
- dmaloney@rapid7.com
|
133
135
|
- trevor_rosen@rapid7.com
|
134
136
|
executables:
|
135
137
|
- mdm_console
|
@@ -385,7 +387,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
385
387
|
version: '0'
|
386
388
|
segments:
|
387
389
|
- 0
|
388
|
-
hash:
|
390
|
+
hash: 1256079795488837429
|
389
391
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
390
392
|
none: false
|
391
393
|
requirements:
|
@@ -394,7 +396,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
394
396
|
version: '0'
|
395
397
|
segments:
|
396
398
|
- 0
|
397
|
-
hash:
|
399
|
+
hash: 1256079795488837429
|
398
400
|
requirements: []
|
399
401
|
rubyforge_project:
|
400
402
|
rubygems_version: 1.8.25
|