Rakefile in ppl-4.0.3 vs Rakefile in ppl-4.0.5
- old
+ new
@@ -7,19 +7,19 @@
end
task :disable_config do
pplconfig = File.expand_path("~/.pplconfig")
bkpconfig = File.expand_path("~/.pplconfig.bkp")
- if File.exists? pplconfig
+ if File.exist? pplconfig
FileUtils.mv pplconfig, bkpconfig
end
at_exit { Rake::Task["enable_config"].invoke }
end
task :enable_config do
pplconfig = File.expand_path("~/.pplconfig")
bkpconfig = File.expand_path("~/.pplconfig.bkp")
- if File.exists? bkpconfig
+ if File.exist? bkpconfig
FileUtils.mv bkpconfig, pplconfig
end
end
task :feature, :feature_name do |task, params|