agent_smith 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/agent_smith/version.rb +1 -1
- data/lib/agent_smith.rb +2 -0
- 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: 627ac3dd42995a32cf4ad4745cc232f67fa21fe9
|
4
|
+
data.tar.gz: 0640f9c76ec2739046c6df4e97a000e6e5fe22f9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b154c5d3c187e0857a3c776a132d2aa5ddfb4097e1c288b70fd747895ee7e37a1c482dbbafbc58bb0945833aa4dd531baec7c6b57055fe2177b56080db4fc7be
|
7
|
+
data.tar.gz: 40e9308361ae7d73388d02fcfd1042994f70d7b5f63b4d9825ce29d5f634057dc9cd4ac676c48a2d23e67884a05e3005eceec075a31f0fb3c98b034406ffa934
|
data/lib/agent_smith/version.rb
CHANGED
data/lib/agent_smith.rb
CHANGED
@@ -36,6 +36,7 @@ LONGDESC
|
|
36
36
|
|
37
37
|
Dir.mktmpdir do |dir|
|
38
38
|
|
39
|
+
system "mkdir -p #{PROVISIONING_PATH.gsub(" ","\\ ")}"
|
39
40
|
system "git clone #{options[:repo]} #{dir} &> /dev/null"
|
40
41
|
certificate = open(APPLE_ROOT_CERTIFICATE_URL).read()
|
41
42
|
|
@@ -53,6 +54,7 @@ LONGDESC
|
|
53
54
|
store.add_cert(cert)
|
54
55
|
verification = p7.verify([cert], store)
|
55
56
|
|
57
|
+
|
56
58
|
if verification
|
57
59
|
plist = Plist::parse_xml(p7.data)
|
58
60
|
uuid = plist["UUID"]
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: agent_smith
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Luca Querella
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-11-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|