app-tools 1.17.5 → 1.17.6

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: d6861da0d1cc66225040e4bfe7b99ea1589711c3
4
- data.tar.gz: 944227787d0218802e044a46c7c7e4f38b743c76
3
+ metadata.gz: 9f06fe931025be0ab270baea061b5e97ea1e6ebe
4
+ data.tar.gz: 7aeceda36284a19b0a1371a554a23655a81aab33
5
5
  SHA512:
6
- metadata.gz: 4379c75814d53336a4a3900b81e9d0d9a5e5a7556048ebe67b73a0dbe5fae8dfb0096adfbba862138e0744afcfd00a1734310b2013873ec6ab67206627355a30
7
- data.tar.gz: 1f974bc7ce7e4777a347addc5639668f9be5fd393074e4375df3cb577151a08926caaf5cd9647869dbdd6436317d0b4840d9707e5e2b5cb1203acd77160f6c5d
6
+ metadata.gz: d76522db9a41d75e169c2cce07af72eaa4f2625a9c428183495d00ce84341d9450ccd5000d349a9d66af0bda77ae7d6e5581777d97756a3313fcdea16cf5cc3c
7
+ data.tar.gz: 2349a770735d9d3cb9f9d59f1db928c4f7dafe42356144d9dce0841c206e0f681dab7f73b119a19ce6965a1a7575e896a2d5808d74f96281d7375d2f51730f90
data/bin/gencov CHANGED
@@ -13,6 +13,8 @@ module AppTools
13
13
  include Methadone::CLILogging
14
14
  include Methadone::ExitNow
15
15
 
16
+ change_logger(Methadone::CLILogger.new($stderr))
17
+
16
18
  class CovData
17
19
  attr_accessor :total_files
18
20
  attr_accessor :total_regions
data/bin/kcpass CHANGED
@@ -12,6 +12,8 @@ module AppTools
12
12
  include Methadone::CLILogging
13
13
  include Methadone::ExitNow
14
14
 
15
+ change_logger(Methadone::CLILogger.new($stderr))
16
+
15
17
  main do |action|
16
18
  itunes_password = options[:p]
17
19
  itunes_user = options[:u]
@@ -14,6 +14,8 @@ module AppTools
14
14
  include Methadone::CLILogging
15
15
  include Methadone::ExitNow
16
16
 
17
+ change_logger(Methadone::CLILogger.new($stderr))
18
+
17
19
  def self.find_tool(name, paths)
18
20
  paths.each { |path|
19
21
  full_path = File.join(path, name)
data/bin/syncpp CHANGED
@@ -17,13 +17,7 @@ module AppTools
17
17
  include Methadone::CLILogging
18
18
  include Methadone::ExitNow
19
19
 
20
- def self.keep_trying
21
- tries ||= 5
22
- yield
23
- rescue UnexpectedResponse
24
- sleep 3
25
- retry unless (tries -= 1).zero?
26
- end
20
+ change_logger(Methadone::CLILogger.new($stderr))
27
21
 
28
22
  main do |profile_name|
29
23
  itunes_user = options[:u]
@@ -50,18 +44,11 @@ module AppTools
50
44
  exit_now! "No password given and non found in keychain"
51
45
  end
52
46
 
53
- Spaceship.login(itunes_user, itunes_password)
54
-
55
- profile = nil
56
-
57
- # NOTE: Sometimes the call to the Apple API can fail, hence the retries
47
+ Spaceship::Portal.login(itunes_user, itunes_password)
58
48
 
59
49
  # Get the provisioning profile that matches the name given
60
- keep_trying do
61
- profiles = Spaceship.provisioning_profile.all
62
- profile = profiles.find do |profile|
63
- profile.name == profile_name
64
- end
50
+ profile = Spaceship::Portal.provisioning_profile.all.find do |profile|
51
+ profile.name == profile_name
65
52
  end
66
53
 
67
54
  if profile.nil?
@@ -83,18 +70,11 @@ module AppTools
83
70
  end
84
71
 
85
72
  # Get the full certificate record
86
- cert = nil
87
- keep_trying do
88
- certs = Spaceship.certificate.all
89
- cert = certs.find do |cert|
90
- cert.id == profile_cert.id
91
- end
73
+ cert = Spaceship::Portal.certificate.all.find do |cert|
74
+ cert.id == profile_cert.id
92
75
  end
93
76
 
94
- profile_path = "#{profile_name}.mobileprovision"
95
-
96
- File.write(profile_path, profile.download)
97
-
77
+ File.write("#{profile_name}.mobileprovision", profile.download)
98
78
  puts "SYNCPP_CERTIFICATE_NAME=\"#{cert.name}\"; SYNCPP_PROFILE_UUID=\"#{profile.uuid}\""
99
79
  end
100
80
 
@@ -18,6 +18,8 @@ module AppTools
18
18
  include Methadone::CLILogging
19
19
  include Methadone::ExitNow
20
20
 
21
+ change_logger(Methadone::CLILogger.new($stderr))
22
+
21
23
  main do |ipa_path|
22
24
  if !File.exist?(ipa_path) or !File.extname(ipa_path) == '.ipa'
23
25
  exit_now! "Must supply a .ipa path to process"
@@ -17,6 +17,8 @@ module AppTools
17
17
  include Methadone::CLILogging
18
18
  include Methadone::ExitNow
19
19
 
20
+ change_logger(Methadone::CLILogger.new($stderr))
21
+
20
22
  main do |xcarchive_path|
21
23
  if !Dir.exist?(xcarchive_path) or !File.extname(xcarchive_path) == '.xcarchive'
22
24
  exit_now! "Must supply a .xcarchive path to process"
@@ -1,3 +1,3 @@
1
1
  module AppTools
2
- VERSION = "1.17.5"
2
+ VERSION = "1.17.6"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: app-tools
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.17.5
4
+ version: 1.17.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Lyon-Smith
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-12-06 00:00:00.000000000 Z
11
+ date: 2016-12-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -95,19 +95,19 @@ dependencies:
95
95
  - !ruby/object:Gem::Version
96
96
  version: '1.1'
97
97
  - !ruby/object:Gem::Dependency
98
- name: spaceship
98
+ name: fastlane
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
101
  - - "~>"
102
102
  - !ruby/object:Gem::Version
103
- version: '0.38'
103
+ version: 2.1.1
104
104
  type: :runtime
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - "~>"
109
109
  - !ruby/object:Gem::Version
110
- version: '0.38'
110
+ version: 2.1.1
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: highline
113
113
  requirement: !ruby/object:Gem::Requirement