rally_rest_api 0.7.2 → 0.7.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -82,7 +82,8 @@ class RestBuilder # :nodoc:
82
82
  debug "RestBuilder#send_request req = #{req.inspect}"
83
83
  req.basic_auth username, password
84
84
  req.content_type = 'text/xml'
85
- http = Net::HTTP.new(url.host, url.port)
85
+ proxy = ENV['http_proxy'] ? URI.parse(ENV['http_proxy']) : OpenStruct.new
86
+ http = Net::HTTP.new(url.host, url.port, proxy.host, proxy.port, proxy.username, proxy.password)
86
87
  http.use_ssl = true if url.scheme == "https"
87
88
  http.verify_mode = OpenSSL::SSL::VERIFY_NONE
88
89
  body = http.start { |http| http.request(req) }.body
@@ -2,7 +2,7 @@ module RallyRestVersion #:nodoc:
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 0
4
4
  MINOR = 7
5
- TINY = 2
5
+ TINY = 3
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
metadata CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.2
3
3
  specification_version: 1
4
4
  name: rally_rest_api
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.7.2
7
- date: 2007-08-20 00:00:00 -06:00
6
+ version: 0.7.3
7
+ date: 2007-08-30 00:00:00 -06:00
8
8
  summary: A ruby-ized interface to Rally's REST webservices API
9
9
  require_paths:
10
10
  - lib