mambanation 0.1.23 → 0.1.24

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/VERSION.yml +1 -1
  2. data/lib/mambanation/base.rb +2 -2
  3. metadata +3 -3
data/VERSION.yml CHANGED
@@ -1,5 +1,5 @@
1
1
  ---
2
2
  :minor: 1
3
- :patch: 23
3
+ :patch: 24
4
4
  :build:
5
5
  :major: 0
@@ -24,7 +24,7 @@ module MambaNation
24
24
  end
25
25
 
26
26
  def current_user(query = {})
27
- perform_get("/users/me", :query => query) unless @fbs_cookies.nil?
27
+ perform_get("/users/me", :query => query)
28
28
  end
29
29
 
30
30
  def user_by_facebook_id(facebook_id, query = {})
@@ -235,7 +235,7 @@ module MambaNation
235
235
 
236
236
  def request_options(opts={})
237
237
  opts[:headers] ||= {}
238
- opts[:headers].merge! "HTTP_X_FB_COOKIES" => @fbs_cookies if @fbs_cookies
238
+ opts[:headers].merge! "X-FB-COOKIES" => @fbs_cookies if @fbs_cookies
239
239
  opts
240
240
  end
241
241
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mambanation
3
3
  version: !ruby/object:Gem::Version
4
- hash: 53
4
+ hash: 43
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 23
10
- version: 0.1.23
9
+ - 24
10
+ version: 0.1.24
11
11
  platform: ruby
12
12
  authors:
13
13
  - "J\xC3\xA9r\xC3\xA9my Van de Wyngaert"