fastlane_core 0.5.0 → 0.5.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: ef688289ddddd08d4b2a435d43201261eedc6507
4
- data.tar.gz: 17ae8b634b92aaf56e6d6b59aee775c1d9a8f726
3
+ metadata.gz: b9425243f408182d96a9222a3056e86f5e3f7dc9
4
+ data.tar.gz: c5d2e4497ea98f22b76c3d23464a699a6e31ddae
5
5
  SHA512:
6
- metadata.gz: e130adf75bb0ecde810ec4a0034f90d33bbd840abeef08384418b4853acfbbb2abbdff9d394f925ce6d6871160ff7cfc7d092ccd42e4f262a913124bed1c5b2f
7
- data.tar.gz: e90fa76790904348afb298e0e7bd199306b348012267357861423863e7ce3cab5c0a027ba856dcf42f377e9175bcc9727b2e0f612310daa6f7cfc9aa55a0e8a9
6
+ metadata.gz: 784144f205c122a180d2d2b7740e3186ab2e6f4be874cacb3de972e0232ff4fc69c5a163d7dcd4c504bbb2044f36a017fd9ef591fb87329a0d12a0dcf2b1da45
7
+ data.tar.gz: 6c8c54272e67c54318fa1df309a16b6d7b0bf083155643889db647e96ad2fdc559b3923e3a9de55e0c1a09fca5717effe9430ae4a6ad93e09c45910ace17bbc6
@@ -21,8 +21,8 @@ module FastlaneCore
21
21
  return data
22
22
  end
23
23
 
24
- def post_ajax(url)
25
- JSON.parse(page.evaluate_script("$.ajax({type: 'POST', url: '#{url}', async: false})")['responseText'])
24
+ def post_ajax(url, data = nil)
25
+ JSON.parse(page.evaluate_script("$.ajax({type: 'POST', url: '#{url}', async: false#{data.nil? ? '' : ", data: #{data}"} })")['responseText'])
26
26
  end
27
27
 
28
28
  def click_next
@@ -68,7 +68,7 @@ module FastlaneCore
68
68
 
69
69
  # @return the full path to the iTMSTransporter executable
70
70
  def self.transporter_path
71
- return '' if Helper.is_test? # to work on Linux too
71
+ return '' unless OS.mac? # so tests work on Linx too
72
72
 
73
73
  [
74
74
  "../Applications/Application Loader.app/Contents/MacOS/itms/bin/iTMSTransporter",
@@ -8,6 +8,9 @@ module FastlaneCore
8
8
  UPDATE_URL = "https://fastlane-refresher.herokuapp.com/"
9
9
 
10
10
  def self.start_looking_for_update(gem_name)
11
+ return if Helper.is_test?
12
+ return if ENV["FASTLANE_SKIP_UPDATE_CHECK"]
13
+
11
14
  Thread.new do
12
15
  begin
13
16
  server_results[gem_name] = fetch_latest(gem_name)
@@ -25,6 +28,7 @@ module FastlaneCore
25
28
 
26
29
  def self.show_update_message(gem_name, available, current_version)
27
30
  v = fetch_latest(gem_name)
31
+ puts ""
28
32
  puts '#######################################################################'.green
29
33
  puts "# #{gem_name} #{available} is available. You are on #{current_version}.".green
30
34
  puts "# It is recommended to use the latest version.".green
@@ -1,3 +1,3 @@
1
1
  module FastlaneCore
2
- VERSION = "0.5.0"
2
+ VERSION = "0.5.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane_core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
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-04-10 00:00:00.000000000 Z
11
+ date: 2015-04-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json