fastlane 2.54.0.beta.20170815010003 → 2.54.0.beta.20170816010003
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 05702ec779840652efddb69c36773bd83ddf37d0
|
4
|
+
data.tar.gz: 34f76aa651e52b89088c0aff685b59d8b1fec809
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 21a5c0fa56944de4dbaadac16e1959ea06b87f93b0652c603747bd2ada2caca4652c1998470153d58f7f7a681652464706b0823ac866bf723641999b78b84fb0
|
7
|
+
data.tar.gz: afe98cdec056679f4ab82992bd5cfe507d42b72e8635bf96d80118dd43b0fc351604b8ab23fd77a1b1fa4d1e42cd367e8a813dd6ce8d9353c2d0bd77e4a81edb
|
@@ -21,7 +21,13 @@ module Fastlane
|
|
21
21
|
plist[params[:key]] = params[:value]
|
22
22
|
end
|
23
23
|
new_plist = Plist::Emit.dump(plist)
|
24
|
-
|
24
|
+
if params[:output_file_name]
|
25
|
+
output = params[:output_file_name]
|
26
|
+
FileUtils.mkdir_p(File.expand_path("..", output))
|
27
|
+
File.write(File.expand_path(output), new_plist)
|
28
|
+
else
|
29
|
+
File.write(path, new_plist)
|
30
|
+
end
|
25
31
|
|
26
32
|
return params[:value]
|
27
33
|
rescue => ex
|
@@ -55,7 +61,11 @@ module Fastlane
|
|
55
61
|
optional: false,
|
56
62
|
verify_block: proc do |value|
|
57
63
|
UI.user_error!("Couldn't find plist file at path '#{value}'") unless File.exist?(value)
|
58
|
-
end)
|
64
|
+
end),
|
65
|
+
FastlaneCore::ConfigItem.new(key: :output_file_name,
|
66
|
+
env_name: "FL_SET_INFO_PLIST_OUTPUT_FILE_NAME",
|
67
|
+
description: "Path to the output file you want to generate",
|
68
|
+
optional: true)
|
59
69
|
]
|
60
70
|
end
|
61
71
|
|
@@ -70,7 +80,7 @@ module Fastlane
|
|
70
80
|
def self.example_code
|
71
81
|
[
|
72
82
|
'set_info_plist_value(path: "./Info.plist", key: "CFBundleIdentifier", value: "com.krausefx.app.beta")',
|
73
|
-
'set_info_plist_value(path: "./MyApp-Info.plist", key: "NSAppTransportSecurity", subkey: "NSAllowsArbitraryLoads", value: true)'
|
83
|
+
'set_info_plist_value(path: "./MyApp-Info.plist", key: "NSAppTransportSecurity", subkey: "NSAllowsArbitraryLoads", value: true, output_file_name: "./Info.plist")'
|
74
84
|
]
|
75
85
|
end
|
76
86
|
|
@@ -112,7 +112,7 @@ module Fastlane
|
|
112
112
|
UI.message ""
|
113
113
|
UI.important "After creating the Gemfile and Gemfile.lock, commit those files into version control"
|
114
114
|
end
|
115
|
-
UI.important "
|
115
|
+
UI.important "Get started using a Gemfile for fastlane https://docs.fastlane.tools/getting-started/ios/setup/#use-a-gemfile"
|
116
116
|
|
117
117
|
sleep 2 # napping is life, otherwise the user might not see this message
|
118
118
|
end
|
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.54.0.beta.
|
4
|
+
version: 2.54.0.beta.20170816010003
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Felix Krause
|
@@ -15,7 +15,7 @@ authors:
|
|
15
15
|
autorequire:
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
|
-
date: 2017-08-
|
18
|
+
date: 2017-08-16 00:00:00.000000000 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
name: slack-notifier
|
@@ -356,7 +356,7 @@ dependencies:
|
|
356
356
|
version: 0.12.0
|
357
357
|
- - "<"
|
358
358
|
- !ruby/object:Gem::Version
|
359
|
-
version: 0.
|
359
|
+
version: 1.0.0
|
360
360
|
type: :runtime
|
361
361
|
prerelease: false
|
362
362
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -366,7 +366,7 @@ dependencies:
|
|
366
366
|
version: 0.12.0
|
367
367
|
- - "<"
|
368
368
|
- !ruby/object:Gem::Version
|
369
|
-
version: 0.
|
369
|
+
version: 1.0.0
|
370
370
|
- !ruby/object:Gem::Dependency
|
371
371
|
name: highline
|
372
372
|
requirement: !ruby/object:Gem::Requirement
|