Rakefile in chef-server-webui-10.18.0.rc.1 vs Rakefile in chef-server-webui-10.18.0.rc.2
- old
+ new
@@ -1,9 +1,9 @@
require File.dirname(__FILE__) + '/lib/chef-server-webui/version'
require 'rubygems'
-require 'rake/gempackagetask'
+require 'rubygems/package_task'
begin
require 'merb-core'
require 'merb-core/tasks/merb'
rescue LoadError
@@ -16,11 +16,11 @@
HOMEPAGE = "http://wiki.opscode.com/display/chef"
SUMMARY = "A systems integration framework, built to bring the benefits of configuration management to your entire infrastructure."
spec = eval(File.read("chef-server-webui.gemspec"))
-Rake::GemPackageTask.new(spec) do |pkg|
+Gem::PackageTask.new(spec) do |pkg|
pkg.gem_spec = spec
end
desc "Install the gem"
task :install => :package do
@@ -46,6 +46,6 @@
exit
end
src = "mockups/base-mockup/."
dest = "mockups/#{args[:name]}"
FileUtils.cp_r src, dest
-end
\ No newline at end of file
+end