mambanation 0.1.17 → 0.1.18

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 +4 -4
  3. metadata +3 -3
data/VERSION.yml CHANGED
@@ -1,5 +1,5 @@
1
1
  ---
2
2
  :minor: 1
3
- :patch: 17
3
+ :patch: 18
4
4
  :build:
5
5
  :major: 0
@@ -144,12 +144,12 @@ module MambaNation
144
144
  perform_get("/posts/#{id}.json", :query => query)
145
145
  end
146
146
 
147
- def user_posts(id, app_id, query = {})
148
- perform_get("/users/#{id.to_i}/posts.json", :query => ({ :fb_application_id => app_id }.merge(query)))
147
+ def user_posts(id, application_id, query = {})
148
+ perform_get("/users/#{id.to_i}/posts.json", :query => { :application_id => application_id }.merge(query))
149
149
  end
150
150
 
151
- def create_post(id, app_id, post)
152
- perform_post("/posts", :body => { :post => post , :user_id => id , :fb_sig_app_id => app_id})
151
+ def create_post(id, post, application_id)
152
+ perform_post("/posts", :body => { :user_id => id, :post => post, :application_id => application_id })
153
153
  end
154
154
 
155
155
  def publish_post(id, stream_id)
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: 57
4
+ hash: 63
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 17
10
- version: 0.1.17
9
+ - 18
10
+ version: 0.1.18
11
11
  platform: ruby
12
12
  authors:
13
13
  - Jeremy Van de Wyngaert