Skip to content

Commit

Permalink
Removed sqlite3-ruby as a dependency during install as it is only use…
Browse files Browse the repository at this point in the history
…d with CLI. Just install it if you use the CLI.
  • Loading branch information
jnunemaker committed Aug 4, 2008
1 parent 2354d4f commit 9277e83
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
2 changes: 2 additions & 0 deletions README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ sudo gem install twitter will work just fine. For command line use, you'll need


== Command Line Use

Note: If you want to use twitter from the command line be sure that sqlite3 and the sqlite3-ruby gem are installed. I removed the sqlite3-ruby gem as a dependency because you shouldn't need that to just use the API wrapper. Eventually I'll move the CLI interface into another gem.

$ twitter

Expand Down
3 changes: 1 addition & 2 deletions config/hoe.rb
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,7 @@ def extra_deps
#p.extra_deps = [] # An array of rubygem dependencies [name, version], e.g. [ ['active_support', '>= 1.3.1'] ]
p.extra_deps = [['hpricot', '>= 0.6'], ['activesupport', '>= 2.1'],
['main', '>= 2.8.2'], ['highline', '>= 1.4.0'],
['activerecord', '>= 2.1'], ['sqlite3-ruby', '>= 1.2.2'],
['httparty', '>= 0.1.0']]
['activerecord', '>= 2.1'], ['httparty', '>= 0.1.0']]
#p.spec_extras = {} # A hash of extra values to set in the gemspec.

end
Expand Down
2 changes: 1 addition & 1 deletion lib/twitter/cli.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
gem 'main', '>= 2.8.2'
gem 'highline', '>= 1.4.0'
gem 'activerecord', '>= 2.1'
gem 'sqlite3-ruby', '>= 1.2.2'
gem 'sqlite3-ruby', '>= 1.2.1'
require 'main'
require 'highline/import'
require 'activerecord'
Expand Down
2 changes: 1 addition & 1 deletion lib/twitter/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module Twitter #:nodoc:
module VERSION #:nodoc:
MAJOR = 0
MINOR = 3
TINY = 4
TINY = 5

STRING = [MAJOR, MINOR, TINY].join('.')
end
Expand Down
7 changes: 2 additions & 5 deletions twitter.gemspec
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
Gem::Specification.new do |s|
s.name = %q{twitter}
s.version = "0.3.4"
s.version = "0.3.5"

s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["John Nunemaker"]
s.date = %q{2008-08-03}
s.date = %q{2008-08-04}
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{nunemaker@gmail.com}
Expand All @@ -29,15 +29,13 @@ Gem::Specification.new do |s|
s.add_runtime_dependency(%q<main>, [">= 2.8.2"])
s.add_runtime_dependency(%q<highline>, [">= 1.4.0"])
s.add_runtime_dependency(%q<activerecord>, [">= 2.1"])
s.add_runtime_dependency(%q<sqlite3-ruby>, [">= 1.2.2"])
s.add_runtime_dependency(%q<httparty>, [">= 0.1.0"])
else
s.add_dependency(%q<hpricot>, [">= 0.6"])
s.add_dependency(%q<activesupport>, [">= 2.1"])
s.add_dependency(%q<main>, [">= 2.8.2"])
s.add_dependency(%q<highline>, [">= 1.4.0"])
s.add_dependency(%q<activerecord>, [">= 2.1"])
s.add_dependency(%q<sqlite3-ruby>, [">= 1.2.2"])
s.add_dependency(%q<httparty>, [">= 0.1.0"])
end
else
Expand All @@ -46,7 +44,6 @@ Gem::Specification.new do |s|
s.add_dependency(%q<main>, [">= 2.8.2"])
s.add_dependency(%q<highline>, [">= 1.4.0"])
s.add_dependency(%q<activerecord>, [">= 2.1"])
s.add_dependency(%q<sqlite3-ruby>, [">= 1.2.2"])
s.add_dependency(%q<httparty>, [">= 0.1.0"])
end
end
4 changes: 3 additions & 1 deletion website/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,11 @@ <h2>Search API Examples</h2>
</code></pre>

<h2>Command Line</h2>

<p><img src="images/terminal_output.png" alt="Terminal Output" style="width:560px;" /></p>

<p><strong>Note: If you want to use twitter from the command line be sure that sqlite3 and the sqlite3-ruby gem are installed.</strong> I removed the sqlite3-ruby gem as a dependency because you shouldn't need that to just use the API wrapper. Eventually I'll move the CLI interface into another gem.</p>

<p>The first thing you'll want to do is install the database so your account(s) can be stored.</p>

<pre><code>$ twitter install</code></pre>
Expand Down

0 comments on commit 9277e83

Please sign in to comment.