Sha256: b847f107beb4b494f1a45a86276bf4fed9d7d78795d72b2f23dbdb172cb4dfc2
Contents?: true
Size: 628 Bytes
Versions: 3
Compression:
Stored size: 628 Bytes
Contents
Net::Dav library, in the style of Net::HTTP == Install Installing the gem: gem install net_dav If you're having install issues with nokogiri on Mac OS X read http://wiki.github.com/tenderlove/nokogiri/what-to-do-if-libxml2-is-being-a-jerk == Usage Net::DAV.start("https://localhost.localdomain/xyz/") { |dav| find('.', :recursive => true) do | item | item.content = item.content.gsub(/silly/i, "funny") end end (Note that if you want to use "." to refer to the origin URL, it should end with a slash, otherwise it is assumed that the last component is a file and "." will refer to the parent.)
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
net_dav-0.2.0 | README.rdoc |
net_dav-0.1.1 | README.rdoc |
net_dav-0.1.0 | README.rdoc |