lib/tasks/active_fedora.rake in active-fedora-4.0.0.rc16 vs lib/tasks/active_fedora.rake in active-fedora-4.0.0.rc17

- old
+ new

@@ -45,11 +45,11 @@ dir = ENV["dir"] else dir = File.join('spec', 'fixtures') end filename = ActiveFedora::FixtureExporter.export_to_path(pid, dir) - puts "The object has been saved as #{filename}" + puts "The object has been saved as #{filename}" if filename end end desc "Load the object located at the provided path or identified by pid. Example: rake repo:load foxml=spec/fixtures/demo_12.foxml.xml" task :load => :environment do @@ -66,9 +66,10 @@ end loader.import_and_index(pid) else puts "You must specify the foxml path or provide its pid. Example: rake repo:load foxml=spec/fixtures/demo_12.foxml.xml" end + puts "Loaded '#{pid}' into #{ActiveFedora::Base.connection_for_pid(pid).client.url}" if pid end end