metasploit_data_models 0.15.0 → 0.15.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,7 @@
1
1
  class Mdm::TaskCred < ActiveRecord::Base
2
2
  # attr_accessible :title, :body
3
- belongs_to :cred, :class_name => Mdm::Cred
4
- belongs_to :task, :class_name => Mdm::Task
3
+ belongs_to :cred, :class_name => 'Mdm::Cred'
4
+ belongs_to :task, :class_name => 'Mdm::Task'
5
5
 
6
6
  validates :cred_id,
7
7
  :uniqueness => {
@@ -1,7 +1,7 @@
1
1
  class Mdm::TaskHost < ActiveRecord::Base
2
2
  # attr_accessible :title, :body
3
- belongs_to :host, :class_name => Mdm::Host
4
- belongs_to :task, :class_name => Mdm::Task
3
+ belongs_to :host, :class_name => 'Mdm::Host'
4
+ belongs_to :task, :class_name => 'Mdm::Task'
5
5
 
6
6
  validates :host_id,
7
7
  :uniqueness => {
@@ -1,7 +1,7 @@
1
1
  class Mdm::TaskService < ActiveRecord::Base
2
2
  # attr_accessible :title, :body
3
- belongs_to :service, :class_name => Mdm::Service
4
- belongs_to :task, :class_name => Mdm::Task
3
+ belongs_to :service, :class_name => 'Mdm::Service'
4
+ belongs_to :task, :class_name => 'Mdm::Task'
5
5
 
6
6
  validates :service_id,
7
7
  :uniqueness => {
@@ -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.15.0'
7
+ VERSION = '0.15.1'
8
8
  end
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: 0.15.0
4
+ version: 0.15.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -413,7 +413,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
413
413
  version: '0'
414
414
  segments:
415
415
  - 0
416
- hash: 2038451068979534245
416
+ hash: 3069622991064808265
417
417
  required_rubygems_version: !ruby/object:Gem::Requirement
418
418
  none: false
419
419
  requirements:
@@ -422,10 +422,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
422
422
  version: '0'
423
423
  segments:
424
424
  - 0
425
- hash: 2038451068979534245
425
+ hash: 3069622991064808265
426
426
  requirements: []
427
427
  rubyforge_project:
428
- rubygems_version: 1.8.25
428
+ rubygems_version: 1.8.24
429
429
  signing_key:
430
430
  specification_version: 3
431
431
  summary: Database code for MSF and Metasploit Pro