intouch-gdata4ruby 0.1.6 → 0.1.7

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.
@@ -168,7 +168,7 @@ module GData4Ruby
168
168
  @session_cookie = cookie if cookie =~ /^S=.+/
169
169
  end
170
170
 
171
- if not ret.status == 200...201
171
+ if not ret.status === 200...201
172
172
  puts "invalid response received: "+ret.status if @debug
173
173
  raise HTTPRequestFailed, ret
174
174
  end
@@ -66,7 +66,7 @@ module GData4Ruby
66
66
  @access_token.delete(request.url.to_s, {}, request.headers)
67
67
  end
68
68
 
69
- if not ret.status == 200...201
69
+ if not ret.status === 200...201
70
70
  log("invalid response received: "+ret.status)
71
71
  raise HTTPRequestFailed, ret
72
72
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: intouch-gdata4ruby
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.1.6
5
+ version: 0.1.7
6
6
  platform: ruby
7
7
  authors:
8
8
  - Mike Reich
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-04-30 00:00:00 Z
13
+ date: 2011-05-29 00:00:00 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: oauth2