Rakefile in pagseguro-0.1.2 vs Rakefile in pagseguro-0.1.3.beta.1
- old
+ new
@@ -1,25 +1,5 @@
-require "rspec/core/rake_task"
-require File.dirname(__FILE__) + "/lib/pagseguro/version"
+require "bundler"
+Bundler::GemHelper.install_tasks
+require "rspec/core/rake_task"
RSpec::Core::RakeTask.new
-
-begin
- require "jeweler"
-
- JEWEL = Jeweler::Tasks.new do |gem|
- gem.name = "pagseguro"
- gem.version = PagSeguro::Version::STRING
- gem.summary = "A wrapper for the PagSeguro payment gateway."
- gem.description = ""
- gem.authors = ["Nando Vieira"]
- gem.email = "fnando.vieira@gmail.com"
- gem.homepage = "http://github.com/fnando/pagseguro"
- gem.has_rdoc = false
- gem.files = FileList["{.rspec,Gemfile,Gemfile.lock,Rakefile,README.markdown,pagseguro.gemspec}", "{lib,spec,templates,test}/**/*"]
- gem.add_development_dependency "rspec", ">= 2.0.0"
- end
-
- Jeweler::GemcutterTasks.new
-rescue LoadError => e
- puts "You don't have Jeweler installed, so you won't be able to build gems."
-end