httparty 0.7.3 → 0.7.4

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

Potentially problematic release.


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

data/History CHANGED
@@ -1,3 +1,7 @@
1
+ == 0.7.4 2011-02-13
2
+ * bug fixes
3
+ * Set VERIFY_NONE when using https. Ruby 1.9.2 no longer sets this for us. gh-67
4
+
1
5
  == 0.7.3 2011-01-20
2
6
  * bug fixes
3
7
  * Fix digest auth for unspecified quality of protection (bjoernalbers, mtrudel, dwo)
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{httparty}
8
- s.version = "0.7.3"
8
+ s.version = "0.7.4"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["John Nunemaker", "Sandro Turriate"]
12
- s.date = %q{2011-01-20}
12
+ s.date = %q{2011-02-13}
13
13
  s.default_executable = %q{httparty}
14
14
  s.description = %q{Makes http fun! Also, makes consuming restful web services dead easy.}
15
15
  s.email = %q{nunemaker@gmail.com}
@@ -13,7 +13,7 @@ require dir + 'httparty/net_digest_auth'
13
13
 
14
14
  # @see HTTParty::ClassMethods
15
15
  module HTTParty
16
- VERSION = "0.7.3".freeze
16
+ VERSION = "0.7.4".freeze
17
17
  CRACK_DEPENDENCY = "0.1.8".freeze
18
18
 
19
19
  module AllowedFormatsDeprecation
@@ -75,6 +75,8 @@ module HTTParty
75
75
 
76
76
  def attach_ssl_certificates(http)
77
77
  if http.use_ssl?
78
+ http.verify_mode = OpenSSL::SSL::VERIFY_NONE
79
+
78
80
  # Client certificate authentication
79
81
  if options[:pem]
80
82
  http.cert = OpenSSL::X509::Certificate.new(options[:pem])
@@ -87,6 +89,7 @@ module HTTParty
87
89
  http.ca_file = options[:ssl_ca_file]
88
90
  http.verify_mode = OpenSSL::SSL::VERIFY_PEER
89
91
  end
92
+
90
93
  if options[:ssl_ca_path]
91
94
  http.ca_path = options[:ssl_ca_path]
92
95
  http.verify_mode = OpenSSL::SSL::VERIFY_PEER
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: httparty
3
3
  version: !ruby/object:Gem::Version
4
- hash: 5
4
+ hash: 11
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 7
9
- - 3
10
- version: 0.7.3
9
+ - 4
10
+ version: 0.7.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - John Nunemaker
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2011-01-20 00:00:00 -05:00
19
+ date: 2011-02-13 00:00:00 -07:00
20
20
  default_executable: httparty
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency