Sha256: 7b564fd9530e56b40e0ea7dad1a5cc293aceb6957c223c48d45c58aeb57121d2

Contents?: true

Size: 506 Bytes

Versions: 2

Compression:

Stored size: 506 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.7'
require 'dm-core'

# Require plugin-files
require Pathname(__FILE__).dirname.expand_path / 'dm-is-remixable' / 'is' / 'remixable.rb'

# Include the plugin in Resource
module DataMapper
  module Resource
    module ClassMethods
      include DataMapper::Is::Remixable
    end # module ClassMethods
  end # module Resource
end # module DataMapper

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
dm-is-remixable-0.9.7 lib/dm-is-remixable.rb
dm-is-remixable-0.9.8 lib/dm-is-remixable.rb