fastlane 2.185.0 → 2.185.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (52) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +82 -82
  3. data/fastlane/lib/fastlane/actions/appetize.rb +0 -7
  4. data/fastlane/lib/fastlane/actions/appium.rb +40 -65
  5. data/fastlane/lib/fastlane/actions/apteligent.rb +3 -2
  6. data/fastlane/lib/fastlane/actions/artifactory.rb +5 -6
  7. data/fastlane/lib/fastlane/actions/automatic_code_signing.rb +6 -11
  8. data/fastlane/lib/fastlane/actions/backup_xcarchive.rb +2 -2
  9. data/fastlane/lib/fastlane/actions/badge.rb +9 -13
  10. data/fastlane/lib/fastlane/actions/build_and_upload_to_appetize.rb +1 -3
  11. data/fastlane/lib/fastlane/actions/bundle_install.rb +8 -10
  12. data/fastlane/lib/fastlane/actions/carthage.rb +1 -15
  13. data/fastlane/lib/fastlane/actions/changelog_from_git_commits.rb +8 -17
  14. data/fastlane/lib/fastlane/actions/chatwork.rb +3 -2
  15. data/fastlane/lib/fastlane/actions/clean_build_artifacts.rb +0 -1
  16. data/fastlane/lib/fastlane/actions/clean_cocoapods_cache.rb +0 -1
  17. data/fastlane/lib/fastlane/actions/cloc.rb +9 -13
  18. data/fastlane/lib/fastlane/actions/cocoapods.rb +9 -15
  19. data/fastlane/lib/fastlane/actions/commit_github_file.rb +1 -3
  20. data/fastlane/lib/fastlane/actions/commit_version_bump.rb +6 -7
  21. data/fastlane/lib/fastlane/actions/copy_artifacts.rb +3 -4
  22. data/fastlane/lib/fastlane/actions/crashlytics.rb +7 -11
  23. data/fastlane/lib/fastlane/actions/create_app_on_managed_play_store.rb +70 -76
  24. data/fastlane/lib/fastlane/actions/create_keychain.rb +9 -10
  25. data/fastlane/lib/fastlane/actions/create_pull_request.rb +0 -9
  26. data/fastlane/lib/fastlane/actions/danger.rb +6 -11
  27. data/fastlane/lib/fastlane/actions/docs/capture_android_screenshots.md +1 -1
  28. data/fastlane/lib/fastlane/helper/crashlytics_helper.rb +4 -4
  29. data/fastlane/lib/fastlane/setup/setup_ios.rb +3 -3
  30. data/fastlane/lib/fastlane/swift_fastlane_function.rb +3 -3
  31. data/fastlane/lib/fastlane/version.rb +1 -1
  32. data/fastlane/swift/Deliverfile.swift +1 -1
  33. data/fastlane/swift/DeliverfileProtocol.swift +1 -1
  34. data/fastlane/swift/Fastlane.swift +1099 -1099
  35. data/fastlane/swift/Gymfile.swift +1 -1
  36. data/fastlane/swift/GymfileProtocol.swift +1 -1
  37. data/fastlane/swift/Matchfile.swift +1 -1
  38. data/fastlane/swift/MatchfileProtocol.swift +1 -1
  39. data/fastlane/swift/Precheckfile.swift +1 -1
  40. data/fastlane/swift/PrecheckfileProtocol.swift +1 -1
  41. data/fastlane/swift/Scanfile.swift +1 -1
  42. data/fastlane/swift/ScanfileProtocol.swift +1 -1
  43. data/fastlane/swift/Screengrabfile.swift +1 -1
  44. data/fastlane/swift/ScreengrabfileProtocol.swift +1 -1
  45. data/fastlane/swift/Snapshotfile.swift +1 -1
  46. data/fastlane/swift/SnapshotfileProtocol.swift +1 -1
  47. data/fastlane/swift/formatting/Brewfile.lock.json +2 -2
  48. data/fastlane_core/lib/fastlane_core/print_table.rb +5 -3
  49. data/fastlane_core/lib/fastlane_core/project.rb +7 -3
  50. data/snapshot/lib/snapshot/test_command_generator.rb +1 -1
  51. data/spaceship/lib/spaceship/spaceauth_runner.rb +19 -6
  52. metadata +20 -20
@@ -126,13 +126,12 @@ module Fastlane
126
126
  FastlaneCore::ConfigItem.new(key: :use_automatic_signing,
127
127
  env_name: "FL_PROJECT_USE_AUTOMATIC_SIGNING",
128
128
  description: "Defines if project should use automatic signing",
129
- is_string: false,
129
+ type: Boolean,
130
130
  default_value: false),
131
131
  FastlaneCore::ConfigItem.new(key: :team_id,
132
132
  env_name: "FASTLANE_TEAM_ID",
133
133
  optional: true,
134
- description: "Team ID, is used when upgrading project",
135
- is_string: true),
134
+ description: "Team ID, is used when upgrading project"),
136
135
  FastlaneCore::ConfigItem.new(key: :targets,
137
136
  env_name: "FL_PROJECT_SIGNING_TARGETS",
138
137
  optional: true,
@@ -142,23 +141,19 @@ module Fastlane
142
141
  FastlaneCore::ConfigItem.new(key: :code_sign_identity,
143
142
  env_name: "FL_CODE_SIGN_IDENTITY",
144
143
  description: "Code signing identity type (iPhone Developer, iPhone Distribution)",
145
- optional: true,
146
- is_string: true),
144
+ optional: true),
147
145
  FastlaneCore::ConfigItem.new(key: :profile_name,
148
146
  env_name: "FL_PROVISIONING_PROFILE_SPECIFIER",
149
147
  description: "Provisioning profile name to use for code signing",
150
- optional: true,
151
- is_string: true),
148
+ optional: true),
152
149
  FastlaneCore::ConfigItem.new(key: :profile_uuid,
153
150
  env_name: "FL_PROVISIONING_PROFILE",
154
151
  description: "Provisioning profile UUID to use for code signing",
155
- optional: true,
156
- is_string: true),
152
+ optional: true),
157
153
  FastlaneCore::ConfigItem.new(key: :bundle_identifier,
158
154
  env_name: "FL_APP_IDENTIFIER",
159
155
  description: "Application Product Bundle Identifier",
160
- optional: true,
161
- is_string: true)
156
+ optional: true)
162
157
  ]
163
158
  end
164
159
 
@@ -83,7 +83,7 @@ module Fastlane
83
83
  end),
84
84
  FastlaneCore::ConfigItem.new(key: :zip,
85
85
  description: 'Enable compression of the archive',
86
- is_string: false,
86
+ type: Boolean,
87
87
  default_value: true,
88
88
  optional: true,
89
89
  env_name: 'BACKUP_XCARCHIVE_ZIP'),
@@ -94,7 +94,7 @@ module Fastlane
94
94
  env_name: 'BACKUP_XCARCHIVE_ZIP_FILENAME'),
95
95
  FastlaneCore::ConfigItem.new(key: :versioned,
96
96
  description: 'Create a versioned (date and app version) subfolder where to put the archive',
97
- is_string: false,
97
+ type: Boolean,
98
98
  default_value: true,
99
99
  optional: true,
100
100
  env_name: 'BACKUP_XCARCHIVE_VERSIONED')
@@ -65,7 +65,7 @@ module Fastlane
65
65
  env_name: "FL_BADGE_DARK",
66
66
  description: "Adds a dark flavored badge ontop of your icon",
67
67
  optional: true,
68
- is_string: false,
68
+ type: Boolean,
69
69
  verify_block: proc do |value|
70
70
  UI.user_error!("dark is only a flag and should always be true") unless value == true
71
71
  end),
@@ -80,20 +80,19 @@ module Fastlane
80
80
  env_name: "FL_BADGE_NO_BADGE",
81
81
  description: "Hides the beta badge",
82
82
  optional: true,
83
- is_string: false,
83
+ type: Boolean,
84
84
  verify_block: proc do |value|
85
85
  UI.user_error!("no_badge is only a flag and should always be true") unless value == true
86
86
  end),
87
87
  FastlaneCore::ConfigItem.new(key: :shield,
88
88
  env_name: "FL_BADGE_SHIELD",
89
89
  description: "Add a shield to your app icon from shields.io",
90
- optional: true,
91
- is_string: true),
90
+ optional: true),
92
91
  FastlaneCore::ConfigItem.new(key: :alpha,
93
92
  env_name: "FL_BADGE_ALPHA",
94
93
  description: "Adds and alpha badge instead of the default beta one",
95
94
  optional: true,
96
- is_string: false,
95
+ type: Boolean,
97
96
  verify_block: proc do |value|
98
97
  UI.user_error!("alpha is only a flag and should always be true") unless value == true
99
98
  end),
@@ -101,7 +100,6 @@ module Fastlane
101
100
  env_name: "FL_BADGE_PATH",
102
101
  description: "Sets the root path to look for AppIcons",
103
102
  optional: true,
104
- is_string: true,
105
103
  default_value: '.',
106
104
  verify_block: proc do |value|
107
105
  UI.user_error!("path needs to be a valid directory") if Dir[value].empty?
@@ -110,33 +108,31 @@ module Fastlane
110
108
  env_name: "FL_BADGE_SHIELD_IO_TIMEOUT",
111
109
  description: "Set custom duration for the timeout of the shields.io request in seconds",
112
110
  optional: true,
113
- is_string: false,
111
+ type: Integer, # allow integers, strings both
114
112
  verify_block: proc do |value|
115
113
  UI.user_error!("shield_io_timeout needs to be an integer > 0") if value.to_i < 1
116
114
  end),
117
115
  FastlaneCore::ConfigItem.new(key: :glob,
118
116
  env_name: "FL_BADGE_GLOB",
119
117
  description: "Glob pattern for finding image files",
120
- optional: true,
121
- is_string: true),
118
+ optional: true),
122
119
  FastlaneCore::ConfigItem.new(key: :alpha_channel,
123
120
  env_name: "FL_BADGE_ALPHA_CHANNEL",
124
121
  description: "Keeps/adds an alpha channel to the icon (useful for android icons)",
125
122
  optional: true,
126
- is_string: false,
123
+ type: Boolean,
127
124
  verify_block: proc do |value|
128
125
  UI.user_error!("alpha_channel is only a flag and should always be true") unless value == true
129
126
  end),
130
127
  FastlaneCore::ConfigItem.new(key: :shield_gravity,
131
128
  env_name: "FL_BADGE_SHIELD_GRAVITY",
132
129
  description: "Position of shield on icon. Default: North - Choices include: NorthWest, North, NorthEast, West, Center, East, SouthWest, South, SouthEast",
133
- optional: true,
134
- is_string: true),
130
+ optional: true),
135
131
  FastlaneCore::ConfigItem.new(key: :shield_no_resize,
136
132
  env_name: "FL_BADGE_SHIELD_NO_RESIZE",
137
133
  description: "Shield image will no longer be resized to aspect fill the full icon. Instead it will only be shrunk to not exceed the icon graphic",
138
134
  optional: true,
139
- is_string: false,
135
+ type: Boolean,
140
136
  verify_block: proc do |value|
141
137
  UI.user_error!("shield_no_resize is only a flag and should always be true") unless value == true
142
138
  end)
@@ -64,10 +64,9 @@ module Fastlane
64
64
  env_name: "APPETIZE_API_TOKEN",
65
65
  description: "Appetize.io API Token",
66
66
  sensitive: true,
67
- is_string: true),
67
+ code_gen_sensitive: true),
68
68
  FastlaneCore::ConfigItem.new(key: :public_key,
69
69
  description: "If not provided, a new app will be created. If provided, the existing build will be overwritten",
70
- is_string: true,
71
70
  optional: true,
72
71
  verify_block: proc do |value|
73
72
  if value.start_with?("private_")
@@ -76,7 +75,6 @@ module Fastlane
76
75
  end),
77
76
  FastlaneCore::ConfigItem.new(key: :note,
78
77
  description: "Notes you wish to add to the uploaded app",
79
- is_string: true,
80
78
  optional: true),
81
79
  FastlaneCore::ConfigItem.new(key: :timeout,
82
80
  description: "The number of seconds to wait until automatically ending the session due to user inactivity. Must be 30, 60, 90, 120, 180, 300, 600, 1800, 3600 or 7200. Default is 120",
@@ -72,12 +72,12 @@ module Fastlane
72
72
  FastlaneCore::ConfigItem.new(key: :clean,
73
73
  env_name: "FL_BUNDLE_INSTALL_CLEAN",
74
74
  description: "Run bundle clean automatically after install",
75
- is_string: false,
75
+ type: Boolean,
76
76
  default_value: false),
77
77
  FastlaneCore::ConfigItem.new(key: :full_index,
78
78
  env_name: "FL_BUNDLE_INSTALL_FULL_INDEX",
79
79
  description: "Use the rubygems modern index instead of the API endpoint",
80
- is_string: false,
80
+ type: Boolean,
81
81
  default_value: false),
82
82
  FastlaneCore::ConfigItem.new(key: :gemfile,
83
83
  env_name: "FL_BUNDLE_INSTALL_GEMFILE",
@@ -86,28 +86,27 @@ module Fastlane
86
86
  FastlaneCore::ConfigItem.new(key: :jobs,
87
87
  env_name: "FL_BUNDLE_INSTALL_JOBS",
88
88
  description: "Install gems using parallel workers",
89
- is_string: false,
90
89
  type: Boolean,
91
90
  optional: true),
92
91
  FastlaneCore::ConfigItem.new(key: :local,
93
92
  env_name: "FL_BUNDLE_INSTALL_LOCAL",
94
93
  description: "Do not attempt to fetch gems remotely and use the gem cache instead",
95
- is_string: false,
94
+ type: Boolean,
96
95
  default_value: false),
97
96
  FastlaneCore::ConfigItem.new(key: :deployment,
98
97
  env_name: "FL_BUNDLE_INSTALL_DEPLOYMENT",
99
98
  description: "Install using defaults tuned for deployment and CI environments",
100
- is_string: false,
99
+ type: Boolean,
101
100
  default_value: false),
102
101
  FastlaneCore::ConfigItem.new(key: :no_cache,
103
102
  env_name: "FL_BUNDLE_INSTALL_NO_CACHE",
104
103
  description: "Don't update the existing gem cache",
105
- is_string: false,
104
+ type: Boolean,
106
105
  default_value: false),
107
106
  FastlaneCore::ConfigItem.new(key: :no_prune,
108
107
  env_name: "FL_BUNDLE_INSTALL_NO_PRUNE",
109
108
  description: "Don't remove stale gems from the cache",
110
- is_string: false,
109
+ type: Boolean,
111
110
  default_value: false),
112
111
  FastlaneCore::ConfigItem.new(key: :path,
113
112
  env_name: "FL_BUNDLE_INSTALL_PATH",
@@ -116,17 +115,16 @@ module Fastlane
116
115
  FastlaneCore::ConfigItem.new(key: :system,
117
116
  env_name: "FL_BUNDLE_INSTALL_SYSTEM",
118
117
  description: "Install to the system location ($BUNDLE_PATH or $GEM_HOME) even if the bundle was previously installed somewhere else for this application",
119
- is_string: false,
118
+ type: Boolean,
120
119
  default_value: false),
121
120
  FastlaneCore::ConfigItem.new(key: :quiet,
122
121
  env_name: "FL_BUNDLE_INSTALL_QUIET",
123
122
  description: "Only output warnings and errors",
124
- is_string: false,
123
+ type: Boolean,
125
124
  default_value: false),
126
125
  FastlaneCore::ConfigItem.new(key: :retry,
127
126
  env_name: "FL_BUNDLE_INSTALL_RETRY",
128
127
  description: "Retry network and git requests that have failed",
129
- is_string: false,
130
128
  type: Boolean,
131
129
  optional: true),
132
130
  FastlaneCore::ConfigItem.new(key: :shebang,
@@ -86,48 +86,40 @@ module Fastlane
86
86
  FastlaneCore::ConfigItem.new(key: :dependencies,
87
87
  description: "Carthage dependencies to update, build or bootstrap",
88
88
  default_value: [],
89
- is_string: false,
90
89
  type: Array),
91
90
  FastlaneCore::ConfigItem.new(key: :use_ssh,
92
91
  env_name: "FL_CARTHAGE_USE_SSH",
93
92
  description: "Use SSH for downloading GitHub repositories",
94
- is_string: false,
95
93
  type: Boolean,
96
94
  optional: true),
97
95
  FastlaneCore::ConfigItem.new(key: :use_submodules,
98
96
  env_name: "FL_CARTHAGE_USE_SUBMODULES",
99
97
  description: "Add dependencies as Git submodules",
100
- is_string: false,
101
98
  type: Boolean,
102
99
  optional: true),
103
100
  FastlaneCore::ConfigItem.new(key: :use_netrc,
104
101
  env_name: "FL_CARTHAGE_USE_NETRC",
105
102
  description: "Use .netrc for downloading frameworks",
106
- is_string: false,
107
103
  type: Boolean,
108
104
  optional: true),
109
105
  FastlaneCore::ConfigItem.new(key: :use_binaries,
110
106
  env_name: "FL_CARTHAGE_USE_BINARIES",
111
107
  description: "Check out dependency repositories even when prebuilt frameworks exist",
112
- is_string: false,
113
108
  type: Boolean,
114
109
  optional: true),
115
110
  FastlaneCore::ConfigItem.new(key: :no_checkout,
116
111
  env_name: "FL_CARTHAGE_NO_CHECKOUT",
117
112
  description: "When bootstrapping Carthage do not checkout",
118
- is_string: false,
119
113
  type: Boolean,
120
114
  optional: true),
121
115
  FastlaneCore::ConfigItem.new(key: :no_build,
122
116
  env_name: "FL_CARTHAGE_NO_BUILD",
123
117
  description: "When bootstrapping Carthage do not build",
124
- is_string: false,
125
118
  type: Boolean,
126
119
  optional: true),
127
120
  FastlaneCore::ConfigItem.new(key: :no_skip_current,
128
121
  env_name: "FL_CARTHAGE_NO_SKIP_CURRENT",
129
122
  description: "Don't skip building the Carthage project (in addition to its dependencies)",
130
- is_string: false,
131
123
  type: Boolean,
132
124
  optional: true),
133
125
  FastlaneCore::ConfigItem.new(key: :derived_data,
@@ -137,7 +129,6 @@ module Fastlane
137
129
  FastlaneCore::ConfigItem.new(key: :verbose,
138
130
  env_name: "FL_CARTHAGE_VERBOSE",
139
131
  description: "Print xcodebuild output inline",
140
- is_string: false,
141
132
  type: Boolean,
142
133
  optional: true),
143
134
  FastlaneCore::ConfigItem.new(key: :platform,
@@ -152,16 +143,14 @@ module Fastlane
152
143
  FastlaneCore::ConfigItem.new(key: :cache_builds,
153
144
  env_name: "FL_CARTHAGE_CACHE_BUILDS",
154
145
  description: "By default Carthage will rebuild a dependency regardless of whether it's the same resolved version as before. Passing the --cache-builds will cause carthage to avoid rebuilding a dependency if it can",
155
- is_string: false,
146
+ type: Boolean,
156
147
  default_value: false),
157
148
  FastlaneCore::ConfigItem.new(key: :frameworks,
158
149
  description: "Framework name or names to archive, could be applied only along with the archive command",
159
150
  default_value: [],
160
- is_string: false,
161
151
  type: Array),
162
152
  FastlaneCore::ConfigItem.new(key: :output,
163
153
  description: "Output name for the archive, could be applied only along with the archive command. Use following format *.framework.zip",
164
- is_string: true,
165
154
  optional: true,
166
155
  verify_block: proc do |value|
167
156
  UI.user_error!("Please pass a valid string for output. Use following format *.framework.zip") unless value.end_with?("framework.zip")
@@ -186,7 +175,6 @@ module Fastlane
186
175
  FastlaneCore::ConfigItem.new(key: :new_resolver,
187
176
  env_name: "FL_CARTHAGE_NEW_RESOLVER",
188
177
  description: "Use new resolver when resolving dependency graph",
189
- is_string: false,
190
178
  optional: true,
191
179
  type: Boolean),
192
180
  FastlaneCore::ConfigItem.new(key: :log_path,
@@ -197,12 +185,10 @@ module Fastlane
197
185
  env_name: "FL_CARTHAGE_USE_XCFRAMEWORKS",
198
186
  description: "Create xcframework bundles instead of one framework per platform (requires Xcode 12+)",
199
187
  type: Boolean,
200
- is_string: false,
201
188
  default_value: false),
202
189
  FastlaneCore::ConfigItem.new(key: :archive,
203
190
  env_name: "FL_CARTHAGE_ARCHIVE",
204
191
  description: "Archive built frameworks from the current project",
205
- is_string: false,
206
192
  type: Boolean,
207
193
  default_value: false),
208
194
  FastlaneCore::ConfigItem.new(key: :executable,
@@ -79,22 +79,16 @@ module Fastlane
79
79
  env_name: 'FL_CHANGELOG_FROM_GIT_COMMITS_BETWEEN',
80
80
  description: 'Array containing two Git revision values between which to collect messages, you mustn\'t use it with :commits_count key at the same time',
81
81
  optional: true,
82
- is_string: false,
82
+ type: Array, # allow Array, String both
83
83
  conflicting_options: [:commits_count],
84
84
  verify_block: proc do |value|
85
- if value.kind_of?(String)
86
- UI.user_error!(":between must contain comma") unless value.include?(',')
87
- else
88
- UI.user_error!(":between must be of type array") unless value.kind_of?(Array)
89
- UI.user_error!(":between must not contain nil values") if value.any?(&:nil?)
90
- UI.user_error!(":between must be an array of size 2") unless (value || []).size == 2
91
- end
85
+ UI.user_error!(":between must not contain nil values") if value.any?(&:nil?)
86
+ UI.user_error!(":between must be an array of size 2") unless (value || []).size == 2
92
87
  end),
93
88
  FastlaneCore::ConfigItem.new(key: :commits_count,
94
89
  env_name: 'FL_CHANGELOG_FROM_GIT_COMMITS_COUNT',
95
90
  description: 'Number of commits to include in changelog, you mustn\'t use it with :between key at the same time',
96
91
  optional: true,
97
- is_string: false,
98
92
  conflicting_options: [:between],
99
93
  type: Integer,
100
94
  verify_block: proc do |value|
@@ -109,19 +103,17 @@ module Fastlane
109
103
  env_name: 'FL_CHANGELOG_FROM_GIT_COMMITS_PRETTY',
110
104
  description: 'The format applied to each commit while generating the collected value',
111
105
  optional: true,
112
- default_value: '%B',
113
- is_string: true),
106
+ default_value: '%B'),
114
107
  FastlaneCore::ConfigItem.new(key: :date_format,
115
108
  env_name: 'FL_CHANGELOG_FROM_GIT_COMMITS_DATE_FORMAT',
116
109
  description: 'The date format applied to each commit while generating the collected value',
117
- optional: true,
118
- is_string: true),
110
+ optional: true),
119
111
  FastlaneCore::ConfigItem.new(key: :ancestry_path,
120
112
  env_name: 'FL_CHANGELOG_FROM_GIT_COMMITS_ANCESTRY_PATH',
121
113
  description: 'Whether or not to use ancestry-path param',
122
114
  optional: true,
123
115
  default_value: false,
124
- is_string: false),
116
+ type: Boolean),
125
117
  FastlaneCore::ConfigItem.new(key: :tag_match_pattern,
126
118
  env_name: 'FL_CHANGELOG_FROM_GIT_COMMITS_TAG_MATCH_PATTERN',
127
119
  description: 'A glob(7) pattern to match against when finding the last git tag',
@@ -131,19 +123,18 @@ module Fastlane
131
123
  description: 'Whether or not to match a lightweight tag when searching for the last one',
132
124
  optional: true,
133
125
  default_value: true,
134
- is_string: false),
126
+ type: Boolean),
135
127
  FastlaneCore::ConfigItem.new(key: :quiet,
136
128
  env_name: 'FL_CHANGELOG_FROM_GIT_COMMITS_TAG_QUIET',
137
129
  description: 'Whether or not to disable changelog output',
138
130
  optional: true,
139
131
  default_value: false,
140
- is_string: false),
132
+ type: Boolean),
141
133
  FastlaneCore::ConfigItem.new(key: :include_merges,
142
134
  deprecated: "Use `:merge_commit_filtering` instead",
143
135
  env_name: 'FL_CHANGELOG_FROM_GIT_COMMITS_INCLUDE_MERGES',
144
136
  description: "Whether or not to include any commits that are merges",
145
137
  optional: true,
146
- is_string: false,
147
138
  type: Boolean,
148
139
  verify_block: proc do |value|
149
140
  UI.important("The :include_merges option is deprecated. Please use :merge_commit_filtering instead") unless value.nil?
@@ -41,6 +41,7 @@ module Fastlane
41
41
  env_name: "CHATWORK_API_TOKEN",
42
42
  description: "ChatWork API Token",
43
43
  sensitive: true,
44
+ code_gen_sensitive: true,
44
45
  verify_block: proc do |value|
45
46
  unless value.to_s.length > 0
46
47
  UI.error("Please add 'ENV[\"CHATWORK_API_TOKEN\"] = \"your token\"' to your Fastfile's `before_all` section.")
@@ -53,13 +54,13 @@ module Fastlane
53
54
  FastlaneCore::ConfigItem.new(key: :roomid,
54
55
  env_name: "FL_CHATWORK_ROOMID",
55
56
  description: "The room ID",
56
- is_string: false),
57
+ type: Integer),
57
58
  FastlaneCore::ConfigItem.new(key: :success,
58
59
  env_name: "FL_CHATWORK_SUCCESS",
59
60
  description: "Was this build successful? (true/false)",
60
61
  optional: true,
61
62
  default_value: true,
62
- is_string: false)
63
+ type: Boolean)
63
64
  ]
64
65
  end
65
66
 
@@ -33,7 +33,6 @@ module Fastlane
33
33
  FastlaneCore::ConfigItem.new(key: :exclude_pattern,
34
34
  env_name: "FL_CLEAN_BUILD_ARTIFACTS_EXCLUDE_PATTERN",
35
35
  description: "Exclude all files from clearing that match the given Regex pattern: e.g. '.*\.mobileprovision'",
36
- default_value: nil,
37
36
  optional: true)
38
37
  ]
39
38
  end
@@ -22,7 +22,6 @@ module Fastlane
22
22
  env_name: "FL_CLEAN_COCOAPODS_CACHE_DEVELOPMENT",
23
23
  description: "Pod name to be removed from cache",
24
24
  optional: true,
25
- is_string: true,
26
25
  verify_block: proc do |value|
27
26
  UI.user_error!("You must specify pod name which should be removed from cache") if value.to_s.empty?
28
27
  end)
@@ -38,28 +38,24 @@ module Fastlane
38
38
  env_name: "FL_CLOC_BINARY_PATH",
39
39
  description: "Where the cloc binary lives on your system (full path including 'cloc')",
40
40
  optional: true,
41
- is_string: true,
42
41
  default_value: '/usr/local/bin/cloc'),
43
42
  FastlaneCore::ConfigItem.new(key: :exclude_dir,
44
43
  env_name: "FL_CLOC_EXCLUDE_DIR",
45
- description: "Comma separated list of directories to exclude", # a short description of this parameter
46
- optional: true,
47
- is_string: true),
44
+ description: "Comma separated list of directories to exclude",
45
+ optional: true),
48
46
  FastlaneCore::ConfigItem.new(key: :output_directory,
49
47
  env_name: "FL_CLOC_OUTPUT_DIRECTORY",
50
48
  description: "Where to put the generated report file",
51
- is_string: true,
52
49
  default_value: "build"),
53
50
  FastlaneCore::ConfigItem.new(key: :source_directory,
54
- env_name: "FL_CLOC_SOURCE_DIRECTORY",
55
- description: "Where to look for the source code (relative to the project root folder)",
56
- is_string: true,
57
- default_value: ""),
51
+ env_name: "FL_CLOC_SOURCE_DIRECTORY",
52
+ description: "Where to look for the source code (relative to the project root folder)",
53
+ default_value: ""),
58
54
  FastlaneCore::ConfigItem.new(key: :xml,
59
- env_name: "FL_CLOC_XML",
60
- description: "Should we generate an XML File (if false, it will generate a plain text file)?",
61
- is_string: false,
62
- default_value: true)
55
+ env_name: "FL_CLOC_XML",
56
+ description: "Should we generate an XML File (if false, it will generate a plain text file)?",
57
+ type: Boolean,
58
+ default_value: true)
63
59
  ]
64
60
  end
65
61