wtapack 0.0.1 → 0.0.2

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: 3dc6a0f4020613af0a67a7cc7276e689b595fe57
4
- data.tar.gz: 662ebe71614a404c1893add26c317bce10dbb7e5
3
+ metadata.gz: 1809b45d14215c538c09a94b7913dc09ab046ed2
4
+ data.tar.gz: 39d0ae087d4eb2aa2dfe7c6e14571d1cc0b1b231
5
5
  SHA512:
6
- metadata.gz: e72e8366278bf4bf09a64fc7f0a9790681ff2fa65a7e30757d6e72326503c4beb9ccccd6b123e68002f15aaa2694f531717d7582b354774ec2ad0624c61476ea
7
- data.tar.gz: da4c0a2f0fcdd50bf9ece15e093cd64fb6232c7abf224597148c24adc632bb77b371a24052acfe6b592b55e3b11b9c21d8fdeee1ae34c7a1953312dc4b5a1c12
6
+ metadata.gz: 088a397dcd19e453ed5b3770568ebe3b57e8368064031cb3261bc2b6b9f10c895b999bed6e6d54aa8b07935398c667043a1811415f2b644070dce2b14ce65715
7
+ data.tar.gz: d90cfd96192ee00799f4e87bd531cb306c7a3531b2b1d71409af4608b0084633354dd817b19db92ca5bbfc42c2202e6e77a8ff03a3788280d0274063cb80e004
@@ -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)
@@ -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(RARRAY_CONST_PTR(argv_array)[i]);
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.1
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/CodeSigner.h
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/NSArray+WTAMap.h
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/extconf.rb
41
+ - ext/wtapack/updateBundleID.m
42
+ - ext/wtapack/CodeSigner.h
43
+ - ext/wtapack/ErrorHandler.h
44
44
  - ext/wtapack/main.h
45
- - ext/wtapack/main.m
45
+ - ext/wtapack/NSArray+WTAMap.h
46
+ - ext/wtapack/ProfileManager.h
46
47
  - ext/wtapack/updateBundleID.h
47
- - ext/wtapack/updateBundleID.m
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.4.2
70
+ rubygems_version: 2.0.14
71
71
  signing_key:
72
72
  specification_version: 4
73
73
  summary: Codesigning and ipa packaging