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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 089acac08178e7f84ae6d641492f60475b2c2693
4
- data.tar.gz: 6263f492502f8d0ca5cfbcbc79f0296e0aca6876
3
+ metadata.gz: accfc5483d720f1d64cc544614898360c4f713a3
4
+ data.tar.gz: dff405ed808809348b08c75461abb7147b939738
5
5
  SHA512:
6
- metadata.gz: 715d8debe79c253472902c7d9f192c0b7757c2a2d63c0f1de5776bf42e3b2809462f9f72fed0abda83d758ed4ad4305e179f0724bd1ddc6036dbfbcdc8a509a2
7
- data.tar.gz: a040c70bd087d4f221919479494a98017aeecc975c33a5974a3209c62aa3b6ab644cc988177389dfd1f39de0eec2e1ba7177d1c59ac8d7983e0e54f91c8a8203
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
@@ -1,3 +1,3 @@
1
1
  module Deliver
2
- VERSION = "0.7.5"
2
+ VERSION = "0.7.6"
3
3
  end
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.5
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-02 00:00:00.000000000 Z
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: deliver requires phantomjs. Install it using 'brew update &&
346
- brew install phantomjs'
359
+ post_install_message:
347
360
  rdoc_options: []
348
361
  require_paths:
349
362
  - lib