Rakefile in gem_plugin-0.2.1 vs Rakefile in gem_plugin-0.2.2
- old
+ new
@@ -13,11 +13,11 @@
setup_rdoc ['README', 'LICENSE', 'COPYING', 'lib/**/*.rb', 'doc/**/*.rdoc']
desc "Does a full compile, test run"
task :default => [:test, :package]
-version = "0.2.1"
+version = "0.2.2"
name="gem_plugin"
setup_gem(name, version) do |spec|
spec.author="Zed A. Shaw"
spec.summary = "A plugin system based only on rubygems that uses dependencies only"
@@ -27,15 +27,15 @@
spec.executables=["gpgen"]
spec.add_dependency("rake", ">= 0.7")
end
task :install => [:test, :package] do
- sh %{sudo gem install pkg/#{name}-#{version}}
+ sh %{gem install pkg/#{name}-#{version}}
end
task :uninstall => [:clean] do
- sh %{sudo gem uninstall #{name}}
+ sh %{gem uninstall #{name}}
end
task :site => [:rerdoc] do
- sh %{ scp -r doc/rdoc/* #{ENV['SSH_USER']}@rubyforge.org:/var/www/gforge-projects/mongrel/gem_plugin_rdoc/ }
+ sh %{ rsync -r doc/rdoc/* rubyforge.org:/var/www/gforge-projects/mongrel/gem_plugin_rdoc/ }
end