lhj-tools 0.2.6 → 0.2.8
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 +4 -4
- data/lib/lhj/helper/bugly_helper.rb +18 -0
- data/lib/lhj/helper/log_helper.rb +1 -1
- data/lib/lhj/lhj.rb +1 -0
- data/lib/lhj/version.rb +1 -1
- metadata +17 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '068e98888d87494e24872d429a872a82a2287592645ffbda0a35906b15b15a46'
|
4
|
+
data.tar.gz: 1c8dfaf1e6384cc59c424b18536c5b4ddcbc108611d9740005b102399acd7f1d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1177edd653656d64a8e24be8f476737c1ee77f02f39152018f53c02ae0602347dcce9b0e245facfb7fbd3328af20b9e13c7cb7e56d766cff5fb9814adf248c0d
|
7
|
+
data.tar.gz: f8a61a039275e0ddd6356074b6b1c5d67ff62c2244ced31419fe530fe5522a6f4e4bc0fcf3a753f799b1b509240e9c15fb9a0d2c1f66d4de64993307e7046428
|
@@ -0,0 +1,18 @@
|
|
1
|
+
|
2
|
+
module Lhj
|
3
|
+
# bugly helper
|
4
|
+
class BuglyHelper
|
5
|
+
|
6
|
+
def self.upload_sym(app_id, app_key, bundle_id, version, input_symbol)
|
7
|
+
command = %w[java jar buglyqq-upload-symbol.jar]
|
8
|
+
command << "-appid #{app_id}"
|
9
|
+
command << "-appkey #{app_key}"
|
10
|
+
command << "-bundleid #{bundle_id}"
|
11
|
+
command << "-version #{version}"
|
12
|
+
command << '-platform IOS'
|
13
|
+
command << "-inputSymbol #{input_symbol}"
|
14
|
+
Actions.sh(command.join[' '], log: true)
|
15
|
+
end
|
16
|
+
|
17
|
+
end
|
18
|
+
end
|
data/lib/lhj/lhj.rb
CHANGED
data/lib/lhj/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lhj-tools
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- lihaijian
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-02-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: xcodeproj
|
@@ -316,6 +316,20 @@ dependencies:
|
|
316
316
|
- - "~>"
|
317
317
|
- !ruby/object:Gem::Version
|
318
318
|
version: 4.7.1
|
319
|
+
- !ruby/object:Gem::Dependency
|
320
|
+
name: redis
|
321
|
+
requirement: !ruby/object:Gem::Requirement
|
322
|
+
requirements:
|
323
|
+
- - ">="
|
324
|
+
- !ruby/object:Gem::Version
|
325
|
+
version: 5.0.6
|
326
|
+
type: :runtime
|
327
|
+
prerelease: false
|
328
|
+
version_requirements: !ruby/object:Gem::Requirement
|
329
|
+
requirements:
|
330
|
+
- - ">="
|
331
|
+
- !ruby/object:Gem::Version
|
332
|
+
version: 5.0.6
|
319
333
|
description: lhj tools.
|
320
334
|
email:
|
321
335
|
- sanan.li@qq.com
|
@@ -367,6 +381,7 @@ files:
|
|
367
381
|
- lib/lhj/config.rb
|
368
382
|
- lib/lhj/env.rb
|
369
383
|
- lib/lhj/helper/app_version_info.rb
|
384
|
+
- lib/lhj/helper/bugly_helper.rb
|
370
385
|
- lib/lhj/helper/dingtalk_config.rb
|
371
386
|
- lib/lhj/helper/dingtalk_helper.rb
|
372
387
|
- lib/lhj/helper/erb_template_helper.rb
|