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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d67d7db17e2b5544c4e47e98ac8da10e04b9dd90
4
- data.tar.gz: dad2fb8369a13e45d6e60637298d94504325aeff
3
+ metadata.gz: fc199ef3c6b60808131184a8e6d25121d86900b2
4
+ data.tar.gz: 0cba8ac05f23425ca09ac448e5dd95f013abac8b
5
5
  SHA512:
6
- metadata.gz: fbd9d816a8f25c821f2c8ccd33880ad0c85c277f40308d52bbb33a5f0b7438957d8116c6cea732937b96ec15473005b770796738b8b14fa21e4e2fd72e10e2da
7
- data.tar.gz: a4581ea28bed0dd0a301c00a980869e686a098ed9aa55494f57213eb5248c789569fb87399bbde7ba08365eb3fdc23aff862a3fbdc835d2657aa455f4d410354
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/KrauseFx/fastlane">
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/KrauseFx/deliver">deliver</a> &bull;
10
- <a href="https://github.com/KrauseFx/snapshot">snapshot</a> &bull;
11
- <a href="https://github.com/KrauseFx/frameit">frameit</a> &bull;
12
- <a href="https://github.com/KrauseFx/PEM">PEM</a> &bull;
9
+ <a href="https://github.com/fastlane/deliver">deliver</a> &bull;
10
+ <a href="https://github.com/fastlane/snapshot">snapshot</a> &bull;
11
+ <a href="https://github.com/fastlane/frameit">frameit</a> &bull;
12
+ <a href="https://github.com/fastlane/PEM">PEM</a> &bull;
13
13
  <b>sigh</b> &bull;
14
- <a href="https://github.com/KrauseFx/produce">produce</a> &bull;
15
- <a href="https://github.com/KrauseFx/cert">cert</a> &bull;
14
+ <a href="https://github.com/fastlane/produce">produce</a> &bull;
15
+ <a href="https://github.com/fastlane/cert">cert</a> &bull;
16
16
  <a href="https://github.com/fastlane/spaceship">spaceship</a> &bull;
17
17
  <a href="https://github.com/fastlane/pilot">pilot</a> &bull;
18
18
  <a href="https://github.com/fastlane/boarding">boarding</a> &bull;
@@ -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](http://img.shields.io/badge/license-MIT-green.svg?style=flat)](https://github.com/KrauseFx/sigh/blob/master/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/KrauseFx/PEM).
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/KrauseFx/cert) in combination with [fastlane](https://github.com/KrauseFx/fastlane) the signing certificate will automatically be selected for you. (make sure to run `cert` before `sigh`)
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/CredentialsManager) from `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/KrauseFx/deliver): Upload screenshots, metadata and your app to the App Store
199
- - [`snapshot`](https://github.com/KrauseFx/snapshot): Automate taking localized screenshots of your iOS app on every device
200
- - [`frameit`](https://github.com/KrauseFx/frameit): Quickly put your screenshots into the right device frames
201
- - [`PEM`](https://github.com/KrauseFx/pem): Automatically generate and renew your push notification profiles
202
- - [`produce`](https://github.com/KrauseFx/produce): Create new iOS apps on iTunes Connect and Dev Portal using the command line
203
- - [`cert`](https://github.com/KrauseFx/cert): Automatically create and maintain iOS code signing certificates
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
@@ -18,11 +18,10 @@ module Sigh
18
18
  end
19
19
 
20
20
  def download_profile(profile)
21
- output = Sigh.config[:output_path] || "/tmp"
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(output, profile_name)
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
@@ -14,6 +14,7 @@ module Sigh
14
14
  file_name = File.basename(path)
15
15
  end
16
16
 
17
+ FileUtils.mkdir_p(Sigh.config[:output_path])
17
18
  output = File.join(File.expand_path(Sigh.config[:output_path]), file_name)
18
19
  begin
19
20
  FileUtils.mv(path, output)
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
@@ -32,7 +32,7 @@ module Sigh
32
32
  resign_path.shellescape,
33
33
  ipa.shellescape,
34
34
  signing_identity.shellescape,
35
- provisioning_options,
35
+ provisioning_options.shellescape,
36
36
  ipa.shellescape
37
37
  ].join(' ')
38
38
 
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 (c.id == Sigh.config[:cert_id].strip)
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 (c.owner_name.strip == Sigh.config[:cert_owner_name].strip)
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
@@ -1,3 +1,3 @@
1
1
  module Sigh
2
- VERSION = "1.1.1"
2
+ VERSION = "1.1.2"
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.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-10-27 00:00:00.000000000 Z
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.8
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