ios_android_toolbox 0.0.28 → 0.0.29
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.
|
@@ -99,6 +99,13 @@ module IosAndroidToolbox
|
|
|
99
99
|
aps_environment == 'production'
|
|
100
100
|
end
|
|
101
101
|
|
|
102
|
+
def install
|
|
103
|
+
dst_path = File.join(PROV_PROFILE_DIR,"#{uuid}.mobileprovision")
|
|
104
|
+
File.open(dst_path, "wb") do |f|
|
|
105
|
+
f.write(contents)
|
|
106
|
+
end
|
|
107
|
+
end
|
|
108
|
+
|
|
102
109
|
def initialize(contents)
|
|
103
110
|
# If we specify a path, read it first
|
|
104
111
|
begin
|
|
@@ -166,7 +173,7 @@ module IosAndroidToolbox
|
|
|
166
173
|
|
|
167
174
|
def self.loop_through_profiles_for_app_id(id, &block)
|
|
168
175
|
self.loop_through_existing_profiles do |p,path|
|
|
169
|
-
yield p if p.app_id == id
|
|
176
|
+
yield p, path if p.app_id == id
|
|
170
177
|
end
|
|
171
178
|
end
|
|
172
179
|
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ios_android_toolbox
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 37
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 0
|
|
9
|
-
-
|
|
10
|
-
version: 0.0.
|
|
9
|
+
- 29
|
|
10
|
+
version: 0.0.29
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Igor Sales
|
|
@@ -15,7 +15,7 @@ autorequire:
|
|
|
15
15
|
bindir: bin
|
|
16
16
|
cert_chain: []
|
|
17
17
|
|
|
18
|
-
date: 2013-
|
|
18
|
+
date: 2013-10-15 00:00:00 Z
|
|
19
19
|
dependencies: []
|
|
20
20
|
|
|
21
21
|
description: ""
|