sigh 1.1.1 → 1.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +17 -17
- data/lib/sigh/download_all.rb +2 -3
- data/lib/sigh/manager.rb +1 -0
- data/lib/sigh/options.rb +1 -4
- data/lib/sigh/resign.rb +1 -1
- data/lib/sigh/runner.rb +2 -2
- data/lib/sigh/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fc199ef3c6b60808131184a8e6d25121d86900b2
|
4
|
+
data.tar.gz: 0cba8ac05f23425ca09ac448e5dd95f013abac8b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a13e2c5470515331c1c505404d6a9b2fa7998db52e075248910cb5067b8270c7ecd87424fe485ad7cb61be280f597ac08c11899d9dd6fd7b9b20cb2dc029cc93
|
7
|
+
data.tar.gz: 172cc0b36932f1b0251166805371e9a5a834166d42cf0363cb6e9844ffdb187c493052c64a9eb813ede71342c296409b94108e6b444604df9eb8a70a01b6b82e
|
data/README.md
CHANGED
@@ -1,18 +1,18 @@
|
|
1
1
|
<h3 align="center">
|
2
|
-
<a href="https://github.com/
|
2
|
+
<a href="https://github.com/fastlane/fastlane">
|
3
3
|
<img src="assets/fastlane.png" width="150" />
|
4
4
|
<br />
|
5
5
|
fastlane
|
6
6
|
</a>
|
7
7
|
</h3>
|
8
8
|
<p align="center">
|
9
|
-
<a href="https://github.com/
|
10
|
-
<a href="https://github.com/
|
11
|
-
<a href="https://github.com/
|
12
|
-
<a href="https://github.com/
|
9
|
+
<a href="https://github.com/fastlane/deliver">deliver</a> •
|
10
|
+
<a href="https://github.com/fastlane/snapshot">snapshot</a> •
|
11
|
+
<a href="https://github.com/fastlane/frameit">frameit</a> •
|
12
|
+
<a href="https://github.com/fastlane/PEM">PEM</a> •
|
13
13
|
<b>sigh</b> •
|
14
|
-
<a href="https://github.com/
|
15
|
-
<a href="https://github.com/
|
14
|
+
<a href="https://github.com/fastlane/produce">produce</a> •
|
15
|
+
<a href="https://github.com/fastlane/cert">cert</a> •
|
16
16
|
<a href="https://github.com/fastlane/spaceship">spaceship</a> •
|
17
17
|
<a href="https://github.com/fastlane/pilot">pilot</a> •
|
18
18
|
<a href="https://github.com/fastlane/boarding">boarding</a> •
|
@@ -29,7 +29,7 @@ sigh
|
|
29
29
|
============
|
30
30
|
|
31
31
|
[![Twitter: @KauseFx](https://img.shields.io/badge/contact-@KrauseFx-blue.svg?style=flat)](https://twitter.com/KrauseFx)
|
32
|
-
[![License](
|
32
|
+
[![License](https://img.shields.io/badge/license-MIT-green.svg?style=flat)](https://github.com/KrauseFx/sigh/blob/master/LICENSE)
|
33
33
|
[![Gem](https://img.shields.io/gem/v/sigh.svg?style=flat)](http://rubygems.org/gems/sigh)
|
34
34
|
|
35
35
|
###### Because you would rather spend your time building stuff than fighting provisioning
|
@@ -64,7 +64,7 @@ Get in contact with the developer on Twitter: [@KrauseFx](https://twitter.com/Kr
|
|
64
64
|
- Support for **multiple Teams**
|
65
65
|
- Support for **Enterprise Profiles**
|
66
66
|
|
67
|
-
To automate iOS Push profiles you can use [PEM](https://github.com/
|
67
|
+
To automate iOS Push profiles you can use [PEM](https://github.com/fastlane/PEM).
|
68
68
|
|
69
69
|
##### [Like this tool? Be the first to know about updates and new fastlane tools](https://tinyletter.com/krausefx)
|
70
70
|
|
@@ -181,7 +181,7 @@ Or delete all `iOS Team Provisioning Profile` by using a regular expression
|
|
181
181
|
|
182
182
|
Run `sigh --help` to get a list of all available environment variables.
|
183
183
|
|
184
|
-
If you're using [cert](https://github.com/
|
184
|
+
If you're using [cert](https://github.com/fastlane/cert) in combination with [fastlane](https://github.com/fastlane/fastlane) the signing certificate will automatically be selected for you. (make sure to run `cert` before `sigh`)
|
185
185
|
|
186
186
|
# How does it work?
|
187
187
|
|
@@ -189,18 +189,18 @@ If you're using [cert](https://github.com/KrauseFx/cert) in combination with [fa
|
|
189
189
|
|
190
190
|
|
191
191
|
## How is my password stored?
|
192
|
-
`sigh` uses the [CredentialsManager](https://github.com/fastlane/
|
192
|
+
`sigh` uses the [CredentialsManager](https://github.com/fastlane/credentials_manager) from `fastlane`.
|
193
193
|
|
194
194
|
# Tips
|
195
195
|
## [`fastlane`](https://fastlane.tools) Toolchain
|
196
196
|
|
197
197
|
- [`fastlane`](https://fastlane.tools): Connect all deployment tools into one streamlined workflow
|
198
|
-
- [`deliver`](https://github.com/
|
199
|
-
- [`snapshot`](https://github.com/
|
200
|
-
- [`frameit`](https://github.com/
|
201
|
-
- [`PEM`](https://github.com/
|
202
|
-
- [`produce`](https://github.com/
|
203
|
-
- [`cert`](https://github.com/
|
198
|
+
- [`deliver`](https://github.com/fastlane/deliver): Upload screenshots, metadata and your app to the App Store
|
199
|
+
- [`snapshot`](https://github.com/fastlane/snapshot): Automate taking localized screenshots of your iOS app on every device
|
200
|
+
- [`frameit`](https://github.com/fastlane/frameit): Quickly put your screenshots into the right device frames
|
201
|
+
- [`PEM`](https://github.com/fastlane/PEM): Automatically generate and renew your push notification profiles
|
202
|
+
- [`produce`](https://github.com/fastlane/produce): Create new iOS apps on iTunes Connect and Dev Portal using the command line
|
203
|
+
- [`cert`](https://github.com/fastlane/cert): Automatically create and maintain iOS code signing certificates
|
204
204
|
- [`spaceship`](https://github.com/fastlane/spaceship): Ruby library to access the Apple Dev Center and iTunes Connect
|
205
205
|
- [`pilot`](https://github.com/fastlane/pilot): The best way to manage your TestFlight testers and builds from your terminal
|
206
206
|
- [`boarding`](https://github.com/fastlane/boarding): The easiest way to invite your TestFlight beta testers
|
data/lib/sigh/download_all.rb
CHANGED
@@ -18,11 +18,10 @@ module Sigh
|
|
18
18
|
end
|
19
19
|
|
20
20
|
def download_profile(profile)
|
21
|
-
|
22
|
-
|
21
|
+
FileUtils.mkdir_p(Sigh.config[:output_path])
|
23
22
|
profile_name = "#{profile.class.pretty_type}_#{profile.app.bundle_id}.mobileprovision" # default name
|
24
23
|
|
25
|
-
output_path = File.join(
|
24
|
+
output_path = File.join(Sigh.config[:output_path], profile_name)
|
26
25
|
File.open(output_path, "wb") do |f|
|
27
26
|
f.write(profile.download)
|
28
27
|
end
|
data/lib/sigh/manager.rb
CHANGED
data/lib/sigh/options.rb
CHANGED
@@ -62,10 +62,7 @@ module Sigh
|
|
62
62
|
short_option: "-o",
|
63
63
|
env_name: "SIGH_OUTPUT_PATH",
|
64
64
|
description: "Directory in which the profile should be stored",
|
65
|
-
default_value: ".",
|
66
|
-
verify_block: proc do |value|
|
67
|
-
raise "Could not find output directory '#{value}'".red unless File.exist?(value)
|
68
|
-
end),
|
65
|
+
default_value: "."),
|
69
66
|
FastlaneCore::ConfigItem.new(key: :cert_id,
|
70
67
|
short_option: "-i",
|
71
68
|
env_name: "SIGH_CERTIFICATE_ID",
|
data/lib/sigh/resign.rb
CHANGED
data/lib/sigh/runner.rb
CHANGED
@@ -121,11 +121,11 @@ module Sigh
|
|
121
121
|
# Filter them
|
122
122
|
certificates = certificates.find_all do |c|
|
123
123
|
if Sigh.config[:cert_id]
|
124
|
-
next unless
|
124
|
+
next unless c.id == Sigh.config[:cert_id].strip
|
125
125
|
end
|
126
126
|
|
127
127
|
if Sigh.config[:cert_owner_name]
|
128
|
-
next unless
|
128
|
+
next unless c.owner_name.strip == Sigh.config[:cert_owner_name].strip
|
129
129
|
end
|
130
130
|
|
131
131
|
true
|
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.1.
|
4
|
+
version: 1.1.2
|
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-
|
11
|
+
date: 2015-11-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fastlane_core
|
@@ -226,7 +226,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
226
226
|
version: '0'
|
227
227
|
requirements: []
|
228
228
|
rubyforge_project:
|
229
|
-
rubygems_version: 2.4.
|
229
|
+
rubygems_version: 2.4.0
|
230
230
|
signing_key:
|
231
231
|
specification_version: 4
|
232
232
|
summary: Because you would rather spend your time building stuff than fighting provisioning
|