sigh 1.1.4 → 1.2.0
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 +4 -4
- data/README.md +1 -0
- data/lib/sigh/options.rb +6 -0
- data/lib/sigh/runner.rb +5 -1
- data/lib/sigh/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e098a714954719bbe9dd0235a01f1754a824ea26
|
|
4
|
+
data.tar.gz: 003b6d408c7af6e80133dc74add67c078984ee34
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9d3981de192ff4bc036f04cf89ec7447b88a41b6da2d0bcd4516252477e8f94fe12d2e6f39b5b92e8f852f3eebeeabc03ad6ab438d51795f4131c3161cfb3c85
|
|
7
|
+
data.tar.gz: ec9bbe15c3a686dfd6db590c2c998ba9c1b242a570814d77aa72e73d2edffb5522547260aad94e1aa9816b013b533ce179596ac6e429918b6a3e6791a29180d9
|
data/README.md
CHANGED
|
@@ -31,6 +31,7 @@ sigh
|
|
|
31
31
|
[](https://twitter.com/KrauseFx)
|
|
32
32
|
[](https://github.com/KrauseFx/sigh/blob/master/LICENSE)
|
|
33
33
|
[](http://rubygems.org/gems/sigh)
|
|
34
|
+
[](https://travis-ci.org/fastlane/sigh)
|
|
34
35
|
|
|
35
36
|
###### Because you would rather spend your time building stuff than fighting provisioning
|
|
36
37
|
|
data/lib/sigh/options.rb
CHANGED
|
@@ -61,6 +61,12 @@ module Sigh
|
|
|
61
61
|
env_name: "SIGH_PROVISIONING_PROFILE_NAME",
|
|
62
62
|
description: "The name of the profile that is used on the Apple Developer Portal",
|
|
63
63
|
optional: true),
|
|
64
|
+
FastlaneCore::ConfigItem.new(key: :ignore_profiles_with_different_name,
|
|
65
|
+
env_name: "SIGH_IGNORE_PROFILES_WITH_DIFFERENT_NAME",
|
|
66
|
+
description: "Use in combination with :provisioning_name - when true only profiles matching this exact name will be downloaded",
|
|
67
|
+
optional: true,
|
|
68
|
+
is_string: false,
|
|
69
|
+
default_value: false),
|
|
64
70
|
FastlaneCore::ConfigItem.new(key: :output_path,
|
|
65
71
|
short_option: "-o",
|
|
66
72
|
env_name: "SIGH_OUTPUT_PATH",
|
data/lib/sigh/runner.rb
CHANGED
|
@@ -70,7 +70,11 @@ module Sigh
|
|
|
70
70
|
# Take the provisioning profile name into account
|
|
71
71
|
if Sigh.config[:provisioning_name].to_s.length > 0
|
|
72
72
|
filtered = results.select { |p| p.name.strip == Sigh.config[:provisioning_name].strip }
|
|
73
|
-
|
|
73
|
+
if Sigh.config[:ignore_profiles_with_different_name]
|
|
74
|
+
results = filtered
|
|
75
|
+
else
|
|
76
|
+
results = filtered if (filtered || []).count > 0
|
|
77
|
+
end
|
|
74
78
|
end
|
|
75
79
|
|
|
76
80
|
return results if Sigh.config[:skip_certificate_verification]
|
data/lib/sigh/version.rb
CHANGED
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.
|
|
4
|
+
version: 1.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Felix Krause
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-12-
|
|
11
|
+
date: 2015-12-04 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: fastlane_core
|