excon 0.15.2 → 0.15.3

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.

@@ -1,3 +1,8 @@
1
+ 0.15.3 07/16/12
2
+ ===============
3
+
4
+ remove erroneous newline in proxy auth header
5
+
1
6
  0.15.2 07/16/12
2
7
  ===============
3
8
 
@@ -13,7 +13,7 @@ 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.15.2'
16
+ s.version = '0.15.3'
17
17
  s.date = '2012-07-17'
18
18
  s.rubyforge_project = 'excon'
19
19
 
@@ -47,7 +47,7 @@ module Excon
47
47
  # https credentials happen in handshake
48
48
  if @connection[:scheme] == 'http' && (@proxy[:user] || @proxy[:password])
49
49
  auth = ['' << @proxy[:user].to_s << ':' << @proxy[:password].to_s].pack('m').delete(Excon::CR_NL)
50
- @connection[:headers]['Proxy-Authorization'] = 'Basic ' << auth << Excon::CR_NL
50
+ @connection[:headers]['Proxy-Authorization'] = 'Basic ' << auth
51
51
  end
52
52
  end
53
53
 
@@ -1,6 +1,6 @@
1
1
  module Excon
2
2
  unless const_defined?(:VERSION)
3
- VERSION = '0.15.2'
3
+ VERSION = '0.15.3'
4
4
  end
5
5
 
6
6
  unless const_defined?(:CHUNK_SIZE)
@@ -1,12 +1,11 @@
1
1
  require 'sinatra'
2
2
 
3
3
  class App < Sinatra::Base
4
- get('/bar') do
4
+ get('*') do
5
5
  headers(
6
6
  "Sent-Request-Uri" => request.env['REQUEST_URI'].to_s,
7
- "Sent-Host" => request.env['HTTP_HOST'] || [request.env['SERVER_NAME'].to_s, request.env['SERVER_PORT']].join(':'),
8
- "Sent-Proxy-Connection" => request.env['HTTP_PROXY_CONNECTION'].to_s,
9
- "Env" => request.env.inspect
7
+ "Sent-Host" => request.env['HTTP_HOST'].to_s,
8
+ "Sent-Proxy-Connection" => request.env['HTTP_PROXY_CONNECTION'].to_s
10
9
  )
11
10
  'proxied content'
12
11
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: excon
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.2
4
+ version: 0.15.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -15,7 +15,7 @@ date: 2012-07-17 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: activesupport
18
- requirement: &70180408821740 !ruby/object:Gem::Requirement
18
+ requirement: &70352714588600 !ruby/object:Gem::Requirement
19
19
  none: false
20
20
  requirements:
21
21
  - - ! '>='
@@ -23,10 +23,10 @@ dependencies:
23
23
  version: '0'
24
24
  type: :development
25
25
  prerelease: false
26
- version_requirements: *70180408821740
26
+ version_requirements: *70352714588600
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: delorean
29
- requirement: &70180408821180 !ruby/object:Gem::Requirement
29
+ requirement: &70352714588000 !ruby/object:Gem::Requirement
30
30
  none: false
31
31
  requirements:
32
32
  - - ! '>='
@@ -34,10 +34,10 @@ dependencies:
34
34
  version: '0'
35
35
  type: :development
36
36
  prerelease: false
37
- version_requirements: *70180408821180
37
+ version_requirements: *70352714588000
38
38
  - !ruby/object:Gem::Dependency
39
39
  name: open4
40
- requirement: &70180408820660 !ruby/object:Gem::Requirement
40
+ requirement: &70352714587420 !ruby/object:Gem::Requirement
41
41
  none: false
42
42
  requirements:
43
43
  - - ! '>='
@@ -45,10 +45,10 @@ dependencies:
45
45
  version: '0'
46
46
  type: :development
47
47
  prerelease: false
48
- version_requirements: *70180408820660
48
+ version_requirements: *70352714587420
49
49
  - !ruby/object:Gem::Dependency
50
50
  name: rake
51
- requirement: &70180408820120 !ruby/object:Gem::Requirement
51
+ requirement: &70352714586660 !ruby/object:Gem::Requirement
52
52
  none: false
53
53
  requirements:
54
54
  - - ! '>='
@@ -56,10 +56,10 @@ dependencies:
56
56
  version: '0'
57
57
  type: :development
58
58
  prerelease: false
59
- version_requirements: *70180408820120
59
+ version_requirements: *70352714586660
60
60
  - !ruby/object:Gem::Dependency
61
61
  name: rdoc
62
- requirement: &70180408819600 !ruby/object:Gem::Requirement
62
+ requirement: &70352714585720 !ruby/object:Gem::Requirement
63
63
  none: false
64
64
  requirements:
65
65
  - - ! '>='
@@ -67,10 +67,10 @@ dependencies:
67
67
  version: '0'
68
68
  type: :development
69
69
  prerelease: false
70
- version_requirements: *70180408819600
70
+ version_requirements: *70352714585720
71
71
  - !ruby/object:Gem::Dependency
72
72
  name: shindo
73
- requirement: &70180408819140 !ruby/object:Gem::Requirement
73
+ requirement: &70352714584600 !ruby/object:Gem::Requirement
74
74
  none: false
75
75
  requirements:
76
76
  - - ! '>='
@@ -78,10 +78,10 @@ dependencies:
78
78
  version: '0'
79
79
  type: :development
80
80
  prerelease: false
81
- version_requirements: *70180408819140
81
+ version_requirements: *70352714584600
82
82
  - !ruby/object:Gem::Dependency
83
83
  name: sinatra
84
- requirement: &70180408818620 !ruby/object:Gem::Requirement
84
+ requirement: &70352714583780 !ruby/object:Gem::Requirement
85
85
  none: false
86
86
  requirements:
87
87
  - - ! '>='
@@ -89,7 +89,7 @@ dependencies:
89
89
  version: '0'
90
90
  type: :development
91
91
  prerelease: false
92
- version_requirements: *70180408818620
92
+ version_requirements: *70352714583780
93
93
  description: EXtended http(s) CONnections
94
94
  email: geemus@gmail.com
95
95
  executables: []
@@ -166,9 +166,6 @@ required_ruby_version: !ruby/object:Gem::Requirement
166
166
  - - ! '>='
167
167
  - !ruby/object:Gem::Version
168
168
  version: '0'
169
- segments:
170
- - 0
171
- hash: -4082820160673762463
172
169
  required_rubygems_version: !ruby/object:Gem::Requirement
173
170
  none: false
174
171
  requirements: