social_net 0.1.1 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (44) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +23 -0
  3. data/CHANGELOG.md +5 -1
  4. data/MIT-LICENSE +1 -1
  5. data/README.md +20 -3
  6. data/lib/social_net/instagram/models/user.rb +15 -1
  7. data/lib/social_net/instagram/models/video.rb +17 -0
  8. data/lib/social_net/instagram/models.rb +1 -0
  9. data/lib/social_net/version.rb +1 -1
  10. data/spec/social_net/instagram/models/user_spec.rb +13 -0
  11. data/spec/support/cassettes/Posts/_posts/given_an_existing_case-insensitive_username/returns_an_object_representing_that_user.yml +48 -0
  12. data/spec/support/cassettes/Posts/_posts/given_an_unknown_username/.yml +48 -0
  13. data/spec/support/cassettes/SocialNet_Instagram_Models_User/_posts/given_an_existing_user/returns_an_array_of_posts_from_the_user.yml +883 -0
  14. metadata +9 -31
  15. data/Gemfile.lock +0 -94
  16. data/coverage/.last_run.json +0 -5
  17. data/coverage/.resultset.json +0 -847
  18. data/coverage/.resultset.json.lock +0 -0
  19. data/coverage/assets/0.9.0/application.css +0 -799
  20. data/coverage/assets/0.9.0/application.js +0 -1707
  21. data/coverage/assets/0.9.0/colorbox/border.png +0 -0
  22. data/coverage/assets/0.9.0/colorbox/controls.png +0 -0
  23. data/coverage/assets/0.9.0/colorbox/loading.gif +0 -0
  24. data/coverage/assets/0.9.0/colorbox/loading_background.png +0 -0
  25. data/coverage/assets/0.9.0/favicon_green.png +0 -0
  26. data/coverage/assets/0.9.0/favicon_red.png +0 -0
  27. data/coverage/assets/0.9.0/favicon_yellow.png +0 -0
  28. data/coverage/assets/0.9.0/loading.gif +0 -0
  29. data/coverage/assets/0.9.0/magnify.png +0 -0
  30. data/coverage/assets/0.9.0/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  31. data/coverage/assets/0.9.0/smoothness/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  32. data/coverage/assets/0.9.0/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  33. data/coverage/assets/0.9.0/smoothness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  34. data/coverage/assets/0.9.0/smoothness/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  35. data/coverage/assets/0.9.0/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  36. data/coverage/assets/0.9.0/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  37. data/coverage/assets/0.9.0/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  38. data/coverage/assets/0.9.0/smoothness/images/ui-icons_222222_256x240.png +0 -0
  39. data/coverage/assets/0.9.0/smoothness/images/ui-icons_2e83ff_256x240.png +0 -0
  40. data/coverage/assets/0.9.0/smoothness/images/ui-icons_454545_256x240.png +0 -0
  41. data/coverage/assets/0.9.0/smoothness/images/ui-icons_888888_256x240.png +0 -0
  42. data/coverage/assets/0.9.0/smoothness/images/ui-icons_cd0a0a_256x240.png +0 -0
  43. data/coverage/index.html +0 -5624
  44. data/social_net-0.1.0.gem +0 -0
@@ -1,847 +0,0 @@
1
- {
2
- "RSpec": {
3
- "coverage": {
4
- "/Users/jeremy/projects/social_net/lib/social_net.rb": [
5
- 1,
6
- 1,
7
- 1,
8
- 1,
9
- null,
10
- 1,
11
- null
12
- ],
13
- "/Users/jeremy/projects/social_net/lib/social_net/twitter.rb": [
14
- 1,
15
- 1,
16
- 1,
17
- null,
18
- 1,
19
- 1,
20
- 1,
21
- 1,
22
- 1,
23
- null,
24
- null
25
- ],
26
- "/Users/jeremy/projects/social_net/lib/social_net/twitter/config.rb": [
27
- 1,
28
- null,
29
- 1,
30
- 1,
31
- 1,
32
- 1,
33
- 0,
34
- null,
35
- null,
36
- 1,
37
- 0,
38
- null,
39
- null,
40
- null,
41
- null
42
- ],
43
- "/Users/jeremy/projects/social_net/lib/social_net/twitter/api/configuration.rb": [
44
- 1,
45
- 1,
46
- 1,
47
- 1,
48
- 1,
49
- null,
50
- 1,
51
- 0,
52
- 0,
53
- 0,
54
- 0,
55
- null,
56
- null,
57
- null,
58
- null,
59
- null
60
- ],
61
- "/Users/jeremy/projects/social_net/lib/social_net/twitter/errors.rb": [
62
- 1,
63
- 1,
64
- 1,
65
- 1
66
- ],
67
- "/Users/jeremy/projects/social_net/lib/social_net/twitter/errors/response_error.rb": [
68
- 1,
69
- 1,
70
- 1,
71
- 1,
72
- 1,
73
- null,
74
- 1,
75
- 0,
76
- 0,
77
- null,
78
- null,
79
- null,
80
- null,
81
- null
82
- ],
83
- "/Users/jeremy/projects/social_net/lib/social_net/twitter/errors/suspended_user.rb": [
84
- 1,
85
- 1,
86
- 1,
87
- 1,
88
- 1,
89
- 0,
90
- null,
91
- null,
92
- null,
93
- null,
94
- null
95
- ],
96
- "/Users/jeremy/projects/social_net/lib/social_net/twitter/errors/too_many_users.rb": [
97
- 1,
98
- 1,
99
- 1,
100
- 1,
101
- 1,
102
- 0,
103
- null,
104
- null,
105
- null,
106
- null,
107
- null
108
- ],
109
- "/Users/jeremy/projects/social_net/lib/social_net/twitter/errors/unknown_user.rb": [
110
- 1,
111
- 1,
112
- 1,
113
- 1,
114
- 1,
115
- 0,
116
- null,
117
- null,
118
- null,
119
- null,
120
- null
121
- ],
122
- "/Users/jeremy/projects/social_net/lib/social_net/twitter/models.rb": [
123
- 1
124
- ],
125
- "/Users/jeremy/projects/social_net/lib/social_net/twitter/models/user.rb": [
126
- 1,
127
- 1,
128
- null,
129
- 1,
130
- 1,
131
- 1,
132
- 1,
133
- 1,
134
- null,
135
- 1,
136
- 0,
137
- 0,
138
- null,
139
- null,
140
- null,
141
- null,
142
- null,
143
- null,
144
- null,
145
- null,
146
- null,
147
- null,
148
- 1,
149
- 0,
150
- null,
151
- 0,
152
- null,
153
- null,
154
- null,
155
- null,
156
- null,
157
- null,
158
- null,
159
- null,
160
- null,
161
- null,
162
- null,
163
- 1,
164
- 0,
165
- 0,
166
- 0,
167
- null,
168
- 0,
169
- 0,
170
- 0,
171
- null,
172
- null,
173
- null,
174
- null,
175
- null,
176
- null,
177
- null,
178
- null,
179
- null,
180
- null,
181
- null,
182
- null,
183
- null,
184
- 1,
185
- 0,
186
- 0,
187
- 0,
188
- 0,
189
- null,
190
- 0,
191
- 0,
192
- 0,
193
- null,
194
- null,
195
- null,
196
- 1,
197
- null,
198
- 1,
199
- 0,
200
- 0,
201
- null,
202
- null,
203
- null,
204
- null,
205
- null,
206
- null
207
- ],
208
- "/Users/jeremy/projects/social_net/lib/social_net/twitter/api/request.rb": [
209
- 1,
210
- 1,
211
- 1,
212
- null,
213
- 1,
214
- 1,
215
- 1,
216
- 1,
217
- 1,
218
- 0,
219
- 0,
220
- 0,
221
- 0,
222
- 0,
223
- null,
224
- null,
225
- 1,
226
- null,
227
- null,
228
- 0,
229
- null,
230
- 0,
231
- null,
232
- 0,
233
- 0,
234
- null,
235
- 0,
236
- null,
237
- null,
238
- null,
239
- 1,
240
- null,
241
- 1,
242
- 0,
243
- 0,
244
- null,
245
- null,
246
- null,
247
- 1,
248
- 0,
249
- null,
250
- 0,
251
- 0,
252
- null,
253
- null,
254
- 1,
255
- 0,
256
- null,
257
- null,
258
- 1,
259
- 0,
260
- null,
261
- null,
262
- 1,
263
- 0,
264
- null,
265
- null,
266
- 1,
267
- 0,
268
- 0,
269
- 0,
270
- 0,
271
- 0,
272
- null,
273
- null,
274
- null,
275
- null,
276
- 1,
277
- 0,
278
- 0,
279
- 0,
280
- null,
281
- null,
282
- 1,
283
- 0,
284
- 0,
285
- null,
286
- null,
287
- 1,
288
- 0,
289
- 0,
290
- null,
291
- 0,
292
- null,
293
- null,
294
- 1,
295
- 0,
296
- 0,
297
- 0,
298
- 0,
299
- 0,
300
- 0,
301
- 0,
302
- null,
303
- null,
304
- null,
305
- 1,
306
- 0,
307
- 0,
308
- null,
309
- null,
310
- 1,
311
- null,
312
- 0,
313
- 0,
314
- null,
315
- null,
316
- 1,
317
- 0,
318
- 0,
319
- 0,
320
- 0,
321
- null,
322
- 0,
323
- 0,
324
- null,
325
- null,
326
- null,
327
- null,
328
- null,
329
- null
330
- ],
331
- "/Users/jeremy/projects/social_net/lib/social_net/instagram.rb": [
332
- 1,
333
- 1,
334
- null,
335
- 1,
336
- 1,
337
- 1,
338
- 1,
339
- 1,
340
- null,
341
- null
342
- ],
343
- "/Users/jeremy/projects/social_net/lib/social_net/instagram/config.rb": [
344
- 1,
345
- null,
346
- 1,
347
- 1,
348
- 1,
349
- 1,
350
- 1,
351
- null,
352
- null,
353
- 1,
354
- 13,
355
- null,
356
- null,
357
- null,
358
- null,
359
- null
360
- ],
361
- "/Users/jeremy/projects/social_net/lib/social_net/instagram/api/configuration.rb": [
362
- 1,
363
- 1,
364
- 1,
365
- 1,
366
- 1,
367
- null,
368
- 1,
369
- 1,
370
- null,
371
- null,
372
- null,
373
- null,
374
- null
375
- ],
376
- "/Users/jeremy/projects/social_net/lib/social_net/instagram/models.rb": [
377
- 1
378
- ],
379
- "/Users/jeremy/projects/social_net/lib/social_net/instagram/models/user.rb": [
380
- 1,
381
- 1,
382
- null,
383
- 1,
384
- 1,
385
- 1,
386
- 1,
387
- 1,
388
- null,
389
- 1,
390
- 2,
391
- 2,
392
- null,
393
- null,
394
- null,
395
- null,
396
- null,
397
- null,
398
- null,
399
- null,
400
- null,
401
- null,
402
- 1,
403
- 2,
404
- null,
405
- 1,
406
- null,
407
- null,
408
- null,
409
- null,
410
- null,
411
- null,
412
- null,
413
- null,
414
- null,
415
- null,
416
- null,
417
- null,
418
- 1,
419
- 4,
420
- 4,
421
- 0,
422
- 0,
423
- null,
424
- null,
425
- null,
426
- 1,
427
- null,
428
- 1,
429
- 4,
430
- 4,
431
- 6,
432
- 2,
433
- null,
434
- 2,
435
- null,
436
- null,
437
- null,
438
- 1,
439
- 2,
440
- 2,
441
- null,
442
- 0,
443
- 0,
444
- null,
445
- null,
446
- null,
447
- null,
448
- null,
449
- null
450
- ],
451
- "/Users/jeremy/projects/social_net/lib/social_net/instagram/api/request.rb": [
452
- 1,
453
- 1,
454
- 1,
455
- 1,
456
- null,
457
- 1,
458
- 1,
459
- 1,
460
- 1,
461
- 1,
462
- 6,
463
- 6,
464
- 6,
465
- 6,
466
- null,
467
- null,
468
- 1,
469
- null,
470
- 6,
471
- null,
472
- 6,
473
- null,
474
- 0,
475
- null,
476
- null,
477
- null,
478
- 1,
479
- 1,
480
- 6,
481
- 6,
482
- null,
483
- null,
484
- null,
485
- 1,
486
- 6,
487
- 6,
488
- null,
489
- null,
490
- 1,
491
- 18,
492
- null,
493
- null,
494
- 1,
495
- null,
496
- 6,
497
- 6,
498
- 6,
499
- null,
500
- null,
501
- 1,
502
- 0,
503
- 0,
504
- 0,
505
- 0,
506
- null,
507
- 0,
508
- 0,
509
- null,
510
- null,
511
- null,
512
- null,
513
- null,
514
- null
515
- ],
516
- "/Users/jeremy/projects/social_net/lib/social_net/instagram/errors/response_error.rb": [
517
- 1,
518
- 1,
519
- 1,
520
- 1,
521
- 1,
522
- null,
523
- 1,
524
- 0,
525
- 0,
526
- null,
527
- null,
528
- null,
529
- null,
530
- null
531
- ],
532
- "/Users/jeremy/projects/social_net/lib/social_net/instagram/errors/unknown_user.rb": [
533
- 1,
534
- 1,
535
- 1,
536
- 1,
537
- 1,
538
- 0,
539
- null,
540
- null,
541
- null,
542
- null,
543
- null
544
- ],
545
- "/Users/jeremy/projects/social_net/lib/social_net/instagram/errors.rb": [
546
- 1,
547
- 1
548
- ],
549
- "/Users/jeremy/projects/social_net/lib/social_net/facebook.rb": [
550
- 1,
551
- 1,
552
- 1,
553
- null,
554
- 1,
555
- 1,
556
- 1,
557
- 1,
558
- 1,
559
- null,
560
- null
561
- ],
562
- "/Users/jeremy/projects/social_net/lib/social_net/facebook/config.rb": [
563
- 1,
564
- null,
565
- 1,
566
- 1,
567
- 1,
568
- 1,
569
- 0,
570
- null,
571
- null,
572
- 1,
573
- 0,
574
- null,
575
- null,
576
- null,
577
- null,
578
- null
579
- ],
580
- "/Users/jeremy/projects/social_net/lib/social_net/facebook/api/configuration.rb": [
581
- 1,
582
- 1,
583
- 1,
584
- 1,
585
- 1,
586
- null,
587
- 1,
588
- 0,
589
- 0,
590
- null,
591
- null,
592
- null,
593
- null,
594
- null
595
- ],
596
- "/Users/jeremy/projects/social_net/lib/social_net/facebook/models.rb": [
597
- 1,
598
- 1
599
- ],
600
- "/Users/jeremy/projects/social_net/lib/social_net/facebook/models/page.rb": [
601
- 1,
602
- 1,
603
- null,
604
- 1,
605
- 1,
606
- 1,
607
- 1,
608
- 1,
609
- null,
610
- 1,
611
- 0,
612
- 0,
613
- null,
614
- null,
615
- null,
616
- null,
617
- null,
618
- null,
619
- null,
620
- null,
621
- null,
622
- null,
623
- null,
624
- 1,
625
- 0,
626
- null,
627
- 0,
628
- null,
629
- null,
630
- null,
631
- null,
632
- null,
633
- null,
634
- null,
635
- null,
636
- null,
637
- null,
638
- 1,
639
- 0,
640
- 0,
641
- null,
642
- 0,
643
- 0,
644
- null,
645
- null,
646
- null,
647
- null,
648
- null,
649
- null
650
- ],
651
- "/Users/jeremy/projects/social_net/lib/social_net/facebook/api/request.rb": [
652
- 1,
653
- 1,
654
- 1,
655
- null,
656
- 1,
657
- 1,
658
- 1,
659
- 1,
660
- 1,
661
- 0,
662
- 0,
663
- 0,
664
- 0,
665
- 0,
666
- null,
667
- null,
668
- 1,
669
- null,
670
- 0,
671
- null,
672
- 0,
673
- null,
674
- 0,
675
- null,
676
- null,
677
- null,
678
- 1,
679
- 1,
680
- 0,
681
- 0,
682
- null,
683
- null,
684
- null,
685
- 1,
686
- 0,
687
- 0,
688
- null,
689
- null,
690
- 1,
691
- 0,
692
- null,
693
- null,
694
- 1,
695
- 0,
696
- null,
697
- null,
698
- 1,
699
- null,
700
- 0,
701
- 0,
702
- null,
703
- null,
704
- 1,
705
- 0,
706
- 0,
707
- 0,
708
- 0,
709
- null,
710
- 0,
711
- 0,
712
- null,
713
- null,
714
- null,
715
- null,
716
- null,
717
- null
718
- ],
719
- "/Users/jeremy/projects/social_net/lib/social_net/facebook/errors/response_error.rb": [
720
- 1,
721
- 1,
722
- 1,
723
- 1,
724
- 1,
725
- null,
726
- 1,
727
- 0,
728
- 0,
729
- null,
730
- null,
731
- null,
732
- null,
733
- null
734
- ],
735
- "/Users/jeremy/projects/social_net/lib/social_net/facebook/errors.rb": [
736
- 1,
737
- 1
738
- ],
739
- "/Users/jeremy/projects/social_net/lib/social_net/facebook/errors/unknown_user.rb": [
740
- 1,
741
- 1,
742
- 1,
743
- 1,
744
- 1,
745
- 0,
746
- null,
747
- null,
748
- null,
749
- null,
750
- null
751
- ],
752
- "/Users/jeremy/projects/social_net/lib/social_net/facebook/models/user.rb": [
753
- 1,
754
- 1,
755
- null,
756
- 1,
757
- 1,
758
- 1,
759
- 1,
760
- 1,
761
- null,
762
- 1,
763
- 0,
764
- 0,
765
- 0,
766
- 0,
767
- 0,
768
- 0,
769
- null,
770
- null,
771
- 1,
772
- 0,
773
- 0,
774
- 0,
775
- null,
776
- null,
777
- null,
778
- null,
779
- null,
780
- null,
781
- null,
782
- null,
783
- null,
784
- null,
785
- null,
786
- null,
787
- 1,
788
- 0,
789
- null,
790
- 0,
791
- null,
792
- null,
793
- null,
794
- null,
795
- null,
796
- null,
797
- null,
798
- null,
799
- null,
800
- null,
801
- null,
802
- null,
803
- 1,
804
- 0,
805
- 0,
806
- 0,
807
- null,
808
- 0,
809
- null,
810
- null,
811
- 0,
812
- 0,
813
- null,
814
- null,
815
- null,
816
- null,
817
- null,
818
- null
819
- ],
820
- "/Users/jeremy/projects/social_net/spec/support/vcr.rb": [
821
- 1,
822
- 1,
823
- null,
824
- 1,
825
- 1,
826
- 1,
827
- 1,
828
- 7,
829
- 1,
830
- 6,
831
- 0,
832
- null,
833
- 6,
834
- null,
835
- null,
836
- 1,
837
- 6,
838
- 0,
839
- null,
840
- null,
841
- 1,
842
- null
843
- ]
844
- },
845
- "timestamp": 1489449485
846
- }
847
- }