ikun 1.3.2 → 1.4.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 48014f4aa1cef46d7b68a7281dec3bbc040a7974420cf9ca870345e21ea709fa
4
- data.tar.gz: 244ddda343ac5bf05e172f75449aa7aaf9fd8a8a9253b98bf665413817aa5a20
3
+ metadata.gz: 1c187781782afa6b0d4c2fa09c1582a66bc5b1df3b29570b051b96d81e4318e4
4
+ data.tar.gz: 05fa12593244061b78bdb0a30d160e448e272856cb54049e86d483f1db089812
5
5
  SHA512:
6
- metadata.gz: ac2728c2dc8dc6f922d8df62fdca112b69a159e33ace5ac012e1ba86e1997b74696cec155566edfbb07f203626cce0f95592a487f37f71299804cd9c3d22cafd
7
- data.tar.gz: fe40da2138db53316a202329807ee47496e5e9001828dfd83fb3acec41870d85d793f46f71c22582467560f429dd67d80e2a276558164acd7276b2b42be354fd
6
+ metadata.gz: ff066a7c56e0aa125be84241e5db73565cdbd773ced5dfa5fd739f92a836f9942e54e340ff4a6b0062a5c84b914cb3e13dcd8a0c53af3a9dd29c830be9e4c8bf
7
+ data.tar.gz: b42a6df60f884fba3a7cbddf85a9228d6055371409725d70a69e55ab8f334e939a7b829ef783c1d77203e0bd9bcbaae658006361809bc70746e156ecdecc2e03
data/lib/ikun/command.rb CHANGED
@@ -16,9 +16,9 @@ class Setup < Ikun::Command
16
16
  [
17
17
  ['--shipping', '使用shipping路径的MetaWorldMobile.framework'],
18
18
  ['--branch=CONTAINER_BRANCH', '项目分支, 默认为main分支'],
19
- ['--target=BUSINESS_LINE', '业务线(gpark or 233), 默认为gpark, 不区分大小写.'],
19
+ ['--target=BUSINESS_LINE', '业务线(gpark/233/shindig), 默认为gpark, 不区分大小写.'],
20
20
  ['--ikun-branch', 'ikun使用哪个分支'],
21
- ['--env', '项目环境, target == 233时生效, test/pre/online']
21
+ ['--env', '项目环境, target233/shindig时生效, pre/online']
22
22
  ].concat(super)
23
23
  end
24
24
 
@@ -34,9 +34,9 @@ class Setup < Ikun::Command
34
34
  def validate!
35
35
  super
36
36
  target = @target.downcase
37
- help! 'target参数必须是gpark或者233' unless target == 'gpark' || target == '233'
38
- help! 'env必须是test/pre/online中的一个' unless ['test', 'pre', 'online'].include?(@env)
39
- help! 'target == 233时, env参数才有效' unless @target == '233' && @env.length > 0
37
+ help! 'target参数必须是gpark或者233' unless target == 'gpark' || target == '233' || target == 'shindig'
38
+ help! 'env必须是test/pre/online中的一个' unless ['pre', 'online'].include?(@env)
39
+ help! 'target == 233时, env参数才有效' unless (@target == '233' || @target == 'shindig') && @env.length > 0
40
40
  end
41
41
 
42
42
  def run
data/lib/ikun/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Ikun
2
- VERSION = "1.3.2"
2
+ VERSION = "1.4.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ikun
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.2
4
+ version: 1.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - lei.han
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-07-11 00:00:00.000000000 Z
11
+ date: 2024-09-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: claide