ruby-macho 1.3.1 → 1.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/macho.rb +1 -1
  3. data/lib/macho/headers.rb +5 -0
  4. metadata +3 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1e5bd35359f5f750b1c57549af9b0f108be8ac30928a7e68f27ec8760a4efb2c
4
- data.tar.gz: ab5dd0b3e3b6256c97fb575e44f92cc9b3db8cab960d0176b29516ea8b7d8e74
3
+ metadata.gz: 50aeda7d9f7ac3c91c6e34a9d150ffbf79d89389cb591d06494fb0eb4e48023b
4
+ data.tar.gz: e7f56ff39f7159c20572e66bd07b506e826152e8b1da3d78afe22f4e8516b4a9
5
5
  SHA512:
6
- metadata.gz: 76e4b13240145463217dc2bc7f120476b792a3945216b9b466b354c13c278c652b96b3625b5fb1473d0c52ce518c8440b353cb9c594eed2e6488ba6332417bd2
7
- data.tar.gz: 0713510f129a8ad8d8962030f05a78277b8707c02b614cef1087a7723e4111ac4fedcbebf14cf974a5b030fb2a0210378eba89f70a535517427c896c0c55112a
6
+ metadata.gz: 2bb5bd7d605eb023b8cdf95446776507ddcfb08a7d30bc45acf3fff24d3b4edc5666b8c5f4801e226524ba60dad043a3c251819ff8b0cdd77e0e5b491a4a2e81
7
+ data.tar.gz: a2d553f64c0e73882dcbce972bf8cdab7554c98f1c6daf2d504588e11d05d194ac417127d61a32f93263fa3487ab1655cf16867994018464c8d5a9f4df9b6073
data/lib/macho.rb CHANGED
@@ -12,7 +12,7 @@ require_relative "macho/tools"
12
12
  # The primary namespace for ruby-macho.
13
13
  module MachO
14
14
  # release version
15
- VERSION = "1.3.1".freeze
15
+ VERSION = "1.4.0".freeze
16
16
 
17
17
  # Opens the given filename as a MachOFile or FatFile, depending on its magic.
18
18
  # @param filename [String] the file being opened
data/lib/macho/headers.rb CHANGED
@@ -241,6 +241,10 @@ module MachO
241
241
  # @api private
242
242
  CPU_SUBTYPE_ARM64_32_V8 = 1
243
243
 
244
+ # the e (A12) sub-type for `CPU_TYPE_ARM64`
245
+ # @api private
246
+ CPU_SUBTYPE_ARM64E = 2
247
+
244
248
  # the lowest common sub-type for `CPU_TYPE_MC88000`
245
249
  # @api private
246
250
  CPU_SUBTYPE_MC88000_ALL = 0
@@ -350,6 +354,7 @@ module MachO
350
354
  CPU_TYPE_ARM64 => {
351
355
  CPU_SUBTYPE_ARM64_ALL => :arm64,
352
356
  CPU_SUBTYPE_ARM64_V8 => :arm64v8,
357
+ CPU_SUBTYPE_ARM64E => :arm64e,
353
358
  }.freeze,
354
359
  CPU_TYPE_ARM64_32 => {
355
360
  CPU_SUBTYPE_ARM64_32_V8 => :arm64_32v8,
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-macho
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.1
4
+ version: 1.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - William Woodruff
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-09-30 00:00:00.000000000 Z
11
+ date: 2019-02-21 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: A library for viewing and manipulating Mach-O files in Ruby.
14
14
  email: william@yossarian.net
@@ -49,8 +49,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
49
49
  - !ruby/object:Gem::Version
50
50
  version: '0'
51
51
  requirements: []
52
- rubyforge_project:
53
- rubygems_version: 2.7.6
52
+ rubygems_version: 3.0.1
54
53
  signing_key:
55
54
  specification_version: 4
56
55
  summary: ruby-macho - Mach-O file analyzer.