lib/capistrano/recipes/deploy/strategy/copy_subdir.rb in capistrano-copy-subdir-0.0.1 vs lib/capistrano/recipes/deploy/strategy/copy_subdir.rb in capistrano-copy-subdir-0.1.0

- old
+ new

@@ -5,18 +5,19 @@ # but based on "copy" strategy of capistrano deploy recipe. # # http://stackoverflow.com/questions/29168/deploying-a-git-subdirectory-in-capistrano # -require 'capistrano' -require 'capistrano/recipes/deploy/strategy/copy' -require 'capistrano-copy-subdir' -require 'tmpdir' +require "capistrano" +require "capistrano/recipes/deploy/strategy/copy" +require "capistrano/recipes/deploy/strategy/copy_subdir/version" +require "tmpdir" module Capistrano module Deploy module Strategy class CopySubdir < Copy + VERSION = ::Capistrano::Deploy::Strategy::COPY_SUBDIR_VERSION def deploy! update_repository_cache copy_repository_cache distribute!