lhj-tools 0.2.10 → 0.2.11

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: 670409a3954d63aa1e077c71f5b0f544899f6f9d586c66bbcc82d1e5799f3209
4
- data.tar.gz: b9f56ef37e8b3cf6e32a2bd5e4acbde8c3221e56f6987dfb844dd6ed59495411
3
+ metadata.gz: 9253ea846b7f3ff4991cac003353d32c99ffa7f0f23051e9a68850153e285878
4
+ data.tar.gz: 9e4c8a54b6846cdeb70b34e5875eb28b8c24292210650df8dc27d3ea1d10042a
5
5
  SHA512:
6
- metadata.gz: 35452a9fbe1f94d8fa18bc3b549e68ef2b663f6e2e6244071b2349b113ce50040a2999ebce3a5c97d9ddaaef52841af474eca6808532ff3d5184bfe04088cc9b
7
- data.tar.gz: 6b90f7b7f47524484197e8be1a4f3fac4a18720292d3120d4fb4866ab09e2f1506388fa34f91436c2ce8a3dcb45e6ceff72cb0c18f778e3916bae2d7dfaa69f5
6
+ metadata.gz: dfdd618f072fe2e42ea7e737146aa7b897badc51380a3101ed5e2c121eee076ac6ca6c29049119306fbf5b5ff3571bf33ea2cc2060f8b93feb2339638ba15b03
7
+ data.tar.gz: a9d3c9e70f2c2a2edc6edf8eb82280d48a4e5199946af834b3031dff0098077bafce7f61254f637b38b2b4040ca8e93cdb7616ac4950742a1a6244bc5224a6f3
@@ -9,6 +9,11 @@ module Lhj
9
9
  file = File.join(Lhj::Config.instance.home_dir, BUGLY_JAR)
10
10
  Lhj::OSS::Helper.instance.down_load("bugly/#{BUGLY_JAR}", file) unless File.exist?(file)
11
11
 
12
+ Dir.chdir(input_symbol) do
13
+ zip_path = Dir['*.app.dSYM.zip'].first
14
+ Action.sh("unzip -qo '#{zip_path}' -d dsym") if zip_path
15
+ end
16
+
12
17
  command = %w[java -jar]
13
18
  command << "#{Lhj::Config.instance.home_dir}/#{BUGLY_JAR}"
14
19
  command << "-appid #{app_id}"
@@ -18,7 +23,7 @@ module Lhj
18
23
  command << '-platform IOS'
19
24
  command << "-inputSymbol #{input_symbol}"
20
25
  # puts command.join(' ')
21
- Actions.sh(command.join(' '), log: true)
26
+ Actions.sh(command.join(' '), log: false)
22
27
  end
23
28
 
24
29
  end
data/lib/lhj/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Lhj
4
- VERSION = '0.2.10'
4
+ VERSION = '0.2.11'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lhj-tools
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.10
4
+ version: 0.2.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - lihaijian