fastlane_core 0.5.0 → 0.5.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b9425243f408182d96a9222a3056e86f5e3f7dc9
|
4
|
+
data.tar.gz: c5d2e4497ea98f22b76c3d23464a699a6e31ddae
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
data/lib/fastlane_core/helper.rb
CHANGED
@@ -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 ''
|
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
|
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.
|
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-
|
11
|
+
date: 2015-04-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|