fastlane 2.68.0.beta.20171130010004 → 2.68.0
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/fastlane/lib/.DS_Store +0 -0
- data/fastlane/lib/assets/DefaultFastfileTemplate +8 -8
- data/fastlane/lib/assets/FastfileTemplateAndroid +1 -1
- data/fastlane/lib/fastlane/.DS_Store +0 -0
- data/fastlane/lib/fastlane/actions/.DS_Store +0 -0
- data/fastlane/lib/fastlane/actions/frameit.rb +1 -1
- data/fastlane/lib/fastlane/fast_file.rb +1 -0
- data/fastlane/lib/fastlane/helper/.DS_Store +0 -0
- data/fastlane/lib/fastlane/helper/sh_helper.rb +5 -4
- data/fastlane/lib/fastlane/version.rb +1 -1
- data/fastlane_core/lib/.DS_Store +0 -0
- data/fastlane_core/lib/fastlane_core/.DS_Store +0 -0
- data/fastlane_core/lib/fastlane_core/configuration/config_item.rb +5 -3
- metadata +23 -16
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 99e00ef60187baadd9bf2aab5080db426db7aaf5
|
4
|
+
data.tar.gz: be1c8e7f66a37ddee03ae6dba115bc4cf5d0b43c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 15c2dfe62701b885458c151e58bf5283d94faf31794383548bcc63eabe5c8c9548cdec16641ccadffb8a2ea7cb9dceac9556cfdfb6f96712f2c8fe9626addd41
|
7
|
+
data.tar.gz: 8e038b7fb9dbb0ae2db4b4da47a2cd896a9fc455036279cdcda2f9da3ce115a580ba8a2b7ab7e10d3e465597905c3ccc0b0c6d853a1a570e5041ec80970a7f16
|
Binary file
|
@@ -24,15 +24,15 @@ platform :ios do
|
|
24
24
|
|
25
25
|
desc "Runs all the tests"
|
26
26
|
lane :test do
|
27
|
-
|
27
|
+
run_tests
|
28
28
|
end
|
29
29
|
|
30
30
|
desc "Submit a new Beta Build to Apple TestFlight"
|
31
31
|
desc "This will also make sure the profile is up to date"
|
32
32
|
lane :beta do
|
33
33
|
# match(type: "appstore") # more information: https://codesigning.guide
|
34
|
-
|
35
|
-
|
34
|
+
build_app[[SCHEME]] # more options available
|
35
|
+
upload_to_testflight
|
36
36
|
|
37
37
|
# sh "your_script.sh"
|
38
38
|
# You can also use other beta testing services here (run `fastlane actions`)
|
@@ -40,11 +40,11 @@ platform :ios do
|
|
40
40
|
|
41
41
|
desc "Deploy a new version to the App Store"
|
42
42
|
lane :release do
|
43
|
-
#
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
#
|
43
|
+
# sync_code_signing(type: "appstore")
|
44
|
+
capture_screenshots
|
45
|
+
build_app[[SCHEME]] # Build your app - more options available
|
46
|
+
upload_to_app_store(force: true)
|
47
|
+
# frame_screenshots
|
48
48
|
end
|
49
49
|
|
50
50
|
# You can define as many lanes as you want
|
Binary file
|
Binary file
|
@@ -175,6 +175,7 @@ module Fastlane
|
|
175
175
|
|
176
176
|
# Execute shell command
|
177
177
|
def sh(command, log: true, error_callback: nil)
|
178
|
+
command = Shellwords.join(command) if command.kind_of?(Array)
|
178
179
|
command_header = log ? command : "shell command"
|
179
180
|
Actions.execute_action(command_header) do
|
180
181
|
Actions.sh_no_action(command, log: log, error_callback: error_callback)
|
Binary file
|
@@ -1,3 +1,5 @@
|
|
1
|
+
require "open3"
|
2
|
+
|
1
3
|
module Fastlane
|
2
4
|
module Actions
|
3
5
|
# Execute a shell command
|
@@ -25,20 +27,19 @@ module Fastlane
|
|
25
27
|
Encoding.default_external = Encoding::UTF_8
|
26
28
|
Encoding.default_internal = Encoding::UTF_8
|
27
29
|
|
28
|
-
command =
|
30
|
+
command = Shellwords.join(command) if command.kind_of?(Array) # since it's an array of one element when running from the Fastfile
|
29
31
|
UI.command(command) if print_command
|
30
32
|
|
31
33
|
result = ''
|
32
34
|
if Helper.sh_enabled?
|
33
35
|
exit_status = nil
|
34
|
-
|
36
|
+
Open3.popen2e(command) do |stdin, io, thread|
|
35
37
|
io.sync = true
|
36
38
|
io.each do |line|
|
37
39
|
UI.command_output(line.strip) if print_command_output
|
38
40
|
result << line
|
39
41
|
end
|
40
|
-
|
41
|
-
exit_status = $?.exitstatus
|
42
|
+
exit_status = thread.value.exitstatus
|
42
43
|
end
|
43
44
|
|
44
45
|
if exit_status != 0
|
@@ -1,5 +1,5 @@
|
|
1
1
|
module Fastlane
|
2
|
-
VERSION = '2.68.0
|
2
|
+
VERSION = '2.68.0'.freeze
|
3
3
|
DESCRIPTION = "The easiest way to automate beta deployments and releases for your iOS and Android apps".freeze
|
4
4
|
MINIMUM_XCODE_RELEASE = "7.0".freeze
|
5
5
|
RUBOCOP_REQUIREMENT = '0.49.1'.freeze
|
Binary file
|
Binary file
|
@@ -157,8 +157,8 @@ module FastlaneCore
|
|
157
157
|
return value.to_i if value.to_i.to_s == value.to_s
|
158
158
|
elsif data_type == Float
|
159
159
|
return value.to_f if value.to_f.to_s == value.to_s
|
160
|
-
elsif
|
161
|
-
return
|
160
|
+
elsif allow_shell_conversion
|
161
|
+
return Shellwords.join(value) if value.kind_of?(Array)
|
162
162
|
return value.map { |k, v| "#{k.to_s.shellescape}=#{v.shellescape}" }.join(' ') if value.kind_of?(Hash)
|
163
163
|
else
|
164
164
|
# Special treatment if the user specified true, false or YES, NO
|
@@ -175,7 +175,9 @@ module FastlaneCore
|
|
175
175
|
|
176
176
|
# Determines the defined data type of this ConfigItem
|
177
177
|
def data_type
|
178
|
-
if @data_type
|
178
|
+
if @data_type.kind_of?(Symbol)
|
179
|
+
nil
|
180
|
+
elsif @data_type
|
179
181
|
@data_type
|
180
182
|
else
|
181
183
|
(@is_string ? String : nil)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastlane
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.68.0
|
4
|
+
version: 2.68.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Felix Krause
|
@@ -828,6 +828,7 @@ files:
|
|
828
828
|
- deliver/lib/deliver/upload_price_tier.rb
|
829
829
|
- deliver/lib/deliver/upload_screenshots.rb
|
830
830
|
- fastlane/README.md
|
831
|
+
- fastlane/lib/.DS_Store
|
831
832
|
- fastlane/lib/assets/ActionDetails.md.erb
|
832
833
|
- fastlane/lib/assets/Actions.md.erb
|
833
834
|
- fastlane/lib/assets/AppfileTemplate
|
@@ -845,8 +846,10 @@ files:
|
|
845
846
|
- fastlane/lib/assets/s3_plist_template.erb
|
846
847
|
- fastlane/lib/assets/s3_version_template.erb
|
847
848
|
- fastlane/lib/fastlane.rb
|
849
|
+
- fastlane/lib/fastlane/.DS_Store
|
848
850
|
- fastlane/lib/fastlane/action.rb
|
849
851
|
- fastlane/lib/fastlane/action_collector.rb
|
852
|
+
- fastlane/lib/fastlane/actions/.DS_Store
|
850
853
|
- fastlane/lib/fastlane/actions/README.md
|
851
854
|
- fastlane/lib/fastlane/actions/actions_helper.rb
|
852
855
|
- fastlane/lib/fastlane/actions/adb.rb
|
@@ -1126,6 +1129,7 @@ files:
|
|
1126
1129
|
- fastlane/lib/fastlane/fast_file.rb
|
1127
1130
|
- fastlane/lib/fastlane/fastlane_require.rb
|
1128
1131
|
- fastlane/lib/fastlane/features.rb
|
1132
|
+
- fastlane/lib/fastlane/helper/.DS_Store
|
1129
1133
|
- fastlane/lib/fastlane/helper/README.md
|
1130
1134
|
- fastlane/lib/fastlane/helper/adb_helper.rb
|
1131
1135
|
- fastlane/lib/fastlane/helper/cocoapod_helper.rb
|
@@ -1187,8 +1191,10 @@ files:
|
|
1187
1191
|
- fastlane/lib/fastlane/tools.rb
|
1188
1192
|
- fastlane/lib/fastlane/version.rb
|
1189
1193
|
- fastlane_core/README.md
|
1194
|
+
- fastlane_core/lib/.DS_Store
|
1190
1195
|
- fastlane_core/lib/assets/XMLTemplate.xml.erb
|
1191
1196
|
- fastlane_core/lib/fastlane_core.rb
|
1197
|
+
- fastlane_core/lib/fastlane_core/.DS_Store
|
1192
1198
|
- fastlane_core/lib/fastlane_core/analytics/action_completion_context.rb
|
1193
1199
|
- fastlane_core/lib/fastlane_core/analytics/action_launch_context.rb
|
1194
1200
|
- fastlane_core/lib/fastlane_core/analytics/analytics_event_builder.rb
|
@@ -1522,24 +1528,24 @@ metadata:
|
|
1522
1528
|
post_install_message:
|
1523
1529
|
rdoc_options: []
|
1524
1530
|
require_paths:
|
1525
|
-
-
|
1526
|
-
-
|
1531
|
+
- cert/lib
|
1532
|
+
- credentials_manager/lib
|
1533
|
+
- deliver/lib
|
1534
|
+
- fastlane/lib
|
1535
|
+
- fastlane_core/lib
|
1536
|
+
- frameit/lib
|
1537
|
+
- gym/lib
|
1527
1538
|
- match/lib
|
1539
|
+
- pem/lib
|
1540
|
+
- pilot/lib
|
1528
1541
|
- precheck/lib
|
1529
|
-
- sigh/lib
|
1530
1542
|
- produce/lib
|
1531
1543
|
- scan/lib
|
1532
|
-
-
|
1544
|
+
- screengrab/lib
|
1545
|
+
- sigh/lib
|
1533
1546
|
- snapshot/lib
|
1534
|
-
- frameit/lib
|
1535
|
-
- fastlane/lib
|
1536
|
-
- cert/lib
|
1537
|
-
- pilot/lib
|
1538
1547
|
- spaceship/lib
|
1539
|
-
-
|
1540
|
-
- deliver/lib
|
1541
|
-
- fastlane_core/lib
|
1542
|
-
- pem/lib
|
1548
|
+
- supply/lib
|
1543
1549
|
required_ruby_version: !ruby/object:Gem::Requirement
|
1544
1550
|
requirements:
|
1545
1551
|
- - ">="
|
@@ -1547,14 +1553,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
1547
1553
|
version: 2.0.0
|
1548
1554
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
1549
1555
|
requirements:
|
1550
|
-
- - "
|
1556
|
+
- - ">="
|
1551
1557
|
- !ruby/object:Gem::Version
|
1552
|
-
version:
|
1558
|
+
version: '0'
|
1553
1559
|
requirements: []
|
1554
1560
|
rubyforge_project:
|
1555
|
-
rubygems_version: 2.
|
1561
|
+
rubygems_version: 2.6.8
|
1556
1562
|
signing_key:
|
1557
1563
|
specification_version: 4
|
1558
1564
|
summary: The easiest way to automate beta deployments and releases for your iOS and
|
1559
1565
|
Android apps
|
1560
1566
|
test_files: []
|
1567
|
+
has_rdoc:
|