thrust 0.5.0 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/thrust/tasks/ios_specs.rb +9 -7
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6a8a38bcd877ed26712a0e6443358a4dc92bf159
|
4
|
+
data.tar.gz: b1ffb40b2a41a03482571c96b64df2f7ddb6161b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3cbc1aae20bbf2d0348500582cc92c157c4207862961d3abc8b440953028e29baaa48d8da7dbd0983c6afda54470ca646ac3209ce97d91e188be567705a834bf
|
7
|
+
data.tar.gz: 7eb75b2791c30ef36876fa2b3ed41bdfb5dcaf2009135d1ec174f4701e27a6ca39bf4647c216a4a6f25977af5e269a0272a1a991629f0cd73bc4e28a73b74c10
|
@@ -2,8 +2,8 @@ module Thrust
|
|
2
2
|
module Tasks
|
3
3
|
class IOSSpecs
|
4
4
|
def initialize(out = $stdout,
|
5
|
-
|
6
|
-
|
5
|
+
xcode_tools_provider = Thrust::IOS::XCodeToolsProvider.new,
|
6
|
+
cedar = Thrust::IOS::Cedar.new)
|
7
7
|
@xcode_tools_provider = xcode_tools_provider
|
8
8
|
@cedar = cedar
|
9
9
|
@out = out
|
@@ -18,13 +18,15 @@ module Thrust
|
|
18
18
|
os_version = args[:os_version] || target_info.os_version
|
19
19
|
device_name = args[:device_name] || target_info.device_name
|
20
20
|
|
21
|
-
|
22
|
-
|
23
|
-
|
21
|
+
if device_name
|
22
|
+
substitution_map = {'bundle' => '-', 'app' => ' '}
|
23
|
+
destination_map = {'bundle' => ' ', 'app' => '-'}
|
24
|
+
device_name.gsub!(substitution_map[type], destination_map[type])
|
25
|
+
end
|
24
26
|
|
25
27
|
tools_options = {
|
26
|
-
|
27
|
-
|
28
|
+
project_name: thrust.app_config.project_name,
|
29
|
+
workspace_name: thrust.app_config.workspace_name
|
28
30
|
}
|
29
31
|
xcode_tools = @xcode_tools_provider.instance(@out, build_configuration, thrust.build_dir, tools_options)
|
30
32
|
|