gstore 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/gstore/request.rb +2 -2
- metadata +2 -2
data/lib/gstore/request.rb
CHANGED
@@ -93,7 +93,7 @@ module GStore
|
|
93
93
|
|
94
94
|
response = http.request(req, data)
|
95
95
|
|
96
|
-
return response.body
|
96
|
+
return method == Net::HTTP::Head ? response.header : response.body
|
97
97
|
end
|
98
98
|
end
|
99
99
|
|
@@ -107,4 +107,4 @@ module GStore
|
|
107
107
|
"?#{escaped_params.join('&')}"
|
108
108
|
end
|
109
109
|
end
|
110
|
-
end
|
110
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gstore
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Richard Taylor
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2010-
|
12
|
+
date: 2010-07-19 00:00:00 +01:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
|