Sha256: f952c1830d08caa5e0b06622caaeb1832fbd7a28c717dddc118a1f4369f119a4
Contents?: true
Size: 543 Bytes
Versions: 8
Compression:
Stored size: 543 Bytes
Contents
# Needed to import datamapper and other gems require 'rubygems' require 'pathname' # Add all external dependencies for the plugin here gem 'dm-core', '~> <%= DMGen::DM_VERSION %>' require 'dm-core' # Require plugin-files require Pathname(__FILE__).dirname.expand_path / '<%= gem_name %>' / 'is' / '<%= snake_name %>.rb' # Include the plugin in Resource module DataMapper module Resource module ClassMethods include DataMapper::Is::<%= class_name %> end # module ClassMethods end # module Resource end # module DataMapper
Version data entries
8 entries across 8 versions & 2 rubygems