forked from sferik/twitter-ruby
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Rakefile
39 lines (32 loc) · 1.2 KB
/
Rakefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
require "rake"
require "jeweler"
Jeweler::Tasks.new do |gem|
gem.name = "twitter"
gem.summary = %Q{wrapper for the twitter api}
gem.email = "[email protected]"
gem.homepage = "http://github.com/jnunemaker/twitter"
gem.authors = ["John Nunemaker", "Wynn Netherland"]
gem.files = FileList["[A-Z]*", "{examples,lib,test}/**/*"]
gem.add_dependency("oauth", "~> 0.3.6")
gem.add_dependency("hashie", "~> 0.2.0")
gem.add_dependency("httparty", "~> 0.5.2")
gem.add_dependency("json", "~> 1.2.3")
gem.add_development_dependency("shoulda", "~> 2.10.1")
gem.add_development_dependency("jnunemaker-matchy", "~> 0.4.0")
gem.add_development_dependency("mocha", "~> 0.9.4")
gem.add_development_dependency("fakeweb", "~> 1.2.5")
end
Jeweler::GemcutterTasks.new
require "rake/testtask"
Rake::TestTask.new(:test) do |test|
test.libs << "test"
test.ruby_opts << "-rubygems"
test.pattern = "test/**/*_test.rb"
test.verbose = true
end
task :default => :test
task :test => :check_dependencies
desc "Upload website files to rubyforge"
task :website do
sh %{rsync -av website/ [email protected]:/var/www/gforge-projects/twitter}
end