headdesk 0.16.1 → 0.16.2

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: ffbd38c12b42f3040a9ed8fe1a352902bf446da77c780c2d1bc0634296c19c96
4
- data.tar.gz: 208004bf2fe7733cc44466522e9dbc93d9e6b92e5edf5e5148ad676cc608a57f
3
+ metadata.gz: 05e2d336a7ab8fb446b348d2e7730a430c71913c574c9a7231e3f8e6dd3df97e
4
+ data.tar.gz: 35395dcbc37eac9a5cc5bbc3f13d2162efb88055f9f30d648cccb4b2716384f6
5
5
  SHA512:
6
- metadata.gz: fee39e258d6dd3dfb55beaa4c3fc92b59993c27a396aebba1872bc4a0f861acb83f23c1c3fd3cb380ddff904a83b11d5f53d8a471a1d53621068c3a5e43d31da
7
- data.tar.gz: edabb82c74a6cdaabf39dc2aa74944db21929e5f2fecd98b4ad85f62799b722c1820d963bf82532890b1ec9c0a031f4cd8c694f3ec0463634af25529eac34f84
6
+ metadata.gz: deee972aaaec9a16ff2989aa961aedb8ca17d5492f2f7384c1d31dc40a84e0a181ff60e083e222ca2f20718201d302f109e488787df1d1bd99445c6ca745c7f9
7
+ data.tar.gz: 8aa04280c819ddcd01629462c1b1420e18f2526131e4373c4163b4f7e40b61398d9da745c0789c861d888759cb5f144d2a0d905b43a61f1b810eed225b40a1b3
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- headdesk (0.16.0)
4
+ headdesk (0.16.1)
5
5
  awesome_print (~> 1.8)
6
6
  gems (~> 1.1)
7
7
  nokogiri (~> 1.10)
@@ -15,6 +15,7 @@ module Headdesk
15
15
  end
16
16
  begin
17
17
  return Headdesk::Ipa.new(path).analyze
18
+ rescue
18
19
  end
19
20
  throw CliError.new('Path did not contain an unpacked IPA or APK.')
20
21
  end
@@ -25,6 +25,8 @@ module Headdesk
25
25
  @path = File.join(@path, 'unknown') if was_unpacked_by_apktool
26
26
  @path = Dir[File.join(@path, 'Payload','*.app')].first
27
27
 
28
+ throw CliError.new('Path did not contain Info.plist') unless @path && Dir.exist?(@path)
29
+
28
30
  info_plist_path = File.join(@path, 'Info.plist').freeze
29
31
 
30
32
  throw CliError.new('Path did not contain Info.plist') unless File.exist?(info_plist_path)
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Headdesk
4
- VERSION = '0.16.1'
4
+ VERSION = '0.16.2'
5
5
  APKTOOL_VERSION = '2.3.4'
6
6
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: headdesk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.16.1
4
+ version: 0.16.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pat Wilson
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-02-24 00:00:00.000000000 Z
11
+ date: 2020-03-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler