sbfaulkner-astrovan 0.5.9 → 0.6.0
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/README.rdoc +3 -0
- data/VERSION.yml +2 -2
- data/lib/astrovan/update.rb +6 -2
- metadata +2 -2
data/README.rdoc
CHANGED
data/VERSION.yml
CHANGED
data/lib/astrovan/update.rb
CHANGED
@@ -12,7 +12,7 @@ module Astrovan
|
|
12
12
|
|
13
13
|
git = options[:git] || self.git
|
14
14
|
|
15
|
-
# TODO:
|
15
|
+
# TODO: should we also checkout to branch instead of using detached HEAD?
|
16
16
|
exec <<-END, options
|
17
17
|
if [ -d '#{shared_repository}' ]
|
18
18
|
then
|
@@ -21,7 +21,11 @@ module Astrovan
|
|
21
21
|
else
|
22
22
|
#{git} clone --bare #{repository} #{shared_repository}
|
23
23
|
fi &&
|
24
|
-
#{git} clone #{shared_repository} #{release_path}
|
24
|
+
#{git} clone #{shared_repository} #{release_path} &&
|
25
|
+
cd #{release_path} &&
|
26
|
+
#{git} submodule init &&
|
27
|
+
#{git} submodule update
|
28
|
+
|
25
29
|
END
|
26
30
|
|
27
31
|
symlink release_path, options.merge(:to => current_path)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sbfaulkner-astrovan
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- S. Brent Faulkner
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-02-
|
12
|
+
date: 2009-02-25 00:00:00 -08:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
|