restafari 0.6 → 0.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -34,7 +34,8 @@ module Restafari
34
34
  end
35
35
 
36
36
  define_singleton_method("#{name}_url") do |params={}|
37
- Restafari.config.run_before_request_hook(default_params.merge(params))
37
+ params = default_params.merge(params)
38
+ params = Restafari.config.run_before_request_hook(params)
38
39
  conn = Faraday.new(url: Restafari.config.url, params: params)
39
40
  conn.build_url(path)
40
41
  end
@@ -1,3 +1,3 @@
1
1
  module Restafari
2
- VERSION = 0.6
2
+ VERSION = 0.7
3
3
  end
metadata CHANGED
@@ -1,12 +1,12 @@
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
- - 6
9
- version: "0.6"
8
+ - 7
9
+ version: "0.7"
10
10
  platform: ruby
11
11
  authors:
12
12
  - Danni Friedland
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2012-07-15 00:00:00 Z
17
+ date: 2012-07-16 00:00:00 Z
18
18
  dependencies:
19
19
  - !ruby/object:Gem::Dependency
20
20
  name: faraday