motion-appstore 1.0.5 → 1.0.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: a5e8fa8fae79cdf440bd5f631b3555a07d2fda19
4
- data.tar.gz: 5d17244b468e299eecd20598bccfccaedf99abe9
3
+ metadata.gz: e34d586fb25ed18a447a87e350a3395e9be3bb25
4
+ data.tar.gz: 358de7d1acc8b681d59c0388ed6fbd9bd76c4baf
5
5
  SHA512:
6
- metadata.gz: 883b4d76f9bf53144a03cd3d5239587735957c5458e1037d035d41dfb1de505c91bb861c6e6837bc27361dec42de2094ccc2b7e51636f4bf11787c4bdfbaaa6c
7
- data.tar.gz: 657950284264f0a53dfb829cde115717bde4ce70077de7322c2a74aa2980cbbe3f9844a425de65df22d5ab2e14dd324d41da377483fadc14d15a469f3e71efff
6
+ metadata.gz: 6941cbac7b98ffc10d93a37dd152e24b1927d96c40faa38fa6747f1cc20a274027637420c13d4cdfd62a6d7d2339f88ea1f84386639ad88165cf64decb1e1822
7
+ data.tar.gz: 70a4ad8a58576763e0733825796cae6bd40aaaaf995a9d85c06da53f11d1001a983bfc57ff26b51636354d589963492844e8b3f3d17d1f8af43bc31751bb587a
@@ -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
 
@@ -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 Root Directoy of RubyMotion Project"
15
+ help! "Run on root directoy of RubyMotion project."
16
16
  end
17
17
 
18
- # There might be *.ipa or *.pkg in Development and Release directory.
19
- # In here, it takes *.ipa or *.pkg in Release with #last method
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' or `rake archive:distribution'"
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.5
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-04 00:00:00.000000000 Z
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: