thrust 0.5.0 → 0.5.1

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1fb35577e4d2487d491cf57395111792a028a785
4
- data.tar.gz: f0e51c4c87b0c4a13bca26cd6e6a470e35c67da6
3
+ metadata.gz: 6a8a38bcd877ed26712a0e6443358a4dc92bf159
4
+ data.tar.gz: b1ffb40b2a41a03482571c96b64df2f7ddb6161b
5
5
  SHA512:
6
- metadata.gz: bd29c2f0d662de90beb61fff4184025a56fdceff88cff0a47425f5f8c2bed2bc94b31a6c7a87bce8490a7ac77846cbea9e69816c5352d59dbca1ff63103dc098
7
- data.tar.gz: fa708a3f2a70f51bb1063487e59c6276d1811364057f35db4d627d95d7e90ddaf7439b6ba24367d2d8df49d4d7186e2d867b65d706e28c5e79843f0e16e8ff91
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
- xcode_tools_provider = Thrust::IOS::XCodeToolsProvider.new,
6
- cedar = Thrust::IOS::Cedar.new)
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
- substitution_map = {'bundle' => '-', 'app' => ' '}
22
- destination_map = {'bundle' => ' ', 'app' => '-'}
23
- device_name.gsub!(substitution_map[type], destination_map[type])
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
- project_name: thrust.app_config.project_name,
27
- workspace_name: thrust.app_config.workspace_name
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
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: thrust
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aaron Levine