ikun 1.4.2 → 1.4.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ikun/command.rb +2 -2
- data/lib/ikun/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 80d2ada385351fa53e68d6ce6283a06b826adbf4cdce0af2d5ab4894f0bf95eb
|
4
|
+
data.tar.gz: 266d0eea049b1f3c6cfe98449c571650a93a08adf352155f2e5254d7dd5c6f81
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2e8f822c32f244cc901b9eb908cc7523ca07186936812771426f0a3025ebd62ab6249e1d8aa6a273c7cc3187b76b3e081086c92f37f630be5411771addcfb3a2
|
7
|
+
data.tar.gz: b86c2993d7da57ed1a2a287aa76b67e315b4e24046a889b5cab4d4458268091223484d32c69da0adac7d4564b344e0279f60e9ccedf56bb6d8b8d5cea415e07a
|
data/lib/ikun/command.rb
CHANGED
@@ -27,7 +27,7 @@ class Setup < Ikun::Command
|
|
27
27
|
@branch = argv.option('branch', 'main')
|
28
28
|
@target = argv.option('target', 'gpark')
|
29
29
|
@ikun = argv.option('ikun-branch', 'main')
|
30
|
-
@env = argv.option('env', 'online')
|
30
|
+
@env = argv.option('env', 'online')
|
31
31
|
super
|
32
32
|
end
|
33
33
|
|
@@ -35,7 +35,7 @@ class Setup < Ikun::Command
|
|
35
35
|
super
|
36
36
|
target = @target.downcase
|
37
37
|
help! 'target参数必须是gpark或者233' unless target == 'gpark' || target == '233' || target == 'shindig'
|
38
|
-
help! 'env必须是test/pre/online中的一个' unless ['pre', 'online'].include?(@env)
|
38
|
+
help! 'env必须是test/pre/online中的一个' unless ['test', 'pre', 'online'].include?(@env)
|
39
39
|
help! 'target == 233时, env参数才有效' unless (@target == '233' || @target == 'shindig') && @env.length > 0
|
40
40
|
end
|
41
41
|
|
data/lib/ikun/version.rb
CHANGED