From 9920802006123b6a7f0dee1c46773d2fc4d0466a Mon Sep 17 00:00:00 2001 From: "konstantin.grabar" Date: Fri, 18 May 2012 13:03:42 +0400 Subject: [PATCH] [refs #438] Fix symlink stubbing --- config/environments/development.rb | 2 +- lib/modules/models/rsync_stub.rb | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/config/environments/development.rb b/config/environments/development.rb index 890a1ec7f..6e27623e8 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -45,5 +45,5 @@ end require 'stub_xml_rpc' Rails.application.config.to_prepare { - Platform.send :include, Modules::Models::RsyncStub + Platform.send :include, Modules::Models::SymlinkStub } diff --git a/lib/modules/models/rsync_stub.rb b/lib/modules/models/rsync_stub.rb index dfb8a6dd4..df69c9266 100644 --- a/lib/modules/models/rsync_stub.rb +++ b/lib/modules/models/rsync_stub.rb @@ -1,7 +1,7 @@ # -*- encoding : utf-8 -*- module Modules module Models - module RsyncStub + module SymlinkStub extend ActiveSupport::Concern included do @@ -9,11 +9,11 @@ module Modules true end - def mount_directory_for_rsync + def symlink_directory true end - def umount_directory_for_rsync + def remove_symlink_directory true end end