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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/VERSION +1 -1
  3. data/lib/fb_graph/mock.rb +2 -3
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 66b3f0b24af57d7c3e76dad0ac3aa012da9f8132
4
- data.tar.gz: 9c02d59dccb54800ac945dd4c7a0d7a86aa04e05
3
+ metadata.gz: 8ba5e840495c359098186f436c3f289568e7ba17
4
+ data.tar.gz: 38812f5a7ee1240edc90ea435141779496d879ca
5
5
  SHA512:
6
- metadata.gz: 4a81a23095be573c3c92c69a745c83ba540b4e330bb670ab872bde95983e5a369cc980a2447be8d721c79855340f148f344c79e470d1054d0e3380cb7ebde180
7
- data.tar.gz: ffb9e3b7a68c3106cc04add83ace74f3184dd98d917e018f1535772c1dca9508036e617326badabdb61bbdfc73689789890df8870401b9a30d1497878f8fe5bf
6
+ metadata.gz: 3b268f32ac00cc94f634b140dbee59cef540cab45006076d43d5eb91126c3cdf70e9c4f7c38dc64b32f9dedf64f4cce188e585d0863b365dade572606d5a3514
7
+ data.tar.gz: d3293e81c7a17a5cf84c6e34f39a8dcf53a236a4308d507e6e59aae9707b67b9b3998f929e0ac484cad294cd27e8ab579e0e0a62d63321ea208342d0372261f0
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.3
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.merge!(:params => {
29
- :q => query
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.3
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-17 00:00:00.000000000 Z
11
+ date: 2013-05-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake