deliver 0.7.5 → 0.7.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +0 -4
- data/lib/deliver/dependency_checker.rb +0 -14
- data/lib/deliver/itunes_connect/itunes_connect.rb +2 -0
- data/lib/deliver/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: accfc5483d720f1d64cc544614898360c4f713a3
|
4
|
+
data.tar.gz: dff405ed808809348b08c75461abb7147b939738
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e6f38afa087360daaf8cd4fb29c3f3e67804cda9986a70162ebe700a1fa37503f1d3a958b51b75b04fb55d7f51b3e6f8168728bb0e3b904b89d1f0656c8f3bda
|
7
|
+
data.tar.gz: c9f393c99b638a350c098c971e31969e5954e02d187029bc80ee1c6ecbe92c8858cba627d1a39818168b16676337eebf7ee638d25ef48be9f261174c3034cc3e
|
data/README.md
CHANGED
@@ -70,10 +70,6 @@ Make sure, you have the latest version of the Xcode command line tools installed
|
|
70
70
|
|
71
71
|
xcode-select --install
|
72
72
|
|
73
|
-
Install phantomjs (this is needed to control the iTunes Connect frontend)
|
74
|
-
|
75
|
-
brew update && brew install phantomjs
|
76
|
-
|
77
73
|
If you don't already have homebrew installed, [install it here](http://brew.sh/).
|
78
74
|
|
79
75
|
To create new screenshots automatically, check out my other open source project [Snapshot](https://github.com/KrauseFx/snapshot).
|
@@ -2,22 +2,8 @@ module Deliver
|
|
2
2
|
class DependencyChecker
|
3
3
|
def self.check_dependencies
|
4
4
|
return if Helper.is_test?
|
5
|
-
self.check_phantom_js
|
6
5
|
self.check_xcode_select
|
7
6
|
end
|
8
|
-
|
9
|
-
def self.check_phantom_js
|
10
|
-
if `which phantomjs`.length == 0
|
11
|
-
# Missing brew dependency
|
12
|
-
Helper.log.fatal '#############################################################'
|
13
|
-
Helper.log.fatal "# You have to install phantomjs to use deliver"
|
14
|
-
Helper.log.fatal "# phantomjs is used to control the iTunesConnect frontend"
|
15
|
-
Helper.log.fatal "# Install Homebrew using http://brew.sh/" if `which brew`.length == 0
|
16
|
-
Helper.log.fatal "# Run 'brew update && brew install phantomjs' and start deliver again"
|
17
|
-
Helper.log.fatal '#############################################################'
|
18
|
-
raise "Run 'brew update && brew install phantomjs' and start deliver again"
|
19
|
-
end
|
20
|
-
end
|
21
7
|
|
22
8
|
def self.check_xcode_select
|
23
9
|
unless `xcode-select -v`.include?"xcode-select version "
|
@@ -2,6 +2,7 @@ require 'capybara'
|
|
2
2
|
require 'capybara/poltergeist'
|
3
3
|
require 'fastimage'
|
4
4
|
require 'credentials_manager/password_manager'
|
5
|
+
require 'phantomjs/poltergeist'
|
5
6
|
|
6
7
|
# Import all the actions
|
7
8
|
require 'deliver/itunes_connect/itunes_connect_submission'
|
@@ -58,6 +59,7 @@ module Deliver
|
|
58
59
|
Capybara.register_driver :poltergeist do |a|
|
59
60
|
conf = ['--debug=no', '--ignore-ssl-errors=yes', '--ssl-protocol=TLSv1']
|
60
61
|
Capybara::Poltergeist::Driver.new(a, {
|
62
|
+
phantomjs: Phantomjs.path,
|
61
63
|
phantomjs_options: conf,
|
62
64
|
phantomjs_logger: File.open("/tmp/poltergeist_log.txt", "a"),
|
63
65
|
js_errors: false
|
data/lib/deliver/version.rb
CHANGED
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.7.
|
4
|
+
version: 0.7.6
|
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-02-
|
11
|
+
date: 2015-02-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|
@@ -164,6 +164,20 @@ dependencies:
|
|
164
164
|
- - '>='
|
165
165
|
- !ruby/object:Gem::Version
|
166
166
|
version: '0'
|
167
|
+
- !ruby/object:Gem::Dependency
|
168
|
+
name: phantomjs
|
169
|
+
requirement: !ruby/object:Gem::Requirement
|
170
|
+
requirements:
|
171
|
+
- - ~>
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: 1.9.8
|
174
|
+
type: :runtime
|
175
|
+
prerelease: false
|
176
|
+
version_requirements: !ruby/object:Gem::Requirement
|
177
|
+
requirements:
|
178
|
+
- - ~>
|
179
|
+
- !ruby/object:Gem::Version
|
180
|
+
version: 1.9.8
|
167
181
|
- !ruby/object:Gem::Dependency
|
168
182
|
name: capybara
|
169
183
|
requirement: !ruby/object:Gem::Requirement
|
@@ -342,8 +356,7 @@ homepage: http://fastlane.tools
|
|
342
356
|
licenses:
|
343
357
|
- MIT
|
344
358
|
metadata: {}
|
345
|
-
post_install_message:
|
346
|
-
brew install phantomjs'
|
359
|
+
post_install_message:
|
347
360
|
rdoc_options: []
|
348
361
|
require_paths:
|
349
362
|
- lib
|