fastlane 2.78.0.beta.20180119010003 → 2.78.0.beta.20180120010003

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: b23f192db4cec5b0264b642466ebb30516b248e7
4
- data.tar.gz: e945135befb112ed13941c1644db1eccdb58d8b5
3
+ metadata.gz: 9fea1ddad5044bf496b8daf66657fa206e4bbe9c
4
+ data.tar.gz: ba9230b3bd933970b458dedd802106f471efe7be
5
5
  SHA512:
6
- metadata.gz: d488f28070c0abaf691502b73c98a5a91e27056fc2a55b2939dd3d6e40bf33a94d140d1ca4074843e501377b3499db7f231873892c9811ae7c02e0f39ab0b564
7
- data.tar.gz: 5ee5c9b60556ba08d361518351deea76b1e67157eb04dcce60f76c750c2af6c7e46ee7af463146a997fcf65746b1864b1c4219320d85d4fc92db733199114633
6
+ metadata.gz: 76b6a682c60a17e94fb059677776bf29fbd6b0e4cd453203665a6522aaa853a901cc32ff69ecb5c2523027cbe00d315dc787507a80ff551cd5f78c190552d5b3
7
+ data.tar.gz: 17071d52b7833377306cf25c7a2dace1c7d7f0139595942c90e784b8d3419604c2fcd35053a37746c0bd601425613314731d135874b974ee988eb60064f615c1
@@ -22,7 +22,7 @@ module Fastlane
22
22
  def self.upload_on_s3(file, api_key, store_id, group_ids = '')
23
23
  file_name = file.split('/').last
24
24
  uri = URI("#{APPALOOSA_SERVER}/upload_services/presign_form")
25
- params = { file: file_name, store_id: store_id, group_ids: group_ids }
25
+ params = { file: file_name, store_id: store_id, group_ids: group_ids, api_key: api_key }
26
26
  uri.query = URI.encode_www_form(params)
27
27
  http = Net::HTTP.new(uri.host, uri.port)
28
28
  http.use_ssl = true
@@ -0,0 +1,14 @@
1
+ module Fastlane
2
+ module Actions
3
+ require 'fastlane/actions/puts'
4
+ class EchoAction < PutsAction
5
+ #####################################################
6
+ # @!group Documentation
7
+ #####################################################
8
+
9
+ def self.description
10
+ "Alias for the `puts` action"
11
+ end
12
+ end
13
+ end
14
+ end
@@ -57,6 +57,10 @@ module Fastlane
57
57
  "Sets/gets env vars for Fastlane.swift. Don't use in ruby, use `ENV[key] = val`"
58
58
  end
59
59
 
60
+ def self.step_text
61
+ nil
62
+ end
63
+
60
64
  def self.category
61
65
  :misc
62
66
  end
@@ -0,0 +1,14 @@
1
+ module Fastlane
2
+ module Actions
3
+ require 'fastlane/actions/puts'
4
+ class PrintlnAction < PutsAction
5
+ #####################################################
6
+ # @!group Documentation
7
+ #####################################################
8
+
9
+ def self.description
10
+ "Alias for the `puts` action"
11
+ end
12
+ end
13
+ end
14
+ end
@@ -25,11 +25,12 @@ module Fastlane
25
25
 
26
26
  welcome_to_fastlane
27
27
 
28
+ self.fastfile_content = fastfile_template_content
29
+ self.appfile_content = appfile_template_content
30
+
28
31
  if preferred_setup_method
29
32
  self.send(preferred_setup_method)
30
33
 
31
- # We call `choose_swift` here also, as we skip the selection (see below)
32
- choose_swift
33
34
  return
34
35
  end
35
36
 
@@ -43,11 +44,6 @@ module Fastlane
43
44
  selected = UI.select("What would you like to use fastlane for?", options.keys)
44
45
  @method_to_use = options[selected]
45
46
 
46
- # we want to first ask the user of what they want to do
47
- # to make them already excited about all the things they can do with fastlane
48
- # and only then we ask them about the language they want to use
49
- choose_swift
50
-
51
47
  begin
52
48
  self.send(@method_to_use)
53
49
  rescue => ex
@@ -440,17 +436,6 @@ module Fastlane
440
436
  end
441
437
  end
442
438
 
443
- # Choose the language the config files should be based in
444
- def choose_swift
445
- # The Swift question below is removed, as we don't want everyone
446
- # to use the Beta setup yet
447
- # using `||=` since if the user already used `fastlane init swift` we want to just use swift
448
- # self.is_swift_fastfile ||= UI.confirm("[Beta] Do you want to try our new experimental Swift based configuration files?")
449
-
450
- self.fastfile_content = fastfile_template_content
451
- self.appfile_content = appfile_template_content
452
- end
453
-
454
439
  def increment_build_number_if_applicable
455
440
  return nil unless self.automatic_versioning_enabled
456
441
  return nil if self.project.project_paths.first.to_s.length == 0
@@ -173,9 +173,12 @@ module Fastlane
173
173
  return updated_project
174
174
  end
175
175
 
176
+ # adds new groups, and the files inside those groups
177
+ # Note: this does not add new files to existing groups, that is in add_new_files_to_groups!
176
178
  def add_missing_groups_and_files!(dry_run: false)
177
179
  missing_groups = self.find_missing_groups.to_set
178
- unless missing_groups.length >= 0
180
+ unless missing_groups.length > 0
181
+ UI.verbose("No missing groups found, so we don't need to worry about adding new groups")
179
182
  return false
180
183
  end
181
184
 
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
- VERSION = '2.78.0.beta.20180119010003'.freeze
2
+ VERSION = '2.78.0.beta.20180120010003'.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
@@ -103,7 +103,10 @@ module Match
103
103
  def print_tables
104
104
  puts("")
105
105
  if self.certs.count > 0
106
- rows = self.certs.collect { |c| [c.name, c.id, c.class.to_s.split("::").last, c.expires.strftime("%Y-%m-%d")] }
106
+ rows = self.certs.collect do |cert|
107
+ cert_expiration = cert.expires.nil? ? "Unknown" : cert.expires.strftime("%Y-%m-%d")
108
+ [cert.name, cert.id, cert.class.to_s.split("::").last, cert_expiration]
109
+ end
107
110
  puts(Terminal::Table.new({
108
111
  title: "Certificates that are going to be revoked".green,
109
112
  headings: ["Name", "ID", "Type", "Expires"],
@@ -328,7 +328,7 @@ module Spaceship
328
328
  build_version
329
329
  else
330
330
  if candidate_builds.length > 0
331
- candidate_builds.first.build_version
331
+ candidate_builds.sort_by(&:upload_date).last.build_version
332
332
  end
333
333
  end
334
334
  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.78.0.beta.20180119010003
4
+ version: 2.78.0.beta.20180120010003
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josh Holtz
@@ -25,7 +25,7 @@ authors:
25
25
  autorequire:
26
26
  bindir: bin
27
27
  cert_chain: []
28
- date: 2018-01-19 00:00:00.000000000 Z
28
+ date: 2018-01-20 00:00:00.000000000 Z
29
29
  dependencies:
30
30
  - !ruby/object:Gem::Dependency
31
31
  name: slack-notifier
@@ -971,6 +971,7 @@ files:
971
971
  - fastlane/lib/fastlane/actions/download.rb
972
972
  - fastlane/lib/fastlane/actions/download_dsyms.rb
973
973
  - fastlane/lib/fastlane/actions/dsym_zip.rb
974
+ - fastlane/lib/fastlane/actions/echo.rb
974
975
  - fastlane/lib/fastlane/actions/ensure_git_branch.rb
975
976
  - fastlane/lib/fastlane/actions/ensure_git_status_clean.rb
976
977
  - fastlane/lib/fastlane/actions/ensure_no_debug_code.rb
@@ -1043,6 +1044,7 @@ files:
1043
1044
  - fastlane/lib/fastlane/actions/pod_push.rb
1044
1045
  - fastlane/lib/fastlane/actions/podio_item.rb
1045
1046
  - fastlane/lib/fastlane/actions/precheck.rb
1047
+ - fastlane/lib/fastlane/actions/println.rb
1046
1048
  - fastlane/lib/fastlane/actions/produce.rb
1047
1049
  - fastlane/lib/fastlane/actions/prompt.rb
1048
1050
  - fastlane/lib/fastlane/actions/push_git_tags.rb