morhekil-capistrano-deepmodules 0.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.
- data/capistrano-deepmodules.gemspec +2 -2
- data/lib/capistrano/deepmodules.rb +1 -1
- metadata +2 -2
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Gem::Specification.new do |s|
|
|
2
2
|
s.name = 'capistrano-deepmodules'
|
|
3
|
-
s.version = "0.
|
|
4
|
-
s.date = "
|
|
3
|
+
s.version = "0.2"
|
|
4
|
+
s.date = "2009-03-01"
|
|
5
5
|
s.summary = "Capistrano plugin to deploy Git repos with nested submodules."
|
|
6
6
|
s.description = %{This plugin allows you to easily deploy git repositories with
|
|
7
7
|
submodules nested at more then one level.%}
|
|
@@ -45,7 +45,7 @@ module Capistrano
|
|
|
45
45
|
run("cd #{dir} && #{source.submodule('status')}") do |state, stream, text|
|
|
46
46
|
# parsing the output of "git submodule status" command
|
|
47
47
|
# and collecting paths of all submodules into an array
|
|
48
|
-
submodules
|
|
48
|
+
submodules += text.split(/\n/).collect do |submodule|
|
|
49
49
|
$~[1] if submodule.rstrip =~ /.\w{40} ([^()]+)($| \(.*\)$)/
|
|
50
50
|
end
|
|
51
51
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: morhekil-capistrano-deepmodules
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: "0.
|
|
4
|
+
version: "0.2"
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Oleg Ivanov
|
|
@@ -9,7 +9,7 @@ autorequire:
|
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
11
|
|
|
12
|
-
date:
|
|
12
|
+
date: 2009-03-01 00:00:00 -08:00
|
|
13
13
|
default_executable:
|
|
14
14
|
dependencies: []
|
|
15
15
|
|