fastlane 1.7.0 → 1.7.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: 521097e544587a1185b8ac7e3d9d3a990e35120f
4
- data.tar.gz: 9c467b742ddd690a9ee6d9e803bfbea5c7cb03bf
3
+ metadata.gz: 497287926e715d13c815fcce13f5f98031a9a898
4
+ data.tar.gz: 90ef8d8ef376b4d16f4a60356a3754aee8d14824
5
5
  SHA512:
6
- metadata.gz: d9ce43c580294d971c8209c157400d2e6883bcb3aef334b5e7aea46ed3fa7f66b7e47c8cb554f0a4dd956d68173d7093744223d91874f129731ab3d14ea3d2f6
7
- data.tar.gz: 4f35fd111ac94e48051922a7da6e6fd4ebe69a6e36a6f46ef3ca6f8aa4359cf963871a30139fdd1863c4d98c9a2b34cb921c85decab80d6be6bbfa80c4db521e
6
+ metadata.gz: e96bebdee0225f004f62686edce9589f452c9e83d9a52d85d184d1e452e602108336755feea9b74e700faa2436af03ecfe8675b4794fc1ca47bad500a18ef1a9
7
+ data.tar.gz: e07b701f7405899373c446962c884a35dbc90a01888d488b779691beee2e8befefe17371446fb5cc007441f2d497dbccb7e0a29fc80a983ae7496c13aee8818a
@@ -20,7 +20,7 @@ module Fastlane
20
20
 
21
21
  Cert.config = params # we alread have the finished config
22
22
 
23
- Cert::CertRunner.run
23
+ Cert::CertRunner.new.launch
24
24
  cert_file_path = ENV["CER_FILE_PATH"]
25
25
  certificate_id = ENV["CER_CERTIFICATE_ID"]
26
26
  Actions.lane_context[SharedValues::CERT_FILE_PATH] = cert_file_path
@@ -49,7 +49,7 @@ module Fastlane
49
49
  is_string: false),
50
50
  FastlaneCore::ConfigItem.new(key: :beta,
51
51
  env_name: "FL_DELIVER_BETA",
52
- description: "Upload a new version to TestFlight",
52
+ description: "Upload a new version to TestFlight - this will skip metadata upload",
53
53
  optional: true,
54
54
  default_value: false,
55
55
  is_string: false),
@@ -12,7 +12,7 @@ module Fastlane
12
12
  api_version = options[:version]
13
13
  api_host = options[:api_host]
14
14
 
15
- notify_room = (options[:notify_room] ? '1' : '0')
15
+ notify_room = (options[:notify_room] ? 'true' : 'false')
16
16
 
17
17
  channel = options[:channel]
18
18
  color = (options[:success] ? 'green' : 'red')
@@ -18,8 +18,7 @@ module Fastlane
18
18
  sdk: '--sdk',
19
19
  ipa: '--ipa',
20
20
  xcconfig: '--xcconfig',
21
- xcargs: '--xcargs',
22
- silent: '--silent',
21
+ xcargs: '--xcargs'
23
22
  }
24
23
 
25
24
  class IpaAction < Action
@@ -59,7 +58,7 @@ module Fastlane
59
58
  # Joins args into space delimited string
60
59
  build_args = build_args.join(' ')
61
60
 
62
- core_command = "krausefx-ipa build #{build_args} | xcpretty"
61
+ core_command = "krausefx-ipa build #{build_args} --verbose | xcpretty"
63
62
  command = "set -o pipefail && #{core_command}"
64
63
  Helper.log.debug command
65
64
 
@@ -109,8 +108,6 @@ module Fastlane
109
108
  v == true ? '--clean' : '--no-clean'
110
109
  elsif k == :archive
111
110
  v == true ? '--archive' : '--no-archive'
112
- elsif k == :silent
113
- v == true ? '' : '--verbose'
114
111
  else
115
112
  value = (v.to_s.length > 0 ? "\"#{v}\"" : '')
116
113
  "#{ARGS_MAP[k]} #{value}".strip
@@ -106,7 +106,7 @@ module Fastlane
106
106
  #####################################
107
107
 
108
108
  # Gets info used for the plist
109
- bundle_id, bundle_version, title, full_version = get_ipa_info( ipa_file )
109
+ bundle_id, bundle_version, title, full_version = get_ipa_info(ipa_file)
110
110
 
111
111
  # Creating plist and html names
112
112
  plist_file_name = "#{url_part}#{title}.plist"
@@ -1,5 +1,5 @@
1
1
  require 'rubygems/spec_fetcher'
2
- require 'rubygems/commands/update_command'
2
+ require 'rubygems/command_manager'
3
3
 
4
4
  module Fastlane
5
5
  module Actions
@@ -33,7 +33,8 @@ module Fastlane
33
33
  return
34
34
  end
35
35
 
36
- updater = Gem::Commands::UpdateCommand.new
36
+ updater = Gem::CommandManager.instance[:update]
37
+ cleaner = Gem::CommandManager.instance[:cleanup]
37
38
 
38
39
  sudo_needed = !File.writable?(Gem.dir)
39
40
 
@@ -67,11 +68,14 @@ module Fastlane
67
68
  Helper.log.info "Finished updating #{tool}"
68
69
  end
69
70
 
70
- any_updates = updater.installer.installed_gems.any? do |updated_tool|
71
+ all_updated_tools = updater.installer.installed_gems.select do |updated_tool|
71
72
  updated_tool.version > highest_versions[updated_tool.name].version
72
73
  end
73
74
 
74
- if any_updates
75
+ unless all_updated_tools.empty?
76
+ Helper.log.info "Cleaning up old versions..."
77
+ cleaner.options[:args] = all_updated_tools.map {|t| t.name }
78
+ cleaner.execute
75
79
  Helper.log.info "fastlane.tools succesfully updated! I will now restart myself... 😴"
76
80
 
77
81
  # Set no_update to true so we don't try to update again
@@ -24,7 +24,6 @@ module Fastlane
24
24
  archive_path: "-archivePath",
25
25
  configuration: "-configuration",
26
26
  derivedDataPath: "-derivedDataPath",
27
- destination: "-destination",
28
27
  destination_timeout: "-destination-timeout",
29
28
  export_archive: "-exportArchive",
30
29
  export_format: "-exportFormat",
@@ -214,6 +213,8 @@ module Fastlane
214
213
  "#{arg} #{value}".strip
215
214
  elsif k == :build_settings
216
215
  v.map{|setting,value| "#{setting}=\"#{value}\""}.join(' ')
216
+ elsif k == :destination
217
+ [*v].collect { |dst| "-destination \"#{dst}\"" }.join(' ')
217
218
  elsif k == :keychain && v.to_s.length > 0
218
219
  # If keychain is specified, append as OTHER_CODE_SIGN_FLAGS
219
220
  "OTHER_CODE_SIGN_FLAGS=\"--keychain #{v}\""
@@ -30,6 +30,7 @@ module Fastlane
30
30
  end
31
31
  end
32
32
 
33
+ output << "Generate this documentation by running `fastlane docs`"
33
34
  output << "More information about fastlane can be found on [https://fastlane.tools](https://fastlane.tools)."
34
35
  output << "The documentation of fastlane can be found on [GitHub](https://github.com/KrauseFx/fastlane)"
35
36
 
@@ -101,7 +101,7 @@ module Fastlane
101
101
  Helper.log.info 'Since all files are moved into the `fastlane` subfolder, you have to adapt your Deliverfile'.yellow
102
102
  Helper.log.info 'Update your `ipa` and `beta_ipa` block of your Deliverfile to go a folder up before building'.yellow
103
103
  Helper.log.info "e.g. `system('cd ..; ipa build')`".yellow
104
- Helper.log.info 'Please read the above carefully and click Enter to confirm.'.green
104
+ Helper.log.info 'Please read the above carefully and hit Enter to confirm.'.green
105
105
  STDIN.gets unless Helper.is_test?
106
106
  end
107
107
 
@@ -122,7 +122,7 @@ module Fastlane
122
122
  def generate_fastfile
123
123
  template = File.read("#{Helper.gem_path('fastlane')}/lib/assets/FastfileTemplate")
124
124
 
125
- scheme = ask("Optional: The scheme name of your app. If you don't need one, just click enter: ").to_s.strip
125
+ scheme = ask("Optional: The scheme name of your app: (If you don't need one, just hit Enter.) ").to_s.strip
126
126
  if scheme.length > 0
127
127
  template.gsub!('[[SCHEME]]', "(scheme: \"#{scheme}\")")
128
128
  else
@@ -1,3 +1,3 @@
1
1
  module Fastlane
2
- VERSION = '1.7.0'
2
+ VERSION = '1.7.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.0
4
+ version: 1.7.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-07-04 00:00:00.000000000 Z
11
+ date: 2015-07-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri
@@ -170,14 +170,14 @@ dependencies:
170
170
  requirements:
171
171
  - - ">="
172
172
  - !ruby/object:Gem::Version
173
- version: 0.8.0
173
+ version: 0.9.2
174
174
  type: :runtime
175
175
  prerelease: false
176
176
  version_requirements: !ruby/object:Gem::Requirement
177
177
  requirements:
178
178
  - - ">="
179
179
  - !ruby/object:Gem::Version
180
- version: 0.8.0
180
+ version: 0.9.2
181
181
  - !ruby/object:Gem::Dependency
182
182
  name: deliver
183
183
  requirement: !ruby/object:Gem::Requirement
@@ -240,28 +240,28 @@ dependencies:
240
240
  requirements:
241
241
  - - ">="
242
242
  - !ruby/object:Gem::Version
243
- version: 0.2.1
243
+ version: 0.3.0
244
244
  type: :runtime
245
245
  prerelease: false
246
246
  version_requirements: !ruby/object:Gem::Requirement
247
247
  requirements:
248
248
  - - ">="
249
249
  - !ruby/object:Gem::Version
250
- version: 0.2.1
250
+ version: 0.3.0
251
251
  - !ruby/object:Gem::Dependency
252
252
  name: sigh
253
253
  requirement: !ruby/object:Gem::Requirement
254
254
  requirements:
255
255
  - - ">="
256
256
  - !ruby/object:Gem::Version
257
- version: 0.9.0
257
+ version: 0.10.0
258
258
  type: :runtime
259
259
  prerelease: false
260
260
  version_requirements: !ruby/object:Gem::Requirement
261
261
  requirements:
262
262
  - - ">="
263
263
  - !ruby/object:Gem::Version
264
- version: 0.9.0
264
+ version: 0.10.0
265
265
  - !ruby/object:Gem::Dependency
266
266
  name: produce
267
267
  requirement: !ruby/object:Gem::Requirement