t 0.9.6 → 0.9.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.md +29 -10
- data/bin/t +4 -25
- data/lib/t/cli.rb +24 -23
- data/lib/t/core_ext/kernel.rb +15 -0
- data/lib/t/core_ext/string.rb +4 -2
- data/lib/t/delete.rb +13 -13
- data/lib/t/format_helpers.rb +62 -0
- data/lib/t/list.rb +4 -4
- data/lib/t/printable.rb +27 -24
- data/lib/t/rcfile.rb +1 -1
- data/lib/t/requestable.rb +0 -4
- data/lib/t/search.rb +10 -11
- data/lib/t/stream.rb +57 -21
- data/lib/t/version.rb +1 -1
- data/lib/t.rb +22 -3
- data/spec/cli_spec.rb +53 -45
- data/spec/fixtures/501_ids.json +509 -1
- data/spec/fixtures/501_users_list.json +17543 -1
- data/spec/fixtures/direct_message.json +80 -1
- data/spec/fixtures/direct_messages.json +802 -1
- data/spec/fixtures/empty_cursor.json +7 -1
- data/spec/fixtures/favorites.json +1099 -1
- data/spec/fixtures/followers_ids.json +10 -1
- data/spec/fixtures/friends_ids.json +9 -1
- data/spec/fixtures/gem.json +61 -1
- data/spec/fixtures/list.json +54 -1
- data/spec/fixtures/lists.json +116 -1
- data/spec/fixtures/locations.json +57 -1
- data/spec/fixtures/not_found.json +4 -1
- data/spec/fixtures/rate_limit_status.json +6 -1
- data/spec/fixtures/recommendations.json +364 -1
- data/spec/fixtures/retweet.json +112 -1
- data/spec/fixtures/search.json +346 -1
- data/spec/fixtures/settings.json +30 -1
- data/spec/fixtures/sferik.json +76 -1
- data/spec/fixtures/status.json +109 -1
- data/spec/fixtures/status_no_attributes.json +104 -1
- data/spec/fixtures/status_no_country.json +102 -1
- data/spec/fixtures/status_no_full_name.json +101 -1
- data/spec/fixtures/status_no_locality.json +107 -1
- data/spec/fixtures/status_no_street_address.json +108 -1
- data/spec/fixtures/statuses.json +1105 -1
- data/spec/fixtures/trends.json +35 -1
- data/spec/fixtures/users.json +92 -1
- data/spec/fixtures/users_list.json +98 -1
- data/spec/list_spec.rb +13 -5
- data/spec/search_spec.rb +110 -102
- data/t.gemspec +1 -2
- metadata +6 -32
@@ -1 +1,80 @@
|
|
1
|
-
{
|
1
|
+
{
|
2
|
+
"sender_screen_name": "sferik",
|
3
|
+
"recipient_screen_name": "pengwynn",
|
4
|
+
"recipient_id": 14100886,
|
5
|
+
"recipient": {
|
6
|
+
"profile_background_tile": false,
|
7
|
+
"profile_sidebar_fill_color": "dddddd",
|
8
|
+
"description": "Christian husband and father. Dev Experience @ HP Cloud Services. Co-host of the @changelogshow. Mashup of design & development.",
|
9
|
+
"friends_count": 1877,
|
10
|
+
"follow_request_sent": false,
|
11
|
+
"notifications": false,
|
12
|
+
"profile_sidebar_border_color": "cccccc",
|
13
|
+
"verified": false,
|
14
|
+
"time_zone": "Central Time (US & Canada)",
|
15
|
+
"favourites_count": 32,
|
16
|
+
"url": "http://wynnnetherland.com",
|
17
|
+
"profile_background_color": "efefef",
|
18
|
+
"listed_count": 184,
|
19
|
+
"lang": "en",
|
20
|
+
"created_at": "Sat Mar 08 16:34:22 +0000 2008",
|
21
|
+
"location": "Dallas, TX",
|
22
|
+
"show_all_inline_media": false,
|
23
|
+
"statuses_count": 3928,
|
24
|
+
"profile_use_background_image": true,
|
25
|
+
"profile_text_color": "666666",
|
26
|
+
"protected": false,
|
27
|
+
"profile_image_url": "http://a2.twimg.com/profile_images/485575482/komikazee_normal.png",
|
28
|
+
"id_str": "14100886",
|
29
|
+
"geo_enabled": true,
|
30
|
+
"name": "Wynn Netherland",
|
31
|
+
"contributors_enabled": false,
|
32
|
+
"following": true,
|
33
|
+
"profile_background_image_url": "http://a1.twimg.com/profile_background_images/61741268/twitter-small.png",
|
34
|
+
"profile_link_color": "35abe9",
|
35
|
+
"screen_name": "pengwynn",
|
36
|
+
"id": 14100886,
|
37
|
+
"utc_offset": -21600,
|
38
|
+
"followers_count": 2767
|
39
|
+
},
|
40
|
+
"created_at": "Tue Oct 26 21:24:23 +0000 2010",
|
41
|
+
"id_str": "1825786345",
|
42
|
+
"sender": {
|
43
|
+
"profile_background_tile": false,
|
44
|
+
"profile_sidebar_fill_color": "DDEEF6",
|
45
|
+
"description": "Adventures in hunger and foolishness.",
|
46
|
+
"friends_count": 88,
|
47
|
+
"follow_request_sent": false,
|
48
|
+
"notifications": false,
|
49
|
+
"profile_sidebar_border_color": "C0DEED",
|
50
|
+
"verified": false,
|
51
|
+
"time_zone": "Pacific Time (US & Canada)",
|
52
|
+
"favourites_count": 729,
|
53
|
+
"url": null,
|
54
|
+
"profile_background_color": "000000",
|
55
|
+
"listed_count": 28,
|
56
|
+
"lang": "en",
|
57
|
+
"created_at": "Mon Jul 16 12:59:01 +0000 2007",
|
58
|
+
"location": "San Francisco",
|
59
|
+
"show_all_inline_media": true,
|
60
|
+
"statuses_count": 2970,
|
61
|
+
"profile_use_background_image": true,
|
62
|
+
"profile_text_color": "333333",
|
63
|
+
"protected": false,
|
64
|
+
"profile_image_url": "http://a0.twimg.com/profile_images/323331048/me_normal.jpg",
|
65
|
+
"id_str": "7505382",
|
66
|
+
"geo_enabled": true,
|
67
|
+
"name": "Erik Michaels-Ober",
|
68
|
+
"contributors_enabled": false,
|
69
|
+
"following": false,
|
70
|
+
"profile_background_image_url": "http://a3.twimg.com/profile_background_images/162641967/we_concept_bg2.png",
|
71
|
+
"profile_link_color": "0084B4",
|
72
|
+
"screen_name": "sferik",
|
73
|
+
"id": 7505382,
|
74
|
+
"utc_offset": -28800,
|
75
|
+
"followers_count": 898
|
76
|
+
},
|
77
|
+
"sender_id": 7505382,
|
78
|
+
"id": 1825786345,
|
79
|
+
"text": "Creating a fixture for the Twitter gem"
|
80
|
+
}
|