apk_analyzer 1.0.0 → 1.0.1

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
  SHA1:
3
- metadata.gz: 5ddc1fe39420ebac13a7e80d242af9710c5845c2
4
- data.tar.gz: cb880c94b6862b0447639a25b6567555f9f12e13
3
+ metadata.gz: f7a749460d2c62450889ae77a17caaa168d49eca
4
+ data.tar.gz: c2d6b680d16576723c5c9063c3cdca2b89d720b0
5
5
  SHA512:
6
- metadata.gz: 692da36487298267e24587880f3a0c86984b5edaa9afb51d6188d13f77964f85ef536f1531006847e16e96ada2770b503a7d7755295edaade4d8911503f85fbe
7
- data.tar.gz: 0f7f5419ae86cf83e75cf36b269dc4bbd09050e79d42af96f8df04b03508d4974bac2487adb47eb259c9420417d59831c57ba43829312fd134d06acce1a65236
6
+ metadata.gz: e0225df57e93601f1f6e55359f429637badb21c13c5f9794c847210b9559f4b0f83467b0946b174b886662a367244ee3a2185d399ea59760ebef73429f60a965
7
+ data.tar.gz: 22ca4fd6a296419afaca64075a731598b0c0130081147c8182560fcb76cfeaa3146ff90112976db9b1b475e97d5f588e0ba9d5e92a501285f03b92eb38db7087
data/.gitignore CHANGED
@@ -14,3 +14,5 @@
14
14
  *.log
15
15
 
16
16
  test_binaries\.sh
17
+
18
+ test/reports/
@@ -68,7 +68,8 @@ module ApkAnalyzer
68
68
 
69
69
  # Certificate info. Issuer and dates
70
70
  def collect_cert_info
71
- raise 'keytool dependency not satisfied. Make sure that JAVA keytool utility is installed' if `which keytool` == ''
71
+ os_has_keytool = system('keytool')
72
+ raise 'keytool dependency not satisfied. Make sure that JAVA keytool utility is installed' unless os_has_keytool
72
73
  cert_info = {}
73
74
  certificate_raw = `keytool -printcert -rfc -jarfile #{@apk_path.shellescape}`
74
75
  certificate_content_regexp = /(-----BEGIN CERTIFICATE-----.*-----END CERTIFICATE-----)/m
@@ -1,3 +1,3 @@
1
1
  module ApkAnalyzer
2
- VERSION = "1.0.0"
2
+ VERSION = '1.0.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: apk_analyzer
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - BACKELITE
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-04-06 00:00:00.000000000 Z
11
+ date: 2017-04-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: apktools