mina-git-submodules 1.0.1 → 1.0.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1c5fed0bd809e0586230e1026f2e7b20314ba64a
4
- data.tar.gz: d24cfca1763a7e2f3c4274a4423667779695f6df
3
+ metadata.gz: 0b2ac52742f57c61d138736f29881a8b9ac4288a
4
+ data.tar.gz: 19d699e6772f600d85ff9c5420741fca18094609
5
5
  SHA512:
6
- metadata.gz: 3117e57cb622db2de0a289f5dfb92178f3c5cd42cde537ba702120d47b17a53bc7903ad8b35e29570cc410e05f494982a55170afbaa8e678de18e1b36b7d0611
7
- data.tar.gz: f1abcc96bd61d95e3cb9816047c63480bc6a65a46b28309d09b9ab35f22ae27408bcc2a988a96e477770d10f81997ea7fee38dbd267f660b35090c2ba2bfdb97
6
+ metadata.gz: 1faf7d9af78abfec3216312a4fe16b4417ba36caa875a9dda1b243a03cef76522a23a8d16477673b50ac5d796cc403c9870549f57681423e0868697affdd4eec
7
+ data.tar.gz: f9bb15cbe58f80046d0d734ebd546bdbcc5aa2b3e87fc9065cc96465f613619d3559386ac7c64b6edc451af22ad60aec48228fef434c245ce14eba0a8986b0dd
@@ -27,7 +27,7 @@ namespace :git do
27
27
  echo "-----> Updating git submodules" &&
28
28
  #{echo_cmd %[(cd "#{fetch(:deploy_to)}/scm" && git submodule init && git submodule sync && git submodule update --init --recursive)]} &&
29
29
  echo "-----> Copying to release path (branch: '#{fetch(:branch)}')" &&
30
- #{echo_cmd %[rsync -lrpt "#{fetch(:deploy_to)}/scm/" .]}
30
+ #{echo_cmd %[rsync -lrpt --exclude "*/.git/" "#{fetch(:deploy_to)}/scm/" .]}
31
31
  }, quiet: true
32
32
  end
33
33
 
@@ -39,6 +39,7 @@ namespace :git do
39
39
  end
40
40
  end
41
41
 
42
+ desc 'Removes the old git scm directory'
42
43
  task :remove_cache do
43
44
  comment "Removing git scm directory"
44
45
  command %{rm -rf "#{fetch(:deploy_to)}/scm" }
@@ -1,5 +1,5 @@
1
1
  module Mina
2
2
  module GitSubmodules
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: mina-git-submodules
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
  - Cameron Taylor
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-10-11 00:00:00.000000000 Z
11
+ date: 2016-11-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mina