sigh 1.11.0 → 1.11.1

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: 1f8bf945e6f124b2057a6bf0a56ee479cd592b3f
4
- data.tar.gz: c041215ae373aabb2e70891c13ba04f93bfa8526
3
+ metadata.gz: f8036dff38c4948fd4c1106de7489c18c3cdd9b8
4
+ data.tar.gz: 7a0bb35960dfc57596d2faae4f4b5190473b9bc4
5
5
  SHA512:
6
- metadata.gz: fab486554031b17e10e1b3dacf9206a0af0100b244574bb6517eacebebf921cca606a5a2ee7589f78c4a4ab217ca8bb8a4efb9632ed000ac17b2d45449d248cf
7
- data.tar.gz: 2459cec1d1778be2a87cdd75129c83576fe631461ccc38672d21b9c0ce866c85c5d85e866d513425f3eb955941980af03c6497216d7067b8cf2a73950f1d431b
6
+ metadata.gz: d3692f8fd23246953ab510d3b6217a2928526d1828b191aebd50d15e707c63bbd3bc205c150385ea256ad0dab676dcb7263cfeb55b2ac6fb11e7aed4879e803e
7
+ data.tar.gz: 21ba440038f24642e3596f23d5911d3f08edeceb769c00a3b8657ea12c9975bfcaabe4dc9d276d0e02060806a160414f16679b289d209ad4ac7cfe442a066638
@@ -19,7 +19,11 @@ module Sigh
19
19
 
20
20
  def download_profile(profile)
21
21
  FileUtils.mkdir_p(Sigh.config[:output_path])
22
- profile_name = "#{profile.class.pretty_type}_#{profile.app.bundle_id}.mobileprovision" # default name
22
+
23
+ type_name = profile.class.pretty_type
24
+ type_name = "AdHoc" if profile.is_adhoc?
25
+
26
+ profile_name = "#{type_name}_#{profile.app.bundle_id}.mobileprovision" # default name
23
27
 
24
28
  output_path = File.join(Sigh.config[:output_path], profile_name)
25
29
  File.open(output_path, "wb") do |f|
@@ -198,7 +198,7 @@ module Sigh
198
198
  # Downloads and stores the provisioning profile
199
199
  def download_profile(profile)
200
200
  UI.important "Downloading provisioning profile..."
201
- profile_name ||= "#{profile.class.pretty_type}_#{Sigh.config[:app_identifier]}.mobileprovision" # default name
201
+ profile_name ||= "#{profile_type.pretty_type}_#{Sigh.config[:app_identifier]}.mobileprovision" # default name
202
202
  profile_name += '.mobileprovision' unless profile_name.include? 'mobileprovision'
203
203
 
204
204
  tmp_path = Dir.mktmpdir("profile_download")
@@ -1,3 +1,3 @@
1
1
  module Sigh
2
- VERSION = "1.11.0"
2
+ VERSION = "1.11.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sigh
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.11.0
4
+ version: 1.11.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Felix Krause
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-09-20 00:00:00.000000000 Z
11
+ date: 2016-09-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fastlane_core