-
-
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.
Removed active support and switched to echoe for gem management.
- Loading branch information
1 parent
906d34d
commit fbb7925
Showing
24 changed files
with
115 additions
and
1,928 deletions.
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
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,4 +1,42 @@ | ||
require 'config/requirements' | ||
require 'config/hoe' # setup Hoe + all gem configuration | ||
ProjectName = 'twitter' | ||
WebsitePath = "[email protected]:/var/www/gforge-projects/#{ProjectName}" | ||
|
||
Dir['tasks/**/*.rake'].each { |rake| load rake } | ||
require 'rubygems' | ||
require 'rake' | ||
require 'echoe' | ||
require 'spec/rake/spectask' | ||
require "lib/#{ProjectName}/version" | ||
|
||
Echoe.new(ProjectName, Twitter::Version) do |p| | ||
p.description = "a command line interface for twitter, also a library which wraps the twitter api" | ||
p.url = "http://#{ProjectName}.rubyforge.org" | ||
p.author = "John Nunemaker" | ||
p.email = "[email protected]" | ||
p.extra_deps = [['hpricot', '>= 0.6'], ['activesupport', '>= 2.1'], ['httparty', '>= 0.2.4']] | ||
p.need_tar_gz = false | ||
p.docs_host = WebsitePath | ||
end | ||
|
||
desc 'Upload website files to rubyforge' | ||
task :website do | ||
sh %{rsync -av website/ #{WebsitePath}} | ||
Rake::Task['website_docs'].invoke | ||
end | ||
|
||
task :website_docs do | ||
Rake::Task['redocs'].invoke | ||
sh %{rsync -av doc/ #{WebsitePath}/docs} | ||
end | ||
|
||
desc 'Preps the gem for a new release' | ||
task :prepare do | ||
%w[manifest build_gemspec].each do |task| | ||
Rake::Task[task].invoke | ||
end | ||
end | ||
|
||
Rake::Task[:default].prerequisites.clear | ||
task :default => :spec | ||
Spec::Rake::SpecTask.new do |t| | ||
t.spec_files = FileList["spec/**/*_spec.rb"] | ||
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,3 @@ | ||
module Twitter #:nodoc: | ||
module VERSION #:nodoc: | ||
MAJOR = 0 | ||
MINOR = 3 | ||
TINY = 8 | ||
|
||
STRING = [MAJOR, MINOR, TINY].join('.') | ||
end | ||
Version = '0.4.0' | ||
end |
Empty file.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.