capistrano-scm-copy 0.6.0 → 0.7.0
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 +4 -4
- data/README.md +4 -0
- data/capistrano-scm-copy.gemspec +1 -1
- data/lib/capistrano/tasks/copy.rake +3 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2743c1d70ad8450923c79ce887018660f142f378
|
4
|
+
data.tar.gz: 1cbe3d8f671e70d4a298239a62ebba756449bb2f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0bae801c481e0b965f7bcd6acbaf65474297dbd0b2f674a2873330e571883f331c0da3acd4d55be58946f14a5585e95e2d9b3e6a4beefd5c31c66610ebcb48cf
|
7
|
+
data.tar.gz: 347326a56838c183941a42140d173eaf4774654a4a1dbbacb78e6bdbb9f51c45f096bb9b3263a27e6ff8b03c7501e25e19e8318d261415481b2a8dd5b9e1b5b2
|
data/README.md
CHANGED
@@ -25,6 +25,10 @@ First make sure you install the capistrano-scm-copy by adding it to your `Gemfil
|
|
25
25
|
|
26
26
|
gem "capistrano-scm-copy"
|
27
27
|
|
28
|
+
Add to Capfile:
|
29
|
+
|
30
|
+
require 'capistrano/copy'
|
31
|
+
|
28
32
|
Then switch the `:scm` option to `:copy` in `config/deploy.rb`:
|
29
33
|
|
30
34
|
set :scm, :copy
|
data/capistrano-scm-copy.gemspec
CHANGED
@@ -9,9 +9,11 @@ namespace :copy do
|
|
9
9
|
# Defalut to :all roles
|
10
10
|
tar_roles = fetch(:tar_roles, :all)
|
11
11
|
|
12
|
+
tar_verbose = fetch(:tar_verbose, true) ? "v" : ""
|
13
|
+
|
12
14
|
desc "Archive files to #{archive_name}"
|
13
15
|
file archive_name => FileList[include_dir].exclude(archive_name) do |t|
|
14
|
-
cmd = ["tar -
|
16
|
+
cmd = ["tar -c#{tar_verbose}zf #{t.name}", *exclude_args, *t.prerequisites]
|
15
17
|
sh cmd.join(' ')
|
16
18
|
end
|
17
19
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-scm-copy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Benno van den Berg
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-06-
|
11
|
+
date: 2015-06-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capistrano
|