forked from redbooth/teambox-ruby-client
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRakefile
More file actions
41 lines (35 loc) · 1.1 KB
/
Rakefile
File metadata and controls
41 lines (35 loc) · 1.1 KB
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
40
41
require 'rubygems'
require 'rake'
begin
require 'jeweler'
Jeweler::Tasks.new do |gem|
gem.name = "teambox-client"
gem.summary = "A ruby gem wrapper for Teambox API"
gem.description = "Provides methods to read and write to Teambox for ruby apps"
gem.email = "pablo@teambox.com"
gem.homepage = "http://github.com/teambox/teambox-ruby-client"
gem.authors = ["Pablo Villalba", "James Urquhart"]
gem.add_dependency("httparty", "~> 0.9.0")
gem.add_dependency("oauth2", "~> 0.8.0")
gem.add_dependency("json", "~> 1.7.5")
end
rescue LoadError
puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
end
require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new do |t|
t.pattern = "spec/*spec.rb"
end
task :default => :spec
require 'rake/rdoctask'
Rake::RDocTask.new do |rdoc|
if File.exist?('VERSION')
version = File.read('VERSION')
else
version = ""
end
rdoc.rdoc_dir = 'rdoc'
rdoc.title = "teambox-client #{version}"
rdoc.rdoc_files.include('README*')
rdoc.rdoc_files.include('lib/**/**/*.rb')
end