wtapack 0.0.8 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/wtapack/CodeSigner.m +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 582fce026d80e037dc9bf7c3e9f60586fb244799
|
4
|
+
data.tar.gz: 33149c929abcde295969cd485ed36ffb8be8807b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 29aeddab1aa2f895fe6d0502405d690496f5e95fad9bc603ae9b04e677f65d1889e625100e69b4ce080c4caf84daa7a701fbc4e7f66c9dceb90f7a5439e8688d
|
7
|
+
data.tar.gz: 34078f7ee1b7f2c1fabfa1f02c0789f08f6a26427435438a5043af9627f43d571308b387af34537598e8b2942b16423382086cc2f66e7202d33196a3c38d59b5
|
data/ext/wtapack/CodeSigner.m
CHANGED
@@ -32,7 +32,7 @@ void validateSigningIdentity(NSString* identity);
|
|
32
32
|
if (!result)
|
33
33
|
{
|
34
34
|
NSString* signingIdentity = [self signingIdentity];
|
35
|
-
result = [NSString stringWithFormat:@"/usr/bin/codesign --force --sign %@ --
|
35
|
+
result = [NSString stringWithFormat:@"/usr/bin/codesign --force --sign %@ --entitlements \"%%@\" \"%%@\"", signingIdentity];
|
36
36
|
|
37
37
|
objc_setAssociatedObject(self, @selector(codesignFormatString), result, OBJC_ASSOCIATION_COPY_NONATOMIC);
|
38
38
|
}
|
@@ -42,7 +42,7 @@ void validateSigningIdentity(NSString* identity);
|
|
42
42
|
|
43
43
|
+ (void)signBinary:(NSURL *)binaryURL
|
44
44
|
{
|
45
|
-
NSString* codesign = [NSString stringWithFormat:[self codesignFormatString], [binaryURL URLByAppendingPathComponent:@"
|
45
|
+
NSString* codesign = [NSString stringWithFormat:[self codesignFormatString], [binaryURL URLByAppendingPathComponent:@"Entitlements.plist"].path, binaryURL.path];
|
46
46
|
|
47
47
|
printf("%s\n", codesign.UTF8String);
|
48
48
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wtapack
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Robert Thompson
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-10-
|
11
|
+
date: 2014-10-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake-compiler
|