shenzhen 0.6.0 → 0.6.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: 9ebfc5a3bdab8ba1bccc7c1d93ff4c146dc66020
4
- data.tar.gz: 8cb8638db47c593660ab11b0f325deed53ea858c
3
+ metadata.gz: 7684b311755d47b4edfd905f8c74806c10410cf5
4
+ data.tar.gz: 7a0d95a54f775e20e6274c14883a6d8badd9593c
5
5
  SHA512:
6
- metadata.gz: b853584db4fc708b4b2c834c031a50280af62e42370568b1286f1c6a59908e4feeb798bb273f0ff24b414e24c880a958378b6d5525ab9d1235ef4729aa13b354
7
- data.tar.gz: 235d5a50b1cdddac4eefa5da37325a3deff3aea99abdfcac3054ae6a8ccc654c9a758ca945c3167ac1d5f5bdb7cd7720e1c94c0d54e0c425362baeb0ead84640
6
+ metadata.gz: 42cb845473ab5d6c5eb21c880fa89d78dec2d99336571aad857a1e20f88614ca04274e2699f1330cbea197029395a0cc442bddc9564898c49a60ed808fedeb18
7
+ data.tar.gz: 3812a666ef03d6c6ef43b592d0383ee3e624124d2f5e9d12d1a49f7a497a85511b01f3dd5b5dfefc8e2beefb5eb00b49bdbacb381b371fb6b89c35260bd80bee
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- shenzhen (0.6.0)
4
+ shenzhen (0.6.1)
5
5
  aws-sdk (~> 1.0)
6
6
  commander (~> 4.1)
7
7
  dotenv (~> 0.7)
data/README.md CHANGED
@@ -11,6 +11,17 @@ Less cumbersome than clicking around in Xcode, and less hassle than rolling your
11
11
 
12
12
  $ gem install shenzhen
13
13
 
14
+ ### JSON Build Error
15
+
16
+ Users running Mac OS X Mavericks with Xcode 5.1 may encounter an error when attempting to install the `json` gem dependency. As per the [Xcode 5.1 Release Notes](https://developer.apple.com/library/ios/releasenotes/DeveloperTools/RN-Xcode/Introduction/Introduction.html):
17
+
18
+ > The Apple LLVM compiler in Xcode 5.1 treats unrecognized command-line options as errors. This issue has been seen when building both Python native extensions and Ruby Gems, where some invalid compiler options are currently specified.
19
+
20
+ To work around this, install the `json` gem first with the following command:
21
+
22
+ $ ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future gem install json
23
+
24
+
14
25
  ## Usage
15
26
 
16
27
  Shenzhen adds the `ipa` command to your PATH:
@@ -25,6 +36,7 @@ Shenzhen adds the `ipa` command to your PATH:
25
36
  distribute:hockeyapp Distribute an .ipa file over HockeyApp
26
37
  distribute:ftp Distribute an .ipa file over FTP
27
38
  distribute:S3 Distribute an .ipa file over Amazon S3
39
+ info Show mobile provisioning information about an .ipa file
28
40
  help Display global or [command] help documentation.
29
41
 
30
42
  Aliases:
@@ -67,6 +79,25 @@ Shenzhen adds the `ipa` command to your PATH:
67
79
 
68
80
  > Shenzhen will load credentials from the environment variable `AWS_ACCESS_KEY_ID`, `AWS_SECRET_ACCESS_KEY` and `AWS_REGION` unless otherwise specified.
69
81
 
82
+ ### Displaying Embedded .mobileprovision Information
83
+
84
+ $ ipa info /path/to/app.ipa
85
+
86
+ +-----------------------------+----------------------------------------------------------+
87
+ | ApplicationIdentifierPrefix | DJ73OPSO53 |
88
+ | CreationDate | 2014-03-26T02:53:00+00:00 |
89
+ | Entitlements | application-identifier: DJ73OPSO53.com.nomad.shenzhen |
90
+ | | aps-environment: production |
91
+ | | get-task-allow: false |
92
+ | | keychain-access-groups: ["DJ73OPSO53.*"] |
93
+ | CreationDate | 2017-03-26T02:53:00+00:00 |
94
+ | Name | Shenzhen |
95
+ | TeamIdentifier | S6ZYP4L6TY |
96
+ | TimeToLive | 172 |
97
+ | UUID | P7602NR3-4D34-441N-B6C9-R79395PN1OO3 |
98
+ | Version | 1 |
99
+ +-----------------------------+----------------------------------------------------------+
100
+
70
101
  ## Contact
71
102
 
72
103
  Mattt Thompson
@@ -14,12 +14,12 @@ command :info do |c|
14
14
  say_error "Missing or unspecified .ipa file" and abort unless @file and ::File.exist?(@file)
15
15
 
16
16
  Zip::File.open(@file) do |zipfile|
17
- entry = zipfile.find_entry("Payload/#{File.basename(@file)}.app/embedded.mobileprovision")
17
+ entry = zipfile.find_entry("Payload/#{File.basename(@file, File.extname(@file))}.app/embedded.mobileprovision")
18
18
  say_error "Embedded mobile provisioning file not found in #{@file}" and abort unless entry
19
19
 
20
20
  tempfile = Tempfile.new(::File.basename(entry.name))
21
21
  begin
22
- zipfile.extract(entry, tempfile.path)
22
+ zipfile.extract(entry, tempfile.path){ override = true }
23
23
  plist = Plist::parse_xml(`security cms -D -i #{tempfile.path}`)
24
24
 
25
25
  table = Terminal::Table.new do |t|
@@ -31,6 +31,8 @@ command :info do |c|
31
31
  columns << case value
32
32
  when Hash
33
33
  value.collect{|k, v| "#{k}: #{v}"}.join("\n")
34
+ when Array
35
+ value.join("\n")
34
36
  else
35
37
  value.to_s
36
38
  end
@@ -1,3 +1,3 @@
1
1
  module Shenzhen
2
- VERSION = '0.6.0'
2
+ VERSION = '0.6.1'
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.6.0
4
+ version: 0.6.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-03-26 00:00:00.000000000 Z
11
+ date: 2014-04-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: commander
@@ -203,6 +203,7 @@ files:
203
203
  - ./LICENSE
204
204
  - ./Rakefile
205
205
  - ./README.md
206
+ - ./shenzhen-0.6.0.gem
206
207
  - ./shenzhen.gemspec
207
208
  - bin/ipa
208
209
  homepage: http://nomad-cli.com