rally_rest_api 1.0.4 → 1.0.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -39,7 +39,7 @@ class RallyRestAPI
39
39
  @username = options[:username]
40
40
  @password = options[:password]
41
41
  @base_url = options[:base_url] || "https://rally1.rallydev.com/slm"
42
- @version = options[:version] || "current"
42
+ @version = options[:version] || "1.36"
43
43
  @logger = options[:logger]
44
44
  @http_headers = options[:http_headers] || CustomHttpHeader.new
45
45
  @parse_collections_as_hash = options[:parse_collections_as_hash] || false
@@ -145,7 +145,10 @@ class RestBuilder # :nodoc:
145
145
  #debug "RestBuilder#send_request result = #{response.body}"
146
146
  #check_for_errors(response)
147
147
  #response.body
148
- debug "RestBuilder#send_request result = #{response.body}"
148
+ debug "RestBuilder#send_request result = #{response.plain_body}"
149
+ headerstr = ""
150
+ response.each_header { |k,v| headerstr << "#{k}--#{v}|" }
151
+ debug "RestBuilder#send_request result headers = #{headerstr} and length is #{response.plain_body.length}"
149
152
  check_for_errors(response)
150
153
  response.plain_body
151
154
  end
@@ -2,7 +2,7 @@ module RallyRestVersion #:nodoc:
2
2
  module LIBRARY_VERSION #:nodoc:
3
3
  MAJOR = 1
4
4
  MINOR = 0
5
- TINY = 4
5
+ TINY = 5
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rally_rest_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
4
+ version: 1.0.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-10-09 00:00:00.000000000Z
12
+ date: 2012-11-01 00:00:00.000000000Z
13
13
  dependencies: []
14
14
  description: ''
15
15
  email: bob.cotton@rallydev.com