wtapack 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/wtapack/extconf.rb +1 -1
- data/ext/wtapack/wtapack.c +1 -1
- metadata +10 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1809b45d14215c538c09a94b7913dc09ab046ed2
|
4
|
+
data.tar.gz: 39d0ae087d4eb2aa2dfe7c6e14571d1cc0b1b231
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 088a397dcd19e453ed5b3770568ebe3b57e8368064031cb3261bc2b6b9f10c895b999bed6e6d54aa8b07935398c667043a1811415f2b644070dce2b14ce65715
|
7
|
+
data.tar.gz: d90cfd96192ee00799f4e87bd531cb306c7a3531b2b1d71409af4608b0084633354dd817b19db92ca5bbfc42c2202e6e77a8ff03a3788280d0274063cb80e004
|
data/ext/wtapack/extconf.rb
CHANGED
@@ -3,6 +3,6 @@ extension_name = 'wtapack'
|
|
3
3
|
dir_config(extension_name)
|
4
4
|
MODULE_CACHE = "#{ENV['HOME']}/Library/Developer/Xcode/DerivedData/ModuleCache"
|
5
5
|
ISYSROOT_PATH = `xcrun -sdk macosx10.9 --show-sdk-path`
|
6
|
-
$CFLAGS = "-fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=gnu99 -fobjc-arc -fmodules -fmodules-cache-path=#{MODULE_CACHE} -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -isysroot #{ISYSROOT_PATH} -mmacosx-version-min=10.9 -fasm-blocks -fstrict-aliasing -Os -march=native -flto -Wall -Wpedantic -Werror"
|
6
|
+
$CFLAGS = "-arch x86_64 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=gnu99 -fobjc-arc -fmodules -fmodules-cache-path=#{MODULE_CACHE} -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -isysroot #{ISYSROOT_PATH} -mmacosx-version-min=10.9 -fasm-blocks -fstrict-aliasing -Os -march=native -flto -Wall -Wpedantic -Werror"
|
7
7
|
$LFLAGS = "-isysroot $(ISYSROOT_PATH) -mmacosx-version-min=10.9 -flto -framework Foundation"
|
8
8
|
create_makefile(extension_name)
|
data/ext/wtapack/wtapack.c
CHANGED
@@ -13,7 +13,7 @@ static VALUE native_pack(VALUE mod, VALUE argc, VALUE argv)
|
|
13
13
|
char** real_argv = ALLOC_N(char*, RARRAY_LEN(argv_array));
|
14
14
|
for (int i = 0; i < RARRAY_LEN(argv_array); i++)
|
15
15
|
{
|
16
|
-
struct RString* string = RSTRING(
|
16
|
+
struct RString* string = RSTRING(RARRAY_PTR(argv_array)[i]);
|
17
17
|
int length = RSTRING_LEN(string);
|
18
18
|
real_argv[i] = ALLOC_N(char, length + 1);
|
19
19
|
memcpy(real_argv[i], RSTRING_PTR(string), length);
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wtapack
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Robert Thompson
|
@@ -32,20 +32,20 @@ extensions:
|
|
32
32
|
- ext/wtapack/extconf.rb
|
33
33
|
extra_rdoc_files: []
|
34
34
|
files:
|
35
|
-
- ext/wtapack/
|
35
|
+
- ext/wtapack/wtapack.c
|
36
36
|
- ext/wtapack/CodeSigner.m
|
37
|
-
- ext/wtapack/ErrorHandler.h
|
38
37
|
- ext/wtapack/ErrorHandler.m
|
39
|
-
- ext/wtapack/
|
38
|
+
- ext/wtapack/main.m
|
40
39
|
- ext/wtapack/NSArray+WTAMap.m
|
41
|
-
- ext/wtapack/ProfileManager.h
|
42
40
|
- ext/wtapack/ProfileManager.m
|
43
|
-
- ext/wtapack/
|
41
|
+
- ext/wtapack/updateBundleID.m
|
42
|
+
- ext/wtapack/CodeSigner.h
|
43
|
+
- ext/wtapack/ErrorHandler.h
|
44
44
|
- ext/wtapack/main.h
|
45
|
-
- ext/wtapack/
|
45
|
+
- ext/wtapack/NSArray+WTAMap.h
|
46
|
+
- ext/wtapack/ProfileManager.h
|
46
47
|
- ext/wtapack/updateBundleID.h
|
47
|
-
- ext/wtapack/
|
48
|
-
- ext/wtapack/wtapack.c
|
48
|
+
- ext/wtapack/extconf.rb
|
49
49
|
- lib/wtapack.rb
|
50
50
|
homepage: https://github.com/willowtreeapps/wtapack
|
51
51
|
licenses:
|
@@ -67,7 +67,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
67
67
|
version: '0'
|
68
68
|
requirements: []
|
69
69
|
rubyforge_project:
|
70
|
-
rubygems_version: 2.
|
70
|
+
rubygems_version: 2.0.14
|
71
71
|
signing_key:
|
72
72
|
specification_version: 4
|
73
73
|
summary: Codesigning and ipa packaging
|