pyu-ntlm-http 0.1.3 → 0.1.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/Rakefile +1 -1
  2. data/lib/net/ntlm_http.rb +1 -1
  3. metadata +22 -22
data/Rakefile CHANGED
@@ -9,7 +9,7 @@ require File.join(File.dirname(__FILE__), 'lib', 'net', 'ntlm')
9
9
 
10
10
  #PKG_NAME = 'rubyntlm'
11
11
  PKG_NAME = 'pyu-ntlm-http'
12
- PKG_VERSION = "0.1.3"
12
+ PKG_VERSION = "0.1.3.1"
13
13
 
14
14
  task :default => [:test]
15
15
 
@@ -50,7 +50,7 @@ module Net #:nodoc:
50
50
 
51
51
  def request req, body=nil, &block
52
52
  resp = data = auth_data = nil
53
- old_request req, body do |resp|
53
+ resp = old_request req, body do |resp|
54
54
  wwwauth = resp.header['www-authenticate'].split(",").collect{|x| x.strip} rescue ""
55
55
  unless Net::HTTPUnauthorized === resp and auth_data = req.auth_data and
56
56
  auth_data[0] == :ntlm and (wwwauth == 'NTLM' || wwwauth.is_a?(Array) && wwwauth.include?('NTLM')) ||
metadata CHANGED
@@ -2,15 +2,15 @@
2
2
  name: pyu-ntlm-http
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.1.3
5
+ version: 0.1.3.1
6
6
  platform: ruby
7
7
  authors:
8
- - Kohei Kajimoto,Kingsley Hendrickse
8
+ - Kohei Kajimoto,Kingsley Hendrickse
9
9
  autorequire: net/ntlm_http
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-04-12 00:00:00 -05:00
13
+ date: 2011-05-09 00:00:00 -05:00
14
14
  default_executable:
15
15
  dependencies: []
16
16
 
@@ -21,42 +21,42 @@ executables: []
21
21
  extensions: []
22
22
 
23
23
  extra_rdoc_files:
24
- - README
24
+ - README
25
25
  files:
26
- - Rakefile
27
- - README
28
- - lib/net/ntlm_http.rb
29
- - lib/net/ntlm.rb
30
- - test/function_test.rb
31
- - examples/imap.rb
32
- - examples/smtp.rb
33
- - examples/http.rb
26
+ - Rakefile
27
+ - README
28
+ - lib/net/ntlm_http.rb
29
+ - lib/net/ntlm.rb
30
+ - test/function_test.rb
31
+ - examples/imap.rb
32
+ - examples/smtp.rb
33
+ - examples/http.rb
34
34
  has_rdoc: true
35
35
  homepage: http://www.mindflowsolutions.net
36
36
  licenses: []
37
37
 
38
38
  post_install_message:
39
39
  rdoc_options:
40
- - --main
41
- - README
40
+ - --main
41
+ - README
42
42
  require_paths:
43
- - lib
43
+ - lib
44
44
  required_ruby_version: !ruby/object:Gem::Requirement
45
45
  none: false
46
46
  requirements:
47
- - - ">="
48
- - !ruby/object:Gem::Version
49
- version: "0"
47
+ - - ">="
48
+ - !ruby/object:Gem::Version
49
+ version: "0"
50
50
  required_rubygems_version: !ruby/object:Gem::Requirement
51
51
  none: false
52
52
  requirements:
53
- - - ">="
54
- - !ruby/object:Gem::Version
55
- version: "0"
53
+ - - ">="
54
+ - !ruby/object:Gem::Version
55
+ version: "0"
56
56
  requirements: []
57
57
 
58
58
  rubyforge_project: rubyntlm
59
- rubygems_version: 1.5.1
59
+ rubygems_version: 1.6.2
60
60
  signing_key:
61
61
  specification_version: 3
62
62
  summary: Ruby/NTLM HTTP library.