buddy 0.6.0 → 0.6.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/buddy/service.rb +3 -3
  2. metadata +2 -2
data/lib/buddy/service.rb CHANGED
@@ -41,11 +41,11 @@ module Buddy
41
41
 
42
42
  fun = case api_method
43
43
  when 'fql.query'
44
- -> { MiniFB.fql(params[:access_token], params[:query], options) }
44
+ lambda { MiniFB.fql(params[:access_token], params[:query], options) }
45
45
  when 'fql.multiquery'
46
- -> { MiniFB.multifql(params[:access_token], params[:queries], options) }
46
+ lambda { MiniFB.multifql(params[:access_token], params[:queries], options) }
47
47
  else
48
- -> do
48
+ lambda do
49
49
  if params[:access_token]
50
50
  options[:params] = params
51
51
  MiniFB.rest(params[:access_token], api_method, options)
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 6
8
- - 0
9
- version: 0.6.0
8
+ - 1
9
+ version: 0.6.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - Ole Riesenberg