deliver 0.3.3 → 0.3.4

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: 7825cad46a3db5213d94db08896c5394e18512c8
4
- data.tar.gz: 31d1b651b4ace51293122a5ec0684d0892b1765d
3
+ metadata.gz: 1df74b8692caa943b8e175141358c5ba52c3592e
4
+ data.tar.gz: b907a0a2828b4a801873f35c9567722160d41f05
5
5
  SHA512:
6
- metadata.gz: e2988f558367ae0b5b66518a4b343cac30066c2ac021bfac6d6d01c55f40eeea6394e6f66a0135667062093e2b3b852fd7a7f0f1fe236129ebcaba99b1f95dfc
7
- data.tar.gz: 2a20b2d94d1c236a16fac8416bcc355c9a6d5e1b01b394ce6074446edbd202ac00f14aa7216b7e3b9139a4951f2d4338be32a3c2d7347517f525695aad48a3dd
6
+ metadata.gz: c7ba8b4311f995c584433ac152da231b00254c1bf25fbc8b88ce304f2bec28afd8563bc2a756b4664524b1dfc4fe5bfb997761bbac1bd854366deb159c567a13
7
+ data.tar.gz: 3aa680f3fe42aca1319e546f79423e05033828a308d364f2f047bd4c2ace52c131fa0a561b573357b8c6cbce70e83f558de0506b9e3b45702e6017f6c00f65ae
@@ -40,6 +40,7 @@ module Deliver
40
40
  # when transfering
41
41
  # @raise [Deliver::TransporterInputError] when passing wrong inputs
42
42
  def download(app, dir = nil)
43
+ dir ||= "/tmp"
43
44
  raise TransporterInputError.new("No valid Deliver::App given") unless app.kind_of?Deliver::App
44
45
 
45
46
  Helper.log.info "Going to download app metadata from iTunesConnect"
@@ -48,7 +49,8 @@ module Deliver
48
49
 
49
50
  result = execute_transporter(command)
50
51
 
51
- if result and File.directory?"/tmp/#{app.apple_id}.itmsp"
52
+ itmsp_path = [dir, "#{app.apple_id}.itmsp"].join('/')
53
+ if result and File.directory?itmsp_path
52
54
  Helper.log.info "Successfully downloaded the latest package from iTunesConnect.".green
53
55
  else
54
56
  Helper.log.fatal "Could not download metadata from iTunes Connect. Do you have special characters in your password (Like ' or \")?"
@@ -1,3 +1,3 @@
1
1
  module Deliver
2
- VERSION = "0.3.3"
2
+ VERSION = "0.3.4"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: deliver
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.3
4
+ version: 0.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Felix Krause
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-11-15 00:00:00.000000000 Z
11
+ date: 2014-11-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json