fastlane 2.1.3 → 2.2.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 86d654462e64242e610a3ff5e0873391378f15b9
4
- data.tar.gz: 59f3ce2c63da60e5a2735d8c995e83f3b2f104c7
3
+ metadata.gz: 3f33587942312c51aef121133e597d5aab60056b
4
+ data.tar.gz: 642bf6bd44765a002f62977bc3c81b18f4772784
5
5
  SHA512:
6
- metadata.gz: 7c697c30e08ac74c0284cc29e3691fb72822129e88a83eb1394bddb0177cb7271dd8c41497c152564e0c14038b43deead9b36fe7d836e7921b5d819ba4e1d726
7
- data.tar.gz: 857da9e5c6365a6bb4fc2a0c8a2ffa61676bc5849ce3d5d526d68eeb9ddd3c9e49022f014a06e5d4ce3beae08bbf7221dc2fbb1710b9c634bee0cb0319a2e627
6
+ metadata.gz: 5c5c3d1b84d4bd9914877a3d672b431253931f16346c77495f9ccc0c33e3d55442e87df3643624f05f81eb883d7ea39d03628e30dbe67add0aebd8ede5d87fe8
7
+ data.tar.gz: 4603c27be02b10644fcadcdb31ae3e52f61ca5989436d7420aa86abd6e9f2654c3871d3811917a2f0858e31a35a01a9ef8ba6c770b6a5a58a6bf9a5b4e6bc808
Binary file
Binary file
Binary file
@@ -81,6 +81,11 @@ module Fastlane
81
81
  env_name: "MAILGUN_TEMPLATE_PATH",
82
82
  description: "Mail HTML template",
83
83
  optional: true,
84
+ is_string: true),
85
+ FastlaneCore::ConfigItem.new(key: :reply_to,
86
+ env_name: "MAILGUN_REPLY_TO",
87
+ description: "Mail Reply to",
88
+ optional: true,
84
89
  is_string: true)
85
90
 
86
91
  ]
@@ -100,11 +105,16 @@ module Fastlane
100
105
 
101
106
  def self.mailgunit(options)
102
107
  sandbox_domain = options[:postmaster].split("@").last
103
- RestClient.post "https://api:#{options[:apikey]}@api.mailgun.net/v3/#{sandbox_domain}/messages",
104
- from: "#{options[:from]}<#{options[:postmaster]}>",
105
- to: (options[:to]).to_s,
106
- subject: options[:subject],
107
- html: mail_template(options)
108
+ params = {
109
+ from: "#{options[:from]}<#{options[:postmaster]}>",
110
+ to: (options[:to]).to_s,
111
+ subject: options[:subject],
112
+ html: mail_template(options)
113
+ }
114
+ unless options[:reply_to].nil?
115
+ params.store(:"h:Reply-To", options[:reply_to])
116
+ end
117
+ RestClient.post "https://api:#{options[:apikey]}@api.mailgun.net/v3/#{sandbox_domain}/messages", params
108
118
  mail_template(options)
109
119
  end
110
120
 
@@ -143,6 +153,7 @@ module Fastlane
143
153
  apikey: "MY_API_KEY",
144
154
  to: "DESTINATION_EMAIL",
145
155
  from: "EMAIL_FROM_NAME",
156
+ reply_to: "EMAIL_REPLY_TO",
146
157
  success: true,
147
158
  message: "Mail Body",
148
159
  app_link: "http://www.myapplink.com",
@@ -2,6 +2,12 @@ module Fastlane
2
2
  class EnvironmentPrinter
3
3
  def self.output
4
4
  env_info = get
5
+
6
+ # Remove sensitive option values
7
+ FastlaneCore::Configuration.sensitive_strings.compact.each do |sensitive_element|
8
+ env_info.gsub!(sensitive_element, "#########")
9
+ end
10
+
5
11
  puts env_info
6
12
  if FastlaneCore::Helper.mac? && UI.interactive? && UI.confirm("🙄 Wow, that's a lot of markdown text... should fastlane put it into your clipboard, so you can easily paste it on GitHub?")
7
13
  copy_to_clipboard(env_info)
@@ -1,4 +1,4 @@
1
1
  module Fastlane
2
- VERSION = '2.1.3'.freeze
2
+ VERSION = '2.2.0'.freeze
3
3
  DESCRIPTION = "The easiest way to automate beta deployments and releases for your iOS and Android apps".freeze
4
4
  end
@@ -35,10 +35,24 @@ module FastlaneCore
35
35
  # @!group Setting up the configuration
36
36
  #####################################################
37
37
 
38
+ # collect sensitive strings
39
+ def self.sensitive_strings
40
+ @sensitive_strings ||= []
41
+ end
42
+
38
43
  def initialize(available_options, values)
39
44
  self.available_options = available_options || []
40
45
  self.values = values || {}
41
46
 
47
+ # if we are in captured output mode - keep a array of sensitive option values
48
+ # those will be later - replaced by ####
49
+ if $capture_output
50
+ available_options.each do |element|
51
+ next unless element.sensitive
52
+ self.class.sensitive_strings << values[element.key]
53
+ end
54
+ end
55
+
42
56
  verify_input_types
43
57
  verify_value_exists
44
58
  verify_no_duplicates
@@ -50,13 +50,7 @@ module Gym
50
50
 
51
51
  actions = []
52
52
  actions << :clean if config[:clean]
53
-
54
- if Gym.project.library? || Gym.project.framework?
55
- actions << :build
56
- else
57
- # that's the default for iOS apps
58
- actions << :archive
59
- end
53
+ actions << :archive
60
54
 
61
55
  actions
62
56
  end
@@ -53,6 +53,10 @@ module Snapshot
53
53
  'iPhone6' => "iPhone6 (4.7-Inch)",
54
54
  'iPhone5' => "iPhone5 (4-Inch)",
55
55
  'iPhone4' => "iPhone4 (3.5-Inch)",
56
+ 'iPad2' => "iPad2",
57
+ 'iPadAir2' => 'iPad Air 2',
58
+ 'iPadPro(12.9-inch)' => 'iPad Air Pro (12.9 inch)',
59
+ 'iPadPro(9.7-inch)' => 'iPad Air Pro (9.7 inch)',
56
60
  'iPadPro(9.7inch)' => "iPad Pro (9.7 inch)",
57
61
  'iPadPro(12.9inch)' => "iPad Pro (12.9 inch)",
58
62
  'iPad Pro' => "iPad Pro",
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.1.3
4
+ version: 2.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Felix Krause
@@ -14,7 +14,7 @@ authors:
14
14
  autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
- date: 2016-12-20 00:00:00.000000000 Z
17
+ date: 2016-12-21 00:00:00.000000000 Z
18
18
  dependencies:
19
19
  - !ruby/object:Gem::Dependency
20
20
  name: slack-notifier
@@ -703,7 +703,9 @@ files:
703
703
  - bin/bin-proxy
704
704
  - bin/fastlane
705
705
  - cert/README.md
706
+ - cert/lib/.DS_Store
706
707
  - cert/lib/cert.rb
708
+ - cert/lib/cert/.DS_Store
707
709
  - cert/lib/cert/commands_generator.rb
708
710
  - cert/lib/cert/options.rb
709
711
  - cert/lib/cert/runner.rb
@@ -733,6 +735,7 @@ files:
733
735
  - deliver/lib/deliver/upload_price_tier.rb
734
736
  - deliver/lib/deliver/upload_screenshots.rb
735
737
  - fastlane/README.md
738
+ - fastlane/lib/.DS_Store
736
739
  - fastlane/lib/assets/Actions.md.erb
737
740
  - fastlane/lib/assets/AppfileTemplate
738
741
  - fastlane/lib/assets/AppfileTemplateAndroid
@@ -1000,6 +1003,7 @@ files:
1000
1003
  - fastlane/lib/fastlane/tools.rb
1001
1004
  - fastlane/lib/fastlane/version.rb
1002
1005
  - fastlane_core/README.md
1006
+ - fastlane_core/lib/.DS_Store
1003
1007
  - fastlane_core/lib/assets/XMLTemplate.xml.erb
1004
1008
  - fastlane_core/lib/fastlane_core.rb
1005
1009
  - fastlane_core/lib/fastlane_core/cert_checker.rb