ruby-macho 0.2.0 → 0.2.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
  SHA1:
3
- metadata.gz: 513849997d23e143113243138d5924dc483a2a0b
4
- data.tar.gz: 2e2d1256e5b42be47cdcb81c8981e35021c5fe6a
3
+ metadata.gz: 90daf462e0ebdf631ea6f5a9b045ae9d590ecd5c
4
+ data.tar.gz: 44da8c060f29021a991842f6728140b433a868c5
5
5
  SHA512:
6
- metadata.gz: 3e1bb350afe1cbbbfff4a50197886c4c7c6f4675f0de8e5480deafce7ee4986febd3b7d59c067753cea95ed4dc4a92b8e38d8c486344e3c7b2937bcaff22b800
7
- data.tar.gz: dba7611dadf4672c0929bc5f3c8f70c60051b01c278cb0383209304526a780008a2b19c0e50848a42d962b78c43c11174dd7c0913f123bff88b8392c30acc9fe
6
+ metadata.gz: e25c029ab6f3819dc255a1ebe0c77d343896a4e971dc3c3f54cdb97999fcf88ca042aa7a730897d866ec9a6e04113180ce23e5d4e9133d22ce1dcca326658da1
7
+ data.tar.gz: fa24c66f7de915d030829ef174764a045b0e45bae3f2cfe858fdf8a2b83e417d5e42e27f5486886355fb3260f21c0313730b4fe4b47007b743984b3dcd74e977
data/README.md CHANGED
@@ -39,18 +39,17 @@ puts lc_vers.version_string # => "10.10.0"
39
39
  ### What works?
40
40
 
41
41
  * Reading data from x86/x86_64 Mach-O files
42
- * Changing the IDs of Mach-O dylibs
43
- * Changing install names in Mach-O files
42
+ * Changing the IDs of Mach-O and Fat dylibs
43
+ * Changing install names in Mach-O and Fat files
44
44
 
45
45
  ### What might work?
46
46
 
47
47
  * Reading *some* data from PPC Mach-O files.
48
- * Reading data from "Fat" files.
49
48
 
50
49
  ### What doesn't work yet?
51
50
 
52
51
  * Reading data from any other architecure's Mach-O files (probably).
53
- * Changing anything in "Fat" files (at least not correctly).
52
+ * Adding, deleting, or modifying rpaths.
54
53
 
55
54
  ### What needs to be done?
56
55
 
@@ -60,9 +59,6 @@ puts lc_vers.version_string # => "10.10.0"
60
59
 
61
60
  Attribution:
62
61
 
63
- * `lib/macho/cstruct.rb` was taken from Sami Samhuri's
64
- [compiler](https://github.com/samsonjs/compiler) repository.
65
- (No license provided).
66
62
  * Constants were taken from Apple, Inc's
67
63
  [`loader.h` in `cctools/include/mach-o`](http://www.opensource.apple.com/source/cctools/cctools-870/include/mach-o/loader.h).
68
64
  (Apple Public Source License 2.0).
data/lib/macho.rb CHANGED
@@ -12,5 +12,5 @@ require "#{File.dirname(__FILE__)}/macho/tools"
12
12
  # The primary namespace for ruby-macho.
13
13
  module MachO
14
14
  # release version
15
- VERSION = "0.2.0".freeze
15
+ VERSION = "0.2.1".freeze
16
16
  end
data/lib/macho/headers.rb CHANGED
@@ -43,7 +43,7 @@ module MachO
43
43
  CPU_TYPE_X86_64 = (CPU_TYPE_X86 | CPU_ARCH_ABI64)
44
44
 
45
45
  # PowerPC compatible CPUs (7400 series?)
46
- CPU_TYPE_POWERPC = 0x24
46
+ CPU_TYPE_POWERPC = 0x12
47
47
 
48
48
  # PowerPC64 compatible CPUs (970 series?)
49
49
  CPU_TYPE_POWERPC64 = (CPU_TYPE_POWERPC | CPU_ARCH_ABI64)
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: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - William Woodruff
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-11-11 00:00:00.000000000 Z
11
+ date: 2015-11-13 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@tuffbizz.com