android_parser 2.7.0.beta1 → 2.7.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
  SHA256:
3
- metadata.gz: fe3ead9fd9c4393e0cf3fb39fae3f4ab4a99e68e30cbceae79a8861d451f3266
4
- data.tar.gz: 2d80687dc01a1541d4f0b049d499e448eeee4f7413834fd603b5c7560b40048b
3
+ metadata.gz: 470d928fe2978551e04c1b0022c0aae72591abf286de6870b76fe26aa7c91da3
4
+ data.tar.gz: df9a38ed15cb394b5cd8711e0b096e7ada03342cd99c111a5984f37f46c1892f
5
5
  SHA512:
6
- metadata.gz: 98d6c6286ec3c02a7939e94bdeff0d0316db3997df828af79bb5b585e4f698ac36cb63c419d66da0da97ba48595e33e3d405e8296de95161cb3a9d8003931233
7
- data.tar.gz: bd31cc2455cf30dcb001cc838fa48608910a20aaaa7b9e74f020c4c6fb3ea07f19cc6d0e598813bccfcfec30765f1775968cf4cba0e436a58bc6ddb2548eba00
6
+ metadata.gz: 416292a4eb99d6573a228e22af1c982f12fd94ccef21ca91ec486e11370a163ecd60f20a8bda5fcb5469dd0c0a2f62fa5497116baf8876f54faaa5ff246c2dc2
7
+ data.tar.gz: 157347e4212b2c2a3efab6ec200daab2107301c8222bf4828b3a2fd5f3b03d4c88536195f06ae35731067bc75d52d827e11ef089603e2fe078849d2f84c2d48f
@@ -2,7 +2,7 @@ name: CI
2
2
  on:
3
3
  push:
4
4
  branches:
5
- - master
5
+ - main
6
6
  pull_request:
7
7
 
8
8
  jobs:
@@ -10,12 +10,12 @@ jobs:
10
10
  strategy:
11
11
  fail-fast: false
12
12
  matrix:
13
- ruby: [ ruby-3.1, ruby-3.2, ruby-3.3 ]
13
+ ruby: [ ruby-3.1, ruby-3.2, ruby-3.3, ruby-3.4, ruby-4.0 ]
14
14
  os: [ ubuntu-latest, macos-latest ]
15
15
  runs-on: ${{ matrix.os }}
16
16
 
17
17
  steps:
18
- - uses: actions/checkout@v4
18
+ - uses: actions/checkout@v7
19
19
 
20
20
  - uses: ruby/setup-ruby@v1
21
21
  with:
@@ -9,7 +9,7 @@ jobs:
9
9
  runs-on: ubuntu-latest
10
10
  steps:
11
11
  - name: Create Release
12
- uses: softprops/action-gh-release@v2
12
+ uses: softprops/action-gh-release@v3
13
13
  if: startsWith(github.ref, 'refs/tags/')
14
14
  env:
15
15
  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
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.1'
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
@@ -17,7 +17,7 @@ Gem::Specification.new do |spec|
17
17
  spec.require_paths = ['lib']
18
18
  spec.required_ruby_version = '>= 3.1'
19
19
 
20
- spec.add_dependency 'rubyzip', '>= 1.0', '< 3.0'
20
+ spec.add_dependency 'rubyzip', '>= 3.4.0'
21
21
  spec.add_dependency 'rexml', '> 3.0' # requires for Ruby 3.0+
22
22
 
23
23
  spec.add_development_dependency 'rspec', '~> 3.0'
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,15 +1,14 @@
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.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - SecureBrain
8
8
  - icyleaf
9
- autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2024-06-27 00:00:00.000000000 Z
11
+ date: 1980-01-02 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: rubyzip
@@ -17,20 +16,14 @@ dependencies:
17
16
  requirements:
18
17
  - - ">="
19
18
  - !ruby/object:Gem::Version
20
- version: '1.0'
21
- - - "<"
22
- - !ruby/object:Gem::Version
23
- version: '3.0'
19
+ version: 3.4.0
24
20
  type: :runtime
25
21
  prerelease: false
26
22
  version_requirements: !ruby/object:Gem::Requirement
27
23
  requirements:
28
24
  - - ">="
29
25
  - !ruby/object:Gem::Version
30
- version: '1.0'
31
- - - "<"
32
- - !ruby/object:Gem::Version
33
- version: '3.0'
26
+ version: 3.4.0
34
27
  - !ruby/object:Gem::Dependency
35
28
  name: rexml
36
29
  requirement: !ruby/object:Gem::Requirement
@@ -144,7 +137,7 @@ files:
144
137
  - ".rspec"
145
138
  - CHANGELOG.md
146
139
  - Gemfile
147
- - LICENSE.txt
140
+ - LICENSE
148
141
  - README.md
149
142
  - Rakefile
150
143
  - android_parser.gemspec
@@ -168,7 +161,6 @@ homepage: https://github.com/icyleaf/android_parser
168
161
  licenses:
169
162
  - MIT
170
163
  metadata: {}
171
- post_install_message:
172
164
  rdoc_options: []
173
165
  require_paths:
174
166
  - lib
@@ -183,8 +175,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
183
175
  - !ruby/object:Gem::Version
184
176
  version: '0'
185
177
  requirements: []
186
- rubygems_version: 3.5.9
187
- signing_key:
178
+ rubygems_version: 3.6.9
188
179
  specification_version: 4
189
180
  summary: Static analysis tool for android apk since 2021
190
181
  test_files: []