you_got_listed 0.2.4 → 0.2.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -10,7 +10,7 @@ module YouGotListed
10
10
  end
11
11
 
12
12
  def success?
13
- self.ygl_response.response_code.to_i < 300
13
+ self.ygl_response && self.ygl_response.respond_to?(:response_code) && self.ygl_response.response_code.to_i < 300
14
14
  end
15
15
 
16
16
  def method_missing(method_name, *args)
@@ -1,3 +1,3 @@
1
1
  module YouGotListed
2
- VERSION = '0.2.4'
2
+ VERSION = '0.2.5'
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: you_got_listed
3
3
  version: !ruby/object:Gem::Version
4
- hash: 31
4
+ hash: 29
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 4
10
- version: 0.2.4
9
+ - 5
10
+ version: 0.2.5
11
11
  platform: ruby
12
12
  authors:
13
13
  - Tom Cocca