excon 0.5.3 → 0.5.4

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of excon might be problematic. Click here for more details.

@@ -0,0 +1,12 @@
1
+ 0.5.4 02/18/11
2
+ ==============
3
+
4
+ * 204 should not attempt to parse body
5
+
6
+
7
+ 0.5.3 02/17/11
8
+ ==============
9
+
10
+ * header comparison for responses is now case insensitive
11
+ * change to allow :idempotent => false to operate correctly
12
+ * misc cleanup
@@ -13,8 +13,8 @@ Gem::Specification.new do |s|
13
13
  ## If your rubyforge_project name is different, then edit it and comment out
14
14
  ## the sub! line in the Rakefile
15
15
  s.name = 'excon'
16
- s.version = '0.5.3'
17
- s.date = '2011-02-17'
16
+ s.version = '0.5.4'
17
+ s.date = '2011-02-18'
18
18
  s.rubyforge_project = 'excon'
19
19
 
20
20
  ## Make sure your summary is short. The description may be as long
@@ -80,6 +80,7 @@ Gem::Specification.new do |s|
80
80
  benchmarks/string_ranged_index.rb
81
81
  benchmarks/strip_newline.rb
82
82
  benchmarks/vs_stdlib.rb
83
+ changelog.txt
83
84
  excon.gemspec
84
85
  lib/excon.rb
85
86
  lib/excon/connection.rb
@@ -13,7 +13,7 @@ require 'excon/response'
13
13
 
14
14
  module Excon
15
15
  unless const_defined?(:VERSION)
16
- VERSION = '0.5.3'
16
+ VERSION = '0.5.4'
17
17
  end
18
18
 
19
19
  unless const_defined?(:CHUNK_SIZE)
@@ -24,7 +24,7 @@ module Excon
24
24
  end
25
25
  end
26
26
 
27
- unless params[:method].to_s.casecmp('HEAD') == 0
27
+ unless (params[:method].to_s.casecmp('HEAD') == 0) || response.status == 204
28
28
 
29
29
  # don't pass stuff into a block if there was an error
30
30
  if params[:expects] && ![*params[:expects]].include?(response.status)
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: excon
3
3
  version: !ruby/object:Gem::Version
4
- hash: 13
4
+ hash: 3
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 5
9
- - 3
10
- version: 0.5.3
9
+ - 4
10
+ version: 0.5.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - geemus (Wesley Beary)
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-02-17 00:00:00 -08:00
18
+ date: 2011-02-18 00:00:00 -08:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -89,6 +89,7 @@ files:
89
89
  - benchmarks/string_ranged_index.rb
90
90
  - benchmarks/strip_newline.rb
91
91
  - benchmarks/vs_stdlib.rb
92
+ - changelog.txt
92
93
  - excon.gemspec
93
94
  - lib/excon.rb
94
95
  - lib/excon/connection.rb