docs/migrating.md in mina-1.0.6 vs docs/migrating.md in mina-1.0.7
- old
+ new
@@ -25,10 +25,17 @@
* `set?`
* `ensure!`
# Deploy variables
-* `shared_paths` -> separate into `shared_dirs` & `shared_files`
+* `shared_paths` -> separated into `shared_dirs` & `shared_files`
+
+For example:
+
+```rb
+set :shared_dirs, fetch(:shared_dirs, []).push('somedir')
+set :shared_files, fetch(:shared_files, []).push('config/database.yml', 'config/secrets.yml')
+```
All `*_path` variables (`:current_path`, `:shared_path`, ...) now include `:deploy_to`
* `#{fetch(:deploy_to)}/#{fetch(:current_path)}` -> `fetch(:current_path)`
# Using new mina on old projects