motion-appstore 1.0.5 → 1.0.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/command/motion-upload.rb +2 -2
- data/command/motion-validate.rb +2 -2
- data/command/utils.rb +4 -5
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e34d586fb25ed18a447a87e350a3395e9be3bb25
|
4
|
+
data.tar.gz: 358de7d1acc8b681d59c0388ed6fbd9bd76c4baf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6941cbac7b98ffc10d93a37dd152e24b1927d96c40faa38fa6747f1cc20a274027637420c13d4cdfd62a6d7d2339f88ea1f84386639ad88165cf64decb1e1822
|
7
|
+
data.tar.gz: 70a4ad8a58576763e0733825796cae6bd40aaaaf995a9d85c06da53f11d1001a983bfc57ff26b51636354d589963492844e8b3f3d17d1f8af43bc31751bb587a
|
data/command/motion-upload.rb
CHANGED
@@ -5,7 +5,7 @@ module Motion; class Command
|
|
5
5
|
class Upload < Command
|
6
6
|
include Utils
|
7
7
|
|
8
|
-
self.summary = 'Upload an archived app to iTunes Connect'
|
8
|
+
self.summary = 'Upload an archived app to iTunes Connect.'
|
9
9
|
self.arguments = 'APPLE-ID'
|
10
10
|
|
11
11
|
def initialize(argv)
|
@@ -22,7 +22,7 @@ module Motion; class Command
|
|
22
22
|
archive = archive_path()
|
23
23
|
puts bold("Upload: ") + archive
|
24
24
|
|
25
|
-
exitcode = altool("--upload-app -f #{archive} -u #{@adc_id} -p #{password}")
|
25
|
+
exitcode = altool("--upload-app -f \"#{archive}\" -u \"#{@adc_id}\" -p \"#{password}\"")
|
26
26
|
exit(exitcode)
|
27
27
|
end
|
28
28
|
|
data/command/motion-validate.rb
CHANGED
@@ -5,7 +5,7 @@ module Motion; class Command
|
|
5
5
|
class Validate < Command
|
6
6
|
include Utils
|
7
7
|
|
8
|
-
self.summary = 'Validate an archived app'
|
8
|
+
self.summary = 'Validate an archived app.'
|
9
9
|
self.arguments = 'APPLE-ID'
|
10
10
|
|
11
11
|
def initialize(argv)
|
@@ -22,7 +22,7 @@ module Motion; class Command
|
|
22
22
|
archive = archive_path()
|
23
23
|
puts bold("Validate: ") + archive
|
24
24
|
|
25
|
-
exitcode = altool("-v -f #{archive} -u #{@adc_id} -p #{password}")
|
25
|
+
exitcode = altool("-v -f \"#{archive}\" -u \"#{@adc_id}\" -p \"#{password}\"")
|
26
26
|
exit(exitcode)
|
27
27
|
end
|
28
28
|
|
data/command/utils.rb
CHANGED
@@ -12,14 +12,13 @@ module Utils
|
|
12
12
|
|
13
13
|
def archive_path
|
14
14
|
unless File.exist?('Rakefile')
|
15
|
-
help! "Run on
|
15
|
+
help! "Run on root directoy of RubyMotion project."
|
16
16
|
end
|
17
17
|
|
18
|
-
#
|
19
|
-
|
20
|
-
archive = Dir.glob("./build/*/*.{ipa,pkg}").last
|
18
|
+
# select *.ipa or *.pkg in Release directory.
|
19
|
+
archive = Dir.glob("./build/{iPhoneOS,MacOSX}*-Release/*.{ipa,pkg}").first
|
21
20
|
unless archive
|
22
|
-
help! "Can't find *.ipa or *.pkg. First, need to create archive file with `rake archive
|
21
|
+
help! "Can't find *.ipa or *.pkg. First, need to create archive file with `rake archive:distribution'."
|
23
22
|
end
|
24
23
|
archive
|
25
24
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: motion-appstore
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Watson
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-01-
|
11
|
+
date: 2015-01-06 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: This is RubyMotion plugin which provides commands deal with iTunes Connect.
|
14
14
|
email:
|