Sha256: afbed0c9df242420de66fbb90e847e5edb2fdeb1d09e5132568e36dd50708fac
Contents?: true
Size: 496 Bytes
Versions: 3
Compression:
Stored size: 496 Bytes
Contents
# Needed to import datamapper and other gems require 'rubygems' require 'pathname' # Add all external dependencies for the plugin here gem 'dm-core', '~>0.9.8' require 'dm-core' # Require plugin-files require Pathname(__FILE__).dirname.expand_path / 'dm-predefined' / 'predefined.rb' # Include the plugin in Resource module DataMapper module Resource module ClassMethods include DataMapper::Predefined end # module ClassMethods end # module Resource end # module DataMapper
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
dm-predefined-0.1.0 | lib/dm-predefined.rb |
dm-predefined-0.0.1 | lib/dm-predefined.rb |
dm-predefined-0.1.1 | lib/dm-predefined.rb |