restafari 0.7.2 → 0.7.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -20,6 +20,8 @@ module Restafari
20
20
  def method_missing(method_id, *args)
21
21
  return super unless @data.key?(method_id.to_s)
22
22
  self[method_id]
23
+ rescue NoMethodError=>ex
24
+ raise NoMethodError.new("no #{method_id} method, response: #@resp", "no method error")
23
25
  end
24
26
  end
25
27
  end
@@ -1,3 +1,3 @@
1
1
  module Restafari
2
- VERSION = "0.7.2"
2
+ VERSION = "0.7.3"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: restafari
3
3
  version: !ruby/object:Gem::Version
4
- hash: 7
4
+ hash: 5
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 7
9
- - 2
10
- version: 0.7.2
9
+ - 3
10
+ version: 0.7.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Danni Friedland
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-08-07 00:00:00 Z
18
+ date: 2012-08-18 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: faraday