agent_smith 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 627ac3dd42995a32cf4ad4745cc232f67fa21fe9
4
- data.tar.gz: 0640f9c76ec2739046c6df4e97a000e6e5fe22f9
3
+ metadata.gz: 4407258f1df8c2605fa6ae6b405014190329440f
4
+ data.tar.gz: 09b5eaca3f172ff9a7b515a3bb1a279ecfd006f8
5
5
  SHA512:
6
- metadata.gz: b154c5d3c187e0857a3c776a132d2aa5ddfb4097e1c288b70fd747895ee7e37a1c482dbbafbc58bb0945833aa4dd531baec7c6b57055fe2177b56080db4fc7be
7
- data.tar.gz: 40e9308361ae7d73388d02fcfd1042994f70d7b5f63b4d9825ce29d5f634057dc9cd4ac676c48a2d23e67884a05e3005eceec075a31f0fb3c98b034406ffa934
6
+ metadata.gz: 5d28264208dd22d9dcbd5cd9bc573a07f10f86af9daad222aa1bd71521554a528bbcc3ee315c73c603ea0bc336f28b367d631c118e22e43ef219784edbc3ff61
7
+ data.tar.gz: ba0b5ac28a9cfbe26f358332dac228a3b20c6dd08a21d20f9b5be350066bcda2e743a5ac1b2b52b3e5a5fa56e0830426b66106ab645984aae4f1276ccb1a6d31
@@ -30,17 +30,19 @@ profiles present in the given repository.
30
30
  LONGDESC
31
31
 
32
32
  option :repo, :required => true
33
+ option :temp_dir
34
+
33
35
  def install
34
36
 
35
37
  delete_all
36
38
 
37
- Dir.mktmpdir do |dir|
39
+ Dir.chdir (options[:temp_dir] || Dir.mktmpdir) do
38
40
 
39
41
  system "mkdir -p #{PROVISIONING_PATH.gsub(" ","\\ ")}"
40
- system "git clone #{options[:repo]} #{dir} &> /dev/null"
42
+ system "git clone #{options[:repo]} repo &> /dev/null"
41
43
  certificate = open(APPLE_ROOT_CERTIFICATE_URL).read()
42
44
 
43
- prov_profiles = Dir["#{dir}/**/**.mobileprovision"]
45
+ prov_profiles = Dir["repo/**/**.mobileprovision"]
44
46
  puts "#{prov_profiles.count} provisioning profiles found"
45
47
 
46
48
  prov_profiles.each do |prov_profile|
@@ -66,6 +68,7 @@ LONGDESC
66
68
 
67
69
  end
68
70
  end
71
+
69
72
  end
70
73
 
71
74
  end
@@ -1,3 +1,3 @@
1
1
  module AgentSmith
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
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
4
+ version: 0.0.5
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-04 00:00:00.000000000 Z
11
+ date: 2014-11-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler