lib/nanoc3/extra/chick.rb in nanoc3-3.1.9 vs lib/nanoc3/extra/chick.rb in nanoc3-3.2.0a1

- old
+ new

@@ -3,17 +3,17 @@ require 'rack/cache' module Nanoc3::Extra # @deprecated Use a HTTP library such as - # [Net::HTTP](http://ruby-doc.org/stdlib/libdoc/net/http/rdoc/) or - # [Curb](http://curb.rubyforge.org/) instead. + # [Net::HTTP](http://ruby-doc.org/stdlib/libdoc/net/http/rdoc/) or + # [Curb](http://curb.rubyforge.org/) instead. module CHiCk # @deprecated Use a HTTP library such as - # [Net::HTTP](http://ruby-doc.org/stdlib/libdoc/net/http/rdoc/) or - # [Curb](http://curb.rubyforge.org/) instead. + # [Net::HTTP](http://ruby-doc.org/stdlib/libdoc/net/http/rdoc/) or + # [Curb](http://curb.rubyforge.org/) instead. class Client DEFAULT_OPTIONS = { :cache => { :metastore => 'file:tmp/rack/cache.meta', @@ -57,12 +57,12 @@ end end # @deprecated Use a HTTP library such as - # [Net::HTTP](http://ruby-doc.org/stdlib/libdoc/net/http/rdoc/) or - # [Curb](http://curb.rubyforge.org/) instead. + # [Net::HTTP](http://ruby-doc.org/stdlib/libdoc/net/http/rdoc/) or + # [Curb](http://curb.rubyforge.org/) instead. class CacheController def initialize(app, options={}) @app = app @options = options @@ -77,11 +77,11 @@ end end # @deprecated Use a HTTP library such as - # [Net::HTTP](http://ruby-doc.org/stdlib/libdoc/net/http/rdoc/) or - # [Curb](http://curb.rubyforge.org/) instead. + # [Net::HTTP](http://ruby-doc.org/stdlib/libdoc/net/http/rdoc/) or + # [Curb](http://curb.rubyforge.org/) instead. class RackClient METHOD_TO_CLASS_MAPPING = { 'DELETE' => Net::HTTP::Delete, 'GET' => Net::HTTP::Get,