capistrano-scm-copy 0.6.0 → 0.7.0

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: bf2dc8c10a0802106a203b1426eec6cdec51910d
4
- data.tar.gz: ede6eaf754588bba7ee992f07225e530b6f056a8
3
+ metadata.gz: 2743c1d70ad8450923c79ce887018660f142f378
4
+ data.tar.gz: 1cbe3d8f671e70d4a298239a62ebba756449bb2f
5
5
  SHA512:
6
- metadata.gz: 7f002a51db08bdd3ae2704b81010955bdcee9e2cb4cd5d9907bf24be0c9129974147a85f21ede31865ab38df263dd5192e12ef734bf9b332bcfe4912d5f8e8ef
7
- data.tar.gz: fd8669fba5bc9b69c82e616ffec99cd765e0dfd481625d7e16894371cd265da213b62af06037cb944815b6d8dd6f729bf98d392dcd707fc2e764a40087afa72e
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
@@ -3,7 +3,7 @@ $:.push File.expand_path("../lib", __FILE__)
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "capistrano-scm-copy"
6
- s.version = "0.6.0"
6
+ s.version = "0.7.0"
7
7
  s.licenses = ["MIT"]
8
8
  s.authors = ["Benno van den Berg"]
9
9
  s.email = ["bennovandenberg@gmail.com"]
@@ -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 -cvzf #{t.name}", *exclude_args, *t.prerequisites]
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.6.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-03 00:00:00.000000000 Z
11
+ date: 2015-06-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capistrano