Sha256: c3118d60843f5f799865ef29b01898c1ba50370d40cc515ec63e781e96a4b1f8
Contents?: true
Size: 473 Bytes
Versions: 1
Compression:
Stored size: 473 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.4' require 'dm-core' # Require plugin-files dir = Pathname(__FILE__).dirname.expand_path / 'dm-is-paginated' require dir / "hash" require dir / 'is' / 'paginated' # Include the plugin in Resource module DataMapper module Model include DataMapper::Is::Paginated end # module Module end # module DataMapper
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
myabc-dm-is-paginated-0.0.1 | lib/dm-is-paginated.rb |