summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorJay Mundrawala <jdmundrawala@gmail.com>2015-11-10 12:40:26 -0800
committerJay Mundrawala <jdmundrawala@gmail.com>2015-11-10 12:41:19 -0800
commit93d555012c0ac0e53ec672fda610a114953c37ce (patch)
tree899c86145b87f76d3f711535cd836b389424bc6d /Rakefile
parente0f434d9b42263ac0bf69a9291b0ad3af7ef663c (diff)
downloadmixlib-authentication-93d555012c0ac0e53ec672fda610a114953c37ce.tar.gz
Get tests to run
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Rakefile b/Rakefile
index b8a56a5..8bd8950 100644
--- a/Rakefile
+++ b/Rakefile
@@ -1,5 +1,5 @@
require 'rubygems'
-require 'rake/gempackagetask'
+require 'rubygems/package_task'
require 'rubygems/specification'
require 'date'
require 'rspec/core/rake_task'
@@ -16,12 +16,12 @@ task :default => :spec
desc "Run specs"
RSpec::Core::RakeTask.new do |t|
t.pattern = 'spec/**/*_spec.rb'
- t.rspec_opts = %w(-fs --color)
+ t.rspec_opts = %w(--color)
end
gem_spec = eval(File.read("mixlib-authentication.gemspec"))
-Rake::GemPackageTask.new(gem_spec) do |pkg|
+Gem::PackageTask.new(gem_spec) do |pkg|
pkg.gem_spec = gem_spec
end