Sha256: a874668ad98bca9e96e509cd5753f0bf0dd8a1468aa4e98d06613c8931c8852f

Contents?: true

Size: 533 Bytes

Versions: 2

Compression:

Stored size: 533 Bytes

Contents

# Needed to import datamapper and other gems
# require 'rubygems' # read [ http://gist.github.com/54177 ] to understand why this line is commented out
require 'pathname'

# Add all external dependencies for the plugin here
require 'dm-core'
require 'dm-validations'

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

DataMapper::Model.append_extensions(DataMapper::Is::Published)
DataMapper::Model.append_inclusions(DataMapper::Is::Published::ResourceInstanceMethods)

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
dm-is-published-0.0.6 lib/dm-is-published.rb
dm-is-published-0.0.5 lib/dm-is-published.rb