Sha256: b3e261777c873b63461e796bd44c035d2f315232a2d635430bbedc1f7722a791

Contents?: true

Size: 497 Bytes

Versions: 4

Compression:

Stored size: 497 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.10.0'
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

4 entries across 4 versions & 1 rubygems

Version Path
dm-predefined-0.2.3 lib/dm-predefined.rb
dm-predefined-0.2.2 lib/dm-predefined.rb
dm-predefined-0.2.1 lib/dm-predefined.rb
dm-predefined-0.2.0 lib/dm-predefined.rb