diff --git a/Rakefile b/Rakefile index 88850c2..4a78cd4 100644 --- a/Rakefile +++ b/Rakefile @@ -42,7 +42,7 @@ desc %{ task :build do sh "gem build #{GEMSPEC_FILE}" - sh "mkdir pkg" rescue nil + sh "mkdir -p pkg" rescue nil sh "mv #{GEMSPEC.name}-#{GEMSPEC.version}.gem pkg/" end diff --git a/lib/rufus/verbs/digest.rb b/lib/rufus/verbs/digest.rb index 2462be7..929f59c 100644 --- a/lib/rufus/verbs/digest.rb +++ b/lib/rufus/verbs/digest.rb @@ -48,8 +48,8 @@ def digest_auth (req, opts) @cnonce ||= generate_cnonce @nonce_count ||= 0 - mention_digest_auth(req, opts) \ - and return + # mention_digest_auth(req, opts) \ + # and return mention_digest_auth(req, opts) \ if request_challenge(req, opts) diff --git a/lib/rufus/verbs/endpoint.rb b/lib/rufus/verbs/endpoint.rb index c4e425b..f51f377 100644 --- a/lib/rufus/verbs/endpoint.rb +++ b/lib/rufus/verbs/endpoint.rb @@ -526,7 +526,7 @@ def add_payload (req, opts, &block) if d req.body = d elsif fd - sep = opts[:fd_sep] #|| nil + sep = opts[:fd_sep] || '&' req.set_form_data fd, sep elsif block req.body = block.call req