capistrano-withrsync 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7c8e6576fb6f47395f347e63f03e7e24e477d0e5
4
- data.tar.gz: bb0dfcf2f4498e619496469b139f6c4bea512e4b
3
+ metadata.gz: d2153ae6d68713fca44a415d89921b2b670cc8c6
4
+ data.tar.gz: d4808c1ce9ded9e6fe898d5ec03d46d2152e522f
5
5
  SHA512:
6
- metadata.gz: 334a1fc6d0596c2548ede6bacd48ecacd9870dbdb973a0ebe286ea9e0acf7171f598692a1681cb58b673258c1635ba98a5cd39cbee60fa85f2fdd1338ecfca2f
7
- data.tar.gz: ac0fc3a070b014fcdf25b0cfee9fe6cdac45f5847001d2e8d6ce92595239ba0397993ff3c9004b953dc6a0d82601e2157d97cf486c8d9e304b94278c39ef12b9
6
+ metadata.gz: 46b616862dbc007d40d8960325d0e6b568fb2236513fad34e6c036b95623fdf32fd1bf7f796f62a3934226aae9b820710190ad5d1dcdc8c688df64e02e3c8f38
7
+ data.tar.gz: 8e7a39787735702629f2f0de984cd59fc569be5d0096a8a8c0914c7cdc247f2d1fa5a308f5a7b376cc1b6b839a48d3d65d3a72f5fe0b1976537f6f24709b75ec
data/README.md CHANGED
@@ -51,21 +51,55 @@ deploy as usual
51
51
  $ cap deploy
52
52
  ```
53
53
 
54
- Configuration
55
- -------------
54
+ Options
55
+ -------
56
56
 
57
57
  Set capistrano variables with `set name, value`.
58
58
 
59
- name | default | description
60
- ------------- | -------- | ------------
61
- rsync_src | `tmp/deploy` | rsync src path
62
- rsync_dest | `shared/deploy` | rsync dest path
63
- rsync_options | `%w(--recursive --delete --delete-excluded --exclude .git* --exclude .svn*)` | rsync options
59
+ Name | Default | Description
60
+ ------------- | -------- | ------------
61
+ rsync_src | tmp/deploy | rsync src path
62
+ rsync_dest | shared/deploy | rsync dest path
63
+ rsync_options | --recursive --delete --delete-excluded <br>--exclude .git* --exclude .svn* | rsync options
64
+
65
+ Overview
66
+ --------
67
+
68
+ ### local machine
69
+
70
+ ```log
71
+ ~/your_project
72
+ .
73
+ |-- app
74
+ |-- config
75
+ |-- lib
76
+ |-- ...
77
+ |-- ...
78
+ `-- tmp
79
+ `-- deploy (rsync src ==>)
80
+ ```
81
+
82
+ ### deployment hosts
83
+
84
+ ```log
85
+ /var/www/your_project
86
+ .
87
+ |-- current -> /var/www/your_project/releases/20140219074628
88
+ |-- releases
89
+ | |-- 20140219062041
90
+ | |-- 20140219063022
91
+ | `-- 20140219074628
92
+ |-- revisions.log
93
+ `-- shared
94
+ |-- vendor
95
+ |-- deploy (==> rsync dest)
96
+ `-- log
97
+ ```
64
98
 
65
99
  Contributing
66
100
  ------------
67
101
 
68
- 1. Fork it ( http://github.com/<my-github-username>/capistrano-withrsync/fork )
102
+ 1. Fork it ( http://github.com/linyows/capistrano-withrsync/fork )
69
103
  2. Create your feature branch (`git checkout -b my-new-feature`)
70
104
  3. Commit your changes (`git commit -am 'Add some feature'`)
71
105
  4. Push to the branch (`git push origin my-new-feature`)
@@ -40,6 +40,7 @@ namespace :rsync do
40
40
 
41
41
  desc 'Check that the repository is reachable'
42
42
  task :check do
43
+ fetch(:branch)
43
44
  run_locally do
44
45
  exit 1 unless strategy.check
45
46
  end
@@ -1,5 +1,5 @@
1
1
  module Capistrano
2
2
  module Withrsync
3
- VERSION = '0.0.3'
3
+ VERSION = '0.0.4'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-withrsync
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - linyows
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-02-19 00:00:00.000000000 Z
11
+ date: 2014-02-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capistrano