rally_rest_api 1.0.4 → 1.0.5
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.
@@ -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] || "
|
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.
|
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
|
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
|
+
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-
|
12
|
+
date: 2012-11-01 00:00:00.000000000Z
|
13
13
|
dependencies: []
|
14
14
|
description: ''
|
15
15
|
email: bob.cotton@rallydev.com
|