neufelry-twitter 0.4.2

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