Skip to content

Commit

Permalink
Added CLI gems as install dependencies.
Browse files Browse the repository at this point in the history
  • Loading branch information
jnunemaker committed Jul 26, 2008
1 parent 66dd997 commit 52af6fd
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 9 deletions.
4 changes: 4 additions & 0 deletions History.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
0.3.2 - July 26, 2008
* added the CLI gems as dependencies for now until I separate out the CLI from the API wrapper


0.3.1 - July 23, 2008
* added open to CLI twitter open jnunemaker would open default browser to http://twitter.com/jnunemaker
* added -f to timeline and replies which ignores the since_id and shows all results
Expand Down
1 change: 0 additions & 1 deletion TODO.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
* import from .twitter
* check if there is a current account before any methods that use that account
* either add CLI gems as dependencies or separate CLI into a second gem that requires the api part
* add timeout so it doesn't hang forever like it does now if twitter is down
* add progress indicator for timeline and replies as posting has for more visual indication that work is happening
5 changes: 3 additions & 2 deletions config/hoe.rb
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,9 @@ def extra_deps
# == Optional
p.changes = p.paragraphs_of("History.txt", 0..1).join("\n\n")
#p.extra_deps = [] # An array of rubygem dependencies [name, version], e.g. [ ['active_support', '>= 1.3.1'] ]
p.extra_deps << %w[ hpricot ]
p.extra_deps << %w[ activesupport ]
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']]
#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
@@ -1,7 +1,7 @@
require 'rubygems'
gem 'main', '>= 2.8.2'
gem 'highline', '>= 1.4.0'
gem 'activerecord', '>= 2.1.0'
gem 'activerecord', '>= 2.1'
gem 'sqlite3-ruby', '>= 1.2.2'
require 'main'
require 'highline/import'
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 = 1
TINY = 2

STRING = [MAJOR, MINOR, TINY].join('.')
end
Expand Down
12 changes: 8 additions & 4 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.1"
s.version = "0.3.2"
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-23}
s.date = %q{2008-07-26}
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]}
Expand All @@ -18,6 +18,10 @@ Gem::Specification.new do |s|
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"])
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"])
end

0 comments on commit 52af6fd

Please sign in to comment.