lib/ronin/platform.rb in ronin-0.1.2 vs lib/ronin/platform.rb in ronin-0.1.3
- old
+ new
@@ -1,11 +1,11 @@
#
#--
# Ronin - A Ruby platform designed for information security and data
# exploration tasks.
#
-# Copyright (c) 2006-2008 Hal Brodigan (postmodern.mod3 at gmail.com)
+# Copyright (c) 2006-2009 Hal Brodigan (postmodern.mod3 at gmail.com)
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
@@ -21,15 +21,17 @@
#++
#
require 'ronin/model'
require 'ronin/extensions/meta'
+require 'ronin/extensions/string'
module Ronin
class Platform
include Model
+ # Primary key
property :id, Serial
# Name of the Operating System
property :os, String, :index => true