capistrano-scm-copy 0.0.2 → 0.1.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: 7fa7cfc844c7ffffc1eda9ffbe63f5bd39293792
4
- data.tar.gz: 7fb2126d6e69820122d9542ce6c1d2f5358e4bfa
3
+ metadata.gz: 526028ffaf23848050a0849d784b7225d6ccbe25
4
+ data.tar.gz: 57663d65480ec0275db3aa213a787fb0b992b725
5
5
  SHA512:
6
- metadata.gz: 6100f7291e3eb64c283b9c96b3c1e534ec7b1f4743c0b7917ed78f12e59a6851cf3090ad13896ce728b25daac9abc652b81c4f0e96c07667a9d683cc8913e444
7
- data.tar.gz: bfe68ac85d5c88a480fed2369442b8a631aa9d7415d3a271ab4d73561a1ecc5abd6b9f8009b603217591949a66f5874c4b44feaf5084a212e14972d7b41e3aaf
6
+ metadata.gz: 72b73599c85a64c785bec6a584d7dac28f7bc4be082b5882e8d54324d29adff264a1acedc7ab9ce4b0f9f88585727ead716f0971e2dcd142ff33e3dbb8fbf0ed
7
+ data.tar.gz: 30831d3a1f1ecbcfaa902846af27be1ee341884bc30542840c508b395406d52130adb06d76c726f66c89b47e066381e6015cbc6cb9c0f9ff9d19a9149b8ed2f0
data/README.md CHANGED
@@ -44,6 +44,16 @@ The MIT License (MIT)
44
44
  Changelog
45
45
  =========
46
46
 
47
+ 0.1.0
48
+ -----
49
+
50
+ - Add `:include_dir`
51
+
52
+ 0.0.2
53
+ -----
54
+
55
+ - Add `task :set_current_revision`
56
+
47
57
  0.0.1
48
58
  -----
49
59
 
@@ -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.0.2"
6
+ s.version = "0.1.0"
7
7
  s.licenses = ["MIT"]
8
8
  s.authors = ["Benno van den Berg"]
9
9
  s.email = ["bennovandenberg@gmail.com"]
@@ -1,9 +1,10 @@
1
1
  namespace :copy do
2
2
 
3
3
  archive_name = "archive.tar.gz"
4
+ include_dir = fetch(:include_dir) || "*"
4
5
 
5
6
  desc "Archive files to #{archive_name}"
6
- file archive_name => FileList["*"].exclude(archive_name) do |t|
7
+ file archive_name => FileList[include_dir].exclude(archive_name) do |t|
7
8
  sh "tar -cvzf #{t.name} #{t.prerequisites.join(" ")}"
8
9
  end
9
10
 
@@ -36,7 +37,7 @@ namespace :copy do
36
37
  task :create_release => :deploy
37
38
 
38
39
  task :check
39
-
40
+
40
41
  task :set_current_revision
41
42
 
42
43
  end
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.0.2
4
+ version: 0.1.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-05-02 00:00:00.000000000 Z
11
+ date: 2014-06-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capistrano