pem 0.3.1 → 0.3.2
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 +4 -4
- data/README.md +3 -5
- data/lib/pem.rb +1 -0
- data/lib/pem/dependency_checker.rb +0 -14
- data/lib/pem/developer_center.rb +1 -0
- data/lib/pem/version.rb +1 -1
- metadata +17 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4d39e7be3f82bd90de900db9d32c8d59dfcb5a42
|
4
|
+
data.tar.gz: 7820dc26957afca59e5d485a6223a904f7d6deba
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: befe1fa68c0319c3f18ecc27bf0cf312bced54e1c0ac71ffc89a10e2e3a9af7d108416b5f14feffef8f62be4296f8ec1cd06f1a955ccc6fee1720d205a59eaf0
|
7
|
+
data.tar.gz: 6eeef7f2cce0fb79658a7f0ed2b14b98752b23c8de8f9f5a3d2a052eab243bf4f4403e569a8fbf2bac735d4d6d910243b5a36ad530df149df8dc8804ead18f28
|
data/README.md
CHANGED
@@ -10,7 +10,8 @@
|
|
10
10
|
<a href="https://github.com/KrauseFx/snapshot">snapshot</a> •
|
11
11
|
<a href="https://github.com/KrauseFx/frameit">frameit</a> •
|
12
12
|
<b>PEM</b> •
|
13
|
-
<a href="https://github.com/KrauseFx/sigh">sigh</a>
|
13
|
+
<a href="https://github.com/KrauseFx/sigh">sigh</a> •
|
14
|
+
<a href="https://github.com/KrauseFx/produce">produce</a>
|
14
15
|
</p>
|
15
16
|
-------
|
16
17
|
|
@@ -64,10 +65,6 @@ Make sure, you have the latest version of the Xcode command line tools installed
|
|
64
65
|
|
65
66
|
xcode-select --install
|
66
67
|
|
67
|
-
Install phantomjs (this is needed to control the Apple Developer Portal)
|
68
|
-
|
69
|
-
brew update && brew install phantomjs
|
70
|
-
|
71
68
|
If you don't already have homebrew installed, [install it here](http://brew.sh/).
|
72
69
|
|
73
70
|
# Usage
|
@@ -120,6 +117,7 @@ There are 2 actions involved:
|
|
120
117
|
- [`snapshot`](https://github.com/KrauseFx/snapshot): Automate taking localized screenshots of your iOS app on every device
|
121
118
|
- [`frameit`](https://github.com/KrauseFx/frameit): Quickly put your screenshots into the right device frames
|
122
119
|
- [`sigh`](https://github.com/KrauseFx/sigh): Because you would rather spend your time building stuff than fighting provisioning
|
120
|
+
- [`produce`](https://github.com/KrauseFx/produce): Create new iOS apps on iTunes Connect and Dev Portal using the command line
|
123
121
|
|
124
122
|
## Use the 'Provisioning Quicklook plugin'
|
125
123
|
Download and install the [Provisioning Plugin](https://github.com/chockenberry/Provisioning).
|
data/lib/pem.rb
CHANGED
@@ -1,22 +1,8 @@
|
|
1
1
|
module PEM
|
2
2
|
class DependencyChecker
|
3
3
|
def self.check_dependencies
|
4
|
-
self.check_phantom_js
|
5
4
|
self.check_xcode_select
|
6
5
|
end
|
7
|
-
|
8
|
-
def self.check_phantom_js
|
9
|
-
if `which phantomjs`.length == 0
|
10
|
-
# Missing brew dependency
|
11
|
-
Helper.log.fatal '#############################################################'
|
12
|
-
Helper.log.fatal "# You have to install phantomjs to use PEM"
|
13
|
-
Helper.log.fatal "# phantomjs is used to control the iTunesConnect frontend"
|
14
|
-
Helper.log.fatal "# Install Homebrew using http://brew.sh/" if `which brew`.length == 0
|
15
|
-
Helper.log.fatal "# Run 'brew update && brew install phantomjs' and start PEM again"
|
16
|
-
Helper.log.fatal '#############################################################'
|
17
|
-
raise "Run 'brew update && brew install phantomjs' and start PEM again"
|
18
|
-
end
|
19
|
-
end
|
20
6
|
|
21
7
|
def self.check_xcode_select
|
22
8
|
unless `xcode-select -v`.include?"xcode-select version "
|
data/lib/pem/developer_center.rb
CHANGED
@@ -39,6 +39,7 @@ module PEM
|
|
39
39
|
Capybara.register_driver :poltergeist do |a|
|
40
40
|
conf = ['--debug=no', '--ignore-ssl-errors=yes', '--ssl-protocol=TLSv1']
|
41
41
|
Capybara::Poltergeist::Driver.new(a, {
|
42
|
+
phantomjs: Phantomjs.path,
|
42
43
|
phantomjs_options: conf,
|
43
44
|
phantomjs_logger: File.open("#{TMP_FOLDER}/poltergeist_log.txt", "a"),
|
44
45
|
js_errors: false
|
data/lib/pem/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pem
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Felix Krause
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-02-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|
@@ -80,6 +80,20 @@ dependencies:
|
|
80
80
|
- - '>='
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: phantomjs
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ~>
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: 1.9.8
|
90
|
+
type: :runtime
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ~>
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: 1.9.8
|
83
97
|
- !ruby/object:Gem::Dependency
|
84
98
|
name: capybara
|
85
99
|
requirement: !ruby/object:Gem::Requirement
|
@@ -229,8 +243,7 @@ homepage: http://fastlane.tools
|
|
229
243
|
licenses:
|
230
244
|
- MIT
|
231
245
|
metadata: {}
|
232
|
-
post_install_message:
|
233
|
-
brew install phantomjs'
|
246
|
+
post_install_message:
|
234
247
|
rdoc_options: []
|
235
248
|
require_paths:
|
236
249
|
- lib
|