ikun 1.4.3 → 1.4.4
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: f9945ebcbb1582127a539f4e27e0cd4e13b1bcdbe262d6104a85470a3d98d44b
|
4
|
+
data.tar.gz: 8d897808edd1dce329743c3f906a9875303f8ade926642c1f22299d0f9905bf8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 06f4c7b67d103e5c60ea3c91e44b120df55dcccc518c5475aacec4fd95be6be8d3edafe69d6a62df7238e884d77b3009720b6d243ed356cd5c612f5066403d20
|
7
|
+
data.tar.gz: a85f7a03817a1ba3fa6e805f0014e91f225c1a6b20b601a958ae16afc0386b4a6ec236395b54878ff897d0ed9a1fc8c6aa790b2f22dcdb8bc4b1e82de30a51d6
|
data/lib/ikun/command.rb
CHANGED
@@ -35,8 +35,8 @@ 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 ['test', 'pre', 'online'].include?(@env)
|
39
|
-
help! 'target == 233时, env参数才有效' unless
|
38
|
+
help! 'env必须是test/pre/online中的一个' unless @target == 'gpark' || ['test', 'pre', 'online'].include?(@env)
|
39
|
+
help! 'target == 233时, env参数才有效' unless @target == 'gpark' || @env.length > 0
|
40
40
|
end
|
41
41
|
|
42
42
|
def run
|
data/lib/ikun/version.rb
CHANGED