shenzhen 0.14.2 → 0.14.3

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: 97524b3d4b8575b141cc7c66cb9e4d8bd9be1a00
4
- data.tar.gz: 70fae6a5c3dfdf0ef75e4cc60198829b28c83f54
3
+ metadata.gz: fa6231bbebb0bf46c1fc5a677114c8401958979c
4
+ data.tar.gz: f3084ee16f92a7feb399be2c7a7c5a50e98170c9
5
5
  SHA512:
6
- metadata.gz: 31c9e8b8a97c479f96e472a635cbf6779e4c891fb93d239440c52988f1dc7f4e14cb8f68c82a6fd48134699182425751f10e5f76a1b8decf92edb27cf5c04163
7
- data.tar.gz: 10771d2596902b64a5154ec6a3141b90870145182ea5cc8a7b8d1b175929744a1948b2b5883384b152d055e38dc7febdf47c079954220c97074d025a17fcc2d8
6
+ metadata.gz: 792cb514b945e94c7346d05c5c7c7b9a21330550a05924b582cbd649083029a15c16006bfab8d9d1704c70754e42346cb0ff3c4eb8b36460a07c1293e0f1633c
7
+ data.tar.gz: 06c65d36823432d3a5b45dd7c19269c644540e7852d273cb67ee36a6e3695d96c2c751ebbdb9c01ae3222e91a81f88fbd2b135a0504b6e417f4830f05b86051d
data/README.md CHANGED
@@ -1,9 +1,17 @@
1
1
  ![Shenzhen](https://raw.github.com/nomad/nomad.github.io/assets/shenzhen-banner.png)
2
2
 
3
+ ----
4
+
5
+ **Note**: shenzhen uses the Xcode 6 build API, which has been deprecated for almost 3 years now. This causes problems if your app makes use of Swift 3, watchOS and other app targets.
6
+
7
+ A maintained alternative to build your iOS apps is [gym](https://fastlane.tools/gym) which uses the latest Xcode API. To distribute builds, you can use [fastlane](https://fastlane.tools). More information on how to get started is available on the [iOS Beta deployment guide](https://docs.fastlane.tools/getting-started/ios/beta-deployment/).
8
+
9
+ ----
10
+
3
11
  Create `.ipa` files and distribute them from the command line, using any of the following methods:
4
12
 
5
13
  - [iTunes Connect](https://itunesconnect.apple.com)
6
- - [HockeyApp](http://www.hockeyapp.net)
14
+ - [HockeyApp](http://hockeyapp.net/)
7
15
  - [Beta by Crashlytics](http://try.crashlytics.com/beta/)
8
16
  - [RivieraBuild](http://rivierabuild.com)
9
17
  - [TestFairy](https://www.testfairy.com/)
@@ -15,8 +23,8 @@ Create `.ipa` files and distribute them from the command line, using any of the
15
23
 
16
24
  Less cumbersome than clicking around in Xcode, and less hassle than rolling your own build script, Shenzhen radically improves the process of getting new builds out to testers and enterprises.
17
25
 
18
- > `shenzhen` is named for [深圳](http://en.wikipedia.org/wiki/Shenzhen), the Chinese city famous for being the center of manufacturing for a majority of consumer electronics, including iPhones and iPads.
19
- > It's part of a series of world-class command-line utilities for iOS development, which includes [Cupertino](https://github.com/mattt/cupertino) (Apple Dev Center management), [Houston](https://github.com/mattt/houston) (Push Notifications), [Venice](https://github.com/mattt/venice) (In-App Purchase Receipt Verification), [Dubai](https://github.com/mattt/dubai) (Passbook pass generation), and [Nashville](https://github.com/nomad/nashville) (iTunes Store API).
26
+ > `shenzhen` is named for [深圳](https://en.wikipedia.org/wiki/Shenzhen), the Chinese city famous for being the center of manufacturing for a majority of consumer electronics, including iPhones and iPads.
27
+ > It's part of a series of world-class command-line utilities for iOS development, which includes [Cupertino](https://github.com/nomad/cupertino) (Apple Dev Center management), [Houston](https://github.com/nomad/houston) (Push Notifications), [Venice](https://github.com/nomad/venice) (In-App Purchase Receipt Verification), [Dubai](https://github.com/nomad/dubai) (Passbook pass generation), and [Nashville](https://github.com/nomad/nashville) (iTunes Store API).
20
28
 
21
29
  ## Installation
22
30
 
@@ -53,7 +61,7 @@ Build and distribute iOS apps (.ipa files)
53
61
  distribute:hockeyapp Distribute an .ipa file over HockeyApp
54
62
  distribute:crashlytics Distribute an .ipa file over Crashlytics
55
63
  distribute:deploygate Distribute an .ipa file over deploygate
56
- distribute:firim Distribute an .ipa file over fir.im
64
+ distribute:fir Distribute an .ipa file over fir.im
57
65
  distribute:itunesconnect Upload an .ipa file to iTunes Connect for review
58
66
  distribute:pgyer Distribute an .ipa file over Pgyer
59
67
  distribute:ftp Distribute an .ipa file over FTP
data/Rakefile CHANGED
@@ -1,9 +1 @@
1
- require "bundler/setup"
2
-
3
- gemspec = eval(File.read("shenzhen.gemspec"))
4
-
5
- task :build => "#{gemspec.full_name}.gem"
6
-
7
- file "#{gemspec.full_name}.gem" => gemspec.files + ["shenzhen.gemspec"] do
8
- system "gem build shenzhen.gemspec"
9
- end
1
+ require 'bundler/gem_tasks'
@@ -44,7 +44,7 @@ command :info do |c|
44
44
  temp_provisioning_profile = ::File.new(::File.join(tempdir.path, provisioning_profile_entry.name))
45
45
  temp_app_directory = ::File.new(::File.join(tempdir.path, app_entry.name))
46
46
 
47
- plist = Plist::parse_xml(`security cms -D -i #{temp_provisioning_profile.path}`)
47
+ plist = Plist::parse_xml(`security cms -D -i "#{temp_provisioning_profile.path}"`)
48
48
 
49
49
  codesign = `codesign -dv "#{temp_app_directory.path}" 2>&1`
50
50
  codesigned = /Signed Time/ === codesign
@@ -8,7 +8,7 @@ module Shenzhen::Plugins
8
8
  @api_token, @build_secret = api_token, build_secret
9
9
 
10
10
  @crashlytics_path = Pathname.new("#{crashlytics_path}/submit").cleanpath.to_s
11
- say_error "Path to Crashlytics.framework/submit is invalid" and abort unless File.exists?(@crashlytics_path)
11
+ say_error "Path to Crashlytics.framework/submit is invalid" and abort unless File.exist?(@crashlytics_path)
12
12
  end
13
13
 
14
14
  def upload_build(ipa, options)
@@ -115,10 +115,6 @@ command :'distribute:itunesconnect' do |c|
115
115
  Security::GenericPassword.add(Shenzhen::Plugins::ITunesConnect::ITUNES_CONNECT_SERVER, @account, @password, {:U => nil}) if options.save_keychain
116
116
  end
117
117
 
118
- unless /^[0-9a-zA-Z]*$/ === @password
119
- say_warning "Password contains special characters, which may not be handled properly by iTMSTransporter. If you experience problems uploading to iTunes Connect, please consider changing your password to something with only alphanumeric characters."
120
- end
121
-
122
118
  parameters = []
123
119
  parameters << :warnings if options.warnings
124
120
  parameters << :errors if options.errors
@@ -45,7 +45,7 @@ command :'distribute:testfairy' do |c|
45
45
  c.option '-d', '--dsym FILE', "zipped .dsym package for the build"
46
46
  c.option '-a', '--key KEY', "API Key. Available at https://app.testfairy.com/settings for details."
47
47
  c.option '-c', '--comment COMMENT', "Comment for the build"
48
- c.option '--tester-groups GROUPS', 'Comma-separated list of tester groups to be notified on the new build. Or "all" to notify all testers.'
48
+ c.option '--testers-groups GROUPS', 'Comma-separated list of tester groups to be notified on the new build. Or "all" to notify all testers.'
49
49
  c.option '--metrics METRICS', "Comma-separated list of metrics to record"
50
50
  c.option '--max-duration DURATION', 'Maximum session recording length, eg 20m or 1h. Default is "10m". Maximum 24h.'
51
51
  c.option '--video ACTIVE', 'Video recording settings "on", "off" or "wifi" for recording video only when wifi is available. Default is "on".'
@@ -1,3 +1,3 @@
1
1
  module Shenzhen
2
- VERSION = '0.14.2'
2
+ VERSION = '0.14.3'
3
3
  end
@@ -16,9 +16,9 @@ Gem::Specification.new do |s|
16
16
 
17
17
  s.add_dependency "commander", "~> 4.3"
18
18
  s.add_dependency "highline", ">= 1.7.2"
19
- s.add_dependency "terminal-table", "~> 1.4.5"
19
+ s.add_dependency "terminal-table", "~> 1.4"
20
20
  s.add_dependency "json", "~> 1.8"
21
- s.add_dependency "faraday", "~> 0.8.9"
21
+ s.add_dependency "faraday", "~> 0.9"
22
22
  s.add_dependency "faraday_middleware", "~> 0.9"
23
23
  s.add_dependency "dotenv", ">= 0.7"
24
24
  s.add_dependency "aws-sdk", "~> 1.0"
metadata CHANGED
@@ -1,209 +1,209 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shenzhen
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.2
4
+ version: 0.14.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mattt Thompson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-05-19 00:00:00.000000000 Z
11
+ date: 2017-01-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: commander
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: '4.3'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ~>
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '4.3'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: highline
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - '>='
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: 1.7.2
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - '>='
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: 1.7.2
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: terminal-table
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ~>
45
+ - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: 1.4.5
47
+ version: '1.4'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ~>
52
+ - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: 1.4.5
54
+ version: '1.4'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: json
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ~>
59
+ - - "~>"
60
60
  - !ruby/object:Gem::Version
61
61
  version: '1.8'
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ~>
66
+ - - "~>"
67
67
  - !ruby/object:Gem::Version
68
68
  version: '1.8'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: faraday
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - ~>
73
+ - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: 0.8.9
75
+ version: '0.9'
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - ~>
80
+ - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: 0.8.9
82
+ version: '0.9'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: faraday_middleware
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - ~>
87
+ - - "~>"
88
88
  - !ruby/object:Gem::Version
89
89
  version: '0.9'
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - ~>
94
+ - - "~>"
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0.9'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: dotenv
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - '>='
101
+ - - ">="
102
102
  - !ruby/object:Gem::Version
103
103
  version: '0.7'
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
110
  version: '0.7'
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: aws-sdk
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
- - - ~>
115
+ - - "~>"
116
116
  - !ruby/object:Gem::Version
117
117
  version: '1.0'
118
118
  type: :runtime
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
- - - ~>
122
+ - - "~>"
123
123
  - !ruby/object:Gem::Version
124
124
  version: '1.0'
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: net-sftp
127
127
  requirement: !ruby/object:Gem::Requirement
128
128
  requirements:
129
- - - ~>
129
+ - - "~>"
130
130
  - !ruby/object:Gem::Version
131
131
  version: 2.1.2
132
132
  type: :runtime
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
- - - ~>
136
+ - - "~>"
137
137
  - !ruby/object:Gem::Version
138
138
  version: 2.1.2
139
139
  - !ruby/object:Gem::Dependency
140
140
  name: plist
141
141
  requirement: !ruby/object:Gem::Requirement
142
142
  requirements:
143
- - - ~>
143
+ - - "~>"
144
144
  - !ruby/object:Gem::Version
145
145
  version: 3.1.0
146
146
  type: :runtime
147
147
  prerelease: false
148
148
  version_requirements: !ruby/object:Gem::Requirement
149
149
  requirements:
150
- - - ~>
150
+ - - "~>"
151
151
  - !ruby/object:Gem::Version
152
152
  version: 3.1.0
153
153
  - !ruby/object:Gem::Dependency
154
154
  name: rubyzip
155
155
  requirement: !ruby/object:Gem::Requirement
156
156
  requirements:
157
- - - ~>
157
+ - - "~>"
158
158
  - !ruby/object:Gem::Version
159
159
  version: '1.1'
160
160
  type: :runtime
161
161
  prerelease: false
162
162
  version_requirements: !ruby/object:Gem::Requirement
163
163
  requirements:
164
- - - ~>
164
+ - - "~>"
165
165
  - !ruby/object:Gem::Version
166
166
  version: '1.1'
167
167
  - !ruby/object:Gem::Dependency
168
168
  name: security
169
169
  requirement: !ruby/object:Gem::Requirement
170
170
  requirements:
171
- - - ~>
171
+ - - "~>"
172
172
  - !ruby/object:Gem::Version
173
173
  version: 0.1.3
174
174
  type: :runtime
175
175
  prerelease: false
176
176
  version_requirements: !ruby/object:Gem::Requirement
177
177
  requirements:
178
- - - ~>
178
+ - - "~>"
179
179
  - !ruby/object:Gem::Version
180
180
  version: 0.1.3
181
181
  - !ruby/object:Gem::Dependency
182
182
  name: rspec
183
183
  requirement: !ruby/object:Gem::Requirement
184
184
  requirements:
185
- - - '>='
185
+ - - ">="
186
186
  - !ruby/object:Gem::Version
187
187
  version: '0'
188
188
  type: :development
189
189
  prerelease: false
190
190
  version_requirements: !ruby/object:Gem::Requirement
191
191
  requirements:
192
- - - '>='
192
+ - - ">="
193
193
  - !ruby/object:Gem::Version
194
194
  version: '0'
195
195
  - !ruby/object:Gem::Dependency
196
196
  name: rake
197
197
  requirement: !ruby/object:Gem::Requirement
198
198
  requirements:
199
- - - '>='
199
+ - - ">="
200
200
  - !ruby/object:Gem::Version
201
201
  version: '0'
202
202
  type: :development
203
203
  prerelease: false
204
204
  version_requirements: !ruby/object:Gem::Requirement
205
205
  requirements:
206
- - - '>='
206
+ - - ">="
207
207
  - !ruby/object:Gem::Version
208
208
  version: '0'
209
209
  description: CLI for Building & Distributing iOS Apps (.ipa Files)
@@ -213,31 +213,30 @@ executables:
213
213
  extensions: []
214
214
  extra_rdoc_files: []
215
215
  files:
216
- - ./Gemfile
217
- - ./Gemfile.lock
218
- - ./lib/shenzhen/agvtool.rb
219
- - ./lib/shenzhen/commands/build.rb
220
- - ./lib/shenzhen/commands/distribute.rb
221
- - ./lib/shenzhen/commands/info.rb
222
- - ./lib/shenzhen/commands.rb
223
- - ./lib/shenzhen/plistbuddy.rb
224
- - ./lib/shenzhen/plugins/crashlytics.rb
225
- - ./lib/shenzhen/plugins/deploygate.rb
226
- - ./lib/shenzhen/plugins/fir.rb
227
- - ./lib/shenzhen/plugins/ftp.rb
228
- - ./lib/shenzhen/plugins/hockeyapp.rb
229
- - ./lib/shenzhen/plugins/itunesconnect.rb
230
- - ./lib/shenzhen/plugins/pgyer.rb
231
- - ./lib/shenzhen/plugins/rivierabuild.rb
232
- - ./lib/shenzhen/plugins/s3.rb
233
- - ./lib/shenzhen/plugins/testfairy.rb
234
- - ./lib/shenzhen/version.rb
235
- - ./lib/shenzhen/xcodebuild.rb
236
- - ./lib/shenzhen.rb
237
- - ./LICENSE
238
- - ./Rakefile
239
- - ./README.md
240
- - ./shenzhen.gemspec
216
+ - "./Gemfile"
217
+ - "./LICENSE"
218
+ - "./README.md"
219
+ - "./Rakefile"
220
+ - "./lib/shenzhen.rb"
221
+ - "./lib/shenzhen/agvtool.rb"
222
+ - "./lib/shenzhen/commands.rb"
223
+ - "./lib/shenzhen/commands/build.rb"
224
+ - "./lib/shenzhen/commands/distribute.rb"
225
+ - "./lib/shenzhen/commands/info.rb"
226
+ - "./lib/shenzhen/plistbuddy.rb"
227
+ - "./lib/shenzhen/plugins/crashlytics.rb"
228
+ - "./lib/shenzhen/plugins/deploygate.rb"
229
+ - "./lib/shenzhen/plugins/fir.rb"
230
+ - "./lib/shenzhen/plugins/ftp.rb"
231
+ - "./lib/shenzhen/plugins/hockeyapp.rb"
232
+ - "./lib/shenzhen/plugins/itunesconnect.rb"
233
+ - "./lib/shenzhen/plugins/pgyer.rb"
234
+ - "./lib/shenzhen/plugins/rivierabuild.rb"
235
+ - "./lib/shenzhen/plugins/s3.rb"
236
+ - "./lib/shenzhen/plugins/testfairy.rb"
237
+ - "./lib/shenzhen/version.rb"
238
+ - "./lib/shenzhen/xcodebuild.rb"
239
+ - "./shenzhen.gemspec"
241
240
  - bin/ipa
242
241
  homepage: http://nomad-cli.com
243
242
  licenses:
@@ -249,17 +248,17 @@ require_paths:
249
248
  - lib
250
249
  required_ruby_version: !ruby/object:Gem::Requirement
251
250
  requirements:
252
- - - '>='
251
+ - - ">="
253
252
  - !ruby/object:Gem::Version
254
253
  version: '0'
255
254
  required_rubygems_version: !ruby/object:Gem::Requirement
256
255
  requirements:
257
- - - '>='
256
+ - - ">="
258
257
  - !ruby/object:Gem::Version
259
258
  version: '0'
260
259
  requirements: []
261
260
  rubyforge_project:
262
- rubygems_version: 2.1.11
261
+ rubygems_version: 2.6.8
263
262
  signing_key:
264
263
  specification_version: 4
265
264
  summary: Shenzhen
@@ -1,68 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- shenzhen (0.14.2)
5
- aws-sdk (~> 1.0)
6
- commander (~> 4.3)
7
- dotenv (>= 0.7)
8
- faraday (~> 0.8.9)
9
- faraday_middleware (~> 0.9)
10
- highline (>= 1.7.2)
11
- json (~> 1.8)
12
- net-sftp (~> 2.1.2)
13
- plist (~> 3.1.0)
14
- rubyzip (~> 1.1)
15
- security (~> 0.1.3)
16
- terminal-table (~> 1.4.5)
17
-
18
- GEM
19
- remote: https://rubygems.org/
20
- specs:
21
- aws-sdk (1.64.0)
22
- aws-sdk-v1 (= 1.64.0)
23
- aws-sdk-v1 (1.64.0)
24
- json (~> 1.4)
25
- nokogiri (>= 1.4.4)
26
- commander (4.3.4)
27
- highline (~> 1.7.2)
28
- diff-lcs (1.2.5)
29
- dotenv (2.0.1)
30
- faraday (0.8.9)
31
- multipart-post (~> 1.2.0)
32
- faraday_middleware (0.9.1)
33
- faraday (>= 0.7.4, < 0.10)
34
- highline (1.7.2)
35
- json (1.8.2)
36
- mini_portile (0.6.2)
37
- multipart-post (1.2.0)
38
- net-sftp (2.1.2)
39
- net-ssh (>= 2.6.5)
40
- net-ssh (2.9.2)
41
- nokogiri (1.6.6.2)
42
- mini_portile (~> 0.6.0)
43
- plist (3.1.0)
44
- rake (10.4.2)
45
- rspec (3.2.0)
46
- rspec-core (~> 3.2.0)
47
- rspec-expectations (~> 3.2.0)
48
- rspec-mocks (~> 3.2.0)
49
- rspec-core (3.2.3)
50
- rspec-support (~> 3.2.0)
51
- rspec-expectations (3.2.1)
52
- diff-lcs (>= 1.2.0, < 2.0)
53
- rspec-support (~> 3.2.0)
54
- rspec-mocks (3.2.1)
55
- diff-lcs (>= 1.2.0, < 2.0)
56
- rspec-support (~> 3.2.0)
57
- rspec-support (3.2.2)
58
- rubyzip (1.1.7)
59
- security (0.1.3)
60
- terminal-table (1.4.5)
61
-
62
- PLATFORMS
63
- ruby
64
-
65
- DEPENDENCIES
66
- rake
67
- rspec
68
- shenzhen!