motion-appstore 1.0.10 → 1.0.11

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/command/utils.rb +11 -4
  3. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8f7d005be924cde96c65030fb10b8462e814528e
4
- data.tar.gz: f5d2fe3ae1d9238d135a7598d55405537a38099b
3
+ metadata.gz: 74779c38c00d6b8a3187d2a86fac1fc8750c62d3
4
+ data.tar.gz: 4cad2e832eadb5681453e42ca9a6877da4577704
5
5
  SHA512:
6
- metadata.gz: e0209a3a2aba9638f2835c3a6edf1de230e054f9fb1f217f98a4d6d0d59e5980f51e52dbf78799ae012dbabec7a2fa8b6ffb90076d5b28910b8f7e4685134d27
7
- data.tar.gz: 720e06b63a944bfa0f5cfdda1039abc4f0441acddb99bab591451353557350eb050801bc0ebf6de4c550e5c9436d1d82db7e32b9d0af40850a57b83e0fdbb931
6
+ metadata.gz: 2506df927b3ce725eaec2557c1db3a7699860d5e14e248b76322c705a4da463fe51831ba4a3d5eb1d5a59bb42f8a3333c42c9f814a1d314c8ee5af5a30d42e3e
7
+ data.tar.gz: cbe776f1e26d6fc9fc3df020e0e88b709d18b7343443f855717e3a3e7a128d9f476d8bd72fd39cabf6f5edd9325044e43abf171c44153d5f40df9683e3a2146c
@@ -46,6 +46,11 @@ module Utils
46
46
  $?.exitstatus
47
47
  end
48
48
 
49
+ CONFIG_KEY = %w(
50
+ build_dir
51
+ deployment_target
52
+ )
53
+
49
54
  def config
50
55
  unless File.exist?('Rakefile')
51
56
  help! "Run on root directoy of RubyMotion project."
@@ -60,10 +65,12 @@ module Utils
60
65
 
61
66
  @config = {}
62
67
  config.lines.each do |line|
63
- m = line.strip.match(/(.+)\s+: (.+)/)
64
- k = $1
65
- v = eval($2)
66
- @config[k.strip] = v
68
+ m = line.strip.match(/(\w+)\s+: (.+)$/)
69
+ if CONFIG_KEY.include?($1)
70
+ k = $1
71
+ v = eval($2.strip)
72
+ @config[k] = v
73
+ end
67
74
  end
68
75
  end
69
76
  @config
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.10
4
+ version: 1.0.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Watson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-09-13 00:00:00.000000000 Z
11
+ date: 2016-09-24 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:
@@ -44,7 +44,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
44
44
  version: '0'
45
45
  requirements: []
46
46
  rubyforge_project:
47
- rubygems_version: 2.6.6
47
+ rubygems_version: 2.5.1
48
48
  signing_key:
49
49
  specification_version: 4
50
50
  summary: This is RubyMotion plugin which provides commands deal with iTunes Connect.