Permalink
Browse files

MDM update for report model validation

  • Loading branch information...
1 parent aa8f687 commit 68496d364ab8b4bfdfa6cb8f0fbbe204c9a4c162 @shuckins-r7 shuckins-r7 committed Jun 18, 2012
@@ -1,4 +1,4 @@
-#!/usr/local/rvm/rubies/ruby-1.9.3-p125/bin/ruby
+#!/usr/bin/env ruby_noexec_wrapper
#
# This file was generated by RubyGems.
#
@@ -5,7 +5,7 @@ def self.included(base)
belongs_to :workspace, :class_name => "Mdm::Workspace"
serialize :options, ::MetasploitDataModels::Base64Serializer.new
- validates_format_of :name, :with => /^[A-Za-z0-9\x20\x2e\x2d\x5c]+$/, :message => "name must be A-Z, 0-9, space, dot, underscore, or dash", :allow_blank => true
+ validates_format_of :name, :with => /^[A-Za-z0-9\x20\x2e\x2d\x5f\x5c]+$/, :message => "name must consist of A-Z, 0-9, space, dot, underscore, or dash", :allow_blank => true
serialize :options, MetasploitDataModels::Base64Serializer.new
@@ -6,7 +6,7 @@ Gem::Specification.new do |s|
s.required_rubygems_version = Gem::Requirement.new("> 1.3.1") if s.respond_to? :required_rubygems_version=
s.authors = ["Trevor Rosen"]
- s.date = "2012-06-13"
+ s.date = "2012-06-18"
s.description = "Implements minimal ActiveRecord models and database helper code used in both the Metasploit Framework (MSF) and Metasploit commercial editions."
s.email = ["trevor_rosen@rapid7.com"]
s.executables = ["mdm_console"]

0 comments on commit 68496d3

Please sign in to comment.