watchbuild 0.1.1 → 0.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: bed9886bd3532a76cd597a04e926d785d7956f3b
4
- data.tar.gz: f4b19483d41066efbe86c7c1e82bea7b90581e8f
3
+ metadata.gz: a70fb090a363d488ca73f0d46bf3ea86c7ae9fa5
4
+ data.tar.gz: 5d392588cd8e0a250945918e70075df17794229d
5
5
  SHA512:
6
- metadata.gz: 0c250fd1c5efe485238789983bfd11632089615be1d9ff59cae70cfa280adf1c31c534735f2dbb1859267ccbecf4219ff387e5c67ff3ae800162744a6e4ff636
7
- data.tar.gz: bd4d5fac13a2ead9430b1e799e4e149e03cd7000b74593e527f729e5b65229520b53e9709bf502d0e95c167cb904c0aaf47ce3ff7a2e02290a0b2a960c82d3db
6
+ metadata.gz: edbc7ea593aedc25adcafc6299c845076113e2b1a3ec1f466dbc255105b589471939b96187ff09a6d39ff7e863d854710ab7c70a95cfee49570af339585ac0ed
7
+ data.tar.gz: 148ede759478bbc49c0ac2c592f8a7aac20f5bca6a585d67d5404e5cc84cc3996a5b2bff306a2291b6560d8e33fb9196d0a360f4ed87c595123a0315e8402a47
data/README.md CHANGED
@@ -17,7 +17,8 @@
17
17
  <a href="https://github.com/fastlane/pilot">pilot</a> &bull;
18
18
  <a href="https://github.com/fastlane/boarding">boarding</a> &bull;
19
19
  <a href="https://github.com/fastlane/gym">gym</a> &bull;
20
- <a href="https://github.com/fastlane/scan">scan</a>
20
+ <a href="https://github.com/fastlane/scan">scan</a> &bull;
21
+ <a href="https://github.com/fastlane/match">match</a>
21
22
  </p>
22
23
  -------
23
24
 
@@ -100,6 +101,7 @@ For a list of available parameters and commands run
100
101
  - [`boarding`](https://github.com/fastlane/boarding): The easiest way to invite your TestFlight beta testers
101
102
  - [`gym`](https://github.com/fastlane/gym): Building your iOS apps has never been easier
102
103
  - [`scan`](https://github.com/fastlane/scan): The easiest way to run tests of your iOS and Mac app
104
+ - [`match`](https://github.com/fastlane/match): Easily sync your certificates and profiles across your team using git
103
105
 
104
106
  ##### [Like this tool? Be the first to know about updates and new fastlane tools](https://tinyletter.com/krausefx)
105
107
 
data/bin/watchbuild CHANGED
@@ -4,7 +4,6 @@ $:.push File.expand_path("../../lib", __FILE__)
4
4
 
5
5
  require 'watchbuild'
6
6
  require 'commander'
7
- require 'credentials_manager/password_manager'
8
7
  require 'credentials_manager/appfile_config'
9
8
  require 'watchbuild/options'
10
9
 
@@ -4,6 +4,9 @@ require 'credentials_manager'
4
4
  module WatchBuild
5
5
  class Options
6
6
  def self.available_options
7
+ user = CredentialsManager::AppfileConfig.try_fetch_value(:itunes_connect_id)
8
+ user ||= CredentialsManager::AppfileConfig.try_fetch_value(:apple_id)
9
+
7
10
  [
8
11
  FastlaneCore::ConfigItem.new(key: :app_identifier,
9
12
  short_option: "-a",
@@ -14,7 +17,7 @@ module WatchBuild
14
17
  short_option: "-u",
15
18
  env_name: "FASTLANE_USER",
16
19
  description: "Your Apple ID Username",
17
- default_value: CredentialsManager::AppfileConfig.try_fetch_value(:apple_id))
20
+ default_value: user)
18
21
  ]
19
22
  end
20
23
  end
@@ -48,8 +48,10 @@ module WatchBuild
48
48
  execute: "open '#{url}'")
49
49
 
50
50
  Helper.log.info "Successfully finished processing the build".green
51
- Helper.log.info "You can now tweet: "
52
- Helper.log.info "iTunes Connect #iosprocessingtime #{minutes} minutes".yellow
51
+ if minutes > 0 # it's 0 minutes if there was no new build uploaded
52
+ Helper.log.info "You can now tweet: "
53
+ Helper.log.info "iTunes Connect #iosprocessingtime #{minutes} minutes".yellow
54
+ end
53
55
  Helper.log.info url
54
56
  end
55
57
 
@@ -1,4 +1,4 @@
1
1
  module WatchBuild
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  DESCRIPTION = "Get a notification once your iTunes Connect build is finished processing"
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: watchbuild
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.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-05 00:00:00.000000000 Z
11
+ date: 2015-12-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fastlane_core
@@ -36,14 +36,14 @@ dependencies:
36
36
  requirements:
37
37
  - - ">="
38
38
  - !ruby/object:Gem::Version
39
- version: 0.13.0
39
+ version: 0.18.0
40
40
  type: :runtime
41
41
  prerelease: false
42
42
  version_requirements: !ruby/object:Gem::Requirement
43
43
  requirements:
44
44
  - - ">="
45
45
  - !ruby/object:Gem::Version
46
- version: 0.13.0
46
+ version: 0.18.0
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: terminal-notifier
49
49
  requirement: !ruby/object:Gem::Requirement
@@ -219,7 +219,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
219
219
  version: '0'
220
220
  requirements: []
221
221
  rubyforge_project:
222
- rubygems_version: 2.5.0
222
+ rubygems_version: 2.4.0
223
223
  signing_key:
224
224
  specification_version: 4
225
225
  summary: Get a notification once your iTunes Connect build is finished processing