headdesk 0.11.2 → 0.11.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5c9deaa1058457f023235fe83af85e3e37f63faf7b7865971effb3caf4c62d82
4
- data.tar.gz: 69ad127f2edea789644a24ae147532bf8bb8def592fe46f236df957f6b9b2091
3
+ metadata.gz: 3b32f9efbc0414b9e7d1e10dbbb3bfed5bcbbf9b8f5a6375f37d546fed4f71ba
4
+ data.tar.gz: e560426b394c8e1cfefe63ac4c3b0323316f544bca2ec9a470003c5f62e8b2a2
5
5
  SHA512:
6
- metadata.gz: 832f2ff6f05497ec5dad8ae5b1e74244e034243303297c7c48bd04d238d59c493286648868b3d02d9e69f4b5064a9cd51160cd70ad4f61b71bfd26d2ba7ff92b
7
- data.tar.gz: dd334d460ff10200fd7afc98b6d5e24f18bb9500cde58442086c18edce457fea5bb4c6a142630b2e4582e521a6d09601d3603159c5079c07441e672faefc00f4
6
+ metadata.gz: fb1a6c4b85f0969811414af5daae9e6ea7d2ccff2c6441f37fb1d22e102efccbfd56c2d81ec02615d39f0c3e6c176894245c0804789e041a0cb65d67c988aea0
7
+ data.tar.gz: d38442d793b4a7873dcd574a881de6d1a8a3d5a8cb07ed7f4da60e46998ed3aa3905d66e4b3c09cac040fbb97163a0a537ded5b84fe1b69e736bd67b93020f31
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- headdesk (0.11.1)
4
+ headdesk (0.11.3)
5
5
  awesome_print (~> 1.8)
6
6
  gems (~> 1.1)
7
7
  nokogiri (~> 1.10)
@@ -68,8 +68,8 @@ module Headdesk
68
68
  end
69
69
 
70
70
  def find_class(decl)
71
- file_name = File.join(@path, 'smali', "#{Class.path_for(decl)}.smali")
72
- return nil unless File.exist? file_name
71
+ file_name = Dir["#{@path}/smali*/**/#{Class.path_for(decl)}.smali"].first
72
+ return nil unless file_name && File.exist?(file_name)
73
73
 
74
74
  Class.new(file_name)
75
75
  end
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Headdesk
4
- VERSION = '0.11.2'
4
+ VERSION = '0.11.3'
5
5
  APKTOOL_VERSION = '2.3.4'
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: headdesk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.2
4
+ version: 0.11.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pat Wilson