shenzhen 0.7.0 → 0.7.1

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: 85602b6a9a8491276f05e77aa8e341cfe7a016b3
4
- data.tar.gz: de056fb52dae78399884bc642923f64c10a2aeea
3
+ metadata.gz: 597cbd4b75518f01a6a5990f47e4541ce50fbd1f
4
+ data.tar.gz: 09737e8143cf28a07e9e1fdc8341a63a227c7bad
5
5
  SHA512:
6
- metadata.gz: 5f9a41eb3d14cc5952fc74665ce3178f4b9978258a8f0b0ae0eaacd2bd3672e41611433dac5cb09374613d9b3004b5c2c64f9ae54cec883a16536119b6602579
7
- data.tar.gz: 9f034524a871061cc6a7635793060312b8a839e3f4b634874504cd8619c415b346ffd22b1b210ea29aae0a9c8a021b85ab7cb8eeaaa4bb16ab98608a9241b876
6
+ metadata.gz: 603cc218c04e3aa7bc1ac47f7868d27d96e45828f6a3fa4f5e8846ba0c947566af1807046459328384b97a047d082dc8cdb0bea6c3253fc8ccfb2141a059052d
7
+ data.tar.gz: bca0ef76a75ca08b7a1da37e36ee80fab91442a19f989b18e5f7c93d0c361bb78ed00c5f18bfbdcc352072f0704462616c447c5d05887f174af4c38993d2749b
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- shenzhen (0.7.0)
4
+ shenzhen (0.7.1)
5
5
  aws-sdk (~> 1.0)
6
6
  commander (~> 4.1)
7
7
  dotenv (~> 0.7)
@@ -16,27 +16,28 @@ PATH
16
16
  GEM
17
17
  remote: https://rubygems.org/
18
18
  specs:
19
- aws-sdk (1.38.0)
19
+ aws-sdk (1.40.2)
20
20
  json (~> 1.4)
21
21
  nokogiri (>= 1.4.4)
22
- uuidtools (~> 2.1)
23
22
  commander (4.2.0)
24
23
  highline (~> 1.6.11)
25
24
  diff-lcs (1.2.5)
26
- dotenv (0.10.0)
25
+ dotenv (0.11.1)
26
+ dotenv-deployment (~> 0.0.2)
27
+ dotenv-deployment (0.0.2)
27
28
  faraday (0.8.9)
28
29
  multipart-post (~> 1.2.0)
29
- faraday_middleware (0.9.0)
30
- faraday (>= 0.7.4, < 0.9)
30
+ faraday_middleware (0.9.1)
31
+ faraday (>= 0.7.4, < 0.10)
31
32
  highline (1.6.21)
32
33
  json (1.8.1)
33
- mini_portile (0.5.3)
34
+ mini_portile (0.6.0)
34
35
  multipart-post (1.2.0)
35
36
  net-sftp (2.1.2)
36
37
  net-ssh (>= 2.6.5)
37
- net-ssh (2.8.0)
38
- nokogiri (1.6.1)
39
- mini_portile (~> 0.5.0)
38
+ net-ssh (2.9.1)
39
+ nokogiri (1.6.2.1)
40
+ mini_portile (= 0.6.0)
40
41
  plist (3.1.0)
41
42
  rake (10.3.1)
42
43
  rspec (2.14.1)
@@ -47,9 +48,8 @@ GEM
47
48
  rspec-expectations (2.14.5)
48
49
  diff-lcs (>= 1.1.3, < 2.0)
49
50
  rspec-mocks (2.14.6)
50
- rubyzip (1.1.2)
51
+ rubyzip (1.1.3)
51
52
  terminal-table (1.4.5)
52
- uuidtools (2.1.4)
53
53
 
54
54
  PLATFORMS
55
55
  ruby
@@ -1,6 +1,7 @@
1
1
  require 'plist'
2
2
  require 'tempfile'
3
3
  require 'zip'
4
+ require 'zip/filesystem'
4
5
 
5
6
  command :info do |c|
6
7
  c.syntax = 'ipa info [options]'
@@ -15,6 +16,17 @@ command :info do |c|
15
16
 
16
17
  Zip::File.open(@file) do |zipfile|
17
18
  entry = zipfile.find_entry("Payload/#{File.basename(@file, File.extname(@file))}.app/embedded.mobileprovision")
19
+
20
+ if (!entry)
21
+ zipfile.dir.entries("Payload").each do |dir_entry|
22
+ if dir_entry =~ /.app$/
23
+ say "Using .app: #{dir_entry}"
24
+ entry = zipfile.find_entry("Payload/#{dir_entry}/embedded.mobileprovision")
25
+ break
26
+ end
27
+ end
28
+ end
29
+
18
30
  say_error "Embedded mobile provisioning file not found in #{@file}" and abort unless entry
19
31
 
20
32
  tempfile = Tempfile.new(::File.basename(entry.name))
@@ -100,6 +100,7 @@ command :'distribute:hockeyapp' do |c|
100
100
  case response.status
101
101
  when 200...300
102
102
  say_ok "Build successfully uploaded to HockeyApp"
103
+ return response.body
103
104
  else
104
105
  say_error "Error uploading to HockeyApp: #{response.body}"
105
106
  end
@@ -82,6 +82,7 @@ command :'distribute:testflight' do |c|
82
82
  case response.status
83
83
  when 200...300
84
84
  say_ok "Build successfully uploaded to TestFlight"
85
+ return response.body
85
86
  else
86
87
  say_error "Error uploading to TestFlight: #{response.body}" and abort
87
88
  end
@@ -1,3 +1,3 @@
1
1
  module Shenzhen
2
- VERSION = '0.7.0'
2
+ VERSION = '0.7.1'
3
3
  end
@@ -89,7 +89,7 @@ module Shenzhen::XcodeBuild
89
89
  private
90
90
 
91
91
  def args_from_options(options = {})
92
- options.reject{|key, value| value.nil?}.collect{|key, value| "-#{key} #{value}"}
92
+ options.reject{|key, value| value.nil?}.collect{|key, value| "-#{key} '#{value}'"}
93
93
  end
94
94
  end
95
95
  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.7.0
4
+ version: 0.7.1
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-05-12 00:00:00.000000000 Z
11
+ date: 2014-07-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: commander
@@ -204,6 +204,7 @@ files:
204
204
  - ./LICENSE
205
205
  - ./Rakefile
206
206
  - ./README.md
207
+ - ./shenzhen-0.7.0.gem
207
208
  - ./shenzhen.gemspec
208
209
  - bin/ipa
209
210
  homepage: http://nomad-cli.com