This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# rackdav (prototype) by Ken Robertson | |
# | |
# rackdav is a work in progress of a Rack middleware implementation of WebDAV | |
# | |
# This code is barely functional and ugly as hell, but meant to just work on figuring out compliance. | |
# It is built by working through the test suite provided by litmus (http://www.webdav.org/neon/litmus) | |
# Once it has compliance on the commands, it will be greatly cleaned up and refactored into an actual | |
# library instead of a gist. | |
# |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'rubygems' | |
require 'dm-core' | |
DataMapper.setup(:default, 'sqlite3::memory:') | |
class Dummy | |
include DataMapper::Resource | |
property :id, Serial | |
property :name, String | |
end |
NewerOlder