drnic-twitter 0.4.4.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (70) hide show
  1. data/History +130 -0
  2. data/License +19 -0
  3. data/Manifest +68 -0
  4. data/README +84 -0
  5. data/Rakefile +42 -0
  6. data/bin/twitter +14 -0
  7. data/examples/blocks.rb +15 -0
  8. data/examples/direct_messages.rb +29 -0
  9. data/examples/favorites.rb +20 -0
  10. data/examples/friends_followers.rb +25 -0
  11. data/examples/friendships.rb +13 -0
  12. data/examples/identica_timeline.rb +7 -0
  13. data/examples/location.rb +8 -0
  14. data/examples/posting.rb +9 -0
  15. data/examples/replies.rb +27 -0
  16. data/examples/search.rb +18 -0
  17. data/examples/sent_messages.rb +27 -0
  18. data/examples/timeline.rb +34 -0
  19. data/examples/twitter.rb +27 -0
  20. data/examples/verify_credentials.rb +13 -0
  21. data/lib/twitter.rb +32 -0
  22. data/lib/twitter/base.rb +284 -0
  23. data/lib/twitter/cli.rb +419 -0
  24. data/lib/twitter/cli/config.rb +9 -0
  25. data/lib/twitter/cli/helpers.rb +109 -0
  26. data/lib/twitter/cli/migrations/20080722194500_create_accounts.rb +13 -0
  27. data/lib/twitter/cli/migrations/20080722194508_create_tweets.rb +16 -0
  28. data/lib/twitter/cli/migrations/20080722214605_add_account_id_to_tweets.rb +9 -0
  29. data/lib/twitter/cli/migrations/20080722214606_create_configurations.rb +13 -0
  30. data/lib/twitter/cli/models/account.rb +33 -0
  31. data/lib/twitter/cli/models/configuration.rb +13 -0
  32. data/lib/twitter/cli/models/tweet.rb +20 -0
  33. data/lib/twitter/direct_message.rb +22 -0
  34. data/lib/twitter/easy_class_maker.rb +43 -0
  35. data/lib/twitter/rate_limit_status.rb +19 -0
  36. data/lib/twitter/search.rb +101 -0
  37. data/lib/twitter/search_result.rb +83 -0
  38. data/lib/twitter/search_result_info.rb +82 -0
  39. data/lib/twitter/status.rb +22 -0
  40. data/lib/twitter/user.rb +38 -0
  41. data/lib/twitter/version.rb +3 -0
  42. data/spec/base_spec.rb +139 -0
  43. data/spec/cli/helper_spec.rb +49 -0
  44. data/spec/direct_message_spec.rb +35 -0
  45. data/spec/fixtures/follower_ids.xml +11 -0
  46. data/spec/fixtures/followers.xml +706 -0
  47. data/spec/fixtures/friend_ids.xml +12 -0
  48. data/spec/fixtures/friends.xml +609 -0
  49. data/spec/fixtures/friends_for.xml +584 -0
  50. data/spec/fixtures/friends_lite.xml +192 -0
  51. data/spec/fixtures/friends_timeline.xml +66 -0
  52. data/spec/fixtures/friendship_already_exists.xml +5 -0
  53. data/spec/fixtures/friendship_created.xml +12 -0
  54. data/spec/fixtures/public_timeline.xml +148 -0
  55. data/spec/fixtures/rate_limit_status.xml +7 -0
  56. data/spec/fixtures/search_result_info.yml +147 -0
  57. data/spec/fixtures/search_results.json +1 -0
  58. data/spec/fixtures/status.xml +25 -0
  59. data/spec/fixtures/user.xml +38 -0
  60. data/spec/fixtures/user_timeline.xml +465 -0
  61. data/spec/search_spec.rb +100 -0
  62. data/spec/spec.opts +1 -0
  63. data/spec/spec_helper.rb +23 -0
  64. data/spec/status_spec.rb +40 -0
  65. data/spec/user_spec.rb +42 -0
  66. data/twitter.gemspec +42 -0
  67. data/website/css/common.css +47 -0
  68. data/website/images/terminal_output.png +0 -0
  69. data/website/index.html +147 -0
  70. metadata +177 -0
metadata ADDED
@@ -0,0 +1,177 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: drnic-twitter
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.4.4.1
5
+ platform: ruby
6
+ authors:
7
+ - John Nunemaker
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+
12
+ date: 2009-03-30 00:00:00 -07:00
13
+ default_executable: twitter
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: hpricot
17
+ type: :runtime
18
+ version_requirement:
19
+ version_requirements: !ruby/object:Gem::Requirement
20
+ requirements:
21
+ - - ">="
22
+ - !ruby/object:Gem::Version
23
+ version: "0.6"
24
+ version:
25
+ - !ruby/object:Gem::Dependency
26
+ name: activesupport
27
+ type: :runtime
28
+ version_requirement:
29
+ version_requirements: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: "2.1"
34
+ version:
35
+ - !ruby/object:Gem::Dependency
36
+ name: httparty
37
+ type: :runtime
38
+ version_requirement:
39
+ version_requirements: !ruby/object:Gem::Requirement
40
+ requirements:
41
+ - - ">="
42
+ - !ruby/object:Gem::Version
43
+ version: 0.2.4
44
+ version:
45
+ description: a command line interface for twitter, also a library which wraps the twitter api
46
+ email: nunemaker@gmail.com
47
+ executables:
48
+ - twitter
49
+ extensions: []
50
+
51
+ extra_rdoc_files:
52
+ - bin/twitter
53
+ - lib/twitter/base.rb
54
+ - lib/twitter/cli/config.rb
55
+ - lib/twitter/cli/helpers.rb
56
+ - lib/twitter/cli/migrations/20080722194500_create_accounts.rb
57
+ - lib/twitter/cli/migrations/20080722194508_create_tweets.rb
58
+ - lib/twitter/cli/migrations/20080722214605_add_account_id_to_tweets.rb
59
+ - lib/twitter/cli/migrations/20080722214606_create_configurations.rb
60
+ - lib/twitter/cli/models/account.rb
61
+ - lib/twitter/cli/models/configuration.rb
62
+ - lib/twitter/cli/models/tweet.rb
63
+ - lib/twitter/cli.rb
64
+ - lib/twitter/direct_message.rb
65
+ - lib/twitter/easy_class_maker.rb
66
+ - lib/twitter/rate_limit_status.rb
67
+ - lib/twitter/search.rb
68
+ - lib/twitter/search_result.rb
69
+ - lib/twitter/search_result_info.rb
70
+ - lib/twitter/status.rb
71
+ - lib/twitter/user.rb
72
+ - lib/twitter/version.rb
73
+ - lib/twitter.rb
74
+ - README
75
+ files:
76
+ - bin/twitter
77
+ - examples/blocks.rb
78
+ - examples/direct_messages.rb
79
+ - examples/favorites.rb
80
+ - examples/friends_followers.rb
81
+ - examples/friendships.rb
82
+ - examples/identica_timeline.rb
83
+ - examples/location.rb
84
+ - examples/posting.rb
85
+ - examples/replies.rb
86
+ - examples/search.rb
87
+ - examples/sent_messages.rb
88
+ - examples/timeline.rb
89
+ - examples/twitter.rb
90
+ - examples/verify_credentials.rb
91
+ - History
92
+ - lib/twitter/base.rb
93
+ - lib/twitter/cli/config.rb
94
+ - lib/twitter/cli/helpers.rb
95
+ - lib/twitter/cli/migrations/20080722194500_create_accounts.rb
96
+ - lib/twitter/cli/migrations/20080722194508_create_tweets.rb
97
+ - lib/twitter/cli/migrations/20080722214605_add_account_id_to_tweets.rb
98
+ - lib/twitter/cli/migrations/20080722214606_create_configurations.rb
99
+ - lib/twitter/cli/models/account.rb
100
+ - lib/twitter/cli/models/configuration.rb
101
+ - lib/twitter/cli/models/tweet.rb
102
+ - lib/twitter/cli.rb
103
+ - lib/twitter/direct_message.rb
104
+ - lib/twitter/easy_class_maker.rb
105
+ - lib/twitter/rate_limit_status.rb
106
+ - lib/twitter/search.rb
107
+ - lib/twitter/search_result.rb
108
+ - lib/twitter/search_result_info.rb
109
+ - lib/twitter/status.rb
110
+ - lib/twitter/user.rb
111
+ - lib/twitter/version.rb
112
+ - lib/twitter.rb
113
+ - License
114
+ - Manifest
115
+ - Rakefile
116
+ - README
117
+ - spec/base_spec.rb
118
+ - spec/cli/helper_spec.rb
119
+ - spec/direct_message_spec.rb
120
+ - spec/fixtures/follower_ids.xml
121
+ - spec/fixtures/followers.xml
122
+ - spec/fixtures/friend_ids.xml
123
+ - spec/fixtures/friends.xml
124
+ - spec/fixtures/friends_for.xml
125
+ - spec/fixtures/friends_lite.xml
126
+ - spec/fixtures/friends_timeline.xml
127
+ - spec/fixtures/friendship_already_exists.xml
128
+ - spec/fixtures/friendship_created.xml
129
+ - spec/fixtures/public_timeline.xml
130
+ - spec/fixtures/rate_limit_status.xml
131
+ - spec/fixtures/search_result_info.yml
132
+ - spec/fixtures/search_results.json
133
+ - spec/fixtures/status.xml
134
+ - spec/fixtures/user.xml
135
+ - spec/fixtures/user_timeline.xml
136
+ - spec/search_spec.rb
137
+ - spec/spec.opts
138
+ - spec/spec_helper.rb
139
+ - spec/status_spec.rb
140
+ - spec/user_spec.rb
141
+ - website/css/common.css
142
+ - website/images/terminal_output.png
143
+ - website/index.html
144
+ - twitter.gemspec
145
+ has_rdoc: true
146
+ homepage: http://twitter.rubyforge.org
147
+ post_install_message:
148
+ rdoc_options:
149
+ - --line-numbers
150
+ - --inline-source
151
+ - --title
152
+ - Twitter
153
+ - --main
154
+ - README
155
+ require_paths:
156
+ - lib
157
+ required_ruby_version: !ruby/object:Gem::Requirement
158
+ requirements:
159
+ - - ">="
160
+ - !ruby/object:Gem::Version
161
+ version: "0"
162
+ version:
163
+ required_rubygems_version: !ruby/object:Gem::Requirement
164
+ requirements:
165
+ - - ">="
166
+ - !ruby/object:Gem::Version
167
+ version: "1.2"
168
+ version:
169
+ requirements: []
170
+
171
+ rubyforge_project: twitter
172
+ rubygems_version: 1.2.0
173
+ signing_key:
174
+ specification_version: 2
175
+ summary: a command line interface for twitter, also a library which wraps the twitter api
176
+ test_files: []
177
+