samus 1.2.8 → 1.2.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/commands/build/git-clone +4 -0
- data/commands/publish/git-push +12 -3
- data/lib/samus/version.rb +1 -1
- data/samus.json +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7b72b854edfcfc83aa71b7b57c7eb61efd5cf495
|
4
|
+
data.tar.gz: e5e522de4f1b42f535dcc8a2a0d6297b74b1f690
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 795823b5eeb03228aaf154c12f698a0814c763b6cbc1ffe14defd570ab456d754fe7029d309699d56b652c61e7daf52d4b2782e00a0e9efd14da073702b6ab32
|
7
|
+
data.tar.gz: ddb5c5121d7732e00fd6b489381ea7f97c82375e2149e2c1b14d5552e1ab5bf176d791ea65722c531b96c124a097afbe898b8c6a425c59245743eab0d6da6c0f
|
data/commands/build/git-clone
CHANGED
data/commands/publish/git-push
CHANGED
@@ -2,9 +2,16 @@
|
|
2
2
|
|
3
3
|
set -e
|
4
4
|
olddir=$(pwd)
|
5
|
-
dir=$
|
5
|
+
dir=$1
|
6
|
+
remove_dir=""
|
6
7
|
|
7
|
-
|
8
|
+
case "$dir" in
|
9
|
+
*.tgz|*.gz)
|
10
|
+
dir=$(mktemp -d -t samus)
|
11
|
+
remove_dir="1"
|
12
|
+
tar -xzf $* -C $dir
|
13
|
+
;;
|
14
|
+
esac
|
8
15
|
|
9
16
|
cd $dir
|
10
17
|
for r in $_remotes; do
|
@@ -12,4 +19,6 @@ for r in $_remotes; do
|
|
12
19
|
done
|
13
20
|
cd $olddir
|
14
21
|
|
15
|
-
|
22
|
+
if [ -n "$remove_dir" ]; then
|
23
|
+
rm -rf $dir
|
24
|
+
fi
|
data/lib/samus/version.rb
CHANGED
data/samus.json
CHANGED