lib/ronin/address.rb in ronin-1.0.0.rc1 vs lib/ronin/address.rb in ronin-1.0.0.rc2

- old
+ new

@@ -15,18 +15,18 @@ # # You should have received a copy of the GNU General Public License # along with Ronin. If not, see <http://www.gnu.org/licenses/>. # -require 'ronin/organization' -require 'ronin/target' require 'ronin/model' require 'dm-timestamps' -require 'dm-tags' module Ronin + autoload :Organization, 'ronin/organization' + autoload :Target, 'ronin/target' + # # A base model which represents an Internet Address, such as: # # * {MACAddress} # * {IPAddress} @@ -55,12 +55,9 @@ # The campaigns targeting the address has 0..n, :campaigns, :through => :targets # Tracks when the IP Address was first created timestamps :created_at - - # Tags - has_tags_on :tags # # Finds an address. # # @param [String, Integer] key