capistrano-rsync 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- YTlkNGY5YTAzMzRhYWNjMzc3YjhiMDIwZjc3OWY4ZjFiMGMzNzU4Mw==
4
+ YmZkNTdlYjRiZWY4NmQ2N2Q3ODU1NTVhYjFiNGFiZmY2MmRjYTU1Yw==
5
5
  data.tar.gz: !binary |-
6
- MzlhNmM2Y2M4Mzk5MDQyMjQyYmQyYzdkZTQ0MWViZjczMjgyYzg0MA==
6
+ ZDAxYmQ1MTkxZGU4ZmEwZGU1MzU1NDEwMTNmMzg2Njg1NGNlYmQzMQ==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- NWY0M2EwYzM2NTliNDRiNDkyOGFkNjVjNGZlNjM5NmVhZDczYzQyZTlkZmU5
10
- YjVkNjJkMzk4MzU3ZTIwZWNjZDI4Y2I0OGExNjllNjIwMjhlOGMzNzJhMzlh
11
- NTk2ZDk2MmE4ZTBhZTgzMjczNTlmMjg1ODNhMDc0NTE2Y2ZjZTk=
9
+ OGVmMGM4NWNmMGUzZDQxNGM0ZGU5M2U5Zjg0ZDllNjYzMmM1Mzg1N2RmODhl
10
+ NjE4MjA4OTdlYWEzZmI1NDBlNTM0NjU0OGIyYTdlOWNiMjYyNzNkZDRhN2Vi
11
+ ZGMwYjQ1MDg4N2MwNWU2MDA1MGIwYTgzZmM4OWIxYTY1OGM2Yjg=
12
12
  data.tar.gz: !binary |-
13
- ZWU2ZGU3NmQ5M2M0N2MzMDY5NTZkMTRjZmNhOWMwYmJlZDdiZjVjNWJiNzky
14
- YjdjYzIzNDdjOWZmMmI5OTE4NzQ3NTFiMDM1ODI1MzkxOTczNzg0YzM5YzUy
15
- MGFkMGY1MzUxNzc5NThlY2JlNGE4MzIwMWIyNDQzOTVjMzUxMjA=
13
+ ZmJjZDA3ZDcwMmU1NTEwMmVlN2MyZTA0MTkwYjcyMTQ5OGU5YzY3MWU2Mjlk
14
+ MjRjNTlhMzljMTRhMzAxMWM1MGEyMDNlZmU3NDBiMzFhNDRiZmFiMDljMzIz
15
+ NzBkOGNmYjI0NTBhZGFhMTgxOTcyZDE1N2NkYjliNmVkNDE0NjU=
@@ -1,3 +1,6 @@
1
+ ## 1.0.2 (Oct 13, 2013)
2
+ - Updates README and code comments.
3
+
1
4
  ## 1.0.1 (Sep 2, 2013)
2
5
  - Updates README and adds implementation details to it.
3
6
 
data/Makefile CHANGED
@@ -8,5 +8,9 @@ pack:
8
8
 
9
9
  publish:
10
10
  gem push $(NAME)-*.gem
11
+
12
+ clean:
13
+ rm -f *.gem
11
14
 
12
15
  .PHONY: love pack publish
16
+ .PHONY: clean
data/README.md CHANGED
@@ -1,17 +1,27 @@
1
1
  Capistrano::Rsync for Capistrano v3
2
2
  ===================================
3
- [![Gem version](https://badge.fury.io/rb/capistrano-rsync.png)](http://badge.fury.io/rb/capistrano-rsync)
3
+ [![Gem version][gem-badge]](http://badge.fury.io/rb/capistrano-rsync)
4
+ [gem-badge]: https://badge.fury.io/rb/capistrano-rsync.png
4
5
 
5
- **Deploy with Rsync** to your server from any local (or remote) repository when using [**Capistrano**](http://www.capistranorb.com/).
6
- Saves you from having to install Git on your production machine and allows you to customize which files you want to deploy. Also allows you to easily precompile things on your local machine before deploying.
6
+ **Deploy with Rsync** to your server from any local (or remote) repository when
7
+ using [**Capistrano**](http://www.capistranorb.com/). Saves you from having to
8
+ install Git on your production machine and allows you to customize which files
9
+ you want to deploy. Also allows you to easily precompile things on your local
10
+ machine before deploying.
7
11
 
8
12
  ### Tour
9
- - Works with the new [**Capistrano v3**](http://www.capistranorb.com/) ([source code](https://github.com/capistrano/capistrano)) versions `>= 3.0.0pre14` and `< 4`.
13
+ - Works with the new [**Capistrano v3**](http://www.capistranorb.com/) ([source
14
+ code](https://github.com/capistrano/capistrano)) versions `>= 3.0.0pre14` and
15
+ `< 4`.
10
16
  - Suitable for deploying any apps, be it Ruby, Rails, Node.js or others.
11
17
  - Exclude files from being deployed with Rsync's `--exclude` options.
12
18
  - Precompile files or assets easily before deploying, like JavaScript or CSS.
13
19
  - Caches your previously deployed code to speed up deployments ~1337%.
14
- - Currently works only with Git (as does Capistrano v3), so please shout out your interest in other SCMs.
20
+ - Currently works only with Git (as does Capistrano v3), so please shout out
21
+ your interest in other SCMs.
22
+
23
+ Using [Mina](http://nadarei.co/mina/) instead of Capistrano? I've built
24
+ [Mina::Rsync](https://github.com/moll/mina-rsync) as well.
15
25
 
16
26
 
17
27
  Using
@@ -37,16 +47,20 @@ cap deploy
37
47
  ```
38
48
 
39
49
  ### Implementation
40
- 1. Clones and updates your repository to `rsync_stage` (defaults to `tmp/deploy`) on your local machine.
50
+ 1. Clones and updates your repository to `rsync_stage` (defaults to
51
+ `tmp/deploy`) on your local machine.
41
52
  2. Checks out the branch set in the `branch` variable (defaults to `master`).
42
- 3. If `rsync_cache` set (defaults to `shared/deploy`), rsyncs to that directory on the server.
43
- 4. If `rsync_cache` set, copies the content of that directory to a new release directory.
53
+ 3. If `rsync_cache` set (defaults to `shared/deploy`), rsyncs to that directory
54
+ on the server.
55
+ 4. If `rsync_cache` set, copies the content of that directory to a new release
56
+ directory.
44
57
  5. If `rsync_cache` is `nil`, rsyncs straight to a new release directory.
45
58
 
46
59
  After that, Capistrano takes over and runs its usual tasks and symlinking.
47
60
 
48
61
  ### Exclude files from being deployed
49
- If you don't want to deploy everything you've committed to your repository, pass some `--exclude` options to Rsync:
62
+ If you don't want to deploy everything you've committed to your repository, pass
63
+ some `--exclude` options to Rsync:
50
64
  ```ruby
51
65
  set :rsync_options, %w[
52
66
  --recursive --delete --delete-excluded
@@ -89,12 +103,14 @@ rsync_options | `[]` | Array of options to pass to `rsync`.
89
103
 
90
104
  License
91
105
  -------
92
- Capistrano::Rsync is released under a *Lesser GNU Affero General Public License*, which in summary means:
106
+ Capistrano::Rsync is released under a *Lesser GNU Affero General Public
107
+ License*, which in summary means:
93
108
 
94
109
  - You **can** use this program for **no cost**.
95
110
  - You **can** use this program for **both personal and commercial reasons**.
96
111
  - You **do not have to share your own program's code** which uses this program.
97
- - You **have to share modifications** (e.g bug-fixes) you've made to this program.
112
+ - You **have to share modifications** (e.g bug-fixes) you've made to this
113
+ program.
98
114
 
99
115
  For more convoluted language, see the `LICENSE` file.
100
116
 
@@ -104,4 +120,6 @@ About
104
120
  **[Andri Möll](http://themoll.com)** made this happen.
105
121
  [Monday Calendar](https://mondayapp.com) was the reason I needed this.
106
122
 
107
- If you find Capistrano::Rsync needs improving, please don't hesitate to type to me now at [andri@dot.ee](mailto:andri@dot.ee) or [create an issue online](https://github.com/moll/capistrano-rsync/issues).
123
+ If you find Capistrano::Rsync needs improving, please don't hesitate to type to
124
+ me now at [andri@dot.ee](mailto:andri@dot.ee) or [create an issue
125
+ online](https://github.com/moll/capistrano-rsync/issues).
@@ -1,9 +1,9 @@
1
1
  require File.expand_path("../rsync/version", __FILE__)
2
2
 
3
- # NOTE: Please don't depend on tasks without a description (`desc`) remaining
4
- # as they are between minor or patch version releases. They make up the private
5
- # API and internalas of Capistrano::Rsync. If you think something should be
6
- # public for extending, please let me know!
3
+ # NOTE: Please don't depend on tasks without a description (`desc`) as they
4
+ # might change between minor or patch version releases. They make up the
5
+ # private API and internals of Capistrano::Rsync. If you think something should
6
+ # be public for extending and hooking, please let me know!
7
7
 
8
8
  set :rsync_options, []
9
9
  set :rsync_copy, "rsync --archive --acls --xattrs"
@@ -1,5 +1,5 @@
1
1
  module Capistrano
2
2
  module Rsync
3
- VERSION = "1.0.1"
3
+ VERSION = "1.0.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-rsync
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andri Möll
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-09-02 00:00:00.000000000 Z
11
+ date: 2013-10-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capistrano