-
Notifications
You must be signed in to change notification settings - Fork 47
/
Rakefile
executable file
·38 lines (32 loc) · 1.05 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
# coding: utf-8
require 'rubygems'
require 'rake'
require 'rspec/core/rake_task'
begin
require 'jeweler'
Jeweler::Tasks.new do |gem|
gem.name = "moip-ruby"
gem.summary = "Gem para utilização da API MoIP"
gem.description = "Gem para utilização da API MoIP"
gem.email = "[email protected]"
gem.homepage = "http://github.com/guinascimento/moip"
gem.authors = ["Guilherme Nascimento"]
gem.add_development_dependency "rspec", "~> 2.1.0"
gem.add_dependency "nokogiri", "~> 1.4.3"
gem.add_dependency "httparty", "~> 0.8.1"
gem.add_dependency "activesupport", '>= 2.3.2'
end
Jeweler::GemcutterTasks.new
rescue LoadError
puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
end
task :default => :spec
RSpec::Core::RakeTask.new
require 'rake/rdoctask'
Rake::RDocTask.new do |rdoc|
version = File.exist?('VERSION') ? File.read('VERSION') : ""
rdoc.rdoc_dir = 'rdoc'
rdoc.title = "moip #{version}"
rdoc.rdoc_files.include('README*')
rdoc.rdoc_files.include('lib/**/*.rb')
end