shenzhen 0.10.1 → 0.10.2

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: 6987ba2caf91c05aa5b06a0d84afc570784714e0
4
- data.tar.gz: a00c4d85bf01664c8e88edf982c0f713d9b8650b
3
+ metadata.gz: 6f72f3ecd3b67692f2716c368edafe858e1b78f5
4
+ data.tar.gz: 4bb0bfcadebe3bb56f5e68f522cb3c354d61a127
5
5
  SHA512:
6
- metadata.gz: d6d18e1c2e30b7178b915f33cc1c3eade2d522dc87a937c5db00a9c05d44315d2cd06bd5d0985206fc37f522692ff5d30135500b8db20152f5e36c0cba2f13f0
7
- data.tar.gz: 9869d112610206a1ffbc072cb436192a3e2571fe09120ec2d2f177d349f7c45382d60b3954eadf8f0273eeda6d424d3538fffaa71e2fb5b306fe084c2235364b
6
+ metadata.gz: dee011d95dc77a6df98e635a02c84f5df2df4862a520cd058e907a4ce98e5e1aee98ddd7177994016c588a73d6ead19e8a7963b55a91155f609355c10f4ed631
7
+ data.tar.gz: dd3cafb97debf848724bfbcb6f59e15869035f20a605d5920a23d4c0ba16de42ab7c1571bf4189676dbb06b240e8bf887fed9bbc8047efc72e870dd8a97f7abe
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- shenzhen (0.10.1)
4
+ shenzhen (0.10.2)
5
5
  aws-sdk (~> 1.0)
6
6
  commander (~> 4.1)
7
7
  dotenv (~> 0.7)
@@ -17,6 +17,7 @@ module Shenzhen::Plugins
17
17
  @account = account
18
18
  @password = password
19
19
  @params = params
20
+ @filename = File.basename(@ipa)
20
21
  end
21
22
 
22
23
  def upload_build!
@@ -24,7 +25,7 @@ module Shenzhen::Plugins
24
25
  checksum = Digest::MD5.file(@ipa)
25
26
 
26
27
  FileUtils.mkdir_p("Package.itmsp")
27
- FileUtils.copy_entry(@ipa, "Package.itmsp/#{@ipa}")
28
+ FileUtils.copy_entry(@ipa, "Package.itmsp/#{@filename}")
28
29
 
29
30
  File.write("Package.itmsp/metadata.xml", metadata(@apple_id, checksum, size))
30
31
 
@@ -63,7 +64,7 @@ module Shenzhen::Plugins
63
64
  <software_assets apple_id="#{apple_id}">
64
65
  <asset type="bundle">
65
66
  <data_file>
66
- <file_name>#{@ipa}</file_name>
67
+ <file_name>#{@filename}</file_name>
67
68
  <checksum type="md5">#{checksum}</checksum>
68
69
  <size>#{size}</size>
69
70
  </data_file>
@@ -1,3 +1,3 @@
1
1
  module Shenzhen
2
- VERSION = '0.10.1'
2
+ VERSION = '0.10.2'
3
3
  end
Binary file
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shenzhen
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.1
4
+ version: 0.10.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mattt Thompson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-11-29 00:00:00.000000000 Z
11
+ date: 2014-12-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: commander
@@ -223,6 +223,7 @@ files:
223
223
  - ./Rakefile
224
224
  - ./README.md
225
225
  - ./shenzhen-0.10.0.gem
226
+ - ./shenzhen-0.10.1.gem
226
227
  - ./shenzhen.gemspec
227
228
  - bin/ipa
228
229
  homepage: http://nomad-cli.com