android_parser 2.7.0.beta1 → 2.7.0

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: fe3ead9fd9c4393e0cf3fb39fae3f4ab4a99e68e30cbceae79a8861d451f3266
4
- data.tar.gz: 2d80687dc01a1541d4f0b049d499e448eeee4f7413834fd603b5c7560b40048b
3
+ metadata.gz: 5bc2e1b9a33de71a8ffff0ee8c304328f64916f16aca5d0c36b3a74c59ce6d59
4
+ data.tar.gz: 9e78aec70a06fd4655c1e2a34aeecb5325277b75fd315d0400b2799ce2974c5d
5
5
  SHA512:
6
- metadata.gz: 98d6c6286ec3c02a7939e94bdeff0d0316db3997df828af79bb5b585e4f698ac36cb63c419d66da0da97ba48595e33e3d405e8296de95161cb3a9d8003931233
7
- data.tar.gz: bd31cc2455cf30dcb001cc838fa48608910a20aaaa7b9e74f020c4c6fb3ea07f19cc6d0e598813bccfcfec30765f1775968cf4cba0e436a58bc6ddb2548eba00
6
+ metadata.gz: b1e31e7d86acb5983f4a66976146c76068c549b71df9b538de30814147c5aac5b5bf522d97517aded04810dcebc5648f211ddcfbf3c5e8c5d601c1c2e2217e74
7
+ data.tar.gz: 19ab1c2a189da160bff548e5ceae83f75ab97ce10f0a329dbe13c152a2c8f9a24a067d69ae7d91d4b87f638360c60c14602eb43f2b930672cc7734807354cb6b
data/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # ChangeLog
2
2
 
3
- ## 2.7.0.beta1
3
+ ## 2.7.0
4
4
 
5
5
  * Dropped Ruby 2.5~3.0 support, now requires Ruby 3.1+.
6
6
  * Bugfix: [#7] parse library type to fix unknown chunk type 0x0203.
@@ -1,6 +1,6 @@
1
1
  (The MIT License)
2
2
 
3
- Copyright (c) 2012 Securebrain
3
+ Copyright (c) 2012 Securebrain, 2021 ~ present icyleaf
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining
6
6
  a copy of this software and associated documentation files (the
data/README.md CHANGED
@@ -1,16 +1,12 @@
1
1
  # android_parser
2
2
 
3
- [![Language](https://img.shields.io/badge/ruby-2.5+-701516.svg)](.github/workflows/ci.yml)
3
+ [![Language](https://img.shields.io/badge/ruby-3.1+-701516.svg)](.github/workflows/ci.yml)
4
4
  [![Build Status](https://img.shields.io/github/actions/workflow/status/icyleaf/android_parser/ci.yml)](https://github.com/icyleaf/android_parser/actions/workflows/ci.yml)
5
5
  [![Gem version](https://img.shields.io/gem/v/android_parser.svg?style=flat)](https://rubygems.org/gems/android_parser)
6
- [![License](https://img.shields.io/badge/license-MIT-red.svg?style=flat)](LICENSE.txt)
6
+ [![License](https://img.shields.io/badge/license-MIT-red.svg?style=flat)](LICENSE)
7
7
 
8
8
  Android Apk static analysis parser library for Ruby, forked from [playtestcloud/ruby_apk](https://github.com/playtestcloud/ruby_apk).
9
9
 
10
- ## Requirements
11
-
12
- - ruby (>= 2.5)
13
-
14
10
  ## Install
15
11
 
16
12
  ```bash
@@ -174,8 +170,7 @@ dex_data = File.open('classes.dex','rb').read{|f| f.read }
174
170
  dex = Android::Dex.new(dex_data)
175
171
  ```
176
172
 
177
-
178
173
  ## Copyright
179
174
 
180
- Copyright (c) 2012 SecureBrain. See LICENSE.txt for further details.
175
+ See [LICENSE](LICENSE) for further details.
181
176
 
@@ -5,7 +5,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
5
 
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = 'android_parser'
8
- spec.version = '2.7.0.beta1'
8
+ spec.version = '2.7.0'
9
9
  spec.authors = ['SecureBrain', 'icyleaf']
10
10
  spec.email = ['info@securebrain.co.jp', 'icyleaf.cn@gmail.com']
11
11
  spec.platform = Gem::Platform::RUBY
Binary file
data/lib/android/apk.rb CHANGED
@@ -212,6 +212,7 @@ module Android
212
212
  signs
213
213
  }.call
214
214
  end
215
+ alias signatures signs
215
216
 
216
217
  # v1 certificate info which is used for signing
217
218
  # @return [Hash{String => OpenSSL::X509::Certificate }] key: sign file path, value: first certficate in the sign file
@@ -229,6 +230,7 @@ module Android
229
230
  obj << arch unless obj.include?(arch)
230
231
  end
231
232
  end
233
+ alias architectures archs
232
234
 
233
235
  # detect if contains multi-platforms (native machine code)
234
236
  # @return [Boolean]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: android_parser
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.7.0.beta1
4
+ version: 2.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - SecureBrain
@@ -144,7 +144,7 @@ files:
144
144
  - ".rspec"
145
145
  - CHANGELOG.md
146
146
  - Gemfile
147
- - LICENSE.txt
147
+ - LICENSE
148
148
  - README.md
149
149
  - Rakefile
150
150
  - android_parser.gemspec