app-tools 1.17.5 → 1.17.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/bin/gencov +2 -0
- data/bin/kcpass +2 -0
- data/bin/mongo-backup +2 -0
- data/bin/syncpp +7 -27
- data/bin/upload2itunes +2 -0
- data/bin/xcarchive2ipa +2 -0
- data/lib/app_tools/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9f06fe931025be0ab270baea061b5e97ea1e6ebe
|
4
|
+
data.tar.gz: 7aeceda36284a19b0a1371a554a23655a81aab33
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d76522db9a41d75e169c2cce07af72eaa4f2625a9c428183495d00ce84341d9450ccd5000d349a9d66af0bda77ae7d6e5581777d97756a3313fcdea16cf5cc3c
|
7
|
+
data.tar.gz: 2349a770735d9d3cb9f9d59f1db928c4f7dafe42356144d9dce0841c206e0f681dab7f73b119a19ce6965a1a7575e896a2d5808d74f96281d7375d2f51730f90
|
data/bin/gencov
CHANGED
data/bin/kcpass
CHANGED
data/bin/mongo-backup
CHANGED
data/bin/syncpp
CHANGED
@@ -17,13 +17,7 @@ module AppTools
|
|
17
17
|
include Methadone::CLILogging
|
18
18
|
include Methadone::ExitNow
|
19
19
|
|
20
|
-
|
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
|
-
|
61
|
-
|
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 =
|
87
|
-
|
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
|
-
|
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
|
|
data/bin/upload2itunes
CHANGED
@@ -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"
|
data/bin/xcarchive2ipa
CHANGED
@@ -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"
|
data/lib/app_tools/version.rb
CHANGED
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.
|
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-
|
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:
|
98
|
+
name: fastlane
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
101
|
- - "~>"
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version:
|
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:
|
110
|
+
version: 2.1.1
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
112
|
name: highline
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|