capistrano-shared-file 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6d6ae7cca5e88ce73dd40c816479d47a41ad83ce
4
- data.tar.gz: 21b380dd41c82f57bda78e18768dff14743ff6fd
3
+ metadata.gz: ae6818f152a7cd866f7f83a61c1bcab73e34146f
4
+ data.tar.gz: 101df52331a4d973b2ca6f251f349a74c9413df2
5
5
  SHA512:
6
- metadata.gz: a14c62ee0bc5bdb0a9886205c9faf313119235bfa56cba9cea491ae05489d49bd3cc84d1fe67e961e1f13713d697b0a339666cf3b21d99c6df274a46dc22e278
7
- data.tar.gz: 4d11dcb6f8e8a3f586f074d0dde2e04499b549771fa152e27d92ee36966e941b938bb7134206984fe570f69d7b17b18f890469faca5555f1daa723b18d2f06be
6
+ metadata.gz: e29bee61fabc330137611a53da11e4ca15e532fc0fe67dcb563c0fa37a00de9dba6fa6ccb3f58837c4fc9f1758e36e0dc0a5823640712bc80aad48cf6a04aacc
7
+ data.tar.gz: 254d231b4f3dbf6376deace92eb0971ee802cf1c33eafb1521b7e18d78e7c5206ff1ee3993ba0f1596f9678689bdf4d3c8b42d223846a05dc6fb1afcc58880fc
data/README.md CHANGED
@@ -18,13 +18,25 @@ Add the following lines to `config/deploy.rb`:
18
18
 
19
19
  ## Tasks
20
20
 
21
- To upload all the files defined in the `shared_files` capistrano variable to a remote server, you can simply execute:
21
+ ### Upload
22
+
23
+ To upload all the files defined in the `shared_files` capistrano variable to a remote server, you can execute:
22
24
 
23
25
  bundle exec cap shared_file:upload
24
26
 
25
- To download all the files defined in the `shared_files` capistrano variable from a remote server, you can simply execute:
27
+ ### Download
28
+
29
+ To download all the files defined in the `shared_files` capistrano variable from a remote server, you can execute:
26
30
 
27
31
  bundle exec cap shared_file:download
32
+
33
+ ### Symlink
34
+
35
+ To symlink the uploaded configuration files to the current release path, you can execute:
36
+
37
+ bundle exec cap shared_file:symlink
38
+
39
+ This task will be executed on every deploy. If you happen to make any changes in the files specified in the `shared_files` capistrano variable, make sure you upload them.
28
40
 
29
41
  **Note**: You can use it together with `capistrano/ext/multistage` like:
30
42
 
@@ -22,7 +22,7 @@ Capistrano::Configuration.instance.load do
22
22
  run "#{try_sudo} chmod g+w #{remote_path_to(File.dirname(file))}" if fetch(:group_writable, true)
23
23
  end
24
24
  end
25
- after 'deploy:setup', 'shared_file:setup.'
25
+ after 'deploy:setup', 'shared_file:setup'
26
26
 
27
27
  desc 'Upload shared files to server'
28
28
  task :upload, :except => { :no_release => true } do
@@ -1,5 +1,5 @@
1
1
  module Capistrano
2
2
  module SharedFile
3
- VERSION = '1.0.0'
3
+ VERSION = '1.0.1'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-shared-file
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Salmeron Amselem
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-07-28 00:00:00.000000000 Z
11
+ date: 2013-08-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capistrano