lib/capistrano/bundle_rsync/config.rb in capistrano-bundle_rsync-0.4.4 vs lib/capistrano/bundle_rsync/config.rb in capistrano-bundle_rsync-0.4.5
- old
+ new
@@ -90,7 +90,24 @@
end
def self.skip_bundle
fetch(:bundle_rsync_skip_bundle)
end
+
+ def self.bundle_install_standalone
+ fetch(:bundle_rsync_bundle_install_standalone)
+ end
+
+ def self.bundle_install_standalone_option
+ case value = self.bundle_install_standalone
+ when true
+ "--standalone"
+ when Array
+ "--standalone #{value.join(' ')}"
+ when String
+ "--standalone #{value}"
+ else
+ nil
+ end
+ end
end
end