fast_pack 0.3.4 → 0.3.5

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 56b76321cbc99b6332e24ff16d35aa00200a23bccea0288640e97929c9bc4733
4
- data.tar.gz: 990894a1d13a216970560cef95f4c240552d25b7ed3bf270f3b252862512f915
3
+ metadata.gz: 67dc8ee35cc30708896e0e1281bed29496fe587043dcd74fab145d13e75cc381
4
+ data.tar.gz: 842747c3508824971d1fdd512c07f627c2a0e69c9f90d950d03682342af9dff3
5
5
  SHA512:
6
- metadata.gz: f6c15ba3e8418a94201d88bd419e406531e1ff5d8c9df4c7baf7f8472ff6f486df13ecfdf8145ebbb0f86f82a70711cec11c743ef5fa92088ca92cad037b59d9
7
- data.tar.gz: b068e5065c2122006903ebbd0f427e020f30fa6552bf4a30b7398bba5f222450194edf1145b16654ac694164c7570d19888bc2115d5b81ea031b678814f5eaea
6
+ metadata.gz: c651e6cf66be5bd555c76d286605daa40a36bbf5c56997cbf130e4c8d412c4250d46e421218c1b2ac8bb6f1c502aa6b859838595aa2087670b570c646e0e338e
7
+ data.tar.gz: fe7bf395dfa1bca11e4174d194f7d15db23085606a790230f34fcc309f09bb6d844f706628a0e27d34fb1192aa6dca909117ff6a46c0dc119f077af871ebc8e6
@@ -62,7 +62,7 @@ class Shell_Command
62
62
  # 直接开始导出
63
63
  self.export
64
64
  elsif
65
- puts("********************************************************* 失败")
65
+ puts("********************************************************* 编译失败")
66
66
  exit
67
67
  end
68
68
  end
@@ -73,7 +73,7 @@ class Shell_Command
73
73
  def export
74
74
 
75
75
  unless uki_config.build_exe_path
76
- puts "未生成目标文件目录"
76
+ puts "未找到目标文件目录"
77
77
  exit
78
78
  end
79
79
 
@@ -128,8 +128,7 @@ class Shell_Command
128
128
  }
129
129
 
130
130
  ipa_size = log[/包体积.*$/].split('=').last
131
-
132
- url = log[/http:.*$/]
131
+ url = log[/http:.*$/].to_s
133
132
  array = log.split('%')
134
133
  uki_config.upload_time = array.last.split("=").last.to_i
135
134
  uki_config.build_time = Time.now.to_i - uki_config.build_time - uki_config.upload_time
@@ -260,7 +259,7 @@ class Shell_Command
260
259
  }
261
260
 
262
261
  log = %x{
263
- curl -X POST -H "Content-Type: application/json" -d '#{message.to_json}' "https://open.feishu.cn/open-apis/bot/v2/hook/68c47d38-fc65-4cc5-a386-885a1fbff11b"
262
+ curl -X POST -H "Content-Type: application/json" -d '#{message.to_json}' "https://open.feishu.cn/open-apis/bot/v2/hook/71ee99db-27fa-45ee-8cba-3004037f34ea"
264
263
  }
265
264
 
266
265
  if uki_config.verbose?
@@ -112,10 +112,10 @@ class Uki_config
112
112
 
113
113
  def group_name
114
114
  unless @workspace_name == "miaohong.xcworkspace"
115
- return "iOS海外极速打包完成"
115
+ return "iOS海外极速打包已完成"
116
116
  end
117
117
 
118
- return "iOS国内极速打包完成"
118
+ return "iOS国内极速打包已完成"
119
119
  end
120
120
 
121
121
  def xcode_env_path
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Packager
4
- VERSION = "0.3.4"
4
+ VERSION = "0.3.5"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fast_pack
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.4
4
+ version: 0.3.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - 耿磊