fb_graph-mock 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 5b7d1fd37d1664562d6cea3f7ec49e5cd3c68de5
4
+ data.tar.gz: c55835b3da3d6a7fae0b84cec69ad795af68012a
5
+ SHA512:
6
+ metadata.gz: 4ba527b6862956bda869f300ad638b6b867d212d9f12fc9bdc001e231bc27c07439c9ede34f1a1628ce5822ad7978a97857acacaec43818785ba0dc31da9d7ae
7
+ data.tar.gz: 857e8551055d43985955ac69e5fd6df924ac783183b978192dcc6b5e34424742b995bcab3a9b6da09f27cc8c52125e5e53c645dcfb0e089876f240547e8b24ab
data/Gemfile CHANGED
@@ -1,2 +1,2 @@
1
- source :rubygems
1
+ source 'https://rubygems.org'
2
2
  gemspec
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.1
1
+ 0.1.2
@@ -10,6 +10,7 @@ Gem::Specification.new do |gem|
10
10
  gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
11
11
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
12
12
  gem.require_paths = ["lib"]
13
+ gem.add_runtime_dependency "rake"
13
14
  gem.add_runtime_dependency "fb_graph"
14
15
  gem.add_runtime_dependency "rspec"
15
16
  gem.add_runtime_dependency "webmock"
@@ -0,0 +1,303 @@
1
+ {
2
+ "data": [{
3
+ "id": "350128951735548_438426006239175_1719099",
4
+ "from": {
5
+ "name": "Joy Kelty",
6
+ "id": "1572681269"
7
+ },
8
+ "message": "Leanna.",
9
+ "message_tags": [{
10
+ "id": "100001604645739",
11
+ "name": "Leanna",
12
+ "type": "user",
13
+ "offset": 0,
14
+ "length": 6
15
+ }],
16
+ "can_remove": false,
17
+ "created_time": "2013-03-19T15:00:41+0000",
18
+ "like_count": 0,
19
+ "user_likes": false
20
+ }, {
21
+ "id": "350128951735548_438426006239175_1719101",
22
+ "from": {
23
+ "name": "Valene Nunn",
24
+ "id": "100000752238724"
25
+ },
26
+ "message": "What's this color",
27
+ "can_remove": false,
28
+ "created_time": "2013-03-19T15:01:14+0000",
29
+ "like_count": 0,
30
+ "user_likes": false
31
+ }, {
32
+ "id": "350128951735548_438426006239175_1719102",
33
+ "from": {
34
+ "name": "Patricia Kleine",
35
+ "id": "100000614107777"
36
+ },
37
+ "message": "wauw leuke kleur en mooie nagels",
38
+ "can_remove": false,
39
+ "created_time": "2013-03-19T15:01:17+0000",
40
+ "like_count": 0,
41
+ "user_likes": false
42
+ }, {
43
+ "id": "350128951735548_438426006239175_1719103",
44
+ "from": {
45
+ "name": "Vanessa Nichole Huerta",
46
+ "id": "1393485410"
47
+ },
48
+ "message": "Lauren Salazar",
49
+ "message_tags": [{
50
+ "id": "100001207497390",
51
+ "name": "Lauren Salazar",
52
+ "type": "user",
53
+ "offset": 0,
54
+ "length": 14
55
+ }],
56
+ "can_remove": false,
57
+ "created_time": "2013-03-19T15:01:24+0000",
58
+ "like_count": 1,
59
+ "user_likes": false
60
+ }, {
61
+ "id": "350128951735548_438426006239175_1719105",
62
+ "from": {
63
+ "name": "Gloria Robare",
64
+ "id": "100003014508315"
65
+ },
66
+ "message": "what kind of nail polish can i get to grow fast,and strong nails.my nails keep breaking,and i dont want to keep paying for fake ones.",
67
+ "can_remove": false,
68
+ "created_time": "2013-03-19T15:01:34+0000",
69
+ "like_count": 2,
70
+ "user_likes": false
71
+ }, {
72
+ "id": "350128951735548_438426006239175_1719107",
73
+ "from": {
74
+ "name": "Mandy Roy",
75
+ "id": "512050590"
76
+ },
77
+ "message": "Love this look!",
78
+ "can_remove": false,
79
+ "created_time": "2013-03-19T15:02:10+0000",
80
+ "like_count": 2,
81
+ "user_likes": false
82
+ }, {
83
+ "id": "350128951735548_438426006239175_1719109",
84
+ "from": {
85
+ "name": "Seema Rajguru",
86
+ "id": "100002594255931"
87
+ },
88
+ "message": "niice 1..........",
89
+ "can_remove": false,
90
+ "created_time": "2013-03-19T15:02:27+0000",
91
+ "like_count": 0,
92
+ "user_likes": false
93
+ }, {
94
+ "id": "350128951735548_438426006239175_1719110",
95
+ "from": {
96
+ "name": "Betty Warner",
97
+ "id": "100000938725893"
98
+ },
99
+ "message": "nice",
100
+ "can_remove": false,
101
+ "created_time": "2013-03-19T15:02:49+0000",
102
+ "like_count": 0,
103
+ "user_likes": false
104
+ }, {
105
+ "id": "350128951735548_438426006239175_1719113",
106
+ "from": {
107
+ "name": "Jada Belghouar",
108
+ "id": "100005169906368"
109
+ },
110
+ "message": "i want my nails done by that girl!!!!!!!!!!!!!!!!! but I c an't bc I don't know where she lives ar what her phone # is :'(",
111
+ "can_remove": false,
112
+ "created_time": "2013-03-19T15:03:43+0000",
113
+ "like_count": 0,
114
+ "user_likes": false
115
+ }, {
116
+ "id": "350128951735548_438426006239175_1719116",
117
+ "from": {
118
+ "name": "Sky Lalena",
119
+ "id": "536423822"
120
+ },
121
+ "message": "\u0040Gloria my Mom used Witchcraft polish its a line for nails,its the best.",
122
+ "can_remove": false,
123
+ "created_time": "2013-03-19T15:06:02+0000",
124
+ "like_count": 0,
125
+ "user_likes": false
126
+ }, {
127
+ "id": "350128951735548_438426006239175_1719117",
128
+ "from": {
129
+ "name": "Robin Dinsmore",
130
+ "id": "1244604404"
131
+ },
132
+ "message": "I like it very much.",
133
+ "can_remove": false,
134
+ "created_time": "2013-03-19T15:06:39+0000",
135
+ "like_count": 0,
136
+ "user_likes": false
137
+ }, {
138
+ "id": "350128951735548_438426006239175_1719119",
139
+ "from": {
140
+ "name": "Lorena Carrillo",
141
+ "id": "100003308978780"
142
+ },
143
+ "message": "Ewww",
144
+ "can_remove": false,
145
+ "created_time": "2013-03-19T15:08:08+0000",
146
+ "like_count": 0,
147
+ "user_likes": false
148
+ }, {
149
+ "id": "350128951735548_438426006239175_1719120",
150
+ "from": {
151
+ "name": "Robin Dinsmore",
152
+ "id": "1244604404"
153
+ },
154
+ "message": "\u0040 Gloria Robare - I tend to favor the Salley Henson Nail product line for nail growth. Not cheap. They average $8 - $11 a bottle, but they seem to work quickly. Use it daily and change it weekly. Strong too. As for color. I'm an Essie girl.",
155
+ "can_remove": false,
156
+ "created_time": "2013-03-19T15:08:10+0000",
157
+ "like_count": 0,
158
+ "user_likes": false
159
+ }, {
160
+ "id": "350128951735548_438426006239175_1719123",
161
+ "from": {
162
+ "name": "Bhe San",
163
+ "id": "100004089872384"
164
+ },
165
+ "message": "very nice color..i love it...",
166
+ "can_remove": false,
167
+ "created_time": "2013-03-19T15:08:23+0000",
168
+ "like_count": 0,
169
+ "user_likes": false
170
+ }, {
171
+ "id": "350128951735548_438426006239175_1719125",
172
+ "from": {
173
+ "name": "Keri Robinson",
174
+ "id": "1027400653"
175
+ },
176
+ "message": "I can only paint 9 nails one don't need painting but pretty",
177
+ "can_remove": false,
178
+ "created_time": "2013-03-19T15:09:01+0000",
179
+ "like_count": 0,
180
+ "user_likes": false
181
+ }, {
182
+ "id": "350128951735548_438426006239175_1719126",
183
+ "from": {
184
+ "name": "Tracee Rogalla-Guard",
185
+ "id": "1594380518"
186
+ },
187
+ "message": "Gloria...I use nail tek by sallys. Or nailtque from ulta. Buff nails with three block buffer and use glass nail file especially while your nails are weak. I just started doing that and it helps a lot. Hope it helps:-)",
188
+ "can_remove": false,
189
+ "created_time": "2013-03-19T15:09:11+0000",
190
+ "like_count": 1,
191
+ "user_likes": false
192
+ }, {
193
+ "id": "350128951735548_438426006239175_1719128",
194
+ "from": {
195
+ "name": "Niky Cote",
196
+ "id": "100002640921485"
197
+ },
198
+ "message": "may try that",
199
+ "can_remove": false,
200
+ "created_time": "2013-03-19T15:09:50+0000",
201
+ "like_count": 0,
202
+ "user_likes": false
203
+ }, {
204
+ "id": "350128951735548_438426006239175_1719129",
205
+ "from": {
206
+ "name": "Elhm Sohrai",
207
+ "id": "100004160107167"
208
+ },
209
+ "message": "wow",
210
+ "can_remove": false,
211
+ "created_time": "2013-03-19T15:11:26+0000",
212
+ "like_count": 1,
213
+ "user_likes": false
214
+ }, {
215
+ "id": "350128951735548_438426006239175_1719130",
216
+ "from": {
217
+ "name": "Rosie Lopez-Villegas",
218
+ "id": "1483581713"
219
+ },
220
+ "message": "Cute!!",
221
+ "can_remove": false,
222
+ "created_time": "2013-03-19T15:13:00+0000",
223
+ "like_count": 0,
224
+ "user_likes": false
225
+ }, {
226
+ "id": "350128951735548_438426006239175_1719134",
227
+ "from": {
228
+ "name": "Martine Bardin-Robson",
229
+ "id": "635281808"
230
+ },
231
+ "message": "Nice tips",
232
+ "can_remove": false,
233
+ "created_time": "2013-03-19T15:16:48+0000",
234
+ "like_count": 0,
235
+ "user_likes": false
236
+ }, {
237
+ "id": "350128951735548_438426006239175_1719138",
238
+ "from": {
239
+ "name": "Sandra Jackson",
240
+ "id": "100002418446563"
241
+ },
242
+ "message": "Oh! I so love this!!",
243
+ "can_remove": false,
244
+ "created_time": "2013-03-19T15:21:59+0000",
245
+ "like_count": 0,
246
+ "user_likes": false
247
+ }, {
248
+ "id": "350128951735548_438426006239175_1719144",
249
+ "from": {
250
+ "name": "Vintah Montoya",
251
+ "id": "524296036"
252
+ },
253
+ "message": "Nikki Veltri- this would be pretty for your wedding. We could use any color of your choice.",
254
+ "message_tags": [{
255
+ "id": "756305616",
256
+ "name": "Nikki Veltri",
257
+ "type": "user",
258
+ "offset": 0,
259
+ "length": 12
260
+ }],
261
+ "can_remove": false,
262
+ "created_time": "2013-03-19T15:26:04+0000",
263
+ "like_count": 2,
264
+ "user_likes": false
265
+ }, {
266
+ "id": "350128951735548_438426006239175_1719148",
267
+ "from": {
268
+ "name": "Paula Trussell",
269
+ "id": "100004738631412"
270
+ },
271
+ "message": "Want my nails like that!!!",
272
+ "can_remove": false,
273
+ "created_time": "2013-03-19T15:28:35+0000",
274
+ "like_count": 1,
275
+ "user_likes": false
276
+ }, {
277
+ "id": "350128951735548_438426006239175_1719152",
278
+ "from": {
279
+ "name": "Jazzabella Love",
280
+ "id": "100003240202543"
281
+ },
282
+ "message": "Theres a topshop dress that would go with that perfectly!",
283
+ "can_remove": false,
284
+ "created_time": "2013-03-19T15:32:05+0000",
285
+ "like_count": 0,
286
+ "user_likes": false
287
+ }, {
288
+ "id": "350128951735548_438426006239175_1719155",
289
+ "from": {
290
+ "name": "Jeha Gupta",
291
+ "id": "100002549908716"
292
+ },
293
+ "message": "i didnt like it",
294
+ "can_remove": false,
295
+ "created_time": "2013-03-19T15:33:15+0000",
296
+ "like_count": 0,
297
+ "user_likes": false
298
+ }],
299
+ "paging": {
300
+ "next": "https://graph.facebook.com/350128951735548_438426006239175/comments?limit=10&offset=20&__after_id=350128951735548_438426006239175_1719134",
301
+ "previous": "https://graph.facebook.com/350128951735548_438426006239175/comments?limit=10&offset=0&__before_id=350128951735548_438426006239175_1719117"
302
+ }
303
+ }
metadata CHANGED
@@ -1,78 +1,83 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fb_graph-mock
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
5
- prerelease:
4
+ version: 0.1.2
6
5
  platform: ruby
7
6
  authors:
8
7
  - nov matake
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-01-29 00:00:00.000000000 Z
11
+ date: 2013-03-20 00:00:00.000000000 Z
13
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rake
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - '>='
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - '>='
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
14
27
  - !ruby/object:Gem::Dependency
15
28
  name: fb_graph
16
29
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
30
  requirements:
19
- - - ! '>='
31
+ - - '>='
20
32
  - !ruby/object:Gem::Version
21
33
  version: '0'
22
34
  type: :runtime
23
35
  prerelease: false
24
36
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
37
  requirements:
27
- - - ! '>='
38
+ - - '>='
28
39
  - !ruby/object:Gem::Version
29
40
  version: '0'
30
41
  - !ruby/object:Gem::Dependency
31
42
  name: rspec
32
43
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
44
  requirements:
35
- - - ! '>='
45
+ - - '>='
36
46
  - !ruby/object:Gem::Version
37
47
  version: '0'
38
48
  type: :runtime
39
49
  prerelease: false
40
50
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
51
  requirements:
43
- - - ! '>='
52
+ - - '>='
44
53
  - !ruby/object:Gem::Version
45
54
  version: '0'
46
55
  - !ruby/object:Gem::Dependency
47
56
  name: webmock
48
57
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
58
  requirements:
51
- - - ! '>='
59
+ - - '>='
52
60
  - !ruby/object:Gem::Version
53
61
  version: '0'
54
62
  type: :runtime
55
63
  prerelease: false
56
64
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
65
  requirements:
59
- - - ! '>='
66
+ - - '>='
60
67
  - !ruby/object:Gem::Version
61
68
  version: '0'
62
69
  - !ruby/object:Gem::Dependency
63
70
  name: cover_me
64
71
  requirement: !ruby/object:Gem::Requirement
65
- none: false
66
72
  requirements:
67
- - - ! '>='
73
+ - - '>='
68
74
  - !ruby/object:Gem::Version
69
75
  version: 1.2.0
70
76
  type: :development
71
77
  prerelease: false
72
78
  version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
79
  requirements:
75
- - - ! '>='
80
+ - - '>='
76
81
  - !ruby/object:Gem::Version
77
82
  version: 1.2.0
78
83
  description: FB Graph API mocking
@@ -191,6 +196,7 @@ files:
191
196
  - mock_json/posts/comments/post_with_invalid_access_token.json
192
197
  - mock_json/posts/comments/post_with_valid_access_token.json
193
198
  - mock_json/posts/comments/post_without_access_token.json
199
+ - mock_json/posts/comments/with_paging_params.json
194
200
  - mock_json/posts/liked_by_page.json
195
201
  - mock_json/posts/likes/post_with_invalid_access_token.json
196
202
  - mock_json/posts/likes/post_with_valid_access_token.json
@@ -309,27 +315,26 @@ files:
309
315
  - spec/spec_helper.rb
310
316
  homepage: http://github.com/nov/fb_graph-mock
311
317
  licenses: []
318
+ metadata: {}
312
319
  post_install_message:
313
320
  rdoc_options: []
314
321
  require_paths:
315
322
  - lib
316
323
  required_ruby_version: !ruby/object:Gem::Requirement
317
- none: false
318
324
  requirements:
319
- - - ! '>='
325
+ - - '>='
320
326
  - !ruby/object:Gem::Version
321
327
  version: '0'
322
328
  required_rubygems_version: !ruby/object:Gem::Requirement
323
- none: false
324
329
  requirements:
325
- - - ! '>='
330
+ - - '>='
326
331
  - !ruby/object:Gem::Version
327
332
  version: '0'
328
333
  requirements: []
329
334
  rubyforge_project:
330
- rubygems_version: 1.8.24
335
+ rubygems_version: 2.0.0
331
336
  signing_key:
332
- specification_version: 3
337
+ specification_version: 4
333
338
  summary: Let's share current FB Graph API response format for our FB Graph API related
334
339
  specs!
335
340
  test_files: