mambanation 0.1.15 → 0.1.16

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 +3 -3
  3. metadata +27 -6
data/VERSION.yml CHANGED
@@ -1,5 +1,5 @@
1
1
  ---
2
2
  :minor: 1
3
- :patch: 15
3
+ :patch: 16
4
4
  :build:
5
5
  :major: 0
@@ -140,9 +140,9 @@ module MambaNation
140
140
  #
141
141
  # Posts
142
142
  #
143
- def user_posts(id)
144
- perform_get("/users/#{id.to_i}/posts.json")
145
- end
143
+ def user_posts(id,app_id)
144
+ perform_get("/users/#{id.to_i}/posts.json", :query => { :fb_application_id => app_id })
145
+ end
146
146
 
147
147
  def create_post(id, app_id, post)
148
148
  perform_post("/posts", :body => { :post => post , :user_id => id , :fb_sig_app_id => app_id})
metadata CHANGED
@@ -1,12 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mambanation
3
3
  version: !ruby/object:Gem::Version
4
+ hash: 59
4
5
  prerelease: false
5
6
  segments:
6
7
  - 0
7
8
  - 1
8
- - 15
9
- version: 0.1.15
9
+ - 16
10
+ version: 0.1.16
10
11
  platform: ruby
11
12
  authors:
12
13
  - Jeremy Van de Wyngaert
@@ -16,16 +17,18 @@ autorequire:
16
17
  bindir: bin
17
18
  cert_chain: []
18
19
 
19
- date: 2010-08-25 00:00:00 +02:00
20
+ date: 2010-08-26 00:00:00 +02:00
20
21
  default_executable:
21
22
  dependencies:
22
23
  - !ruby/object:Gem::Dependency
23
24
  name: hashie
24
25
  prerelease: false
25
26
  requirement: &id001 !ruby/object:Gem::Requirement
27
+ none: false
26
28
  requirements:
27
29
  - - ~>
28
30
  - !ruby/object:Gem::Version
31
+ hash: 23
29
32
  segments:
30
33
  - 0
31
34
  - 2
@@ -37,9 +40,11 @@ dependencies:
37
40
  name: httparty
38
41
  prerelease: false
39
42
  requirement: &id002 !ruby/object:Gem::Requirement
43
+ none: false
40
44
  requirements:
41
45
  - - ~>
42
46
  - !ruby/object:Gem::Version
47
+ hash: 11
43
48
  segments:
44
49
  - 0
45
50
  - 5
@@ -51,9 +56,11 @@ dependencies:
51
56
  name: yajl-ruby
52
57
  prerelease: false
53
58
  requirement: &id003 !ruby/object:Gem::Requirement
59
+ none: false
54
60
  requirements:
55
61
  - - ~>
56
62
  - !ruby/object:Gem::Version
63
+ hash: 3
57
64
  segments:
58
65
  - 0
59
66
  - 7
@@ -65,9 +72,11 @@ dependencies:
65
72
  name: shoulda
66
73
  prerelease: false
67
74
  requirement: &id004 !ruby/object:Gem::Requirement
75
+ none: false
68
76
  requirements:
69
77
  - - ~>
70
78
  - !ruby/object:Gem::Version
79
+ hash: 39
71
80
  segments:
72
81
  - 2
73
82
  - 10
@@ -79,9 +88,11 @@ dependencies:
79
88
  name: jnunemaker-matchy
80
89
  prerelease: false
81
90
  requirement: &id005 !ruby/object:Gem::Requirement
91
+ none: false
82
92
  requirements:
83
93
  - - ~>
84
94
  - !ruby/object:Gem::Version
95
+ hash: 15
85
96
  segments:
86
97
  - 0
87
98
  - 4
@@ -93,9 +104,11 @@ dependencies:
93
104
  name: mocha
94
105
  prerelease: false
95
106
  requirement: &id006 !ruby/object:Gem::Requirement
107
+ none: false
96
108
  requirements:
97
109
  - - ~>
98
110
  - !ruby/object:Gem::Version
111
+ hash: 59
99
112
  segments:
100
113
  - 0
101
114
  - 9
@@ -107,9 +120,11 @@ dependencies:
107
120
  name: fakeweb
108
121
  prerelease: false
109
122
  requirement: &id007 !ruby/object:Gem::Requirement
123
+ none: false
110
124
  requirements:
111
125
  - - ~>
112
126
  - !ruby/object:Gem::Version
127
+ hash: 31
113
128
  segments:
114
129
  - 1
115
130
  - 2
@@ -121,9 +136,11 @@ dependencies:
121
136
  name: redgreen
122
137
  prerelease: false
123
138
  requirement: &id008 !ruby/object:Gem::Requirement
139
+ none: false
124
140
  requirements:
125
141
  - - ~>
126
142
  - !ruby/object:Gem::Version
143
+ hash: 27
127
144
  segments:
128
145
  - 1
129
146
  - 2
@@ -187,29 +204,33 @@ rdoc_options:
187
204
  require_paths:
188
205
  - lib
189
206
  required_ruby_version: !ruby/object:Gem::Requirement
207
+ none: false
190
208
  requirements:
191
209
  - - ">="
192
210
  - !ruby/object:Gem::Version
211
+ hash: 3
193
212
  segments:
194
213
  - 0
195
214
  version: "0"
196
215
  required_rubygems_version: !ruby/object:Gem::Requirement
216
+ none: false
197
217
  requirements:
198
218
  - - ">="
199
219
  - !ruby/object:Gem::Version
220
+ hash: 3
200
221
  segments:
201
222
  - 0
202
223
  version: "0"
203
224
  requirements: []
204
225
 
205
226
  rubyforge_project:
206
- rubygems_version: 1.3.6
227
+ rubygems_version: 1.3.7
207
228
  signing_key:
208
229
  specification_version: 3
209
230
  summary: wrapper for mambanation-api
210
231
  test_files:
232
+ - test/mambanation_test.rb
233
+ - test/mambanation/request_test.rb
211
234
  - test/mambanation/base_test.rb
212
235
  - test/mambanation/httpauth_test.rb
213
- - test/mambanation/request_test.rb
214
- - test/mambanation_test.rb
215
236
  - test/test_helper.rb