shenzhen 0.10.0 → 0.10.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cd6f780fc6f948207a05137f7601aa343f853748
4
- data.tar.gz: 5d2c3f534324b6e693ab7e506d5f1d1fb2aef0b6
3
+ metadata.gz: 6987ba2caf91c05aa5b06a0d84afc570784714e0
4
+ data.tar.gz: a00c4d85bf01664c8e88edf982c0f713d9b8650b
5
5
  SHA512:
6
- metadata.gz: c15377a72c05879235ee17772e26d06fa20d49e6dbed6131e740704834bd586a664a425f446750eb9daa8db209595f2445df815d31b93b889b6c89bda9a3e31f
7
- data.tar.gz: 8a38072bf6fc2311e48acce05d99439daac70335bb4edac49c9acd1d956c358a06b20565c34e14ff60584b6cad856807ca730104ee007ba2dc5747ffe5258648
6
+ metadata.gz: d6d18e1c2e30b7178b915f33cc1c3eade2d522dc87a937c5db00a9c05d44315d2cd06bd5d0985206fc37f522692ff5d30135500b8db20152f5e36c0cba2f13f0
7
+ data.tar.gz: 9869d112610206a1ffbc072cb436192a3e2571fe09120ec2d2f177d349f7c45382d60b3954eadf8f0273eeda6d424d3538fffaa71e2fb5b306fe084c2235364b
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- shenzhen (0.10.0)
4
+ shenzhen (0.10.1)
5
5
  aws-sdk (~> 1.0)
6
6
  commander (~> 4.1)
7
7
  dotenv (~> 0.7)
@@ -1,9 +1,12 @@
1
+ require 'pathname'
2
+
1
3
  module Shenzhen::Plugins
2
4
  module Crashlytics
3
5
  class Client
4
6
 
5
7
  def initialize(crashlytics_path, api_token, build_secret)
6
8
  @api_token, @build_secret = api_token, build_secret
9
+
7
10
  @crashlytics_path = Pathname.new("#{crashlytics_path}/submit").cleanpath.to_s
8
11
  say_error "Path to Crashlytics.framework/submit is invalid" and abort unless File.exists?(@crashlytics_path)
9
12
  end
@@ -1,7 +1,7 @@
1
1
  require 'security'
2
- require 'pathname'
3
2
  require 'fileutils'
4
3
  require 'digest/md5'
4
+ require 'shellwords'
5
5
 
6
6
  module Shenzhen::Plugins
7
7
  module ITunesConnect
@@ -40,11 +40,10 @@ module Shenzhen::Plugins
40
40
 
41
41
  def transport
42
42
  xcode = `xcode-select --print-path`.strip
43
- tool = Pathname.new(xcode).parent + "Applications/Application Loader.app/Contents/MacOS/itms/bin/iTMSTransporter"
44
- tool = tool.to_s.gsub(/ /, '\ ')
43
+ tool = File.join(File.dirname(xcode), "Applications/Application Loader.app/Contents/MacOS/itms/bin/iTMSTransporter").gsub(/\s/, '\ ')
45
44
 
46
- args = [tool.to_s, "-m upload", "-f Package.itmsp", "-u #{@account}", "-p #{@password}"]
47
- command = args.join(' ').strip
45
+ args = [tool, "-m upload", "-f Package.itmsp", "-u #{Shellwords.escape(@account)}", "-p #{Shellwords.escape(@password)}"]
46
+ command = args.join(' ')
48
47
 
49
48
  say "#{command}" if verbose?
50
49
 
@@ -1,3 +1,3 @@
1
1
  module Shenzhen
2
- VERSION = '0.10.0'
2
+ VERSION = '0.10.1'
3
3
  end
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shenzhen
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.0
4
+ version: 0.10.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mattt Thompson
@@ -222,6 +222,7 @@ files:
222
222
  - ./LICENSE
223
223
  - ./Rakefile
224
224
  - ./README.md
225
+ - ./shenzhen-0.10.0.gem
225
226
  - ./shenzhen.gemspec
226
227
  - bin/ipa
227
228
  homepage: http://nomad-cli.com