Skip to content
Browse files

Changed deprecated syntax

  • Loading branch information...
1 parent 6b04895 commit 237fda92a3c16a26ef0168a3b3763896797fa197 @romul committed
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/tasks/spree_google_base.rake
View
6 lib/tasks/spree_google_base.rake
@@ -2,15 +2,15 @@ require 'net/ftp'
namespace :spree_google_base do
- task :generate => :environment do
+ task :generate do
generate_google_base_xml_to("#{RAILS_ROOT}/public/google_base.xml")
end
- task :transfer => :environment do
+ task :transfer do
transfer_google_base_xml_from("#{RAILS_ROOT}/public/google_base.xml")
end
- task :generate_and_transfer => :environment do
+ task :generate_and_transfer do
path = "#{RAILS_ROOT}/tmp/google_base.xml"
generate_google_base_xml_to(path)
transfer_google_base_xml_from(path)

0 comments on commit 237fda9

Please sign in to comment.
Something went wrong with that request. Please try again.