Sha256: c0eb7c8515ce7e77cbac74dd95309002a8bf233fd08be92b7a1144d32d2fcefa
Contents?: true
Size: 528 Bytes
Versions: 1
Compression:
Stored size: 528 Bytes
Contents
require 'pathname' require 'rubygems' ROOT = Pathname(__FILE__).dirname.parent.expand_path # use local dm-serializer if running from dm-more directly lib = ROOT.parent.parent.join('dm-serializer', 'lib').expand_path $LOAD_PATH.unshift(lib) if lib.directory? require ROOT + 'lib/rest_adapter' load ROOT + 'config/database.rb.example' class Book include DataMapper::Resource property :author, String property :created_at, DateTime property :id, Integer, :serial => true property :title, String end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
dm-rest-adapter-0.9.11 | spec/spec_helper.rb |