capistrano-scm-copy 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +0 -2
- data/capistrano-scm-copy.gemspec +1 -1
- data/lib/capistrano/tasks/copy.rake +2 -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: 4b87a57ba0b464d2504076cef5454ba399a68fa9
|
4
|
+
data.tar.gz: d368c8077c987de08ec03a1219bfdd6157fbf53b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cc9ad2071e33cb4c119a9bb4f730472946205947c587c9b513ba0c3146fd1fdc6a340a295d1d57d9d865591e0c32224458c9f0d15daf0c5948004784fd30d3e6
|
7
|
+
data.tar.gz: 07c063529af8cd6f6ce15caf3028bf7bb8b600b323c4a506addd0f4f2a37551f8a2603b4a11c066aad07c5d92e661a8b8ef43b07f9b62cccbe5c287113da08b3
|
data/README.md
CHANGED
data/capistrano-scm-copy.gemspec
CHANGED
@@ -2,10 +2,11 @@ namespace :copy do
|
|
2
2
|
|
3
3
|
archive_name = "archive.tar.gz"
|
4
4
|
include_dir = fetch(:include_dir) || "*"
|
5
|
+
exclude_dir = fetch(:exclude_dir) || ""
|
5
6
|
|
6
7
|
desc "Archive files to #{archive_name}"
|
7
8
|
file archive_name => FileList[include_dir].exclude(archive_name) do |t|
|
8
|
-
sh "tar -cvzf #{t.name} #{t.prerequisites.join(" ")}"
|
9
|
+
sh "tar -cvzf #{t.name} #{t.prerequisites.join(" ")}" + (exclude_dir.empty? ? "" : " --exclude #{exclude_dir}")
|
9
10
|
end
|
10
11
|
|
11
12
|
desc "Deploy #{archive_name} to release_path"
|
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.2.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: 2014-
|
11
|
+
date: 2014-08-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capistrano
|