metasploit_data_models 0.12.0-java → 0.12.1-java

Sign up to get free protection for your applications and to get access to all the features.
@@ -361,7 +361,7 @@ class Mdm::Host < ActiveRecord::Base
361
361
  :unless => :ip_address_invalid?
362
362
  }
363
363
  validates :arch,
364
- :allow_nil => true,
364
+ :allow_blank => true,
365
365
  :inclusion => {
366
366
  :in => ARCHITECTURES
367
367
  }
@@ -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.0'
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).allow_nil }
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
@@ -2,16 +2,17 @@
2
2
  name: metasploit_data_models
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.12.0
5
+ version: 0.12.1
6
6
  platform: java
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-14 00:00:00.000000000 Z
15
+ date: 2013-05-15 00:00:00.000000000 Z
15
16
  dependencies:
16
17
  - !ruby/object:Gem::Dependency
17
18
  name: rake
@@ -159,6 +160,7 @@ description: Implements minimal ActiveRecord models and database helper code use
159
160
  email:
160
161
  - shuckins@rapid7.com
161
162
  - luke_imhoff@rapid7.com
163
+ - dmaloney@rapid7.com
162
164
  - trevor_rosen@rapid7.com
163
165
  executables:
164
166
  - mdm_console