fastlane 2.186.0 → 2.187.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (90) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +86 -86
  3. data/fastlane/lib/fastlane/actions/create_keychain.rb +5 -2
  4. data/fastlane/lib/fastlane/actions/docs/build_app.md +1 -1
  5. data/fastlane/lib/fastlane/actions/docs/capture_android_screenshots.md +25 -26
  6. data/fastlane/lib/fastlane/actions/docs/capture_ios_screenshots.md +2 -2
  7. data/fastlane/lib/fastlane/actions/docs/create_app_online.md +171 -67
  8. data/fastlane/lib/fastlane/actions/latest_testflight_build_number.rb +3 -4
  9. data/fastlane/lib/fastlane/actions/lcov.rb +0 -4
  10. data/fastlane/lib/fastlane/actions/mailgun.rb +21 -27
  11. data/fastlane/lib/fastlane/actions/make_changelog_from_jenkins.rb +1 -1
  12. data/fastlane/lib/fastlane/actions/modify_services.rb +59 -24
  13. data/fastlane/lib/fastlane/actions/nexus_upload.rb +2 -2
  14. data/fastlane/lib/fastlane/actions/notarize.rb +1 -4
  15. data/fastlane/lib/fastlane/actions/number_of_commits.rb +1 -1
  16. data/fastlane/lib/fastlane/actions/oclint.rb +15 -14
  17. data/fastlane/lib/fastlane/actions/pod_push.rb +0 -2
  18. data/fastlane/lib/fastlane/actions/podio_item.rb +0 -7
  19. data/fastlane/lib/fastlane/actions/prompt.rb +3 -4
  20. data/fastlane/lib/fastlane/actions/push_git_tags.rb +1 -1
  21. data/fastlane/lib/fastlane/actions/puts.rb +1 -2
  22. data/fastlane/lib/fastlane/actions/register_devices.rb +0 -1
  23. data/fastlane/lib/fastlane/actions/reset_git_repo.rb +5 -8
  24. data/fastlane/lib/fastlane/actions/reset_simulator_contents.rb +0 -2
  25. data/fastlane/lib/fastlane/actions/resign.rb +2 -9
  26. data/fastlane/lib/fastlane/actions/rsync.rb +3 -6
  27. data/fastlane/lib/fastlane/actions/run_tests.rb +1 -1
  28. data/fastlane/lib/fastlane/actions/s3.rb +1 -1
  29. data/fastlane/lib/fastlane/actions/say.rb +2 -3
  30. data/fastlane/lib/fastlane/actions/scp.rb +4 -10
  31. data/fastlane/lib/fastlane/actions/set_build_number_repository.rb +1 -1
  32. data/fastlane/lib/fastlane/actions/set_changelog.rb +1 -1
  33. data/fastlane/lib/fastlane/actions/set_github_release.rb +2 -8
  34. data/fastlane/lib/fastlane/actions/set_info_plist_value.rb +1 -1
  35. data/fastlane/lib/fastlane/actions/set_pod_key.rb +3 -4
  36. data/fastlane/lib/fastlane/actions/setup_ci.rb +1 -2
  37. data/fastlane/lib/fastlane/actions/setup_circle_ci.rb +1 -1
  38. data/fastlane/lib/fastlane/actions/setup_jenkins.rb +7 -12
  39. data/fastlane/lib/fastlane/actions/setup_travis.rb +1 -1
  40. data/fastlane/lib/fastlane/actions/sh.rb +2 -4
  41. data/fastlane/lib/fastlane/actions/slack.rb +6 -8
  42. data/fastlane/lib/fastlane/actions/slather.rb +3 -19
  43. data/fastlane/lib/fastlane/actions/sonar.rb +12 -19
  44. data/fastlane/lib/fastlane/actions/sourcedocs.rb +62 -98
  45. data/fastlane/lib/fastlane/actions/splunkmint.rb +2 -2
  46. data/fastlane/lib/fastlane/actions/spm.rb +3 -3
  47. data/fastlane/lib/fastlane/actions/ssh.rb +5 -10
  48. data/fastlane/lib/fastlane/actions/testfairy.rb +0 -1
  49. data/fastlane/lib/fastlane/actions/tryouts.rb +2 -3
  50. data/fastlane/lib/fastlane/actions/twitter.rb +0 -5
  51. data/fastlane/lib/fastlane/actions/unlock_keychain.rb +3 -3
  52. data/fastlane/lib/fastlane/actions/update_app_group_identifiers.rb +1 -4
  53. data/fastlane/lib/fastlane/actions/update_code_signing_settings.rb +8 -15
  54. data/fastlane/lib/fastlane/actions/update_fastlane.rb +2 -2
  55. data/fastlane/lib/fastlane/documentation/docs_generator.rb +1 -1
  56. data/fastlane/lib/fastlane/version.rb +1 -1
  57. data/fastlane/swift/Deliverfile.swift +1 -1
  58. data/fastlane/swift/DeliverfileProtocol.swift +1 -1
  59. data/fastlane/swift/Fastlane.swift +57 -57
  60. data/fastlane/swift/Gymfile.swift +1 -1
  61. data/fastlane/swift/GymfileProtocol.swift +1 -1
  62. data/fastlane/swift/Matchfile.swift +1 -1
  63. data/fastlane/swift/MatchfileProtocol.swift +1 -1
  64. data/fastlane/swift/Precheckfile.swift +1 -1
  65. data/fastlane/swift/PrecheckfileProtocol.swift +1 -1
  66. data/fastlane/swift/Scanfile.swift +1 -1
  67. data/fastlane/swift/ScanfileProtocol.swift +1 -1
  68. data/fastlane/swift/Screengrabfile.swift +1 -1
  69. data/fastlane/swift/ScreengrabfileProtocol.swift +4 -4
  70. data/fastlane/swift/Snapshotfile.swift +1 -1
  71. data/fastlane/swift/SnapshotfileProtocol.swift +1 -1
  72. data/fastlane/swift/formatting/Brewfile.lock.json +11 -11
  73. data/produce/lib/produce/commands_generator.rb +99 -27
  74. data/produce/lib/produce/developer_center.rb +42 -4
  75. data/produce/lib/produce/options.rb +1 -1
  76. data/produce/lib/produce/service.rb +270 -179
  77. data/screengrab/lib/screengrab/android_environment.rb +2 -52
  78. data/screengrab/lib/screengrab/dependency_checker.rb +0 -20
  79. data/screengrab/lib/screengrab/options.rb +5 -2
  80. data/screengrab/lib/screengrab/runner.rb +108 -106
  81. data/snapshot/lib/assets/SnapfileTemplate +2 -1
  82. data/snapshot/lib/assets/SnapfileTemplate.swift +2 -1
  83. data/snapshot/lib/assets/SnapshotHelper.swift +14 -10
  84. data/snapshot/lib/snapshot/reports_generator.rb +3 -1
  85. data/snapshot/lib/snapshot/test_command_generator.rb +16 -2
  86. data/spaceship/lib/spaceship/connect_api/models/bundle_id.rb +8 -0
  87. data/spaceship/lib/spaceship/connect_api/models/bundle_id_capability.rb +58 -17
  88. data/spaceship/lib/spaceship/connect_api/provisioning/provisioning.rb +41 -1
  89. metadata +20 -21
  90. data/fastlane/lib/fastlane/helper/.git_helper.rb.swp +0 -0
@@ -57,7 +57,7 @@ module Fastlane
57
57
  env_name: "CURRENT_BUILD_NUMBER_LIVE",
58
58
  description: "Query the live version (ready-for-sale)",
59
59
  optional: true,
60
- is_string: false,
60
+ type: Boolean,
61
61
  default_value: false),
62
62
  FastlaneCore::ConfigItem.new(key: :app_identifier,
63
63
  short_option: "-a",
@@ -82,7 +82,6 @@ module Fastlane
82
82
  env_name: "APPSTORE_PLATFORM",
83
83
  description: "The platform to use (optional)",
84
84
  optional: true,
85
- is_string: true,
86
85
  default_value: "ios",
87
86
  verify_block: proc do |value|
88
87
  UI.user_error!("The platform can only be ios, osx, or appletvos") unless %('osx', ios', 'appletvos').include?(value)
@@ -91,13 +90,13 @@ module Fastlane
91
90
  env_name: "INITIAL_BUILD_NUMBER",
92
91
  description: "sets the build number to given value if no build is in current train",
93
92
  default_value: 1,
94
- is_string: false),
93
+ skip_type_validation: true), # allow Integer, String
95
94
  FastlaneCore::ConfigItem.new(key: :team_id,
96
95
  short_option: "-k",
97
96
  env_name: "LATEST_TESTFLIGHT_BUILD_NUMBER_TEAM_ID",
98
97
  description: "The ID of your App Store Connect team if you're in multiple teams",
99
98
  optional: true,
100
- is_string: false, # as we also allow integers, which we convert to strings anyway
99
+ skip_type_validation: true, # allow Integer, String
101
100
  code_gen_sensitive: true,
102
101
  default_value: CredentialsManager::AppfileConfig.try_fetch_value(:itc_team_id),
103
102
  default_value_dynamic: true),
@@ -22,21 +22,17 @@ module Fastlane
22
22
  FastlaneCore::ConfigItem.new(key: :project_name,
23
23
  env_name: "FL_LCOV_PROJECT_NAME",
24
24
  description: "Name of the project"),
25
-
26
25
  FastlaneCore::ConfigItem.new(key: :scheme,
27
26
  env_name: "FL_LCOV_SCHEME",
28
27
  description: "Scheme of the project"),
29
-
30
28
  FastlaneCore::ConfigItem.new(key: :arch,
31
29
  env_name: "FL_LCOV_ARCH",
32
30
  description: "The build arch where will search .gcda files",
33
31
  default_value: "i386"),
34
-
35
32
  FastlaneCore::ConfigItem.new(key: :output_dir,
36
33
  env_name: "FL_LCOV_OUTPUT_DIR",
37
34
  description: "The output directory that coverage data will be stored. If not passed will use coverage_reports as default value",
38
35
  optional: true,
39
- is_string: true,
40
36
  default_value: "coverage_reports")
41
37
  ]
42
38
  end
@@ -59,45 +59,39 @@ module Fastlane
59
59
  env_name: "MAILGUN_SUBJECT",
60
60
  description: "Subject of your mail",
61
61
  optional: true,
62
- is_string: true,
63
62
  default_value: "fastlane build"),
64
63
  FastlaneCore::ConfigItem.new(key: :success,
65
- env_name: "MAILGUN_SUCCESS",
66
- description: "Was this build successful? (true/false)",
67
- optional: true,
68
- default_value: true,
69
- is_string: false),
64
+ env_name: "MAILGUN_SUCCESS",
65
+ description: "Was this build successful? (true/false)",
66
+ optional: true,
67
+ default_value: true,
68
+ type: Boolean),
70
69
  FastlaneCore::ConfigItem.new(key: :app_link,
71
- env_name: "MAILGUN_APP_LINK",
72
- description: "App Release link",
73
- optional: false,
74
- is_string: true),
70
+ env_name: "MAILGUN_APP_LINK",
71
+ description: "App Release link",
72
+ optional: false),
75
73
  FastlaneCore::ConfigItem.new(key: :ci_build_link,
76
- env_name: "MAILGUN_CI_BUILD_LINK",
77
- description: "CI Build Link",
78
- optional: true,
79
- is_string: true),
74
+ env_name: "MAILGUN_CI_BUILD_LINK",
75
+ description: "CI Build Link",
76
+ optional: true),
80
77
  FastlaneCore::ConfigItem.new(key: :template_path,
81
- env_name: "MAILGUN_TEMPLATE_PATH",
82
- description: "Mail HTML template",
83
- optional: true,
84
- is_string: true),
78
+ env_name: "MAILGUN_TEMPLATE_PATH",
79
+ description: "Mail HTML template",
80
+ optional: true),
85
81
  FastlaneCore::ConfigItem.new(key: :reply_to,
86
- env_name: "MAILGUN_REPLY_TO",
87
- description: "Mail Reply to",
88
- optional: true,
89
- is_string: true),
82
+ env_name: "MAILGUN_REPLY_TO",
83
+ description: "Mail Reply to",
84
+ optional: true),
90
85
  FastlaneCore::ConfigItem.new(key: :attachment,
91
- env_name: "MAILGUN_ATTACHMENT",
92
- description: "Mail Attachment filenames, either an array or just one string",
93
- optional: true,
94
- is_string: false),
86
+ env_name: "MAILGUN_ATTACHMENT",
87
+ description: "Mail Attachment filenames, either an array or just one string",
88
+ optional: true,
89
+ type: Array),
95
90
  FastlaneCore::ConfigItem.new(key: :custom_placeholders,
96
91
  short_option: "-p",
97
92
  env_name: "MAILGUN_CUSTOM_PLACEHOLDERS",
98
93
  description: "Placeholders for template given as a hash",
99
94
  default_value: {},
100
- is_string: false,
101
95
  type: Hash)
102
96
  ]
103
97
  end
@@ -45,7 +45,7 @@ module Fastlane
45
45
  FastlaneCore::ConfigItem.new(key: :include_commit_body,
46
46
  description: "Include the commit body along with the summary",
47
47
  optional: true,
48
- is_string: false,
48
+ type: Boolean,
49
49
  default_value: true)
50
50
  ]
51
51
  end
@@ -42,29 +42,65 @@ module Fastlane
42
42
 
43
43
  def self.services_mapping
44
44
  {
45
- access_wifi: 'access_wifi',
46
- app_group: 'app_group',
47
- apple_pay: 'apple_pay',
48
- associated_domains: 'associated_domains',
49
- auto_fill_credential: 'auto_fill_credential',
50
- data_protection: 'data_protection',
51
- game_center: 'game_center',
52
- health_kit: 'healthkit',
53
- home_kit: 'homekit',
54
- hotspot: 'hotspot',
55
- icloud: 'icloud',
56
- in_app_purchase: 'in_app_purchase',
57
- inter_app_audio: 'inter_app_audio',
58
- multipath: 'multipath',
59
- network_extension: 'network_extension',
60
- nfc_tag_reading: 'nfc_tag_reading',
61
- personal_vpn: 'personal_vpn',
62
- passbook: 'passbook',
63
- push_notification: 'push_notification',
64
- siri_kit: 'sirikit',
65
- vpn_configuration: 'vpn_conf',
66
- wallet: 'wallet',
67
- wireless_accessory: 'wireless_conf'
45
+ access_wifi: 'access_wifi',
46
+ app_attest: 'app_attest',
47
+ app_group: 'app_group',
48
+ apple_pay: 'apple_pay',
49
+ associated_domains: 'associated_domains',
50
+ auto_fill_credential: 'auto_fill_credential',
51
+ class_kit: 'class_kit',
52
+ icloud: 'icloud',
53
+ custom_network_protocol: 'custom_network_protocol',
54
+ data_protection: 'data_protection',
55
+ extended_virtual_address_space: 'extended_virtual_address_space',
56
+ family_controls: 'family_controls',
57
+ file_provider_testing_mode: 'file_provider_testing_mode',
58
+ fonts: 'fonts',
59
+ game_center: 'game_center',
60
+ health_kit: 'health_kit',
61
+ hls_interstitial_preview: 'hls_interstitial_preview',
62
+ home_kit: 'home_kit',
63
+ hotspot: 'hotspot',
64
+ in_app_purchase: 'in_app_purchase',
65
+ inter_app_audio: 'inter_app_audio',
66
+ low_latency_hls: 'low_latency_hls',
67
+ managed_associated_domains: 'managed_associated_domains',
68
+ maps: 'maps',
69
+ multipath: 'multipath',
70
+ network_extension: 'network_extension',
71
+ nfc_tag_reading: 'nfc_tag_reading',
72
+ personal_vpn: 'personal_vpn',
73
+ passbook: 'passbook',
74
+ push_notification: 'push_notification',
75
+ sign_in_with_apple: 'sign_in_with_apple',
76
+ siri_kit: 'siri_kit',
77
+ system_extension: 'system_extension',
78
+ user_management: 'user_management',
79
+ vpn_configuration: 'vpn_configuration',
80
+ wallet: 'wallet',
81
+ wireless_accessory: 'wireless_accessory',
82
+ car_play_audio_app: 'car_play_audio_app',
83
+ car_play_messaging_app: 'car_play_messaging_app',
84
+ car_play_navigation_app: 'car_play_navigation_app',
85
+ car_play_voip_calling_app: 'car_play_voip_calling_app',
86
+ critical_alerts: 'critical_alerts',
87
+ hotspot_helper: 'hotspot_helper',
88
+ driver_kit: 'driver_kit',
89
+ driver_kit_endpoint_security: 'driver_kit_endpoint_security',
90
+ driver_kit_family_hid_device: 'driver_kit_family_hid_device',
91
+ driver_kit_family_networking: 'driver_kit_family_networking',
92
+ driver_kit_family_serial: 'driver_kit_family_serial',
93
+ driver_kit_hid_event_service: 'driver_kit_hid_event_service',
94
+ driver_kit_transport_hid: 'driver_kit_transport_hid',
95
+ multitasking_camera_access: 'multitasking_camera_access',
96
+ sf_universal_link_api: 'sf_universal_link_api',
97
+ vp9_decoder: 'vp9_decoder',
98
+ music_kit: 'music_kit',
99
+ shazam_kit: 'shazam_kit',
100
+ communication_notifications: 'communication_notifications',
101
+ group_activities: 'group_activities',
102
+ health_kit_estimate_recalibration: 'health_kit_estimate_recalibration',
103
+ time_sensitive_notifications: 'time_sensitive_notifications'
68
104
  }
69
105
  end
70
106
 
@@ -106,7 +142,6 @@ module Fastlane
106
142
  display_in_shell: false,
107
143
  env_name: "PRODUCE_ENABLE_SERVICES",
108
144
  description: "Array with Spaceship App Services (e.g. #{allowed_services_description})",
109
- is_string: false,
110
145
  type: Hash,
111
146
  default_value: {},
112
147
  verify_block: proc do |value|
@@ -143,7 +143,7 @@ module Fastlane
143
143
  FastlaneCore::ConfigItem.new(key: :ssl_verify,
144
144
  env_name: "FL_NEXUS_SSL_VERIFY",
145
145
  description: "Verify SSL",
146
- is_string: false,
146
+ type: Boolean,
147
147
  default_value: true,
148
148
  optional: true),
149
149
  FastlaneCore::ConfigItem.new(key: :nexus_version,
@@ -161,7 +161,7 @@ module Fastlane
161
161
  FastlaneCore::ConfigItem.new(key: :verbose,
162
162
  env_name: "FL_NEXUS_VERBOSE",
163
163
  description: "Make detailed output",
164
- is_string: false,
164
+ type: Boolean,
165
165
  default_value: false,
166
166
  optional: true),
167
167
  FastlaneCore::ConfigItem.new(key: :proxy_username,
@@ -177,7 +177,6 @@ module Fastlane
177
177
  FastlaneCore::ConfigItem.new(key: :package,
178
178
  env_name: 'FL_NOTARIZE_PACKAGE',
179
179
  description: 'Path to package to notarize, e.g. .app bundle or disk image',
180
- is_string: true,
181
180
  verify_block: proc do |value|
182
181
  UI.user_error!("Could not find package at '#{value}'") unless File.exist?(value)
183
182
  end),
@@ -190,8 +189,7 @@ module Fastlane
190
189
  FastlaneCore::ConfigItem.new(key: :bundle_id,
191
190
  env_name: 'FL_NOTARIZE_BUNDLE_ID',
192
191
  description: 'Bundle identifier to uniquely identify the package',
193
- optional: true,
194
- is_string: true),
192
+ optional: true),
195
193
  FastlaneCore::ConfigItem.new(key: :username,
196
194
  env_name: 'FL_NOTARIZE_USERNAME',
197
195
  description: 'Apple ID username',
@@ -221,7 +219,6 @@ module Fastlane
221
219
  description: 'Path to AppStore Connect API key',
222
220
  optional: true,
223
221
  conflicting_options: [:username],
224
- is_string: true,
225
222
  verify_block: proc do |value|
226
223
  UI.user_error!("API Key not found at '#{value}'") unless File.exist?(value)
227
224
  end)
@@ -42,7 +42,7 @@ module Fastlane
42
42
  FastlaneCore::ConfigItem.new(key: :all,
43
43
  env_name: "FL_NUMBER_OF_COMMITS_ALL",
44
44
  optional: true,
45
- is_string: false,
45
+ type: Boolean,
46
46
  description: "Returns number of all commits instead of current branch")
47
47
  ]
48
48
  end
@@ -129,20 +129,21 @@ module Fastlane
129
129
  description: 'The json compilation database, use xctool reporter \'json-compilation-database\'',
130
130
  default_value: 'compile_commands.json',
131
131
  optional: true),
132
- FastlaneCore::ConfigItem.new(key: :select_reqex, # select_reqex is deprecated, remove as soon as possible
132
+ FastlaneCore::ConfigItem.new(key: :select_reqex,
133
133
  env_name: 'FL_OCLINT_SELECT_REQEX',
134
134
  description: 'Select all files matching this reqex',
135
- is_string: false,
135
+ skip_type_validation: true, # allows Regex
136
+ deprecated: "Use `:select_regex` instead",
136
137
  optional: true),
137
138
  FastlaneCore::ConfigItem.new(key: :select_regex,
138
139
  env_name: 'FL_OCLINT_SELECT_REGEX',
139
140
  description: 'Select all files matching this regex',
140
- is_string: false,
141
+ skip_type_validation: true, # allows Regex
141
142
  optional: true),
142
143
  FastlaneCore::ConfigItem.new(key: :exclude_regex,
143
144
  env_name: 'FL_OCLINT_EXCLUDE_REGEX',
144
145
  description: 'Exclude all files matching this regex',
145
- is_string: false,
146
+ skip_type_validation: true, # allows Regex
146
147
  optional: true),
147
148
  FastlaneCore::ConfigItem.new(key: :report_type,
148
149
  env_name: 'FL_OCLINT_REPORT_TYPE',
@@ -156,7 +157,7 @@ module Fastlane
156
157
  FastlaneCore::ConfigItem.new(key: :list_enabled_rules,
157
158
  env_name: "FL_OCLINT_LIST_ENABLED_RULES",
158
159
  description: "List enabled rules",
159
- is_string: false,
160
+ type: Boolean,
160
161
  default_value: false),
161
162
  FastlaneCore::ConfigItem.new(key: :rc,
162
163
  env_name: 'FL_OCLINT_RC',
@@ -165,47 +166,47 @@ module Fastlane
165
166
  FastlaneCore::ConfigItem.new(key: :thresholds,
166
167
  env_name: 'FL_OCLINT_THRESHOLDS',
167
168
  description: 'List of rule thresholds to override the default behavior of rules',
168
- is_string: false,
169
+ type: Array,
169
170
  optional: true),
170
171
  FastlaneCore::ConfigItem.new(key: :enable_rules,
171
172
  env_name: 'FL_OCLINT_ENABLE_RULES',
172
173
  description: 'List of rules to pick explicitly',
173
- is_string: false,
174
+ type: Array,
174
175
  optional: true),
175
176
  FastlaneCore::ConfigItem.new(key: :disable_rules,
176
177
  env_name: 'FL_OCLINT_DISABLE_RULES',
177
178
  description: 'List of rules to disable',
178
- is_string: false,
179
+ type: Array,
179
180
  optional: true),
180
181
  FastlaneCore::ConfigItem.new(key: :max_priority_1,
181
182
  env_name: 'FL_OCLINT_MAX_PRIOTITY_1',
182
183
  description: 'The max allowed number of priority 1 violations',
183
- is_string: false,
184
+ type: Integer,
184
185
  optional: true),
185
186
  FastlaneCore::ConfigItem.new(key: :max_priority_2,
186
187
  env_name: 'FL_OCLINT_MAX_PRIOTITY_2',
187
188
  description: 'The max allowed number of priority 2 violations',
188
- is_string: false,
189
+ type: Integer,
189
190
  optional: true),
190
191
  FastlaneCore::ConfigItem.new(key: :max_priority_3,
191
192
  env_name: 'FL_OCLINT_MAX_PRIOTITY_3',
192
193
  description: 'The max allowed number of priority 3 violations',
193
- is_string: false,
194
+ type: Integer,
194
195
  optional: true),
195
196
  FastlaneCore::ConfigItem.new(key: :enable_clang_static_analyzer,
196
197
  env_name: "FL_OCLINT_ENABLE_CLANG_STATIC_ANALYZER",
197
198
  description: "Enable Clang Static Analyzer, and integrate results into OCLint report",
198
- is_string: false,
199
+ type: Boolean,
199
200
  default_value: false),
200
201
  FastlaneCore::ConfigItem.new(key: :enable_global_analysis,
201
202
  env_name: "FL_OCLINT_ENABLE_GLOBAL_ANALYSIS",
202
203
  description: "Compile every source, and analyze across global contexts (depends on number of source files, could results in high memory load)",
203
- is_string: false,
204
+ type: Boolean,
204
205
  default_value: false),
205
206
  FastlaneCore::ConfigItem.new(key: :allow_duplicated_violations,
206
207
  env_name: "FL_OCLINT_ALLOW_DUPLICATED_VIOLATIONS",
207
208
  description: "Allow duplicated violations in the OCLint report",
208
- is_string: false,
209
+ type: Boolean,
209
210
  default_value: false),
210
211
  FastlaneCore::ConfigItem.new(key: :extra_arg,
211
212
  env_name: 'FL_OCLINT_EXTRA_ARG',
@@ -104,7 +104,6 @@ module Fastlane
104
104
  FastlaneCore::ConfigItem.new(key: :sources,
105
105
  description: "The sources of repos you want the pod spec to lint with, separated by commas",
106
106
  optional: true,
107
- is_string: false,
108
107
  type: Array,
109
108
  verify_block: proc do |value|
110
109
  UI.user_error!("Sources must be an array.") unless value.kind_of?(Array)
@@ -113,7 +112,6 @@ module Fastlane
113
112
  FastlaneCore::ConfigItem.new(key: :swift_version,
114
113
  description: "The SWIFT_VERSION that should be used to lint the spec. This takes precedence over a .swift-version file",
115
114
  optional: true,
116
- is_string: true,
117
115
  env_name: "FL_POD_PUSH_SWIFT_VERSION"),
118
116
  FastlaneCore::ConfigItem.new(key: :skip_import_validation,
119
117
  description: "Lint skips validating that the pod can be imported",
@@ -37,7 +37,6 @@ module Fastlane
37
37
  FastlaneCore::ConfigItem.new(key: :client_id,
38
38
  env_name: 'PODIO_ITEM_CLIENT_ID',
39
39
  description: 'Client ID for Podio API (see https://developers.podio.com/api-key)',
40
- is_string: true,
41
40
  verify_block: proc do |value|
42
41
  UI.user_error!("No Client ID for Podio given, pass using `client_id: 'id'`") unless value && !value.empty?
43
42
  end),
@@ -45,14 +44,12 @@ module Fastlane
45
44
  env_name: 'PODIO_ITEM_CLIENT_SECRET',
46
45
  sensitive: true,
47
46
  description: 'Client secret for Podio API (see https://developers.podio.com/api-key)',
48
- is_string: true,
49
47
  verify_block: proc do |value|
50
48
  UI.user_error!("No Client Secret for Podio given, pass using `client_secret: 'secret'`") unless value && !value.empty?
51
49
  end),
52
50
  FastlaneCore::ConfigItem.new(key: :app_id,
53
51
  env_name: 'PODIO_ITEM_APP_ID',
54
52
  description: 'App ID of the app you intend to authenticate with (see https://developers.podio.com/authentication/app_auth)',
55
- is_string: true,
56
53
  verify_block: proc do |value|
57
54
  UI.user_error!("No App ID for Podio given, pass using `app_id: 'id'`") unless value && !value.empty?
58
55
  end),
@@ -60,26 +57,22 @@ module Fastlane
60
57
  env_name: 'PODIO_ITEM_APP_TOKEN',
61
58
  sensitive: true,
62
59
  description: 'App token of the app you intend to authenticate with (see https://developers.podio.com/authentication/app_auth)',
63
- is_string: true,
64
60
  verify_block: proc do |value|
65
61
  UI.user_error!("No App token for Podio given, pass using `app_token: 'token'`") unless value && !value.empty?
66
62
  end),
67
63
  FastlaneCore::ConfigItem.new(key: :identifying_field,
68
64
  env_name: 'PODIO_ITEM_IDENTIFYING_FIELD',
69
65
  description: 'String specifying the field key used for identification of an item',
70
- is_string: true,
71
66
  verify_block: proc do |value|
72
67
  UI.user_error!("No Identifying field given, pass using `identifying_field: 'field name'`") unless value && !value.empty?
73
68
  end),
74
69
  FastlaneCore::ConfigItem.new(key: :identifying_value,
75
70
  description: 'String uniquely specifying an item within the app',
76
- is_string: true,
77
71
  verify_block: proc do |value|
78
72
  UI.user_error!("No Identifying value given, pass using `identifying_value: 'unique value'`") unless value && !value.empty?
79
73
  end),
80
74
  FastlaneCore::ConfigItem.new(key: :other_fields,
81
75
  description: 'Dictionary of your app fields. Podio supports several field types, see https://developers.podio.com/doc/items',
82
- is_string: false,
83
76
  type: Hash,
84
77
  optional: true)
85
78
  ]
@@ -67,15 +67,14 @@ module Fastlane
67
67
  FastlaneCore::ConfigItem.new(key: :boolean,
68
68
  description: "Is that a boolean question (yes/no)? This will add (y/n) at the end",
69
69
  default_value: false,
70
- is_string: false),
70
+ type: Boolean),
71
71
  FastlaneCore::ConfigItem.new(key: :secure_text,
72
72
  description: "Is that a secure text (yes/no)?",
73
73
  default_value: false,
74
- is_string: false),
74
+ type: Boolean),
75
75
  FastlaneCore::ConfigItem.new(key: :multi_line_end_keyword,
76
76
  description: "Enable multi-line inputs by providing an end text (e.g. 'END') which will stop the user input",
77
- optional: true,
78
- is_string: true)
77
+ optional: true)
79
78
  ]
80
79
  end
81
80