fb_graph-mock 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cba8f8fbd5811f7c5f0f85acbe043603deaf7338
4
- data.tar.gz: 02346b274a4c2ad660d10b9fb5fff02b7fa1abd7
3
+ metadata.gz: 192e709e7e47a176c81f00ea4c367e2f154b4509
4
+ data.tar.gz: 36bb77941e95ec18270f195b134cff894a3834e1
5
5
  SHA512:
6
- metadata.gz: 15693791de3cec06f5b05f63985b90744fc67493120e12a857d194370c06c943299ac1504b8f3794ed452d15af1164f4c85363478bf3a5fc298e0ab87576afe3
7
- data.tar.gz: 80a8d37b7c78a2b7ac96fc5aeed02a3ddc0d92e8e4586e239b58e574f4bb35eb1b91c740c5a51129ae8f1e6d5e20de6b0e900f388526db5016f617d0249e684b
6
+ metadata.gz: d447c0b78d70870beeaf17680f48d9be273467fd3e4856fb30698552ea6f9ae2a42f4a2a3297a89ee61e7f4b171762e2946cced69a2933bd272633e084e1deea
7
+ data.tar.gz: 2978727fa905c0d23602a18e2841ecfb63e9fec9f4727ee6f4dc880342c6f24707225654563ea5acf5625108a5cb53a34c3a9afe1262cb2ca48152d6f5444de0
data/Rakefile CHANGED
@@ -13,7 +13,7 @@ namespace :cover_me do
13
13
  end
14
14
 
15
15
  task :spec do
16
- Rake::Task['cover_me:report'].invoke
16
+ Rake::Task['cover_me:report'].invoke unless ENV['TRAVIS_RUBY_VERSION']
17
17
  end
18
18
 
19
19
  task :default => :spec
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.1
1
+ 1.0.2
@@ -7,6 +7,7 @@
7
7
  "campaign_id": 6004167532222,
8
8
  "name": "Campaign 1",
9
9
  "daily_budget": 500,
10
+ "remaining_budget": 499,
10
11
  "campaign_status": 2,
11
12
  "daily_imps": 0,
12
13
  "id": "6004167532222",
@@ -0,0 +1,4 @@
1
+ {
2
+ "id": "act_12345566",
3
+ "account_id": 12345566
4
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "id": "act_12345566",
3
+ "account_id": 12345566,
4
+ "name": "Test Ad Account",
5
+ "spend_cap": 1500,
6
+ "amount_spent": 1499
7
+ }
@@ -7,5 +7,6 @@
7
7
  "end_time": "2011-07-14T16:00:00+00:00",
8
8
  "daily_budget": 20000,
9
9
  "campaign_status": 1,
10
- "lifetime_budget": 100000
10
+ "lifetime_budget": 100000,
11
+ "remaining_budget": 9999
11
12
  }
@@ -7,6 +7,7 @@
7
7
  "campaign_id": 6004167532222,
8
8
  "name": "New Name",
9
9
  "daily_budget": 500,
10
+ "remaining_budget": 499,
10
11
  "campaign_status": 2,
11
12
  "daily_imps": 0,
12
13
  "id": "6004167532222",
@@ -1,270 +1,480 @@
1
1
  {
2
- "id": "10150146071831729",
3
- "from": {
4
- "name": "Facebook",
5
- "category": "Product\/service",
6
- "id": "20531316728"
2
+ "id": "10150146071831729",
3
+ "from": {
4
+ "category": "Product/service",
5
+ "name": "Facebook",
6
+ "id": "20531316728"
7
+ },
8
+ "picture": "https://fbcdn-photos-g-a.akamaihd.net/hphotos-ak-prn2/168119_10150146071831729_5116892_s.jpg",
9
+ "source": "https://fbcdn-sphotos-g-a.akamaihd.net/hphotos-ak-prn2/168119_10150146071831729_5116892_n.jpg",
10
+ "height": 483,
11
+ "width": 720,
12
+ "images": [
13
+ {
14
+ "height": 483,
15
+ "width": 720,
16
+ "source": "https://fbcdn-sphotos-g-a.akamaihd.net/hphotos-ak-prn2/168119_10150146071831729_5116892_n.jpg"
17
+ },
18
+ {
19
+ "height": 483,
20
+ "width": 720,
21
+ "source": "https://fbcdn-sphotos-g-a.akamaihd.net/hphotos-ak-prn2/168119_10150146071831729_5116892_n.jpg"
7
22
  },
8
- "name": "Sample",
9
- "picture": "https:\/\/fbcdn-photos-a.akamaihd.net\/hphotos-ak-ash1\/168119_10150146071831729_20531316728_7844072_5116892_s.jpg",
10
- "source": "https:\/\/fbcdn-sphotos-a.akamaihd.net\/hphotos-ak-ash1\/168119_10150146071831729_20531316728_7844072_5116892_n.jpg",
11
- "height": 483,
12
- "width": 720,
13
- "images": [{
14
- "height": 483,
15
- "width": 720,
16
- "source": "https:\/\/fbcdn-sphotos-a.akamaihd.net\/hphotos-ak-ash1\/168119_10150146071831729_20531316728_7844072_5116892_n.jpg"
23
+ {
24
+ "height": 402,
25
+ "width": 600,
26
+ "source": "https://fbcdn-sphotos-g-a.akamaihd.net/hphotos-ak-prn2/s600x600/168119_10150146071831729_5116892_n.jpg"
27
+ },
28
+ {
29
+ "height": 322,
30
+ "width": 480,
31
+ "source": "https://fbcdn-sphotos-g-a.akamaihd.net/hphotos-ak-prn2/s480x480/168119_10150146071831729_5116892_n.jpg"
17
32
  },
18
33
  {
19
- "height": 120,
20
- "width": 180,
21
- "source": "https:\/\/fbcdn-photos-a.akamaihd.net\/hphotos-ak-ash1\/168119_10150146071831729_20531316728_7844072_5116892_a.jpg"
34
+ "height": 214,
35
+ "width": 320,
36
+ "source": "https://fbcdn-sphotos-g-a.akamaihd.net/hphotos-ak-prn2/s320x320/168119_10150146071831729_5116892_n.jpg"
22
37
  },
23
38
  {
24
- "height": 87,
25
- "width": 130,
26
- "source": "https:\/\/fbcdn-photos-a.akamaihd.net\/hphotos-ak-ash1\/168119_10150146071831729_20531316728_7844072_5116892_s.jpg"
39
+ "height": 120,
40
+ "width": 180,
41
+ "source": "https://fbcdn-photos-g-a.akamaihd.net/hphotos-ak-prn2/168119_10150146071831729_5116892_a.jpg"
27
42
  },
28
43
  {
29
- "height": 50,
30
- "width": 75,
31
- "source": "https:\/\/fbcdn-photos-a.akamaihd.net\/hphotos-ak-ash1\/168119_10150146071831729_20531316728_7844072_5116892_t.jpg"
32
- }],
33
- "link": "http:\/\/www.facebook.com\/photo.php?pid=7844072&id=20531316728",
34
- "icon": "https:\/\/s-static.ak.facebook.com\/rsrc.php\/v1\/yz\/r\/StEh3RhPvjk.gif",
35
- "created_time": "2011-02-02T16:47:46+0000",
36
- "position": 1,
37
- "updated_time": "2011-02-02T17:00:50+0000",
38
- "comments": {
39
- "data": [{
40
- "id": "10150146071831729_4949616",
41
- "from": {
42
- "name": "Al Aoudati Anoire",
43
- "id": "100000860242427"
44
- },
45
- "message": "i love facebook",
46
- "created_time": "2011-04-06T09:14:47+0000"
44
+ "height": 87,
45
+ "width": 130,
46
+ "source": "https://fbcdn-photos-g-a.akamaihd.net/hphotos-ak-prn2/168119_10150146071831729_5116892_s.jpg"
47
+ },
48
+ {
49
+ "height": 87,
50
+ "width": 130,
51
+ "source": "https://fbcdn-photos-g-a.akamaihd.net/hphotos-ak-prn2/s75x225/168119_10150146071831729_5116892_s.jpg"
52
+ }
53
+ ],
54
+ "link": "https://www.facebook.com/photo.php?fbid=10150146071831729&set=a.10150146071791729.324257.20531316728&type=1",
55
+ "icon": "https://fbstatic-a.akamaihd.net/rsrc.php/v2/yz/r/StEh3RhPvjk.gif",
56
+ "created_time": "2011-02-02T16:47:46+0000",
57
+ "updated_time": "2011-02-02T17:00:50+0000",
58
+ "comments": {
59
+ "data": [
60
+ {
61
+ "id": "10150146071831729_4508512",
62
+ "from": {
63
+ "name": "Freda LjungBergkamp Wong",
64
+ "id": "688085523"
47
65
  },
48
- {
49
- "id": "10150146071831729_4952756",
50
- "from": {
51
- "name": "Alexis Bournavaud",
52
- "id": "100000844935109"
53
- },
54
- "message": ";)",
55
- "created_time": "2011-04-06T20:03:57+0000"
66
+ "message": "wish u all a very happy new year!!\nKung Hei Fat Choi!!!~!",
67
+ "can_remove": false,
68
+ "created_time": "2011-02-02T17:17:42+0000",
69
+ "like_count": 1,
70
+ "user_likes": false
71
+ },
72
+ {
73
+ "id": "10150146071831729_4508700",
74
+ "from": {
75
+ "name": "Lopez Sanchez Cristhian",
76
+ "id": "100001524730775"
56
77
  },
57
- {
58
- "id": "10150146071831729_4955236",
59
- "from": {
60
- "name": "LaAh Tamiis Pehoolaa",
61
- "id": "100001215864326"
62
- },
63
- "message": "I LOVE FACEBOOK.. BUT NO A USTEDES..!!! JAJAJA",
64
- "created_time": "2011-04-07T03:19:33+0000"
78
+ "message": "happy new year guys",
79
+ "can_remove": false,
80
+ "created_time": "2011-02-02T17:21:50+0000",
81
+ "like_count": 0,
82
+ "user_likes": false
83
+ },
84
+ {
85
+ "id": "10150146071831729_4508825",
86
+ "from": {
87
+ "name": "Shirley Harry",
88
+ "id": "1177957456"
65
89
  },
66
- {
67
- "id": "10150146071831729_4964639",
68
- "from": {
69
- "name": "Amir Khatami",
70
- "id": "100001471943542"
71
- },
72
- "message": "I LoVe YoU AlL.",
73
- "created_time": "2011-04-08T18:52:16+0000"
90
+ "message": "happy new year to you all !! :)",
91
+ "can_remove": false,
92
+ "created_time": "2011-02-02T17:25:05+0000",
93
+ "like_count": 0,
94
+ "user_likes": false
95
+ },
96
+ {
97
+ "id": "10150146071831729_4508973",
98
+ "from": {
99
+ "name": "Devin Yasas",
100
+ "id": "1811847159"
74
101
  },
75
- {
76
- "id": "10150146071831729_4985165",
77
- "from": {
78
- "name": "Alvaro Serrano Gomez",
79
- "id": "100000631253060"
80
- },
81
- "message": "......iiiiiiiiiiii..bbbbbb",
82
- "created_time": "2011-04-11T14:39:26+0000"
102
+ "message": "Happy New Year everyone!!! :D",
103
+ "can_remove": false,
104
+ "created_time": "2011-02-02T17:31:55+0000",
105
+ "like_count": 0,
106
+ "user_likes": false
107
+ },
108
+ {
109
+ "id": "10150146071831729_4509082",
110
+ "from": {
111
+ "name": "Raymond Pottinger",
112
+ "id": "100001489909217"
83
113
  },
84
- {
85
- "id": "10150146071831729_5000360",
86
- "from": {
87
- "name": "Wendy Marisol Villanueva G\u00f3mez",
88
- "id": "100000081693167"
89
- },
90
- "message": "La NASA ah descubierto algo sumamente Aterrador que no quieren que lo sepamos! y para ello, hicieron contrato con google, para eliminar cualquier revelacion del sucesoo! \u00bfQuieres saber que es ?.. Ya bajaron las fotos y la informacion a una web reciente!, aprovecha y entra antes que eliminen el tema!;\nhttp:\/\/sucesos.webcindario.com\/",
91
- "created_time": "2011-04-13T20:01:42+0000"
114
+ "message": "Kung hei fa choi ",
115
+ "can_remove": false,
116
+ "created_time": "2011-02-02T17:38:51+0000",
117
+ "like_count": 0,
118
+ "user_likes": false
119
+ },
120
+ {
121
+ "id": "10150146071831729_4509260",
122
+ "from": {
123
+ "name": "Gunapal Alva",
124
+ "id": "100000416162998"
92
125
  },
93
- {
94
- "id": "10150146071831729_5001878",
95
- "from": {
96
- "name": "Joseph Nicolas",
97
- "id": "100002259681492"
98
- },
99
- "message": "Groupement d'amiti\u00e9s d'honneur.",
100
- "created_time": "2011-04-14T00:24:00+0000"
126
+ "message": "nice pic",
127
+ "can_remove": false,
128
+ "created_time": "2011-02-02T17:48:31+0000",
129
+ "like_count": 0,
130
+ "user_likes": false
131
+ },
132
+ {
133
+ "id": "10150146071831729_4509290",
134
+ "from": {
135
+ "name": "Grace Villacorta Yu",
136
+ "id": "1008887000"
101
137
  },
102
- {
103
- "id": "10150146071831729_5002645",
104
- "from": {
105
- "name": "William Le",
106
- "id": "100001705924268"
107
- },
108
- "message": "100th comment",
109
- "created_time": "2011-04-14T02:25:47+0000"
138
+ "message": "Kiong Hee Huat Tsai ! :D",
139
+ "can_remove": false,
140
+ "created_time": "2011-02-02T17:50:21+0000",
141
+ "like_count": 0,
142
+ "user_likes": false
143
+ },
144
+ {
145
+ "id": "10150146071831729_4509319",
146
+ "from": {
147
+ "name": "Gunapal Alva",
148
+ "id": "100000416162998"
110
149
  },
111
- {
112
- "id": "10150146071831729_5003849",
113
- "from": {
114
- "name": "Reneil Esparas",
115
- "id": "100002244688992"
116
- },
117
- "message": "hahahahahahahahahahahaHA",
118
- "created_time": "2011-04-14T08:42:15+0000"
150
+ "message": "http://on.fb.me/fTdb5z",
151
+ "can_remove": false,
152
+ "created_time": "2011-02-02T17:51:58+0000",
153
+ "like_count": 0,
154
+ "user_likes": false
155
+ },
156
+ {
157
+ "id": "10150146071831729_4509372",
158
+ "from": {
159
+ "name": "Kaelyn Wolfe",
160
+ "id": "100000988886150"
119
161
  },
120
- {
121
- "id": "10150146071831729_5004790",
122
- "from": {
123
- "name": "Efe Bolat \u00c7elik",
124
- "id": "100001707086815"
125
- },
126
- "message": "hahahahahahahahahashahahahahhahahahahahahhahahahahahhahh",
127
- "created_time": "2011-04-14T13:44:47+0000"
162
+ "message": "the guy holding the sign is ugly",
163
+ "can_remove": false,
164
+ "created_time": "2011-02-02T17:57:46+0000",
165
+ "like_count": 0,
166
+ "user_likes": false
167
+ },
168
+ {
169
+ "id": "10150146071831729_4509388",
170
+ "from": {
171
+ "name": "Rosemarie Wright",
172
+ "id": "100000965330058"
128
173
  },
129
- {
130
- "id": "10150146071831729_5010217",
131
- "from": {
132
- "name": "Duglimar Villalobos",
133
- "id": "100002286177562"
134
- },
135
- "message": "hablan chino",
136
- "created_time": "2011-04-15T11:15:25+0000"
174
+ "message": "wish you all the best the new years to come LOVE the colour very nice",
175
+ "can_remove": false,
176
+ "created_time": "2011-02-02T18:00:37+0000",
177
+ "like_count": 0,
178
+ "user_likes": false
179
+ },
180
+ {
181
+ "id": "10150146071831729_4509473",
182
+ "from": {
183
+ "name": "Karl Zimmer",
184
+ "id": "100001396124848"
137
185
  },
138
- {
139
- "id": "10150146071831729_5022995",
140
- "from": {
141
- "name": "Grace Kayombya",
142
- "id": "100001555506542"
143
- },
144
- "message": "\u003c3",
145
- "created_time": "2011-04-16T17:19:24+0000",
146
- "likes": 1
186
+ "message": "Happy New year.....新年快乐",
187
+ "can_remove": false,
188
+ "created_time": "2011-02-02T18:07:32+0000",
189
+ "like_count": 0,
190
+ "user_likes": false
191
+ },
192
+ {
193
+ "id": "10150146071831729_4509838",
194
+ "from": {
195
+ "name": "Sãbãh Ñoürëèn",
196
+ "id": "534606720"
147
197
  },
148
- {
149
- "id": "10150146071831729_5025110",
150
- "from": {
151
- "name": "Kevin Brayan Torres Gonzalez",
152
- "id": "100001738777550"
153
- },
154
- "message": "tabacan las letras chinas",
155
- "created_time": "2011-04-16T23:49:24+0000"
198
+ "message": "happy new year ....so gr8 to c the indian team for facebook...",
199
+ "can_remove": false,
200
+ "created_time": "2011-02-02T18:44:59+0000",
201
+ "like_count": 0,
202
+ "user_likes": false
203
+ },
204
+ {
205
+ "id": "10150146071831729_4509983",
206
+ "from": {
207
+ "name": "Kaylin Getty",
208
+ "id": "100001838543683"
156
209
  },
157
- {
158
- "id": "10150146071831729_5033117",
159
- "from": {
160
- "name": "Viviana Andrea Hernandez",
161
- "id": "100000070408045"
162
- },
163
- "message": "chancuco cofi",
164
- "created_time": "2011-04-17T21:21:03+0000"
210
+ "message": "COOL WHERE IS THIS",
211
+ "can_remove": false,
212
+ "created_time": "2011-02-02T19:03:08+0000",
213
+ "like_count": 0,
214
+ "user_likes": false
215
+ },
216
+ {
217
+ "id": "10150146071831729_4510636",
218
+ "from": {
219
+ "name": "Elmer Escobar",
220
+ "id": "100001381647598"
165
221
  },
166
- {
167
- "id": "10150146071831729_5059042",
168
- "from": {
169
- "name": "Regine Acibron",
170
- "id": "100000910688937"
171
- },
172
- "message": "`w3w puro mga buang!!!",
173
- "created_time": "2011-04-21T14:05:34+0000"
222
+ "message": "happy new year everyone,can bless you everybady",
223
+ "can_remove": false,
224
+ "created_time": "2011-02-02T20:33:39+0000",
225
+ "like_count": 1,
226
+ "user_likes": false
227
+ },
228
+ {
229
+ "id": "10150146071831729_4514110",
230
+ "from": {
231
+ "name": "Raghav Bhargava",
232
+ "id": "604420825"
174
233
  },
175
- {
176
- "id": "10150146071831729_5075448",
177
- "from": {
178
- "name": "Erika Ttattiana Zzapatta Zzapatta",
179
- "id": "100001728679843"
180
- },
181
- "message": "jujuujjuuujjujj a bueniohvft5njy",
182
- "created_time": "2011-04-22T02:23:30+0000",
183
- "likes": 1
234
+ "message": "Good to see the India Facebook Team..Awesome guys...!!!1",
235
+ "can_remove": false,
236
+ "created_time": "2011-02-03T05:39:10+0000",
237
+ "like_count": 0,
238
+ "user_likes": false
239
+ },
240
+ {
241
+ "id": "10150146071831729_4514368",
242
+ "from": {
243
+ "name": "Anna Wettermark",
244
+ "id": "745834366"
184
245
  },
185
- {
186
- "id": "10150146071831729_5099843",
187
- "from": {
188
- "name": "Emmanuel Gonzalez",
189
- "id": "100001805817223"
190
- },
191
- "message": "que familia de maricones",
192
- "created_time": "2011-04-25T04:11:39+0000"
246
+ "message": "@ Kirthi - did Dave get you that dress? Happy new year!!",
247
+ "can_remove": false,
248
+ "created_time": "2011-02-03T07:17:32+0000",
249
+ "like_count": 0,
250
+ "user_likes": false
251
+ },
252
+ {
253
+ "id": "10150146071831729_4515138",
254
+ "from": {
255
+ "name": "Mac Popins",
256
+ "id": "100001032704125"
193
257
  },
194
- {
195
- "id": "10150146071831729_5122192",
196
- "from": {
197
- "name": "Jacob Vandenbosch",
198
- "id": "100000209588618"
199
- },
200
- "message": "Facebook I have a hacker name Cherokee Thompson he has hacked others respond",
201
- "created_time": "2011-04-27T23:56:55+0000"
258
+ "message": "HAPPY NEW YEAR AND PEACE FOR ALL THE WORLD!!!",
259
+ "can_remove": false,
260
+ "created_time": "2011-02-03T12:08:41+0000",
261
+ "like_count": 0,
262
+ "user_likes": false
263
+ },
264
+ {
265
+ "id": "10150146071831729_4515934",
266
+ "from": {
267
+ "name": "Paul Fong",
268
+ "id": "1223488493"
202
269
  },
203
- {
204
- "id": "10150146071831729_5124242",
205
- "from": {
206
- "name": "Madhu Dixit",
207
- "id": "100001692030718"
208
- },
209
- "message": "this is which place..?",
210
- "created_time": "2011-04-28T05:42:05+0000"
270
+ "message": "Happy New Year !! Everybody.",
271
+ "can_remove": false,
272
+ "created_time": "2011-02-03T15:42:32+0000",
273
+ "like_count": 0,
274
+ "user_likes": false
275
+ },
276
+ {
277
+ "id": "10150146071831729_4517275",
278
+ "from": {
279
+ "name": "DereJe Dagnew",
280
+ "id": "100001173121818"
211
281
  },
212
- {
213
- "id": "10150146071831729_5126022",
214
- "from": {
215
- "name": "Gabriela Pavon Jimenez",
216
- "id": "100001052729214"
217
- },
218
- "message": "io conosco ese restaurante siiii",
219
- "created_time": "2011-04-28T13:42:17+0000"
282
+ "message": "wow! i get smile.",
283
+ "can_remove": false,
284
+ "created_time": "2011-02-03T19:41:15+0000",
285
+ "like_count": 0,
286
+ "user_likes": false
287
+ },
288
+ {
289
+ "id": "10150146071831729_4532741",
290
+ "from": {
291
+ "name": "Liliana Perez",
292
+ "id": "1197856390"
220
293
  },
221
- {
222
- "id": "10150146071831729_5126023",
223
- "from": {
224
- "name": "Gabriela Pavon Jimenez",
225
- "id": "100001052729214"
226
- },
227
- "message": "jaja",
228
- "created_time": "2011-04-28T13:42:19+0000"
294
+ "message": "uyy amo el facebook",
295
+ "can_remove": false,
296
+ "created_time": "2011-02-04T21:10:16+0000",
297
+ "like_count": 0,
298
+ "user_likes": false
299
+ },
300
+ {
301
+ "id": "10150146071831729_4542199",
302
+ "from": {
303
+ "name": "连清沉",
304
+ "id": "1178868816"
229
305
  },
230
- {
231
- "id": "10150146071831729_5126026",
232
- "from": {
233
- "name": "Gabriela Pavon Jimenez",
234
- "id": "100001052729214"
235
- },
236
- "message": "bno eso creo y no se si estan en ese restaurante",
237
- "created_time": "2011-04-28T13:42:45+0000"
306
+ "message": ":) cu 2012 cny bye",
307
+ "can_remove": false,
308
+ "created_time": "2011-02-05T17:47:41+0000",
309
+ "like_count": 0,
310
+ "user_likes": false
311
+ },
312
+ {
313
+ "id": "10150146071831729_4566893",
314
+ "from": {
315
+ "name": "Carolina Lopez Angulo",
316
+ "id": "100000986370579"
238
317
  },
239
- {
240
- "id": "10150146071831729_5126027",
241
- "from": {
242
- "name": "Gabriela Pavon Jimenez",
243
- "id": "100001052729214"
244
- },
245
- "message": "jja",
246
- "created_time": "2011-04-28T13:42:45+0000"
318
+ "message": "happy birday",
319
+ "can_remove": false,
320
+ "created_time": "2011-02-09T01:14:23+0000",
321
+ "like_count": 0,
322
+ "user_likes": false
323
+ },
324
+ {
325
+ "id": "10150146071831729_4574948",
326
+ "from": {
327
+ "name": "Julio Manrique",
328
+ "id": "100000583042391"
247
329
  },
248
- {
249
- "id": "10150146071831729_5126029",
250
- "from": {
251
- "name": "Gabriela Pavon Jimenez",
252
- "id": "100001052729214"
253
- },
254
- "message": "buuuuuuuuuuuuuuuuuu",
255
- "created_time": "2011-04-28T13:42:50+0000"
330
+ "message": "hi",
331
+ "can_remove": false,
332
+ "created_time": "2011-02-10T02:41:47+0000",
333
+ "like_count": 0,
334
+ "user_likes": false
335
+ },
336
+ {
337
+ "id": "10150146071831729_4574952",
338
+ "from": {
339
+ "name": "Julio Manrique",
340
+ "id": "100000583042391"
256
341
  },
257
- {
258
- "id": "10150146071831729_5137580",
259
- "from": {
260
- "name": "Iclal Mencik",
261
- "id": "100002348749878"
262
- },
263
- "message": "love",
264
- "created_time": "2011-04-30T08:40:21+0000"
265
- }],
266
- "paging": {
267
- "next": "https:\/\/graph.facebook.com\/?access_token=2227470867|2.AQCrth7d5wMJOI87.3600.1306659600.0-579612276|xqh3XTpsnIiRhZAvSJ_u2rQegtI&limit=25&offset=25"
268
- }
342
+ "message": "happy birday",
343
+ "can_remove": false,
344
+ "created_time": "2011-02-10T02:42:20+0000",
345
+ "like_count": 0,
346
+ "user_likes": false
347
+ },
348
+ {
349
+ "id": "10150146071831729_4579705",
350
+ "from": {
351
+ "name": "Ana Luz Herrera Barrantes",
352
+ "id": "100001529892712"
353
+ },
354
+ "message": "aunque ya estamos en febrero: feliz año nuevo",
355
+ "can_remove": false,
356
+ "created_time": "2011-02-10T21:55:22+0000",
357
+ "like_count": 1,
358
+ "user_likes": false
359
+ }
360
+ ],
361
+ "paging": {
362
+ "cursors": {
363
+ "after": "Mjg=",
364
+ "before": "MQ=="
365
+ },
366
+ "next": "https://graph.facebook.com/10150146071831729/comments?limit=25&after=Mjg="
367
+ }
368
+ },
369
+ "likes": {
370
+ "data": [
371
+ {
372
+ "id": "100004124615974",
373
+ "name": "Flipper Flipper"
374
+ },
375
+ {
376
+ "id": "100003863583270",
377
+ "name": "Mǿñ Mǿñ"
378
+ },
379
+ {
380
+ "id": "1789533547",
381
+ "name": "ออกแบบ ตกแต่งภายในประดุจงานศิลป์ ทีมงานนิวสุราษฎร์"
382
+ },
383
+ {
384
+ "id": "100002350249306",
385
+ "name": "Jose Perez Aponte"
386
+ },
387
+ {
388
+ "id": "100005615461030",
389
+ "name": "Agustin Tunubala"
390
+ },
391
+ {
392
+ "id": "100004903180643",
393
+ "name": "ياسر عجوه"
394
+ },
395
+ {
396
+ "id": "100002263199006",
397
+ "name": "Maricela Fernandez"
398
+ },
399
+ {
400
+ "id": "100005215261928",
401
+ "name": "Vandana Mishra"
402
+ },
403
+ {
404
+ "id": "100002509001379",
405
+ "name": "Bhandari Jay"
406
+ },
407
+ {
408
+ "id": "100005270713286",
409
+ "name": "Senthil Realtylog"
410
+ },
411
+ {
412
+ "id": "1309758195",
413
+ "name": "Prince Of-Night"
414
+ },
415
+ {
416
+ "id": "100002931773723",
417
+ "name": "Mridula Arora"
418
+ },
419
+ {
420
+ "id": "1804117531",
421
+ "name": "Darks Rony"
422
+ },
423
+ {
424
+ "id": "100005691663120",
425
+ "name": "Trinh Trinh"
426
+ },
427
+ {
428
+ "id": "100005487160678",
429
+ "name": "Ercan Cem"
430
+ },
431
+ {
432
+ "id": "100002161965563",
433
+ "name": "Didies Aprilias"
434
+ },
435
+ {
436
+ "id": "100004664790171",
437
+ "name": "Sigar Penyalin Teminyak"
438
+ },
439
+ {
440
+ "id": "100004288694147",
441
+ "name": "Ismail Hossain Parvez"
442
+ },
443
+ {
444
+ "id": "100002157551243",
445
+ "name": "Cristian V Cristian"
446
+ },
447
+ {
448
+ "id": "100001036689534",
449
+ "name": "Andi Jhi"
450
+ },
451
+ {
452
+ "id": "100003760832386",
453
+ "name": "Francis Leo"
454
+ },
455
+ {
456
+ "id": "100004193438386",
457
+ "name": "Mossarof Manik"
458
+ },
459
+ {
460
+ "id": "100005326121325",
461
+ "name": "Francisco Roverto Pelaez Maldonado"
462
+ },
463
+ {
464
+ "id": "1217540859",
465
+ "name": "Deniz Enli"
466
+ },
467
+ {
468
+ "id": "1395579847",
469
+ "name": "Huu Thinh"
470
+ }
471
+ ],
472
+ "paging": {
473
+ "cursors": {
474
+ "after": "MTM5NTU3OTg0Nw==",
475
+ "before": "MTAwMDA0MTI0NjE1OTc0"
476
+ },
477
+ "next": "https://graph.facebook.com/10150146071831729/likes?limit=25&after=MTM5NTU3OTg0Nw=="
269
478
  }
479
+ }
270
480
  }
@@ -1,46 +1,97 @@
1
1
  {
2
- "id": "10150177635467277",
3
- "from": {
2
+ "id": "460335614034953",
3
+ "from": {
4
+ "category": "Non-profit organization",
5
+ "name": "OpenID Foundation Japan",
6
+ "id": "157574337644417"
7
+ },
8
+ "picture": "https://fbcdn-photos-b-a.akamaihd.net/hphotos-ak-frc1/487573_460335614034953_1533120991_s.jpg",
9
+ "source": "https://fbcdn-sphotos-b-a.akamaihd.net/hphotos-ak-frc1/s720x720/487573_460335614034953_1533120991_n.jpg",
10
+ "height": 479,
11
+ "width": 720,
12
+ "images": [
13
+ {
14
+ "height": 682,
15
+ "width": 1024,
16
+ "source": "https://fbcdn-sphotos-b-a.akamaihd.net/hphotos-ak-frc1/883588_460335614034953_1533120991_o.jpg"
17
+ },
18
+ {
19
+ "height": 639,
20
+ "width": 960,
21
+ "source": "https://fbcdn-sphotos-b-a.akamaihd.net/hphotos-ak-frc1/487573_460335614034953_1533120991_n.jpg"
22
+ },
23
+ {
24
+ "height": 479,
25
+ "width": 720,
26
+ "source": "https://fbcdn-sphotos-b-a.akamaihd.net/hphotos-ak-frc1/s720x720/487573_460335614034953_1533120991_n.jpg"
27
+ },
28
+ {
29
+ "height": 399,
30
+ "width": 600,
31
+ "source": "https://fbcdn-sphotos-b-a.akamaihd.net/hphotos-ak-frc1/s600x600/487573_460335614034953_1533120991_n.jpg"
32
+ },
33
+ {
34
+ "height": 319,
35
+ "width": 480,
36
+ "source": "https://fbcdn-sphotos-b-a.akamaihd.net/hphotos-ak-frc1/s480x480/487573_460335614034953_1533120991_n.jpg"
37
+ },
38
+ {
39
+ "height": 212,
40
+ "width": 320,
41
+ "source": "https://fbcdn-sphotos-b-a.akamaihd.net/hphotos-ak-frc1/s320x320/487573_460335614034953_1533120991_n.jpg"
42
+ },
43
+ {
44
+ "height": 119,
45
+ "width": 180,
46
+ "source": "https://fbcdn-photos-b-a.akamaihd.net/hphotos-ak-frc1/487573_460335614034953_1533120991_a.jpg"
47
+ },
48
+ {
49
+ "height": 86,
50
+ "width": 130,
51
+ "source": "https://fbcdn-photos-b-a.akamaihd.net/hphotos-ak-frc1/487573_460335614034953_1533120991_s.jpg"
52
+ },
53
+ {
54
+ "height": 86,
55
+ "width": 130,
56
+ "source": "https://fbcdn-photos-b-a.akamaihd.net/hphotos-ak-frc1/s75x225/487573_460335614034953_1533120991_s.jpg"
57
+ }
58
+ ],
59
+ "link": "https://www.facebook.com/photo.php?fbid=460335614034953&set=a.460333080701873.1073741828.157574337644417&type=1",
60
+ "icon": "https://fbstatic-a.akamaihd.net/rsrc.php/v2/yz/r/StEh3RhPvjk.gif",
61
+ "place": {
62
+ "id": "165409666818436",
63
+ "name": "学術総合センター",
64
+ "location": {
65
+ "street": "一ツ橋2-1-2",
66
+ "city": "Chiyoda-ku",
67
+ "state": "Tokyo",
68
+ "country": "Japan",
69
+ "zip": "101-0003",
70
+ "latitude": 35.692588923754,
71
+ "longitude": 139.75799466433
72
+ }
73
+ },
74
+ "created_time": "2013-03-06T05:45:47+0000",
75
+ "updated_time": "2013-03-06T07:38:41+0000",
76
+ "tags": {
77
+ "data": [
78
+ {
79
+ "id": "579612276",
4
80
  "name": "Nov Matake",
5
- "id": "579612276"
6
- },
7
- "tags": {
8
- "data": [{
9
- "id": "579612276",
10
- "name": "Nov Matake",
11
- "x": 50,
12
- "y": 50,
13
- "created_time": "2011-05-28T03:56:35+0000"
14
- }]
15
- },
16
- "name": "FbGraph Test",
17
- "picture": "https:\/\/fbcdn-photos-a.akamaihd.net\/hphotos-ak-ash4\/216535_10150177635467277_579612276_6476244_4375891_s.jpg",
18
- "source": "https:\/\/fbcdn-sphotos-a.akamaihd.net\/hphotos-ak-ash4\/216535_10150177635467277_579612276_6476244_4375891_n.jpg",
19
- "height": 478,
20
- "width": 478,
21
- "images": [{
22
- "height": 478,
23
- "width": 478,
24
- "source": "https:\/\/fbcdn-sphotos-a.akamaihd.net\/hphotos-ak-ash4\/216535_10150177635467277_579612276_6476244_4375891_n.jpg"
25
- },
26
- {
27
- "height": 180,
28
- "width": 180,
29
- "source": "https:\/\/fbcdn-photos-a.akamaihd.net\/hphotos-ak-ash4\/216535_10150177635467277_579612276_6476244_4375891_a.jpg"
30
- },
31
- {
32
- "height": 130,
33
- "width": 130,
34
- "source": "https:\/\/fbcdn-photos-a.akamaihd.net\/hphotos-ak-ash4\/216535_10150177635467277_579612276_6476244_4375891_s.jpg"
35
- },
36
- {
37
- "height": 75,
38
- "width": 75,
39
- "source": "https:\/\/fbcdn-photos-a.akamaihd.net\/hphotos-ak-ash4\/216535_10150177635467277_579612276_6476244_4375891_t.jpg"
40
- }],
41
- "link": "http:\/\/www.facebook.com\/photo.php?pid=6476244&id=579612276",
42
- "icon": "https:\/\/s-static.ak.facebook.com\/rsrc.php\/v1\/yz\/r\/StEh3RhPvjk.gif",
43
- "created_time": "2011-04-13T14:41:38+0000",
44
- "position": 1,
45
- "updated_time": "2011-04-13T14:41:39+0000"
81
+ "x": 62.413793103448,
82
+ "y": 36.787564766839,
83
+ "created_time": "2013-03-06T11:04:17+0000"
84
+ },
85
+ {
86
+ "id": "100002099550532",
87
+ "name": "Yasuo Okabe",
88
+ "x": 26.896551724138,
89
+ "y": 41.968911917098,
90
+ "created_time": "2013-03-06T11:04:14+0000"
91
+ }
92
+ ],
93
+ "paging": {
94
+ "next": "https://graph.facebook.com/460335614034953/tags?limit=5000&offset=5000&__after_id=100002099550532"
95
+ }
96
+ }
46
97
  }
@@ -0,0 +1,106 @@
1
+ {
2
+ "id": "7901103",
3
+ "name": "Arjun Banker",
4
+ "first_name": "Arjun",
5
+ "last_name": "Banker",
6
+ "link": "http://www.facebook.com/Arjun",
7
+ "about": "daydrea",
8
+ "birthday": "04/15/1984",
9
+ "hometown": "Minnetonka",
10
+ "location": {
11
+ "id": 114952118516947,
12
+ "name": "San Francisco, California"
13
+ },
14
+ "work": [
15
+ {
16
+ "employer": {
17
+ "id": 20531316728,
18
+ "name": "Facebook"
19
+ },
20
+ "location": {
21
+ "id": 104022926303756,
22
+ "name": "Palo Alto, California"
23
+ },
24
+ "position": {
25
+ "id": 107879555911138,
26
+ "name": "Software Engineer"
27
+ },
28
+ "start_date": "2007-11"
29
+ },
30
+ {
31
+ "employer": {
32
+ "id": 113816405300191,
33
+ "name": "Zillow"
34
+ },
35
+ "position": {
36
+ "id": 105918922782444,
37
+ "name": "Business Intelligence Analyst"
38
+ },
39
+ "start_date": "2006-03",
40
+ "end_date": "2007-10"
41
+ },
42
+ {
43
+ "employer": {
44
+ "id": 20528438720,
45
+ "name": "Microsoft"
46
+ },
47
+ "position": {
48
+ "id": 110006949022640,
49
+ "name": "SDET"
50
+ },
51
+ "start_date": "2004-08",
52
+ "end_date": "2006-03"
53
+ },
54
+ {
55
+ "employer": {
56
+ "id": 7706457055,
57
+ "name": "Dell"
58
+ },
59
+ "position": {
60
+ "id": 110344568993267,
61
+ "name": "Programmer Analyst"
62
+ },
63
+ "start_date": "2003-06",
64
+ "end_date": "2004-07"
65
+ }
66
+ ],
67
+ "education": [
68
+ {
69
+ "school": {
70
+ "id": 107922345906866,
71
+ "name": "Texas Academy Of Math And Science"
72
+ },
73
+ "year": {
74
+ "id": 102241906483610,
75
+ "name": "2001"
76
+ }
77
+ },
78
+ {
79
+ "school": {
80
+ "id": 24147741537,
81
+ "name": "The University of Texas at Austin"
82
+ },
83
+ "year": {
84
+ "id": 108077232558120,
85
+ "name": "2003"
86
+ },
87
+ "concentration": [
88
+ {
89
+ "id": 116831821660155,
90
+ "name": "Computer Science"
91
+ }
92
+ ]
93
+ }
94
+ ],
95
+ "gender": "male",
96
+ "interested_in": [
97
+ "female"
98
+ ],
99
+ "meeting_for": [
100
+ "Friendship"
101
+ ],
102
+ "relationship_status": "In a Relationship",
103
+ "religion": "zorp",
104
+ "political": "Liberal",
105
+ "updated_time": "2010-05-29T04:29:23+0000"
106
+ }
metadata CHANGED
@@ -1,83 +1,83 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fb_graph-mock
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - nov matake
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-06-28 00:00:00.000000000 Z
11
+ date: 2014-04-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '>='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - '>='
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: fb_graph
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - '>='
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - '>='
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rspec
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - '>='
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - '>='
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: webmock
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - '>='
59
+ - - ">="
60
60
  - !ruby/object:Gem::Version
61
61
  version: '0'
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - '>='
66
+ - - ">="
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: cover_me
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - '>='
73
+ - - ">="
74
74
  - !ruby/object:Gem::Version
75
75
  version: 1.2.0
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - '>='
80
+ - - ">="
81
81
  - !ruby/object:Gem::Version
82
82
  version: 1.2.0
83
83
  description: FB Graph API mocking
@@ -87,7 +87,7 @@ executables: []
87
87
  extensions: []
88
88
  extra_rdoc_files: []
89
89
  files:
90
- - .gitignore
90
+ - ".gitignore"
91
91
  - Gemfile
92
92
  - LICENSE.txt
93
93
  - README.rdoc
@@ -107,6 +107,8 @@ files:
107
107
  - mock_json/ad_accounts/previews/test_ad_previews.json
108
108
  - mock_json/ad_accounts/reach_estimates/test_reach_estimates.json
109
109
  - mock_json/ad_accounts/test_ad_account.json
110
+ - mock_json/ad_accounts/test_ad_account_id_only.json
111
+ - mock_json/ad_accounts/test_ad_account_with_few_fields.json
110
112
  - mock_json/ad_campaigns/ad_groups/22334455_ad_groups.json
111
113
  - mock_json/ad_campaigns/test_ad_campaign.json
112
114
  - mock_json/ad_campaigns/test_ad_campaign_update_with_redownload.json
@@ -250,6 +252,7 @@ files:
250
252
  - mock_json/users/app_requests/created.json
251
253
  - mock_json/users/app_requests/me_private.json
252
254
  - mock_json/users/arjun_private.json
255
+ - mock_json/users/arjun_private2.json
253
256
  - mock_json/users/arjun_public.json
254
257
  - mock_json/users/books/matake_private.json
255
258
  - mock_json/users/books/matake_public.json
@@ -332,17 +335,17 @@ require_paths:
332
335
  - lib
333
336
  required_ruby_version: !ruby/object:Gem::Requirement
334
337
  requirements:
335
- - - '>='
338
+ - - ">="
336
339
  - !ruby/object:Gem::Version
337
340
  version: '0'
338
341
  required_rubygems_version: !ruby/object:Gem::Requirement
339
342
  requirements:
340
- - - '>='
343
+ - - ">="
341
344
  - !ruby/object:Gem::Version
342
345
  version: '0'
343
346
  requirements: []
344
347
  rubyforge_project:
345
- rubygems_version: 2.0.2
348
+ rubygems_version: 2.2.2
346
349
  signing_key:
347
350
  specification_version: 4
348
351
  summary: Let's share current FB Graph API response format for our FB Graph API related