sigh 1.2.0 → 1.2.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: e098a714954719bbe9dd0235a01f1754a824ea26
4
- data.tar.gz: 003b6d408c7af6e80133dc74add67c078984ee34
3
+ metadata.gz: 8931fb86e623fc3a680e26e00670a7d442b90ef9
4
+ data.tar.gz: 7a2393ac3c0efe856cc89e5f5fa6a56c761bf850
5
5
  SHA512:
6
- metadata.gz: 9d3981de192ff4bc036f04cf89ec7447b88a41b6da2d0bcd4516252477e8f94fe12d2e6f39b5b92e8f852f3eebeeabc03ad6ab438d51795f4131c3161cfb3c85
7
- data.tar.gz: ec9bbe15c3a686dfd6db590c2c998ba9c1b242a570814d77aa72e73d2edffb5522547260aad94e1aa9816b013b533ce179596ac6e429918b6a3e6791a29180d9
6
+ metadata.gz: fe9185957e903724e97c58ba9b01847b52d9387a20d8f59078898aef592b1d5b2a8733c9b00e95ca8ec662cd6ccaeeaf9e83da10daf95a38d7269e9e3c7d7067
7
+ data.tar.gz: ef4e9a965a3b5765f4a2aed4f25362fc186f43ff03e81eb8ad436bef842a22db83b975e3b3080805ba2968a5ec022f9dbe1b10e0983516594a3ffa93a6c629f0
data/README.md CHANGED
@@ -9,7 +9,7 @@
9
9
  <a href="https://github.com/fastlane/deliver">deliver</a> &bull;
10
10
  <a href="https://github.com/fastlane/snapshot">snapshot</a> &bull;
11
11
  <a href="https://github.com/fastlane/frameit">frameit</a> &bull;
12
- <a href="https://github.com/fastlane/PEM">PEM</a> &bull;
12
+ <a href="https://github.com/fastlane/pem">pem</a> &bull;
13
13
  <b>sigh</b> &bull;
14
14
  <a href="https://github.com/fastlane/produce">produce</a> &bull;
15
15
  <a href="https://github.com/fastlane/cert">cert</a> &bull;
@@ -217,7 +217,7 @@ If you're using [cert](https://github.com/fastlane/cert) in combination with [fa
217
217
  - [`deliver`](https://github.com/fastlane/deliver): Upload screenshots, metadata and your app to the App Store
218
218
  - [`snapshot`](https://github.com/fastlane/snapshot): Automate taking localized screenshots of your iOS app on every device
219
219
  - [`frameit`](https://github.com/fastlane/frameit): Quickly put your screenshots into the right device frames
220
- - [`PEM`](https://github.com/fastlane/PEM): Automatically generate and renew your push notification profiles
220
+ - [`pem`](https://github.com/fastlane/pem): Automatically generate and renew your push notification profiles
221
221
  - [`produce`](https://github.com/fastlane/produce): Create new iOS apps on iTunes Connect and Dev Portal using the command line
222
222
  - [`cert`](https://github.com/fastlane/cert): Automatically create and maintain iOS code signing certificates
223
223
  - [`spaceship`](https://github.com/fastlane/spaceship): Ruby library to access the Apple Dev Center and iTunes Connect
data/bin/sigh CHANGED
@@ -23,6 +23,8 @@ class SighApplication
23
23
  program :help, 'GitHub', 'https://github.com/krausefx/sigh'
24
24
  program :help_formatter, :compact
25
25
 
26
+ global_option('--verbose') { $verbose = true }
27
+
26
28
  FastlaneCore::CommanderGenerator.new.generate(Sigh::Options.available_options)
27
29
 
28
30
  command :renew do |c|
data/lib/sigh/runner.rb CHANGED
@@ -8,7 +8,7 @@ module Sigh
8
8
  # returns the path the newly created provisioning profile (in /tmp usually)
9
9
  def run
10
10
  FastlaneCore::PrintTable.print_values(config: Sigh.config,
11
- hide_keys: [],
11
+ hide_keys: [:output_path],
12
12
  title: "Summary for sigh #{Sigh::VERSION}")
13
13
 
14
14
  Helper.log.info "Starting login with user '#{Sigh.config[:username]}'"
@@ -176,19 +176,22 @@ module Sigh
176
176
  # Makes sure the current App ID exists. If not, it will show an appropriate error message
177
177
  def ensure_app_exists!
178
178
  return if Spaceship::App.find(Sigh.config[:app_identifier])
179
+ print_produce_command(Sigh.config)
180
+ raise "Could not find App with App Identifier '#{Sigh.config[:app_identifier]}'"
181
+ end
179
182
 
183
+ def print_produce_command(config)
180
184
  Helper.log.info ""
181
185
  Helper.log.info "==========================================".yellow
182
- Helper.log.info "Could not find App ID with bundle identifier '#{Sigh.config[:app_identifier]}'"
186
+ Helper.log.info "Could not find App ID with bundle identifier '#{config[:app_identifier]}'"
183
187
  Helper.log.info "You can easily generate a new App ID on the Developer Portal using 'produce':"
184
188
  Helper.log.info ""
185
- Helper.log.info "produce -u #{Sigh.config[:username]} -a #{Sigh.config[:app_identifier]} --skip_itc".yellow
189
+ Helper.log.info "produce -u #{config[:username]} -a #{config[:app_identifier]} --skip_itc".yellow
186
190
  Helper.log.info ""
187
191
  Helper.log.info "You will be asked for any missing information, like the full name of your app"
188
192
  Helper.log.info "If the app should also be created on iTunes Connect, remove the " + "--skip_itc".yellow + " from the command above"
189
193
  Helper.log.info "==========================================".yellow
190
194
  Helper.log.info ""
191
- raise "Could not find App with App Identifier '#{Sigh.config[:app_identifier]}}'"
192
195
  end
193
196
  end
194
197
  end
data/lib/sigh/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Sigh
2
- VERSION = "1.2.0"
2
+ VERSION = "1.2.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.2.0
4
+ version: 1.2.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: 2015-12-04 00:00:00.000000000 Z
11
+ date: 2015-12-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fastlane_core