-
-
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 a bunch of tiny things, should have committed more but I got in…
… the groove.
- Loading branch information
1 parent
868cea5
commit d94b6bd
Showing
6 changed files
with
101 additions
and
29 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
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,9 +1,20 @@ | ||
%w(uri cgi net/http yaml rubygems hpricot active_support).each { |f| require f } | ||
|
||
$:.unshift(File.join(File.dirname(__FILE__))) | ||
require 'twitter/version' | ||
require 'twitter/easy_class_maker' | ||
require 'twitter/base' | ||
require 'twitter/user' | ||
require 'twitter/status' | ||
require 'twitter/direct_message' | ||
require 'twitter/rate_limit_status' | ||
require 'twitter/rate_limit_status' | ||
|
||
module Twitter | ||
class Unavailable < StandardError; end | ||
class CantConnect < StandardError; end | ||
class BadResponse < StandardError; end | ||
class UnknownTimeline < ArgumentError; end | ||
class RateExceeded < StandardError; end | ||
|
||
SourceName = 'twittergem' | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
Gem::Specification.new do |s| | ||
s.name = %q{twitter} | ||
s.version = "0.2.7" | ||
s.specification_version = 2 if s.respond_to? :specification_version= | ||
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version= | ||
s.authors = ["John Nunemaker"] | ||
s.date = %q{2008-07-6} | ||
s.default_executable = %q{twitter} | ||
s.description = %q{a command line interface for twitter, also a library which wraps the twitter api} | ||
s.email = %q{[email protected]} | ||
s.executables = ["twitter"] | ||
s.extra_rdoc_files = ["History.txt", "License.txt", "Manifest.txt", "README.txt"] | ||
s.files = ["CHANGELOG", "History.txt", "License.txt", "Manifest.txt", "README.txt", "Rakefile", "bin/twitter", "config/hoe.rb", "config/requirements.rb", "examples/twitter.rb", "lib/twitter.rb", "lib/twitter/base.rb", "lib/twitter/command.rb", "lib/twitter/direct_message.rb", "lib/twitter/easy_class_maker.rb", "lib/twitter/rate_limit_status.rb", "lib/twitter/status.rb", "lib/twitter/user.rb", "lib/twitter/version.rb", "script/destroy", "script/generate", "script/txt2html", "setup.rb", "spec/base_spec.rb", "spec/direct_message_spec.rb", "spec/fixtures/followers.xml", "spec/fixtures/friends.xml", "spec/fixtures/friends_for.xml", "spec/fixtures/friends_lite.xml", "spec/fixtures/friends_timeline.xml", "spec/fixtures/public_timeline.xml", "spec/fixtures/rate_limit_status.xml", "spec/fixtures/status.xml", "spec/fixtures/user.xml", "spec/fixtures/user_timeline.xml", "spec/spec.opts", "spec/spec_helper.rb", "spec/status_spec.rb", "spec/user_spec.rb", "tasks/deployment.rake", "tasks/environment.rake", "tasks/website.rake"] | ||
s.has_rdoc = true | ||
s.homepage = %q{http://twitter.rubyforge.org} | ||
s.rdoc_options = ["--main", "README.txt"] | ||
s.require_paths = ["lib"] | ||
s.rubyforge_project = %q{twitter} | ||
s.rubygems_version = %q{1.1.1} | ||
s.summary = %q{a command line interface for twitter, also a library which wraps the twitter api} | ||
s.add_dependency(%q<hpricot>, [">= 0"]) | ||
s.add_dependency(%q<activesupport>, [">= 0"]) | ||
end |