-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added release 0.0.5; cleaned up some code and such, made the docs wor…
…k a bit better git-svn-id: http://svn.addictedtonew.com/public/gems/twitter@32 fe7eae16-9a24-0410-a59d-9e59979e88be
- Loading branch information
jnunemaker
committed
Mar 13, 2007
1 parent
bd748d6
commit abd6eb3
Showing
48 changed files
with
2,472 additions
and
506 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,13 @@ | ||
README | ||
README.txt | ||
CHANGELOG | ||
Rakefile | ||
setup.rb | ||
bin/twitter | ||
lib/twitter.rb | ||
lib/twitter/base.rb | ||
lib/twitter/command.rb | ||
lib/twitter/easy_class_maker.rb | ||
lib/twitter/status.rb | ||
lib/twitter/user.rb | ||
lib/twitter/version.rb | ||
lib/twitter/version.rb | ||
examples/twitter.rb | ||
bin/twitter |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
= addicted to twitter | ||
|
||
... a sweet little diddy that helps you twitter your life away | ||
|
||
== Command Line Use | ||
|
||
|
||
That will show the commands and each command will either run or show you the options it needs to run | ||
|
||
$ twitter post "releasing my new twitter gem" | ||
|
||
That will post a status update to your twitter | ||
|
||
== Examples | ||
|
||
Twitter::Base.new('your email', 'your password').update('watching veronica mars') | ||
|
||
# or you can use post | ||
Twitter::Base.new('your email', 'your password').post('post works too') | ||
|
||
puts "Public Timeline", "=" * 50 | ||
Twitter::Base.new('your email', 'your password').timeline(:public).each do |s| | ||
puts s.text, s.user.name | ||
puts | ||
end | ||
|
||
puts '', "Friends Timeline", "=" * 50 | ||
Twitter::Base.new('your email', 'your password').timeline.each do |s| | ||
puts s.text, s.user.name | ||
puts | ||
end | ||
|
||
puts '', "Friends", "=" * 50 | ||
Twitter::Base.new('your email', 'your password').friends.each do |u| | ||
puts u.name, u.status.text | ||
puts | ||
end | ||
|
||
puts '', "Followers", "=" * 50 | ||
Twitter::Base.new('your email', 'your password').followers.each do |u| | ||
puts u.name, u.status.text | ||
puts | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.