fb_graph-mock 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/fb_graph/mock.rb +2 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8ba5e840495c359098186f436c3f289568e7ba17
|
4
|
+
data.tar.gz: 38812f5a7ee1240edc90ea435141779496d879ca
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3b268f32ac00cc94f634b140dbee59cef540cab45006076d43d5eb91126c3cdf70e9c4f7c38dc64b32f9dedf64f4cce188e585d0863b365dade572606d5a3514
|
7
|
+
data.tar.gz: d3293e81c7a17a5cf84c6e34f39a8dcf53a236a4308d507e6e59aae9707b67b9b3998f929e0ac484cad294cd27e8ab579e0e0a62d63321ea208342d0372261f0
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.4
|
data/lib/fb_graph/mock.rb
CHANGED
@@ -25,9 +25,8 @@ module FbGraph
|
|
25
25
|
end
|
26
26
|
|
27
27
|
def mock_fql(query, response_file, options = {})
|
28
|
-
options
|
29
|
-
|
30
|
-
})
|
28
|
+
options[:params] ||= {}
|
29
|
+
options[:params].merge!(:q => query)
|
31
30
|
stub_request(:get, FbGraph::Query.new(query).endpoint).with(
|
32
31
|
request_for(:get, options)
|
33
32
|
).to_return(
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fb_graph-mock
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- nov matake
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-04
|
11
|
+
date: 2013-05-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|