t 0.9.6 → 0.9.7
Sign up to get free protection for your applications and to get access to all the features.
- 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,364 @@
|
|
1
|
-
[{"user":{"time_zone":"Eastern Time (US & Canada)","protected":false,"default_profile":true,"profile_use_background_image":true,"name":"John Trupiano","contributors_enabled":false,"created_at":"Sun May 11 19:46:06 +0000 2008","profile_background_color":"C0DEED","listed_count":99,"profile_background_image_url":"http:\/\/a0.twimg.com\/images\/themes\/theme1\/bg.png","utc_offset":-18000,"description":"Owner of @smartlogic. I tweet a mixed stream of incoherence and inside jokes. My tweets make me laugh; your mileage will vary.","verified":false,"profile_image_url":"http:\/\/a2.twimg.com\/profile_images\/627637055\/thumb_gravatar_normal.jpg","id_str":"14736332","lang":"en","profile_background_image_url_https":"https:\/\/si0.twimg.com\/images\/themes\/theme1\/bg.png","favourites_count":117,"profile_text_color":"333333","status":{"truncated":false,"created_at":"Sat Aug 20 03:27:22 +0000 2011","geo":null,"in_reply_to_user_id":null,"in_reply_to_status_id":null,"favorited":false,"in_reply_to_status_id_str":null,"coordinates":null,"id_str":"104756380472324096","in_reply_to_screen_name":null,"in_reply_to_user_id_str":null,"place":null,"contributors":null,"retweeted":false,"retweet_count":0,"source":"\u003Ca href=\"http:\/\/twitter.com\/#!\/download\/iphone\" rel=\"nofollow\"\u003ETwitter for iPhone\u003C\/a\u003E","id":104756380472324096,"text":"Jimmy Johns: the best place to go right after getting pepper sprayed."},"friends_count":545,"profile_sidebar_fill_color":"DDEEF6","profile_image_url_https":"https:\/\/si0.twimg.com\/profile_images\/627637055\/thumb_gravatar_normal.jpg","screen_name":"jtrupiano","default_profile_image":false,"show_all_inline_media":false,"geo_enabled":false,"profile_background_tile":false,"location":"Baltimore, MD","notifications":null,"is_translator":false,"profile_link_color":"0084B4","url":"http:\/\/smartlogicsolutions.com\/john","id":14736332,"follow_request_sent":null,"statuses_count":3850,"following":null,"profile_sidebar_border_color":"C0DEED","followers_count":802},"token":"1"},{"user":{"follow_request_sent":false,"time_zone":"Pacific Time (US & Canada)","protected":false,"profile_use_background_image":true,"name":"Matt Laroche","created_at":"Sun Apr 20 12:05:38 +0000 2008","profile_background_color":"C6E2EE","show_all_inline_media":false,"contributors_enabled":false,"geo_enabled":true,"profile_background_image_url":"http:\/\/a1.twimg.com\/images\/themes\/theme2\/bg.gif","utc_offset":-28800,"description":"Software engineer, beer advocate, Palo Altan, husband.","listed_count":20,"verified":false,"profile_image_url":"http:\/\/a3.twimg.com\/profile_images\/1255024245\/banana_reasonably_small_normal.jpg","id_str":"14451152","lang":"en","favourites_count":10,"profile_text_color":"663B12","status":{"truncated":false,"created_at":"Sun Aug 21 20:59:41 +0000 2011","geo":{"type":"Point","coordinates":[33.8043296,-117.9226607]},"in_reply_to_user_id":20113974,"in_reply_to_status_id":105382259623854081,"favorited":false,"in_reply_to_status_id_str":"105382259623854081","coordinates":{"type":"Point","coordinates":[-117.9226607,33.8043296]},"id_str":"105383592376537088","in_reply_to_screen_name":"chasesterling","in_reply_to_user_id_str":"20113974","place":{"country_code":"US","name":"Anaheim","attributes":{},"full_name":"Anaheim, CA","place_type":"city","country":"United States","bounding_box":{"type":"Polygon","coordinates":[[[-118.017597,33.788835],[-117.674604,33.788835],[-117.674604,33.881456],[-118.017597,33.881456]]]},"id":"0c2e6999105f8070","url":"http:\/\/api.twitter.com\/1\/geo\/id\/0c2e6999105f8070.json"},"contributors":null,"retweeted":false,"retweet_count":0,"source":"\u003Ca href=\"http:\/\/twitter.com\/download\/android\" rel=\"nofollow\"\u003ETwitter for Android\u003C\/a\u003E","id":105383592376537088,"text":"@chasesterling sadly in a fake vending machine at the Monsters Inc ride at Disney's California Adventure."},"statuses_count":6251,"profile_background_image_url_https":"https:\/\/si0.twimg.com\/images\/themes\/theme2\/bg.gif","profile_sidebar_fill_color":"DAECF4","screen_name":"mlroach","profile_background_tile":false,"friends_count":403,"profile_image_url_https":"https:\/\/si0.twimg.com\/profile_images\/1255024245\/banana_reasonably_small_normal.jpg","location":"Palo Alto, California","default_profile_image":false,"notifications":false,"default_profile":false,"profile_link_color":"1F98C7","url":null,"id":14451152,"is_translator":false,"following":false,"profile_sidebar_border_color":"C6E2EE","followers_count":299},"token":"21"},{"user":{"follow_request_sent":false,"statuses_count":183,"time_zone":"Greenland","protected":false,"profile_use_background_image":true,"profile_background_image_url_https":"https:\/\/si0.twimg.com\/profile_background_images\/121725893\/3136259685_ed14d06774.jpg","name":"AntonioPires","created_at":"Sat May 16 18:24:33 +0000 2009","profile_background_color":"000000","profile_background_image_url":"http:\/\/a0.twimg.com\/profile_background_images\/121725893\/3136259685_ed14d06774.jpg","utc_offset":-10800,"description":"","listed_count":2,"contributors_enabled":false,"verified":false,"geo_enabled":true,"profile_image_url":"http:\/\/a2.twimg.com\/profile_images\/1067377349\/s_normal.jpg","id_str":"40514587","lang":"en","favourites_count":2,"profile_text_color":"828282","status":{"truncated":false,"created_at":"Mon Jun 13 16:27:31 +0000 2011","geo":null,"in_reply_to_user_id":null,"in_reply_to_status_id":null,"favorited":false,"possibly_sensitive":false,"in_reply_to_status_id_str":null,"coordinates":null,"id_str":"80310340704931840","in_reply_to_screen_name":null,"in_reply_to_user_id_str":null,"place":null,"contributors":null,"retweeted":false,"retweet_count":0,"source":"web","id":80310340704931840,"text":"Estou concorrendo a 1 ingresso do Alexandre Wollner no Rio \u2013 http:\/\/t.co\/QlJZUqF Siga @design_blog e @pensoeventos e d\u00ea RT!"},"show_all_inline_media":false,"profile_sidebar_fill_color":"1c1c1c","screen_name":"antpires","profile_background_tile":false,"location":"Rio","default_profile_image":false,"notifications":false,"profile_image_url_https":"https:\/\/si0.twimg.com\/profile_images\/1067377349\/s_normal.jpg","friends_count":198,"profile_link_color":"e86f6f","url":"http:\/\/antpires.carbonmade.com","id":40514587,"is_translator":false,"default_profile":false,"following":false,"profile_sidebar_border_color":"000000","followers_count":158},"token":"14"},{"user":{"time_zone":"London","protected":false,"follow_request_sent":false,"profile_use_background_image":true,"name":"Alex MacCaw","created_at":"Fri Mar 23 12:36:14 +0000 2007","profile_background_color":"9ae4e8","contributors_enabled":false,"profile_background_image_url":"http:\/\/a0.twimg.com\/images\/themes\/theme1\/bg.png","utc_offset":0,"description":"Ruby\/JavaScript developer, O'Reilly author and entrepreneur. ","default_profile":false,"verified":false,"profile_image_url":"http:\/\/a1.twimg.com\/profile_images\/1081483457\/Gravatar_for_info_eribium_normal.jpeg","id_str":"2006261","listed_count":171,"lang":"en","favourites_count":9,"profile_text_color":"000000","status":{"truncated":false,"created_at":"Sun Aug 21 23:54:01 +0000 2011","geo":null,"in_reply_to_user_id":null,"in_reply_to_status_id":null,"favorited":false,"possibly_sensitive":false,"in_reply_to_status_id_str":null,"coordinates":null,"id_str":"105427467593981952","in_reply_to_screen_name":null,"in_reply_to_user_id_str":null,"place":null,"contributors":null,"retweeted":false,"retweet_count":0,"source":"\u003Ca href=\"http:\/\/twitter.com\/tweetbutton\" rel=\"nofollow\"\u003ETweet Button\u003C\/a\u003E","id":105427467593981952,"text":"Visualizing WebKit's hardware acceleration http:\/\/t.co\/nX5pvPl via @thomasfuchs"},"profile_sidebar_fill_color":"e0ff92","screen_name":"maccman","show_all_inline_media":false,"geo_enabled":true,"profile_background_tile":false,"location":"London","notifications":false,"is_translator":false,"default_profile_image":false,"profile_background_image_url_https":"https:\/\/si0.twimg.com\/images\/themes\/theme1\/bg.png","profile_link_color":"0000ff","url":"http:\/\/alexmaccaw.co.uk","id":2006261,"statuses_count":4497,"following":false,"friends_count":967,"profile_sidebar_border_color":"87bc44","followers_count":2028,"profile_image_url_https":"https:\/\/si0.twimg.com\/profile_images\/1081483457\/Gravatar_for_info_eribium_normal.jpeg"},"token":"11"},{"user":{"follow_request_sent":false,"statuses_count":24,"time_zone":"Pacific Time (US & Canada)","protected":false,"profile_use_background_image":true,"profile_background_image_url_https":"https:\/\/si0.twimg.com\/images\/themes\/theme1\/bg.png","name":"stuntmann82","created_at":"Sat Aug 30 08:22:57 +0000 2008","profile_background_color":"C0DEED","profile_background_image_url":"http:\/\/a0.twimg.com\/images\/themes\/theme1\/bg.png","utc_offset":-28800,"description":"","listed_count":1,"contributors_enabled":false,"verified":false,"geo_enabled":false,"profile_image_url":"http:\/\/a1.twimg.com\/profile_images\/249396146\/images_normal.jpg","id_str":"16052754","lang":"en","favourites_count":0,"profile_text_color":"333333","status":{"truncated":false,"created_at":"Wed Nov 25 06:20:05 +0000 2009","geo":null,"in_reply_to_user_id":2889221,"in_reply_to_status_id":null,"favorited":false,"in_reply_to_status_id_str":null,"coordinates":null,"id_str":"6042752864","in_reply_to_screen_name":"vitaminjeff","in_reply_to_user_id_str":"2889221","place":null,"contributors":null,"retweeted":false,"retweet_count":0,"source":"\u003Ca href=\"http:\/\/www.tweetdeck.com\/\" rel=\"nofollow\"\u003ETweetDeck\u003C\/a\u003E","id":6042752864,"text":"@vitaminjeff Sup bro!"},"show_all_inline_media":false,"profile_sidebar_fill_color":"DDEEF6","screen_name":"stuntmann82","profile_background_tile":false,"location":"","default_profile_image":false,"notifications":false,"profile_image_url_https":"https:\/\/si0.twimg.com\/profile_images\/249396146\/images_normal.jpg","friends_count":5,"profile_link_color":"0084B4","url":null,"id":16052754,"is_translator":false,"default_profile":true,"following":false,"profile_sidebar_border_color":"C0DEED","followers_count":42},"token":"14"}]
|
1
|
+
[
|
2
|
+
{
|
3
|
+
"user": {
|
4
|
+
"time_zone": "Eastern Time (US & Canada)",
|
5
|
+
"protected": false,
|
6
|
+
"default_profile": true,
|
7
|
+
"profile_use_background_image": true,
|
8
|
+
"name": "John Trupiano",
|
9
|
+
"contributors_enabled": false,
|
10
|
+
"created_at": "Sun May 11 19:46:06 +0000 2008",
|
11
|
+
"profile_background_color": "C0DEED",
|
12
|
+
"listed_count": 99,
|
13
|
+
"profile_background_image_url": "http://a0.twimg.com/images/themes/theme1/bg.png",
|
14
|
+
"utc_offset": -18000,
|
15
|
+
"description": "Owner of @smartlogic. I tweet a mixed stream of incoherence and inside jokes. My tweets make me laugh; your mileage will vary.",
|
16
|
+
"verified": false,
|
17
|
+
"profile_image_url": "http://a2.twimg.com/profile_images/627637055/thumb_gravatar_normal.jpg",
|
18
|
+
"id_str": "14736332",
|
19
|
+
"lang": "en",
|
20
|
+
"profile_background_image_url_https": "https://si0.twimg.com/images/themes/theme1/bg.png",
|
21
|
+
"favourites_count": 117,
|
22
|
+
"profile_text_color": "333333",
|
23
|
+
"status": {
|
24
|
+
"truncated": false,
|
25
|
+
"created_at": "Sat Aug 20 03:27:22 +0000 2011",
|
26
|
+
"geo": null,
|
27
|
+
"in_reply_to_user_id": null,
|
28
|
+
"in_reply_to_status_id": null,
|
29
|
+
"favorited": false,
|
30
|
+
"in_reply_to_status_id_str": null,
|
31
|
+
"coordinates": null,
|
32
|
+
"id_str": "104756380472324096",
|
33
|
+
"in_reply_to_screen_name": null,
|
34
|
+
"in_reply_to_user_id_str": null,
|
35
|
+
"place": null,
|
36
|
+
"contributors": null,
|
37
|
+
"retweeted": false,
|
38
|
+
"retweet_count": 0,
|
39
|
+
"source": "<a href=\"http://twitter.com/#!/download/iphone\" rel=\"nofollow\">Twitter for iPhone</a>",
|
40
|
+
"id": 104756380472324096,
|
41
|
+
"text": "Jimmy Johns: the best place to go right after getting pepper sprayed."
|
42
|
+
},
|
43
|
+
"friends_count": 545,
|
44
|
+
"profile_sidebar_fill_color": "DDEEF6",
|
45
|
+
"profile_image_url_https": "https://si0.twimg.com/profile_images/627637055/thumb_gravatar_normal.jpg",
|
46
|
+
"screen_name": "jtrupiano",
|
47
|
+
"default_profile_image": false,
|
48
|
+
"show_all_inline_media": false,
|
49
|
+
"geo_enabled": false,
|
50
|
+
"profile_background_tile": false,
|
51
|
+
"location": "Baltimore, MD",
|
52
|
+
"notifications": null,
|
53
|
+
"is_translator": false,
|
54
|
+
"profile_link_color": "0084B4",
|
55
|
+
"url": "http://smartlogicsolutions.com/john",
|
56
|
+
"id": 14736332,
|
57
|
+
"follow_request_sent": null,
|
58
|
+
"statuses_count": 3850,
|
59
|
+
"following": null,
|
60
|
+
"profile_sidebar_border_color": "C0DEED",
|
61
|
+
"followers_count": 802
|
62
|
+
},
|
63
|
+
"token": "1"
|
64
|
+
},
|
65
|
+
{
|
66
|
+
"user": {
|
67
|
+
"follow_request_sent": false,
|
68
|
+
"time_zone": "Pacific Time (US & Canada)",
|
69
|
+
"protected": false,
|
70
|
+
"profile_use_background_image": true,
|
71
|
+
"name": "Matt Laroche",
|
72
|
+
"created_at": "Sun Apr 20 12:05:38 +0000 2008",
|
73
|
+
"profile_background_color": "C6E2EE",
|
74
|
+
"show_all_inline_media": false,
|
75
|
+
"contributors_enabled": false,
|
76
|
+
"geo_enabled": true,
|
77
|
+
"profile_background_image_url": "http://a1.twimg.com/images/themes/theme2/bg.gif",
|
78
|
+
"utc_offset": -28800,
|
79
|
+
"description": "Software engineer, beer advocate, Palo Altan, husband.",
|
80
|
+
"listed_count": 20,
|
81
|
+
"verified": false,
|
82
|
+
"profile_image_url": "http://a3.twimg.com/profile_images/1255024245/banana_reasonably_small_normal.jpg",
|
83
|
+
"id_str": "14451152",
|
84
|
+
"lang": "en",
|
85
|
+
"favourites_count": 10,
|
86
|
+
"profile_text_color": "663B12",
|
87
|
+
"status": {
|
88
|
+
"truncated": false,
|
89
|
+
"created_at": "Sun Aug 21 20:59:41 +0000 2011",
|
90
|
+
"geo": {
|
91
|
+
"type": "Point",
|
92
|
+
"coordinates": [
|
93
|
+
33.8043296,
|
94
|
+
-117.9226607
|
95
|
+
]
|
96
|
+
},
|
97
|
+
"in_reply_to_user_id": 20113974,
|
98
|
+
"in_reply_to_status_id": 105382259623854081,
|
99
|
+
"favorited": false,
|
100
|
+
"in_reply_to_status_id_str": "105382259623854081",
|
101
|
+
"coordinates": {
|
102
|
+
"type": "Point",
|
103
|
+
"coordinates": [
|
104
|
+
-117.9226607,
|
105
|
+
33.8043296
|
106
|
+
]
|
107
|
+
},
|
108
|
+
"id_str": "105383592376537088",
|
109
|
+
"in_reply_to_screen_name": "chasesterling",
|
110
|
+
"in_reply_to_user_id_str": "20113974",
|
111
|
+
"place": {
|
112
|
+
"country_code": "US",
|
113
|
+
"name": "Anaheim",
|
114
|
+
"attributes": {
|
115
|
+
},
|
116
|
+
"full_name": "Anaheim, CA",
|
117
|
+
"place_type": "city",
|
118
|
+
"country": "United States",
|
119
|
+
"bounding_box": {
|
120
|
+
"type": "Polygon",
|
121
|
+
"coordinates": [
|
122
|
+
[
|
123
|
+
[
|
124
|
+
-118.017597,
|
125
|
+
33.788835
|
126
|
+
],
|
127
|
+
[
|
128
|
+
-117.674604,
|
129
|
+
33.788835
|
130
|
+
],
|
131
|
+
[
|
132
|
+
-117.674604,
|
133
|
+
33.881456
|
134
|
+
],
|
135
|
+
[
|
136
|
+
-118.017597,
|
137
|
+
33.881456
|
138
|
+
]
|
139
|
+
]
|
140
|
+
]
|
141
|
+
},
|
142
|
+
"id": "0c2e6999105f8070",
|
143
|
+
"url": "http://api.twitter.com/1/geo/id/0c2e6999105f8070.json"
|
144
|
+
},
|
145
|
+
"contributors": null,
|
146
|
+
"retweeted": false,
|
147
|
+
"retweet_count": 0,
|
148
|
+
"source": "<a href=\"http://twitter.com/download/android\" rel=\"nofollow\">Twitter for Android</a>",
|
149
|
+
"id": 105383592376537088,
|
150
|
+
"text": "@chasesterling sadly in a fake vending machine at the Monsters Inc ride at Disney's California Adventure."
|
151
|
+
},
|
152
|
+
"statuses_count": 6251,
|
153
|
+
"profile_background_image_url_https": "https://si0.twimg.com/images/themes/theme2/bg.gif",
|
154
|
+
"profile_sidebar_fill_color": "DAECF4",
|
155
|
+
"screen_name": "mlroach",
|
156
|
+
"profile_background_tile": false,
|
157
|
+
"friends_count": 403,
|
158
|
+
"profile_image_url_https": "https://si0.twimg.com/profile_images/1255024245/banana_reasonably_small_normal.jpg",
|
159
|
+
"location": "Palo Alto, California",
|
160
|
+
"default_profile_image": false,
|
161
|
+
"notifications": false,
|
162
|
+
"default_profile": false,
|
163
|
+
"profile_link_color": "1F98C7",
|
164
|
+
"url": null,
|
165
|
+
"id": 14451152,
|
166
|
+
"is_translator": false,
|
167
|
+
"following": false,
|
168
|
+
"profile_sidebar_border_color": "C6E2EE",
|
169
|
+
"followers_count": 299
|
170
|
+
},
|
171
|
+
"token": "21"
|
172
|
+
},
|
173
|
+
{
|
174
|
+
"user": {
|
175
|
+
"follow_request_sent": false,
|
176
|
+
"statuses_count": 183,
|
177
|
+
"time_zone": "Greenland",
|
178
|
+
"protected": false,
|
179
|
+
"profile_use_background_image": true,
|
180
|
+
"profile_background_image_url_https": "https://si0.twimg.com/profile_background_images/121725893/3136259685_ed14d06774.jpg",
|
181
|
+
"name": "AntonioPires",
|
182
|
+
"created_at": "Sat May 16 18:24:33 +0000 2009",
|
183
|
+
"profile_background_color": "000000",
|
184
|
+
"profile_background_image_url": "http://a0.twimg.com/profile_background_images/121725893/3136259685_ed14d06774.jpg",
|
185
|
+
"utc_offset": -10800,
|
186
|
+
"description": "",
|
187
|
+
"listed_count": 2,
|
188
|
+
"contributors_enabled": false,
|
189
|
+
"verified": false,
|
190
|
+
"geo_enabled": true,
|
191
|
+
"profile_image_url": "http://a2.twimg.com/profile_images/1067377349/s_normal.jpg",
|
192
|
+
"id_str": "40514587",
|
193
|
+
"lang": "en",
|
194
|
+
"favourites_count": 2,
|
195
|
+
"profile_text_color": "828282",
|
196
|
+
"status": {
|
197
|
+
"truncated": false,
|
198
|
+
"created_at": "Mon Jun 13 16:27:31 +0000 2011",
|
199
|
+
"geo": null,
|
200
|
+
"in_reply_to_user_id": null,
|
201
|
+
"in_reply_to_status_id": null,
|
202
|
+
"favorited": false,
|
203
|
+
"possibly_sensitive": false,
|
204
|
+
"in_reply_to_status_id_str": null,
|
205
|
+
"coordinates": null,
|
206
|
+
"id_str": "80310340704931840",
|
207
|
+
"in_reply_to_screen_name": null,
|
208
|
+
"in_reply_to_user_id_str": null,
|
209
|
+
"place": null,
|
210
|
+
"contributors": null,
|
211
|
+
"retweeted": false,
|
212
|
+
"retweet_count": 0,
|
213
|
+
"source": "web",
|
214
|
+
"id": 80310340704931840,
|
215
|
+
"text": "Estou concorrendo a 1 ingresso do Alexandre Wollner no Rio – http://t.co/QlJZUqF Siga @design_blog e @pensoeventos e dê RT!"
|
216
|
+
},
|
217
|
+
"show_all_inline_media": false,
|
218
|
+
"profile_sidebar_fill_color": "1c1c1c",
|
219
|
+
"screen_name": "antpires",
|
220
|
+
"profile_background_tile": false,
|
221
|
+
"location": "Rio",
|
222
|
+
"default_profile_image": false,
|
223
|
+
"notifications": false,
|
224
|
+
"profile_image_url_https": "https://si0.twimg.com/profile_images/1067377349/s_normal.jpg",
|
225
|
+
"friends_count": 198,
|
226
|
+
"profile_link_color": "e86f6f",
|
227
|
+
"url": "http://antpires.carbonmade.com",
|
228
|
+
"id": 40514587,
|
229
|
+
"is_translator": false,
|
230
|
+
"default_profile": false,
|
231
|
+
"following": false,
|
232
|
+
"profile_sidebar_border_color": "000000",
|
233
|
+
"followers_count": 158
|
234
|
+
},
|
235
|
+
"token": "14"
|
236
|
+
},
|
237
|
+
{
|
238
|
+
"user": {
|
239
|
+
"time_zone": "London",
|
240
|
+
"protected": false,
|
241
|
+
"follow_request_sent": false,
|
242
|
+
"profile_use_background_image": true,
|
243
|
+
"name": "Alex MacCaw",
|
244
|
+
"created_at": "Fri Mar 23 12:36:14 +0000 2007",
|
245
|
+
"profile_background_color": "9ae4e8",
|
246
|
+
"contributors_enabled": false,
|
247
|
+
"profile_background_image_url": "http://a0.twimg.com/images/themes/theme1/bg.png",
|
248
|
+
"utc_offset": 0,
|
249
|
+
"description": "Ruby/JavaScript developer, O'Reilly author and entrepreneur. ",
|
250
|
+
"default_profile": false,
|
251
|
+
"verified": false,
|
252
|
+
"profile_image_url": "http://a1.twimg.com/profile_images/1081483457/Gravatar_for_info_eribium_normal.jpeg",
|
253
|
+
"id_str": "2006261",
|
254
|
+
"listed_count": 171,
|
255
|
+
"lang": "en",
|
256
|
+
"favourites_count": 9,
|
257
|
+
"profile_text_color": "000000",
|
258
|
+
"status": {
|
259
|
+
"truncated": false,
|
260
|
+
"created_at": "Sun Aug 21 23:54:01 +0000 2011",
|
261
|
+
"geo": null,
|
262
|
+
"in_reply_to_user_id": null,
|
263
|
+
"in_reply_to_status_id": null,
|
264
|
+
"favorited": false,
|
265
|
+
"possibly_sensitive": false,
|
266
|
+
"in_reply_to_status_id_str": null,
|
267
|
+
"coordinates": null,
|
268
|
+
"id_str": "105427467593981952",
|
269
|
+
"in_reply_to_screen_name": null,
|
270
|
+
"in_reply_to_user_id_str": null,
|
271
|
+
"place": null,
|
272
|
+
"contributors": null,
|
273
|
+
"retweeted": false,
|
274
|
+
"retweet_count": 0,
|
275
|
+
"source": "<a href=\"http://twitter.com/tweetbutton\" rel=\"nofollow\">Tweet Button</a>",
|
276
|
+
"id": 105427467593981952,
|
277
|
+
"text": "Visualizing WebKit's hardware acceleration http://t.co/nX5pvPl via @thomasfuchs"
|
278
|
+
},
|
279
|
+
"profile_sidebar_fill_color": "e0ff92",
|
280
|
+
"screen_name": "maccman",
|
281
|
+
"show_all_inline_media": false,
|
282
|
+
"geo_enabled": true,
|
283
|
+
"profile_background_tile": false,
|
284
|
+
"location": "London",
|
285
|
+
"notifications": false,
|
286
|
+
"is_translator": false,
|
287
|
+
"default_profile_image": false,
|
288
|
+
"profile_background_image_url_https": "https://si0.twimg.com/images/themes/theme1/bg.png",
|
289
|
+
"profile_link_color": "0000ff",
|
290
|
+
"url": "http://alexmaccaw.co.uk",
|
291
|
+
"id": 2006261,
|
292
|
+
"statuses_count": 4497,
|
293
|
+
"following": false,
|
294
|
+
"friends_count": 967,
|
295
|
+
"profile_sidebar_border_color": "87bc44",
|
296
|
+
"followers_count": 2028,
|
297
|
+
"profile_image_url_https": "https://si0.twimg.com/profile_images/1081483457/Gravatar_for_info_eribium_normal.jpeg"
|
298
|
+
},
|
299
|
+
"token": "11"
|
300
|
+
},
|
301
|
+
{
|
302
|
+
"user": {
|
303
|
+
"follow_request_sent": false,
|
304
|
+
"statuses_count": 24,
|
305
|
+
"time_zone": "Pacific Time (US & Canada)",
|
306
|
+
"protected": false,
|
307
|
+
"profile_use_background_image": true,
|
308
|
+
"profile_background_image_url_https": "https://si0.twimg.com/images/themes/theme1/bg.png",
|
309
|
+
"name": "stuntmann82",
|
310
|
+
"created_at": "Sat Aug 30 08:22:57 +0000 2008",
|
311
|
+
"profile_background_color": "C0DEED",
|
312
|
+
"profile_background_image_url": "http://a0.twimg.com/images/themes/theme1/bg.png",
|
313
|
+
"utc_offset": -28800,
|
314
|
+
"description": "",
|
315
|
+
"listed_count": 1,
|
316
|
+
"contributors_enabled": false,
|
317
|
+
"verified": false,
|
318
|
+
"geo_enabled": false,
|
319
|
+
"profile_image_url": "http://a1.twimg.com/profile_images/249396146/images_normal.jpg",
|
320
|
+
"id_str": "16052754",
|
321
|
+
"lang": "en",
|
322
|
+
"favourites_count": 0,
|
323
|
+
"profile_text_color": "333333",
|
324
|
+
"status": {
|
325
|
+
"truncated": false,
|
326
|
+
"created_at": "Wed Nov 25 06:20:05 +0000 2009",
|
327
|
+
"geo": null,
|
328
|
+
"in_reply_to_user_id": 2889221,
|
329
|
+
"in_reply_to_status_id": null,
|
330
|
+
"favorited": false,
|
331
|
+
"in_reply_to_status_id_str": null,
|
332
|
+
"coordinates": null,
|
333
|
+
"id_str": "6042752864",
|
334
|
+
"in_reply_to_screen_name": "vitaminjeff",
|
335
|
+
"in_reply_to_user_id_str": "2889221",
|
336
|
+
"place": null,
|
337
|
+
"contributors": null,
|
338
|
+
"retweeted": false,
|
339
|
+
"retweet_count": 0,
|
340
|
+
"source": "<a href=\"http://www.tweetdeck.com/\" rel=\"nofollow\">TweetDeck</a>",
|
341
|
+
"id": 6042752864,
|
342
|
+
"text": "@vitaminjeff Sup bro!"
|
343
|
+
},
|
344
|
+
"show_all_inline_media": false,
|
345
|
+
"profile_sidebar_fill_color": "DDEEF6",
|
346
|
+
"screen_name": "stuntmann82",
|
347
|
+
"profile_background_tile": false,
|
348
|
+
"location": "",
|
349
|
+
"default_profile_image": false,
|
350
|
+
"notifications": false,
|
351
|
+
"profile_image_url_https": "https://si0.twimg.com/profile_images/249396146/images_normal.jpg",
|
352
|
+
"friends_count": 5,
|
353
|
+
"profile_link_color": "0084B4",
|
354
|
+
"url": null,
|
355
|
+
"id": 16052754,
|
356
|
+
"is_translator": false,
|
357
|
+
"default_profile": true,
|
358
|
+
"following": false,
|
359
|
+
"profile_sidebar_border_color": "C0DEED",
|
360
|
+
"followers_count": 42
|
361
|
+
},
|
362
|
+
"token": "14"
|
363
|
+
}
|
364
|
+
]
|
data/spec/fixtures/retweet.json
CHANGED
@@ -1 +1,112 @@
|
|
1
|
-
{
|
1
|
+
{
|
2
|
+
"retweeted_status": {
|
3
|
+
"place": null,
|
4
|
+
"retweet_count": null,
|
5
|
+
"geo": null,
|
6
|
+
"retweeted": false,
|
7
|
+
"in_reply_to_status_id": null,
|
8
|
+
"source": "<a href=\"http://twitter.com/\" rel=\"nofollow\">Twitter for iPhone</a>",
|
9
|
+
"truncated": false,
|
10
|
+
"in_reply_to_status_id_str": null,
|
11
|
+
"created_at": "Sun Oct 24 03:46:25 +0000 2010",
|
12
|
+
"in_reply_to_user_id": null,
|
13
|
+
"favorited": false,
|
14
|
+
"in_reply_to_user_id_str": null,
|
15
|
+
"user": {
|
16
|
+
"geo_enabled": false,
|
17
|
+
"time_zone": "Eastern Time (US & Canada)",
|
18
|
+
"description": "Raconteur.",
|
19
|
+
"profile_sidebar_fill_color": "dddddd",
|
20
|
+
"followers_count": 91398,
|
21
|
+
"verified": false,
|
22
|
+
"notifications": false,
|
23
|
+
"follow_request_sent": false,
|
24
|
+
"profile_use_background_image": false,
|
25
|
+
"profile_sidebar_border_color": "5d5d5d",
|
26
|
+
"url": "http://daringfireball.net",
|
27
|
+
"profile_background_image_url": "http://a3.twimg.com/profile_background_images/3150433/Rumsfeld__Kissinger__Nixon_at_1974_NATO_meeting.jpg",
|
28
|
+
"lang": "en",
|
29
|
+
"created_at": "Fri Dec 01 02:52:40 +0000 2006",
|
30
|
+
"profile_background_color": "5D5D5D",
|
31
|
+
"location": "Philadelphia",
|
32
|
+
"listed_count": 5095,
|
33
|
+
"profile_background_tile": false,
|
34
|
+
"friends_count": 452,
|
35
|
+
"protected": false,
|
36
|
+
"profile_image_url": "http://a3.twimg.com/profile_images/546338003/gruber-sxsw-final_normal.png",
|
37
|
+
"statuses_count": 10488,
|
38
|
+
"profile_text_color": "000000",
|
39
|
+
"name": "John Gruber",
|
40
|
+
"show_all_inline_media": false,
|
41
|
+
"following": true,
|
42
|
+
"favourites_count": 8601,
|
43
|
+
"screen_name": "gruber",
|
44
|
+
"id": 33423,
|
45
|
+
"id_str": "33423",
|
46
|
+
"contributors_enabled": false,
|
47
|
+
"utc_offset": -18000,
|
48
|
+
"profile_link_color": "2626C3"
|
49
|
+
},
|
50
|
+
"contributors": null,
|
51
|
+
"coordinates": null,
|
52
|
+
"in_reply_to_screen_name": null,
|
53
|
+
"id": 28561922516,
|
54
|
+
"id_str": "28561922516",
|
55
|
+
"text": "As for the Series, I'm for the Giants. Fuck Texas, fuck Nolan Ryan, fuck George Bush."
|
56
|
+
},
|
57
|
+
"place": null,
|
58
|
+
"retweet_count": null,
|
59
|
+
"geo": null,
|
60
|
+
"retweeted": false,
|
61
|
+
"in_reply_to_status_id": null,
|
62
|
+
"new_id": 608250155669389312,
|
63
|
+
"new_id_str": "608250155669389312",
|
64
|
+
"source": "<a href=\"http://apps.facebook.com/the-run-around/\" rel=\"nofollow\">The Run Around</a>",
|
65
|
+
"truncated": false,
|
66
|
+
"in_reply_to_status_id_str": null,
|
67
|
+
"created_at": "Mon Oct 25 07:39:11 +0000 2010",
|
68
|
+
"in_reply_to_user_id": null,
|
69
|
+
"favorited": false,
|
70
|
+
"in_reply_to_user_id_str": null,
|
71
|
+
"user": {
|
72
|
+
"geo_enabled": true,
|
73
|
+
"time_zone": "Pacific Time (US & Canada)",
|
74
|
+
"description": "Adventures in hunger and foolishness.",
|
75
|
+
"profile_sidebar_fill_color": "DDEEF6",
|
76
|
+
"followers_count": 898,
|
77
|
+
"verified": false,
|
78
|
+
"notifications": false,
|
79
|
+
"follow_request_sent": false,
|
80
|
+
"profile_use_background_image": true,
|
81
|
+
"profile_sidebar_border_color": "C0DEED",
|
82
|
+
"url": null,
|
83
|
+
"profile_background_image_url": "http://a3.twimg.com/profile_background_images/162641967/we_concept_bg2.png",
|
84
|
+
"lang": "en",
|
85
|
+
"created_at": "Mon Jul 16 12:59:01 +0000 2007",
|
86
|
+
"profile_background_color": "000000",
|
87
|
+
"location": "San Francisco",
|
88
|
+
"listed_count": 28,
|
89
|
+
"profile_background_tile": false,
|
90
|
+
"friends_count": 88,
|
91
|
+
"protected": false,
|
92
|
+
"profile_image_url": "http://a0.twimg.com/profile_images/323331048/me_normal.jpg",
|
93
|
+
"statuses_count": 2968,
|
94
|
+
"profile_text_color": "333333",
|
95
|
+
"name": "Erik Michaels-Ober",
|
96
|
+
"show_all_inline_media": true,
|
97
|
+
"following": false,
|
98
|
+
"favourites_count": 727,
|
99
|
+
"screen_name": "sferik",
|
100
|
+
"id": 7505382,
|
101
|
+
"id_str": "7505382",
|
102
|
+
"contributors_enabled": false,
|
103
|
+
"utc_offset": -28800,
|
104
|
+
"profile_link_color": "0084B4"
|
105
|
+
},
|
106
|
+
"contributors": null,
|
107
|
+
"coordinates": null,
|
108
|
+
"in_reply_to_screen_name": null,
|
109
|
+
"id": 28669546014,
|
110
|
+
"id_str": "28669546014",
|
111
|
+
"text": "RT @gruber: As for the Series, I'm for the Giants. Fuck Texas, fuck Nolan Ryan, fuck George Bush."
|
112
|
+
}
|