repo stringlengths 5 92 | file_url stringlengths 80 287 | file_path stringlengths 5 197 | content stringlengths 0 32.8k | language stringclasses 1
value | license stringclasses 7
values | commit_sha stringlengths 40 40 | retrieved_at stringdate 2026-01-04 15:37:27 2026-01-04 17:58:21 | truncated bool 2
classes |
|---|---|---|---|---|---|---|---|---|
fastlane/fastlane | https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/lib/fastlane/actions/upload_app_privacy_details_to_app_store.rb | fastlane/lib/fastlane/actions/upload_app_privacy_details_to_app_store.rb | module Fastlane
module Actions
class UploadAppPrivacyDetailsToAppStoreAction < Action
DEFAULT_PATH = Fastlane::Helper.fastlane_enabled_folder_path
DEFAULT_FILE_NAME = "app_privacy_details.json"
def self.run(params)
require 'spaceship'
# Prompts select team if multiple teams and... | ruby | MIT | d1f6eb6228644936997aae1956d8036ea62cd5b4 | 2026-01-04T15:37:27.371479Z | false |
fastlane/fastlane | https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/lib/fastlane/actions/setup_ci.rb | fastlane/lib/fastlane/actions/setup_ci.rb | module Fastlane
module Actions
class SetupCiAction < Action
def self.run(params)
unless should_run?(params)
UI.message("Not running on CI, skipping CI setup")
return
end
case detect_provider(params)
when 'circleci', 'codebuild'
setup_output_path... | ruby | MIT | d1f6eb6228644936997aae1956d8036ea62cd5b4 | 2026-01-04T15:37:27.371479Z | false |
fastlane/fastlane | https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/lib/fastlane/actions/sync_code_signing.rb | fastlane/lib/fastlane/actions/sync_code_signing.rb | module Fastlane
module Actions
module SharedValues
MATCH_PROVISIONING_PROFILE_MAPPING = :MATCH_PROVISIONING_PROFILE_MAPPING
SIGH_PROFILE_TYPE ||= :SIGH_PROFILE_TYPE # originally defined in GetProvisioningProfileAction
end
class SyncCodeSigningAction < Action
def self.run(params)
... | ruby | MIT | d1f6eb6228644936997aae1956d8036ea62cd5b4 | 2026-01-04T15:37:27.371479Z | false |
fastlane/fastlane | https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/lib/fastlane/actions/erb.rb | fastlane/lib/fastlane/actions/erb.rb | module Fastlane
module Actions
class ErbAction < Action
def self.run(params)
template = File.read(params[:template])
trim_mode = params[:trim_mode]
result = Fastlane::ErbTemplateHelper.render(template, params[:placeholders], trim_mode)
File.open(params[:destination], 'w') {... | ruby | MIT | d1f6eb6228644936997aae1956d8036ea62cd5b4 | 2026-01-04T15:37:27.371479Z | false |
fastlane/fastlane | https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/lib/fastlane/actions/actions_helper.rb | fastlane/lib/fastlane/actions/actions_helper.rb | module Fastlane
module Actions
module SharedValues
LANE_NAME = :LANE_NAME
PLATFORM_NAME = :PLATFORM_NAME
ENVIRONMENT = :ENVIRONMENT
# A slightly decorated hash that will store and fetch sensitive data
# but not display it while iterating keys and values
class LaneContextValues... | ruby | MIT | d1f6eb6228644936997aae1956d8036ea62cd5b4 | 2026-01-04T15:37:27.371479Z | false |
fastlane/fastlane | https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/lib/fastlane/actions/validate_play_store_json_key.rb | fastlane/lib/fastlane/actions/validate_play_store_json_key.rb | require 'supply/client'
module Fastlane
module Actions
class ValidatePlayStoreJsonKeyAction < Action
def self.run(params)
FastlaneCore::PrintTable.print_values(
config: params,
mask_keys: [:json_key_data],
title: "Summary for validate_play_store_json_key"
)
... | ruby | MIT | d1f6eb6228644936997aae1956d8036ea62cd5b4 | 2026-01-04T15:37:27.371479Z | false |
fastlane/fastlane | https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/lib/fastlane/actions/pilot.rb | fastlane/lib/fastlane/actions/pilot.rb | module Fastlane
module Actions
require 'fastlane/actions/upload_to_testflight'
class PilotAction < UploadToTestflightAction
#####################################################
# @!group Documentation
#####################################################
def self.description
... | ruby | MIT | d1f6eb6228644936997aae1956d8036ea62cd5b4 | 2026-01-04T15:37:27.371479Z | false |
fastlane/fastlane | https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/lib/fastlane/actions/create_pull_request.rb | fastlane/lib/fastlane/actions/create_pull_request.rb | module Fastlane
module Actions
module SharedValues
CREATE_PULL_REQUEST_HTML_URL = :CREATE_PULL_REQUEST_HTML_URL
CREATE_PULL_REQUEST_NUMBER = :CREATE_PULL_REQUEST_NUMBER
end
class CreatePullRequestAction < Action
def self.run(params)
UI.message("Creating new pull request from '#{... | ruby | MIT | d1f6eb6228644936997aae1956d8036ea62cd5b4 | 2026-01-04T15:37:27.371479Z | false |
fastlane/fastlane | https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/lib/fastlane/actions/download_dsyms.rb | fastlane/lib/fastlane/actions/download_dsyms.rb | module Fastlane
module Actions
module SharedValues
DSYM_PATHS = :DSYM_PATHS
DSYM_LATEST_UPLOADED_DATE = :DSYM_LATEST_UPLOADED_DATE
end
class DownloadDsymsAction < Action
# rubocop:disable Metrics/PerceivedComplexity
def self.run(params)
require 'openssl'
require 'sp... | ruby | MIT | d1f6eb6228644936997aae1956d8036ea62cd5b4 | 2026-01-04T15:37:27.371479Z | false |
fastlane/fastlane | https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/lib/fastlane/actions/ruby_version.rb | fastlane/lib/fastlane/actions/ruby_version.rb | module Fastlane
module Actions
module SharedValues
end
class RubyVersionAction < Action
def self.run(params)
params = nil unless params.kind_of?(Array)
value = (params || []).first
defined_version = Gem::Version.new(value) if value
UI.user_error!("Please pass minimu... | ruby | MIT | d1f6eb6228644936997aae1956d8036ea62cd5b4 | 2026-01-04T15:37:27.371479Z | false |
fastlane/fastlane | https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/lib/fastlane/actions/import.rb | fastlane/lib/fastlane/actions/import.rb | module Fastlane
module Actions
class ImportAction < Action
def self.run(params)
# this is implemented in the fast_file.rb
end
#####################################################
# @!group Documentation
#####################################################
def self.d... | ruby | MIT | d1f6eb6228644936997aae1956d8036ea62cd5b4 | 2026-01-04T15:37:27.371479Z | false |
fastlane/fastlane | https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/lib/fastlane/actions/build_android_app.rb | fastlane/lib/fastlane/actions/build_android_app.rb | module Fastlane
module Actions
require 'fastlane/actions/gradle'
class BuildAndroidAppAction < GradleAction
#####################################################
# @!group Documentation
#####################################################
def self.description
"Alias for the `... | ruby | MIT | d1f6eb6228644936997aae1956d8036ea62cd5b4 | 2026-01-04T15:37:27.371479Z | false |
fastlane/fastlane | https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/lib/fastlane/actions/register_device.rb | fastlane/lib/fastlane/actions/register_device.rb | require 'credentials_manager'
module Fastlane
module Actions
class RegisterDeviceAction < Action
def self.is_supported?(platform)
platform == :ios
end
def self.run(params)
require 'spaceship'
name = params[:name]
platform = params[:platform]
udid = para... | ruby | MIT | d1f6eb6228644936997aae1956d8036ea62cd5b4 | 2026-01-04T15:37:27.371479Z | false |
fastlane/fastlane | https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/lib/fastlane/actions/cloc.rb | fastlane/lib/fastlane/actions/cloc.rb | module Fastlane
module Actions
class ClocAction < Action
def self.run(params)
cloc_binary = params[:binary_path]
exclude_dirs = params[:exclude_dir].nil? ? '' : "--exclude-dir=#{params[:exclude_dir]}"
xml_format = params[:xml]
out_dir = params[:output_directory]
outpu... | ruby | MIT | d1f6eb6228644936997aae1956d8036ea62cd5b4 | 2026-01-04T15:37:27.371479Z | false |
fastlane/fastlane | https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/lib/fastlane/actions/upload_to_app_store.rb | fastlane/lib/fastlane/actions/upload_to_app_store.rb | module Fastlane
module Actions
module SharedValues
end
class UploadToAppStoreAction < Action
def self.run(config)
require 'deliver'
begin
config.load_configuration_file("Deliverfile")
config[:screenshots_path] ||= Actions.lane_context[SharedValues::SNAPSHOT_SCRE... | ruby | MIT | d1f6eb6228644936997aae1956d8036ea62cd5b4 | 2026-01-04T15:37:27.371479Z | false |
fastlane/fastlane | https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/lib/fastlane/actions/setup_jenkins.rb | fastlane/lib/fastlane/actions/setup_jenkins.rb | module Fastlane
module Actions
class SetupJenkinsAction < Action
USED_ENV_NAMES = [
"BACKUP_XCARCHIVE_DESTINATION",
"DERIVED_DATA_PATH",
"FL_CARTHAGE_DERIVED_DATA",
"FL_SLATHER_BUILD_DIRECTORY",
"GYM_BUILD_PATH",
"GYM_CODE_SIGNING_IDENTITY",
"GYM_DERIV... | ruby | MIT | d1f6eb6228644936997aae1956d8036ea62cd5b4 | 2026-01-04T15:37:27.371479Z | false |
fastlane/fastlane | https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/lib/fastlane/actions/frameit.rb | fastlane/lib/fastlane/actions/frameit.rb | module Fastlane
module Actions
require 'fastlane/actions/frame_screenshots'
class FrameitAction < FrameScreenshotsAction
#####################################################
# @!group Documentation
#####################################################
def self.description
"Al... | ruby | MIT | d1f6eb6228644936997aae1956d8036ea62cd5b4 | 2026-01-04T15:37:27.371479Z | false |
fastlane/fastlane | https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/lib/fastlane/actions/clipboard.rb | fastlane/lib/fastlane/actions/clipboard.rb | module Fastlane
module Actions
class ClipboardAction < Action
def self.run(params)
value = params[:value]
truncated_value = value[0..800].gsub(/\s\w+\s*$/, '...')
UI.message("Storing '#{truncated_value}' in the clipboard 🎨")
FastlaneCore::Clipboard.copy(content: value)
... | ruby | MIT | d1f6eb6228644936997aae1956d8036ea62cd5b4 | 2026-01-04T15:37:27.371479Z | false |
fastlane/fastlane | https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/lib/fastlane/actions/commit_github_file.rb | fastlane/lib/fastlane/actions/commit_github_file.rb | module Fastlane
module Actions
module SharedValues
COMMIT_GITHUB_FILE_HTML_LINK = :COMMIT_GITHUB_FILE_HTML_LINK
COMMIT_GITHUB_FILE_SHA = :COMMIT_GITHUB_FILE_SHA
COMMIT_GITHUB_FILE_JSON = :COMMIT_GITHUB_FILE_JSON
end
class CommitGithubFileAction < Action
def self.run(params)
... | ruby | MIT | d1f6eb6228644936997aae1956d8036ea62cd5b4 | 2026-01-04T15:37:27.371479Z | false |
fastlane/fastlane | https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/lib/fastlane/actions/opt_out_usage.rb | fastlane/lib/fastlane/actions/opt_out_usage.rb | module Fastlane
module Actions
class OptOutUsageAction < Action
def self.run(params)
ENV['FASTLANE_OPT_OUT_USAGE'] = "YES"
UI.message("Disabled upload of used actions")
end
def self.description
"This will stop uploading the information which actions were run"
end
... | ruby | MIT | d1f6eb6228644936997aae1956d8036ea62cd5b4 | 2026-01-04T15:37:27.371479Z | false |
fastlane/fastlane | https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/lib/fastlane/actions/trainer.rb | fastlane/lib/fastlane/actions/trainer.rb | module Fastlane
module Actions
class TrainerAction < Action
def self.run(params)
require "trainer"
params[:path] = Actions.lane_context[Actions::SharedValues::SCAN_GENERATED_PLIST_FILE] if Actions.lane_context[Actions::SharedValues::SCAN_GENERATED_PLIST_FILE]
params[:path] ||= Actio... | ruby | MIT | d1f6eb6228644936997aae1956d8036ea62cd5b4 | 2026-01-04T15:37:27.371479Z | false |
fastlane/fastlane | https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/lib/fastlane/actions/fastlane_version.rb | fastlane/lib/fastlane/actions/fastlane_version.rb | require "fastlane/actions/min_fastlane_version"
module Fastlane
module Actions
class FastlaneVersionAction < MinFastlaneVersionAction
#####################################################
# @!group Documentation
#####################################################
def self.description
... | ruby | MIT | d1f6eb6228644936997aae1956d8036ea62cd5b4 | 2026-01-04T15:37:27.371479Z | false |
fastlane/fastlane | https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/lib/fastlane/actions/frame_screenshots.rb | fastlane/lib/fastlane/actions/frame_screenshots.rb | module Fastlane
module Actions
class FrameScreenshotsAction < Action
def self.run(config)
return if Helper.test?
require 'frameit'
UI.message("Framing screenshots at path #{config[:path]} (via frameit)")
Dir.chdir(config[:path]) do
Frameit.config = config
... | ruby | MIT | d1f6eb6228644936997aae1956d8036ea62cd5b4 | 2026-01-04T15:37:27.371479Z | false |
fastlane/fastlane | https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/lib/fastlane/actions/backup_xcarchive.rb | fastlane/lib/fastlane/actions/backup_xcarchive.rb | module Fastlane
module Actions
module SharedValues
BACKUP_XCARCHIVE_FILE = :BACKUP_XCARCHIVE_FILE
end
class BackupXcarchiveAction < Action
require 'fileutils'
def self.run(params)
# Get params
xcarchive = params[:xcarchive]
base_destination = params[:destination... | ruby | MIT | d1f6eb6228644936997aae1956d8036ea62cd5b4 | 2026-01-04T15:37:27.371479Z | false |
fastlane/fastlane | https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/lib/fastlane/actions/opt_out_crash_reporting.rb | fastlane/lib/fastlane/actions/opt_out_crash_reporting.rb | module Fastlane
module Actions
class OptOutCrashReportingAction < Action
def self.run(params)
UI.message("fastlane doesn't have crash reporting anymore, feel free to remove `opt_out_crash_reporting` from your Fastfile")
end
def self.description
"This will prevent reports from be... | ruby | MIT | d1f6eb6228644936997aae1956d8036ea62cd5b4 | 2026-01-04T15:37:27.371479Z | false |
fastlane/fastlane | https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/lib/fastlane/actions/sh.rb | fastlane/lib/fastlane/actions/sh.rb | module Fastlane
module Actions
class ShAction < Action
def self.run(params)
# this is implemented in the sh_helper.rb
end
#####################################################
# @!group Documentation
#####################################################
def self.descr... | ruby | MIT | d1f6eb6228644936997aae1956d8036ea62cd5b4 | 2026-01-04T15:37:27.371479Z | false |
fastlane/fastlane | https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/lib/fastlane/actions/update_url_schemes.rb | fastlane/lib/fastlane/actions/update_url_schemes.rb | require 'plist'
module Fastlane
module Actions
class UpdateUrlSchemesAction < Action
def self.run(params)
path = params[:path]
url_schemes = params[:url_schemes]
update_url_schemes = params[:update_url_schemes]
hash = Plist.parse_xml(path)
# Create CFBundleURLTypes... | ruby | MIT | d1f6eb6228644936997aae1956d8036ea62cd5b4 | 2026-01-04T15:37:27.371479Z | false |
fastlane/fastlane | https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/lib/fastlane/actions/increment_build_number.rb | fastlane/lib/fastlane/actions/increment_build_number.rb | module Fastlane
module Actions
module SharedValues
BUILD_NUMBER ||= :BUILD_NUMBER
end
class IncrementBuildNumberAction < Action
require 'shellwords'
def self.is_supported?(platform)
[:ios, :mac].include?(platform)
end
def self.run(params)
folder = params[:x... | ruby | MIT | d1f6eb6228644936997aae1956d8036ea62cd5b4 | 2026-01-04T15:37:27.371479Z | false |
fastlane/fastlane | https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/lib/fastlane/actions/lcov.rb | fastlane/lib/fastlane/actions/lcov.rb | module Fastlane
module Actions
class LcovAction < Action
def self.is_supported?(platform)
[:ios, :mac].include?(platform)
end
def self.run(options)
unless Helper.test?
UI.user_error!("lcov not installed, please install using `brew install lcov`") if `which lcov`.length... | ruby | MIT | d1f6eb6228644936997aae1956d8036ea62cd5b4 | 2026-01-04T15:37:27.371479Z | false |
fastlane/fastlane | https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/lib/fastlane/actions/download_app_privacy_details_from_app_store.rb | fastlane/lib/fastlane/actions/download_app_privacy_details_from_app_store.rb | module Fastlane
module Actions
class DownloadAppPrivacyDetailsFromAppStoreAction < Action
DEFAULT_PATH = Fastlane::Helper.fastlane_enabled_folder_path
DEFAULT_FILE_NAME = "app_privacy_details.json"
def self.run(params)
require 'spaceship'
# Prompts select team if multiple teams... | ruby | MIT | d1f6eb6228644936997aae1956d8036ea62cd5b4 | 2026-01-04T15:37:27.371479Z | false |
fastlane/fastlane | https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/lib/fastlane/actions/number_of_commits.rb | fastlane/lib/fastlane/actions/number_of_commits.rb | module Fastlane
module Actions
class NumberOfCommitsAction < Action
def self.is_git?
Actions.sh('git rev-parse HEAD')
return true
rescue
return false
end
def self.run(params)
if is_git?
if params[:all]
command = 'git rev-list --all --c... | ruby | MIT | d1f6eb6228644936997aae1956d8036ea62cd5b4 | 2026-01-04T15:37:27.371479Z | false |
fastlane/fastlane | https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/lib/fastlane/actions/jira.rb | fastlane/lib/fastlane/actions/jira.rb | module Fastlane
module Actions
module SharedValues
JIRA_JSON = :JIRA_JSON
end
class JiraAction < Action
def self.run(params)
Actions.verify_gem!('jira-ruby')
require 'jira-ruby'
site = params[:url]
auth_type = :basic
context_path = params[:c... | ruby | MIT | d1f6eb6228644936997aae1956d8036ea62cd5b4 | 2026-01-04T15:37:27.371479Z | false |
fastlane/fastlane | https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/lib/fastlane/actions/adb_devices.rb | fastlane/lib/fastlane/actions/adb_devices.rb | module Fastlane
module Actions
module SharedValues
end
class AdbDevicesAction < Action
def self.run(params)
adb = Helper::AdbHelper.new(adb_path: params[:adb_path])
result = adb.load_all_devices
return result
end
#################################################... | ruby | MIT | d1f6eb6228644936997aae1956d8036ea62cd5b4 | 2026-01-04T15:37:27.371479Z | false |
fastlane/fastlane | https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/lib/fastlane/actions/modify_services.rb | fastlane/lib/fastlane/actions/modify_services.rb | module Fastlane
module Actions
class ModifyServicesAction < Action
def self.run(params)
require 'produce'
Produce.config = params
Dir.chdir(FastlaneCore::FastlaneFolder.path || Dir.pwd) do
require 'produce/service'
services = params[:services]
enabled... | ruby | MIT | d1f6eb6228644936997aae1956d8036ea62cd5b4 | 2026-01-04T15:37:27.371479Z | false |
fastlane/fastlane | https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/lib/fastlane/actions/notification.rb | fastlane/lib/fastlane/actions/notification.rb | module Fastlane
module Actions
class NotificationAction < Action
def self.run(params)
require 'terminal-notifier'
options = params.values
# :message is non-optional
message = options.delete(:message)
# remove nil keys, since `notify` below does not ignore them and in... | ruby | MIT | d1f6eb6228644936997aae1956d8036ea62cd5b4 | 2026-01-04T15:37:27.371479Z | false |
fastlane/fastlane | https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/lib/fastlane/actions/update_app_identifier.rb | fastlane/lib/fastlane/actions/update_app_identifier.rb | module Fastlane
module Actions
class UpdateAppIdentifierAction < Action
def self.run(params)
require 'plist'
require 'xcodeproj'
info_plist_key = 'INFOPLIST_FILE'
identifier_key = 'PRODUCT_BUNDLE_IDENTIFIER'
# Read existing plist file
info_plist_path = resol... | ruby | MIT | d1f6eb6228644936997aae1956d8036ea62cd5b4 | 2026-01-04T15:37:27.371479Z | false |
fastlane/fastlane | https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/lib/fastlane/actions/chatwork.rb | fastlane/lib/fastlane/actions/chatwork.rb | module Fastlane
module Actions
module SharedValues
end
class ChatworkAction < Action
def self.run(options)
require 'net/http'
require 'uri'
emoticon = (options[:success] ? '(dance)' : ';(')
uri = URI.parse("https://api.chatwork.com/v2/rooms/#{options[:roomid]}/mess... | ruby | MIT | d1f6eb6228644936997aae1956d8036ea62cd5b4 | 2026-01-04T15:37:27.371479Z | false |
fastlane/fastlane | https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/lib/fastlane/actions/install_xcode_plugin.rb | fastlane/lib/fastlane/actions/install_xcode_plugin.rb | module Fastlane
module Actions
class InstallXcodePluginAction < Action
def self.run(params)
require 'fileutils'
require 'tmpdir'
if params[:github]
base_api_url = params[:github].sub('https://github.com', 'https://api.github.com/repos')
GithubApiAction.run(
... | ruby | MIT | d1f6eb6228644936997aae1956d8036ea62cd5b4 | 2026-01-04T15:37:27.371479Z | false |
fastlane/fastlane | https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/lib/fastlane/actions/carthage.rb | fastlane/lib/fastlane/actions/carthage.rb | module Fastlane
module Actions
class CarthageAction < Action
# rubocop:disable Metrics/PerceivedComplexity
def self.run(params)
validate(params)
cmd = [params[:executable]]
command_name = params[:command]
cmd << command_name
if command_name == "archive" && par... | ruby | MIT | d1f6eb6228644936997aae1956d8036ea62cd5b4 | 2026-01-04T15:37:27.371479Z | false |
fastlane/fastlane | https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/lib/fastlane/actions/git_add.rb | fastlane/lib/fastlane/actions/git_add.rb | module Fastlane
module Actions
class GitAddAction < Action
def self.run(params)
should_escape = params[:shell_escape]
if params[:pathspec]
paths = params[:pathspec]
success_message = "Successfully added from \"#{paths}\" 💾."
elsif params[:path]
paths =... | ruby | MIT | d1f6eb6228644936997aae1956d8036ea62cd5b4 | 2026-01-04T15:37:27.371479Z | false |
fastlane/fastlane | https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/lib/fastlane/actions/recreate_schemes.rb | fastlane/lib/fastlane/actions/recreate_schemes.rb | module Fastlane
module Actions
class RecreateSchemesAction < Action
def self.run(params)
require 'xcodeproj'
UI.message("Recreate schemes for project: #{params[:project]}")
project = Xcodeproj::Project.open(params[:project])
project.recreate_user_schemes
end
de... | ruby | MIT | d1f6eb6228644936997aae1956d8036ea62cd5b4 | 2026-01-04T15:37:27.371479Z | false |
fastlane/fastlane | https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/lib/fastlane/actions/environment_variable.rb | fastlane/lib/fastlane/actions/environment_variable.rb | module Fastlane
module Actions
class EnvironmentVariableAction < Action
def self.run(params)
values_to_set = params[:set]
value_to_get = params[:get]
value_to_remove = params[:remove]
# clear out variables that were removed
ENV[value_to_remove] = nil unless value_to_... | ruby | MIT | d1f6eb6228644936997aae1956d8036ea62cd5b4 | 2026-01-04T15:37:27.371479Z | false |
fastlane/fastlane | https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/lib/fastlane/actions/clear_derived_data.rb | fastlane/lib/fastlane/actions/clear_derived_data.rb | require 'fastlane_core/core_ext/cfpropertylist'
module Fastlane
module Actions
class ClearDerivedDataAction < Action
def self.run(options)
path = File.expand_path(options[:derived_data_path])
UI.message("Derived Data path located at: #{path}")
FileUtils.rm_rf(path) if File.directory... | ruby | MIT | d1f6eb6228644936997aae1956d8036ea62cd5b4 | 2026-01-04T15:37:27.371479Z | false |
fastlane/fastlane | https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/lib/fastlane/actions/set_info_plist_value.rb | fastlane/lib/fastlane/actions/set_info_plist_value.rb | module Fastlane
module Actions
module SharedValues
end
class SetInfoPlistValueAction < Action
def self.run(params)
require "plist"
begin
path = File.expand_path(params[:path])
plist = Plist.parse_xml(path)
if params[:subkey]
if plist[params... | ruby | MIT | d1f6eb6228644936997aae1956d8036ea62cd5b4 | 2026-01-04T15:37:27.371479Z | false |
fastlane/fastlane | https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/lib/fastlane/actions/set_changelog.rb | fastlane/lib/fastlane/actions/set_changelog.rb | module Fastlane
module Actions
class SetChangelogAction < Action
def self.run(params)
require 'spaceship'
# Team selection passed though FASTLANE_ITC_TEAM_ID and FASTLANE_ITC_TEAM_NAME environment variables
# Prompts select team if multiple teams and none specified
if (api_t... | ruby | MIT | d1f6eb6228644936997aae1956d8036ea62cd5b4 | 2026-01-04T15:37:27.371479Z | false |
fastlane/fastlane | https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/lib/fastlane/actions/build_and_upload_to_appetize.rb | fastlane/lib/fastlane/actions/build_and_upload_to_appetize.rb | module Fastlane
module Actions
class BuildAndUploadToAppetizeAction < Action
def self.run(params)
tmp_path = "/tmp/fastlane_build"
xcodebuild_configs = params[:xcodebuild]
xcodebuild_configs[:sdk] = "iphonesimulator"
xcodebuild_configs[:derivedDataPath] = tmp_path
xc... | ruby | MIT | d1f6eb6228644936997aae1956d8036ea62cd5b4 | 2026-01-04T15:37:27.371479Z | false |
fastlane/fastlane | https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/lib/fastlane/actions/cert.rb | fastlane/lib/fastlane/actions/cert.rb | module Fastlane
module Actions
require 'fastlane/actions/get_certificates'
class CertAction < GetCertificatesAction
#####################################################
# @!group Documentation
#####################################################
def self.description
"Alias f... | ruby | MIT | d1f6eb6228644936997aae1956d8036ea62cd5b4 | 2026-01-04T15:37:27.371479Z | false |
fastlane/fastlane | https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/lib/fastlane/actions/get_certificates.rb | fastlane/lib/fastlane/actions/get_certificates.rb | module Fastlane
module Actions
module SharedValues
CERT_FILE_PATH = :CERT_FILE_PATH
CERT_CERTIFICATE_ID = :CERT_CERTIFICATE_ID
end
class GetCertificatesAction < Action
def self.run(params)
require 'cert'
return if Helper.test?
begin
# Only set :api_ke... | ruby | MIT | d1f6eb6228644936997aae1956d8036ea62cd5b4 | 2026-01-04T15:37:27.371479Z | false |
fastlane/fastlane | https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/lib/fastlane/actions/create_keychain.rb | fastlane/lib/fastlane/actions/create_keychain.rb | require 'shellwords'
module Fastlane
module Actions
module SharedValues
ORIGINAL_DEFAULT_KEYCHAIN = :ORIGINAL_DEFAULT_KEYCHAIN
KEYCHAIN_PATH = :KEYCHAIN_PATH
end
class CreateKeychainAction < Action
def self.run(params)
escaped_password = params[:password].shellescape
i... | ruby | MIT | d1f6eb6228644936997aae1956d8036ea62cd5b4 | 2026-01-04T15:37:27.371479Z | false |
fastlane/fastlane | https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/lib/fastlane/actions/update_info_plist.rb | fastlane/lib/fastlane/actions/update_info_plist.rb | module Fastlane
module Actions
module SharedValues
end
class UpdateInfoPlistAction < Action
def self.run(params)
# Check if parameters are set
if params[:app_identifier] || params[:display_name] || params[:block]
if (params[:app_identifier] || params[:display_name]) && par... | ruby | MIT | d1f6eb6228644936997aae1956d8036ea62cd5b4 | 2026-01-04T15:37:27.371479Z | false |
fastlane/fastlane | https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/lib/fastlane/actions/get_managed_play_store_publishing_rights.rb | fastlane/lib/fastlane/actions/get_managed_play_store_publishing_rights.rb | module Fastlane
module Actions
class GetManagedPlayStorePublishingRightsAction < Action
def self.run(params)
unless params[:json_key] || params[:json_key_data]
UI.important("To not be asked about this value, you can specify it using 'json_key'")
json_key_path = UI.input("The serv... | ruby | MIT | d1f6eb6228644936997aae1956d8036ea62cd5b4 | 2026-01-04T15:37:27.371479Z | false |
fastlane/fastlane | https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/lib/fastlane/actions/add_extra_platforms.rb | fastlane/lib/fastlane/actions/add_extra_platforms.rb | module Fastlane
module Actions
class AddExtraPlatformsAction < Action
def self.run(params)
UI.verbose("Before injecting extra platforms: #{Fastlane::SupportedPlatforms.all}")
Fastlane::SupportedPlatforms.extra = params[:platforms]
UI.verbose("After injecting extra platforms (#{params... | ruby | MIT | d1f6eb6228644936997aae1956d8036ea62cd5b4 | 2026-01-04T15:37:27.371479Z | false |
fastlane/fastlane | https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/lib/fastlane/actions/danger.rb | fastlane/lib/fastlane/actions/danger.rb | module Fastlane
module Actions
class DangerAction < Action
def self.run(params)
Actions.verify_gem!('danger')
cmd = []
cmd << 'bundle exec' if params[:use_bundle_exec] && shell_out_should_use_bundle_exec?
cmd << 'danger'
cmd << '--verbose' if params[:verbose]
... | ruby | MIT | d1f6eb6228644936997aae1956d8036ea62cd5b4 | 2026-01-04T15:37:27.371479Z | false |
fastlane/fastlane | https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/lib/fastlane/plugins/plugins.rb | fastlane/lib/fastlane/plugins/plugins.rb | require 'fileutils'
require 'erb'
require 'find'
require 'fastlane/plugins/plugin_info'
require 'fastlane/plugins/plugin_generator'
require 'fastlane/plugins/plugin_generator_ui'
require 'fastlane/plugins/plugin_info_collector'
require 'fastlane/plugins/plugin_manager'
require 'fastlane/plugins/plugin_search'
require ... | ruby | MIT | d1f6eb6228644936997aae1956d8036ea62cd5b4 | 2026-01-04T15:37:27.371479Z | false |
fastlane/fastlane | https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/lib/fastlane/plugins/plugin_info.rb | fastlane/lib/fastlane/plugins/plugin_info.rb | module Fastlane
class PluginInfo
attr_reader :plugin_name
attr_reader :author
attr_reader :gem_name
attr_reader :email
attr_reader :summary
attr_reader :details
def initialize(plugin_name, author, email, summary, details)
@plugin_name = plugin_name
@author = author
@emai... | ruby | MIT | d1f6eb6228644936997aae1956d8036ea62cd5b4 | 2026-01-04T15:37:27.371479Z | false |
fastlane/fastlane | https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/lib/fastlane/plugins/plugin_manager.rb | fastlane/lib/fastlane/plugins/plugin_manager.rb | require "fastlane/cli_tools_distributor"
module Fastlane
class PluginManager
require "bundler"
PLUGINFILE_NAME = "Pluginfile".freeze
DEFAULT_GEMFILE_PATH = "Gemfile".freeze
AUTOGENERATED_LINE = "# Autogenerated by fastlane\n#\n# Ensure this file is checked in to source control!\n\n"
GEMFILE_SOUR... | ruby | MIT | d1f6eb6228644936997aae1956d8036ea62cd5b4 | 2026-01-04T15:37:27.371479Z | false |
fastlane/fastlane | https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/lib/fastlane/plugins/plugin_generator.rb | fastlane/lib/fastlane/plugins/plugin_generator.rb | module Fastlane
# Generates a sample plugin by traversing a template directory structure
# and reproducing it in a destination location. At the same time, it runs
# variable replacements on directory names, file names, and runs ERB
# templating on file contents whose names end with '.erb'.
#
# Directory and... | ruby | MIT | d1f6eb6228644936997aae1956d8036ea62cd5b4 | 2026-01-04T15:37:27.371479Z | false |
fastlane/fastlane | https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/lib/fastlane/plugins/plugin_update_manager.rb | fastlane/lib/fastlane/plugins/plugin_update_manager.rb | module Fastlane
# Alert the user when updates for plugins are available
class PluginUpdateManager
def self.start_looking_for_updates
return if FastlaneCore::Env.truthy?("FASTLANE_SKIP_UPDATE_CHECK")
Thread.new do
self.plugin_references.each do |plugin_name, current_plugin|
begin
... | ruby | MIT | d1f6eb6228644936997aae1956d8036ea62cd5b4 | 2026-01-04T15:37:27.371479Z | false |
fastlane/fastlane | https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/lib/fastlane/plugins/plugin_info_collector.rb | fastlane/lib/fastlane/plugins/plugin_info_collector.rb | module Fastlane
class PluginInfoCollector
def initialize(ui = PluginGeneratorUI.new)
@ui = ui
end
def collect_info(initial_name = nil)
plugin_name = collect_plugin_name(initial_name)
author = collect_author(detect_author)
email = collect_email(detect_email)
summary = collect... | ruby | MIT | d1f6eb6228644936997aae1956d8036ea62cd5b4 | 2026-01-04T15:37:27.371479Z | false |
fastlane/fastlane | https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/lib/fastlane/plugins/plugin_search.rb | fastlane/lib/fastlane/plugins/plugin_search.rb | module Fastlane
class PluginSearch
require 'terminal-table'
require 'word_wrap'
def self.print_plugins(search_query: nil)
if search_query
UI.message("Looking for fastlane plugins containing '#{search_query}'...")
else
UI.message("Listing all available fastlane plugins")
... | ruby | MIT | d1f6eb6228644936997aae1956d8036ea62cd5b4 | 2026-01-04T15:37:27.371479Z | false |
fastlane/fastlane | https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/lib/fastlane/plugins/plugin_generator_ui.rb | fastlane/lib/fastlane/plugins/plugin_generator_ui.rb | module Fastlane
class PluginGeneratorUI
def success(text)
puts(text.green)
end
def message(text)
puts(text)
end
def input(text)
UI.input(text)
end
def confirm(text)
UI.confirm(text)
end
end
end
| ruby | MIT | d1f6eb6228644936997aae1956d8036ea62cd5b4 | 2026-01-04T15:37:27.371479Z | false |
fastlane/fastlane | https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/lib/fastlane/plugins/plugin_fetcher.rb | fastlane/lib/fastlane/plugins/plugin_fetcher.rb | module Fastlane
# Use the RubyGems API to get all fastlane plugins
class PluginFetcher
require 'fastlane_core'
require 'fastlane/plugins/plugin_manager'
# Returns an array of FastlanePlugin objects
def self.fetch_gems(search_query: nil)
require 'json'
require 'open-uri'
page = 1
... | ruby | MIT | d1f6eb6228644936997aae1956d8036ea62cd5b4 | 2026-01-04T15:37:27.371479Z | false |
fastlane/fastlane | https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/lib/fastlane/helper/xcodes_helper.rb | fastlane/lib/fastlane/helper/xcodes_helper.rb | module Fastlane
module Helper
class XcodesHelper
def self.read_xcode_version_file
xcode_version_paths = Dir.glob(".xcode-version")
if xcode_version_paths.first
return File.read(xcode_version_paths.first).strip
end
return nil
end
def self.find_xcodes_b... | ruby | MIT | d1f6eb6228644936997aae1956d8036ea62cd5b4 | 2026-01-04T15:37:27.371479Z | false |
fastlane/fastlane | https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/lib/fastlane/helper/podspec_helper.rb | fastlane/lib/fastlane/helper/podspec_helper.rb | module Fastlane
module Helper
class PodspecHelper
attr_accessor :path
attr_accessor :podspec_content
attr_accessor :version_regex
attr_accessor :version_match
attr_accessor :version_value
def initialize(path = nil, require_variable_prefix = true)
version_var_name = 've... | ruby | MIT | d1f6eb6228644936997aae1956d8036ea62cd5b4 | 2026-01-04T15:37:27.371479Z | false |
fastlane/fastlane | https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/lib/fastlane/helper/gradle_helper.rb | fastlane/lib/fastlane/helper/gradle_helper.rb | module Fastlane
module Helper
class GradleTask
attr_accessor :title
attr_accessor :description
def initialize(title: nil, description: nil)
self.title = title
self.description = description
end
end
class GradleHelper
# Path to the gradle script
attr_a... | ruby | MIT | d1f6eb6228644936997aae1956d8036ea62cd5b4 | 2026-01-04T15:37:27.371479Z | false |
fastlane/fastlane | https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/lib/fastlane/helper/xcodeproj_helper.rb | fastlane/lib/fastlane/helper/xcodeproj_helper.rb | module Fastlane
module Helper
class XcodeprojHelper
DEPENDENCY_MANAGER_DIRS = ['Pods', 'Carthage'].freeze
def self.find(dir)
xcodeproj_paths = Dir[File.expand_path(File.join(dir, '**/*.xcodeproj'))]
xcodeproj_paths.reject { |path| %r{/(#{DEPENDENCY_MANAGER_DIRS.join('|')})/.*.xcodepro... | ruby | MIT | d1f6eb6228644936997aae1956d8036ea62cd5b4 | 2026-01-04T15:37:27.371479Z | false |
fastlane/fastlane | https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/lib/fastlane/helper/lane_helper.rb | fastlane/lib/fastlane/helper/lane_helper.rb | module Fastlane
module Helper
class LaneHelper
def self.current_platform
return Fastlane::Actions.lane_context[Fastlane::Actions::SharedValues::PLATFORM_NAME]
end
def self.current_lane
return Fastlane::Actions.lane_context[Fastlane::Actions::SharedValues::LANE_NAME]
end
... | ruby | MIT | d1f6eb6228644936997aae1956d8036ea62cd5b4 | 2026-01-04T15:37:27.371479Z | false |
fastlane/fastlane | https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/lib/fastlane/helper/s3_client_helper.rb | fastlane/lib/fastlane/helper/s3_client_helper.rb | require 'aws-sdk-s3'
module Fastlane
module Helper
class S3ClientHelper
attr_reader :access_key
attr_reader :region
def initialize(access_key: nil, secret_access_key: nil, region: nil, s3_client: nil)
@access_key = access_key
@secret_access_key = secret_access_key
@regi... | ruby | MIT | d1f6eb6228644936997aae1956d8036ea62cd5b4 | 2026-01-04T15:37:27.371479Z | false |
fastlane/fastlane | https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/lib/fastlane/helper/git_helper.rb | fastlane/lib/fastlane/helper/git_helper.rb | module Fastlane
module Actions
GIT_MERGE_COMMIT_FILTERING_OPTIONS = [:include_merges, :exclude_merges, :only_include_merges].freeze
module SharedValues
GIT_BRANCH_ENV_VARS = %w(GIT_BRANCH BRANCH_NAME TRAVIS_BRANCH BITRISE_GIT_BRANCH CI_BUILD_REF_NAME CI_COMMIT_REF_NAME WERCKER_GIT_BRANCH BUILDKITE_BRAN... | ruby | MIT | d1f6eb6228644936997aae1956d8036ea62cd5b4 | 2026-01-04T15:37:27.371479Z | false |
fastlane/fastlane | https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/lib/fastlane/helper/xcversion_helper.rb | fastlane/lib/fastlane/helper/xcversion_helper.rb | module Fastlane
module Helper
class XcversionHelper
def self.find_xcode(req)
req = Gem::Requirement.new(req.to_s)
require 'xcode/install'
installer = XcodeInstall::Installer.new
installed = installer.installed_versions.reverse
installed.detect do |xcode|
re... | ruby | MIT | d1f6eb6228644936997aae1956d8036ea62cd5b4 | 2026-01-04T15:37:27.371479Z | false |
fastlane/fastlane | https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/lib/fastlane/helper/adb_helper.rb | fastlane/lib/fastlane/helper/adb_helper.rb | module Fastlane
module Helper
class AdbDevice
attr_accessor :serial
def initialize(serial: nil)
self.serial = serial
end
end
class AdbHelper
# Path to the adb binary
attr_accessor :adb_path
# Path to the adb binary
attr_accessor :adb_host
# All a... | ruby | MIT | d1f6eb6228644936997aae1956d8036ea62cd5b4 | 2026-01-04T15:37:27.371479Z | false |
fastlane/fastlane | https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/lib/fastlane/helper/xcodebuild_formatter_helper.rb | fastlane/lib/fastlane/helper/xcodebuild_formatter_helper.rb | module Fastlane
module Helper
class XcodebuildFormatterHelper
def self.xcbeautify_installed?
return `which xcbeautify`.include?("xcbeautify")
end
end
end
end
| ruby | MIT | d1f6eb6228644936997aae1956d8036ea62cd5b4 | 2026-01-04T15:37:27.371479Z | false |
fastlane/fastlane | https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/lib/fastlane/helper/sh_helper.rb | fastlane/lib/fastlane/helper/sh_helper.rb | require "open3"
module Fastlane
module Actions
# Execute a shell command
# This method will output the string and execute it
# Just an alias for sh_no_action
# When running this in tests, it will return the actual command instead of executing it
# @param log [Boolean] should fastlane print out th... | ruby | MIT | d1f6eb6228644936997aae1956d8036ea62cd5b4 | 2026-01-04T15:37:27.371479Z | false |
fastlane/fastlane | https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/lib/fastlane/helper/dotenv_helper.rb | fastlane/lib/fastlane/helper/dotenv_helper.rb | module Fastlane
module Helper
class DotenvHelper
# @param env_cl_param [String] an optional list of dotenv environment names separated by commas, without space
def self.load_dot_env(env_cl_param)
base_path = find_dotenv_directory
return unless base_path
load_dot_envs_from(env... | ruby | MIT | d1f6eb6228644936997aae1956d8036ea62cd5b4 | 2026-01-04T15:37:27.371479Z | false |
fastlane/fastlane | https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/lib/fastlane/helper/gem_helper.rb | fastlane/lib/fastlane/helper/gem_helper.rb | module Fastlane
module Actions
# will make sure a gem is installed. If it's not an appropriate error message is shown
# this will *not* 'require' the gem
def self.verify_gem!(gem_name)
begin
FastlaneRequire.install_gem_if_needed(gem_name: gem_name, require_gem: false)
# We don't impo... | ruby | MIT | d1f6eb6228644936997aae1956d8036ea62cd5b4 | 2026-01-04T15:37:27.371479Z | false |
fastlane/fastlane | https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/lib/fastlane/setup/setup.rb | fastlane/lib/fastlane/setup/setup.rb | require "tty-spinner"
module Fastlane
class Setup
# Is the current `setup` using a swift based configuration file
attr_accessor :is_swift_fastfile
# :ios or :android
attr_accessor :platform
# Path to the xcodeproj or xcworkspace
attr_accessor :project_path
# Used for :manual sometimes
... | ruby | MIT | d1f6eb6228644936997aae1956d8036ea62cd5b4 | 2026-01-04T15:37:27.371479Z | false |
fastlane/fastlane | https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/lib/fastlane/setup/setup_ios.rb | fastlane/lib/fastlane/setup/setup_ios.rb | module Fastlane
# rubocop:disable Metrics/ClassLength
class SetupIos < Setup
# Reference to the iOS project `project.rb`
attr_accessor :project
# App Identifier of the current app
attr_accessor :app_identifier
# Scheme of the Xcode project
attr_accessor :scheme
# If the current setup ... | ruby | MIT | d1f6eb6228644936997aae1956d8036ea62cd5b4 | 2026-01-04T15:37:27.371479Z | false |
fastlane/fastlane | https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/lib/fastlane/setup/setup_android.rb | fastlane/lib/fastlane/setup/setup_android.rb | module Fastlane
class SetupAndroid < Setup
attr_accessor :json_key_file
attr_accessor :package_name
def setup_android
self.platform = :android
self.is_swift_fastfile = false
welcome_to_fastlane
self.fastfile_content = fastfile_template_content
self.appfile_content = appfil... | ruby | MIT | d1f6eb6228644936997aae1956d8036ea62cd5b4 | 2026-01-04T15:37:27.371479Z | false |
fastlane/fastlane | https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/lib/fastlane/server/action_command_return.rb | fastlane/lib/fastlane/server/action_command_return.rb | module Fastlane
# Encapsulates the result and description of a return object returned by an executed fastlane action
class ActionCommandReturn
attr_reader :return_value
attr_reader :return_value_type
attr_reader :closure_argument_value
def initialize(return_value: nil, return_value_type: nil, closu... | ruby | MIT | d1f6eb6228644936997aae1956d8036ea62cd5b4 | 2026-01-04T15:37:27.371479Z | false |
fastlane/fastlane | https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/lib/fastlane/server/command_executor.rb | fastlane/lib/fastlane/server/command_executor.rb | module Fastlane
class CommandExecutor
def execute(command: nil, target_object: nil)
not_implemented(__method__)
end
end
end
| ruby | MIT | d1f6eb6228644936997aae1956d8036ea62cd5b4 | 2026-01-04T15:37:27.371479Z | false |
fastlane/fastlane | https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/lib/fastlane/server/action_command.rb | fastlane/lib/fastlane/server/action_command.rb | module Fastlane
# Represents an argument to the ActionCommand
class Argument
def initialize(json: nil)
@name = json['name']
@value = json['value']
@value_type = json['value_type']
end
def is_named
return @name.to_s.length > 0
end
def inspect
if is_named
re... | ruby | MIT | d1f6eb6228644936997aae1956d8036ea62cd5b4 | 2026-01-04T15:37:27.371479Z | false |
fastlane/fastlane | https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/lib/fastlane/server/socket_server_action_command_executor.rb | fastlane/lib/fastlane/server/socket_server_action_command_executor.rb | require 'fastlane/server/action_command_return.rb'
require 'fastlane/server/command_parser.rb'
require 'fastlane/server/command_executor.rb'
module Fastlane
# Handles receiving commands from the socket server, finding the Action to be invoked,
# invoking it, and returning any return values
class SocketServerActi... | ruby | MIT | d1f6eb6228644936997aae1956d8036ea62cd5b4 | 2026-01-04T15:37:27.371479Z | false |
fastlane/fastlane | https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/lib/fastlane/server/socket_server.rb | fastlane/lib/fastlane/server/socket_server.rb | require 'fastlane/server/command_executor.rb'
require 'fastlane/server/command_parser.rb'
require 'fastlane/server/json_return_value_processor.rb'
require 'socket'
require 'json'
module Fastlane
class SocketServer
COMMAND_EXECUTION_STATE = {
ready: :ready,
already_shutdown: :already_shutdown,
e... | ruby | MIT | d1f6eb6228644936997aae1956d8036ea62cd5b4 | 2026-01-04T15:37:27.371479Z | false |
fastlane/fastlane | https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/lib/fastlane/server/json_return_value_processor.rb | fastlane/lib/fastlane/server/json_return_value_processor.rb | require 'json'
module Fastlane
class JSONReturnValueProcessor
def prepare_object(return_value: nil, return_value_type: nil)
case return_value_type
when nil
UI.verbose("return_value_type is nil value: #{return_value}")
return process_value_as_string(return_value: return_value)
wh... | ruby | MIT | d1f6eb6228644936997aae1956d8036ea62cd5b4 | 2026-01-04T15:37:27.371479Z | false |
fastlane/fastlane | https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/lib/fastlane/server/command_parser.rb | fastlane/lib/fastlane/server/command_parser.rb | require 'fastlane/server/action_command.rb'
require 'fastlane/server/control_command.rb'
require 'json'
module Fastlane
class CommandParser
def self.parse(json: nil)
if json.strip == "done"
return intercept_old_done_command
end
command_json = JSON.parse(json)
command_type_json = ... | ruby | MIT | d1f6eb6228644936997aae1956d8036ea62cd5b4 | 2026-01-04T15:37:27.371479Z | false |
fastlane/fastlane | https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/lib/fastlane/server/control_command.rb | fastlane/lib/fastlane/server/control_command.rb | module Fastlane
# Represents a command that is meant to signal the server to do something on the client's behalf
# Examples are: :cancelFastlaneRune, and :done
class ControlCommand
attr_reader :command
attr_reader :user_message
attr_reader :reason
def initialize(json: nil)
@command = json['... | ruby | MIT | d1f6eb6228644936997aae1956d8036ea62cd5b4 | 2026-01-04T15:37:27.371479Z | false |
fastlane/fastlane | https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/lib/fastlane/documentation/actions_list.rb | fastlane/lib/fastlane/documentation/actions_list.rb | module Fastlane
class ActionsList
def self.run(filter: nil, platform: nil)
require 'terminal-table'
if filter
show_details(filter: filter)
else
print_all(platform: platform)
end
end
def self.print_all(platform: nil)
rows = []
all_actions(platform) do |a... | ruby | MIT | d1f6eb6228644936997aae1956d8036ea62cd5b4 | 2026-01-04T15:37:27.371479Z | false |
fastlane/fastlane | https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/lib/fastlane/documentation/markdown_docs_generator.rb | fastlane/lib/fastlane/documentation/markdown_docs_generator.rb | module Fastlane
class MarkdownDocsGenerator
attr_accessor :categories
def initialize
require 'fastlane'
require 'fastlane/documentation/actions_list'
Fastlane.load_actions
self.work
end
def work
fill_built_in_actions
end
def fill_built_in_actions
self.ca... | ruby | MIT | d1f6eb6228644936997aae1956d8036ea62cd5b4 | 2026-01-04T15:37:27.371479Z | false |
fastlane/fastlane | https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/lib/fastlane/documentation/docs_generator.rb | fastlane/lib/fastlane/documentation/docs_generator.rb | module Fastlane
class DocsGenerator
def self.run(ff, output_path = nil)
output_path ||= File.join(FastlaneCore::FastlaneFolder.path || '.', 'README.md')
output = ["fastlane documentation"]
output << "----"
output << ""
output << "# Installation"
output << ""
output << "... | ruby | MIT | d1f6eb6228644936997aae1956d8036ea62cd5b4 | 2026-01-04T15:37:27.371479Z | false |
fastlane/fastlane | https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/supply/spec/commands_generator_spec.rb | supply/spec/commands_generator_spec.rb | require 'supply/commands_generator'
require 'supply/setup'
describe Supply::CommandsGenerator do
def expect_uploader_perform_upload
fake_uploader = "uploader"
expect(Supply::Uploader).to receive(:new).and_return(fake_uploader)
expect(fake_uploader).to receive(:perform_upload)
end
def expect_setup_pe... | ruby | MIT | d1f6eb6228644936997aae1956d8036ea62cd5b4 | 2026-01-04T15:37:27.371479Z | false |
fastlane/fastlane | https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/supply/spec/client_spec.rb | supply/spec/client_spec.rb | describe Supply do
describe Supply::Client do
let(:service_account_file) { File.read(fixture_file("sample-service-account.json")) }
let(:external_account_file) { File.read(fixture_file("sample-external-account.json")) }
before do
stub_request(:post, "https://www.googleapis.com/oauth2/v4/token").
... | ruby | MIT | d1f6eb6228644936997aae1956d8036ea62cd5b4 | 2026-01-04T15:37:27.371479Z | false |
fastlane/fastlane | https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/supply/spec/uploader_spec.rb | supply/spec/uploader_spec.rb | require 'fileutils'
describe Supply do
describe Supply::Uploader do
describe "#verify_config!" do
let(:subject) { Supply::Uploader.new }
it "raises error if empty config" do
Supply.config = {}
expect do
subject.verify_config!
end.to raise_error("No local metadata, a... | ruby | MIT | d1f6eb6228644936997aae1956d8036ea62cd5b4 | 2026-01-04T15:37:27.371479Z | false |
fastlane/fastlane | https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/supply/spec/spec_helper.rb | supply/spec/spec_helper.rb | def fixture_file(path)
File.join(File.dirname(__FILE__), "fixtures", path)
end
| ruby | MIT | d1f6eb6228644936997aae1956d8036ea62cd5b4 | 2026-01-04T15:37:27.371479Z | false |
fastlane/fastlane | https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/supply/lib/supply.rb | supply/lib/supply.rb | require 'json'
require 'supply/options'
require 'supply/client'
require 'supply/listing'
require 'supply/apk_listing'
require 'supply/image_listing'
require 'supply/generated_universal_apk'
require 'supply/release_listing'
require 'supply/uploader'
require 'supply/languages'
require 'fastlane_core'
module Supply
# ... | ruby | MIT | d1f6eb6228644936997aae1956d8036ea62cd5b4 | 2026-01-04T15:37:27.371479Z | false |
fastlane/fastlane | https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/supply/lib/supply/release_listing.rb | supply/lib/supply/release_listing.rb | module Supply
class ReleaseListing
attr_accessor :track
attr_accessor :version
attr_accessor :versioncodes
attr_accessor :language
attr_accessor :release_notes
# Initializes the release listing with the current listing if available
def initialize(track, version, versioncodes, language, te... | ruby | MIT | d1f6eb6228644936997aae1956d8036ea62cd5b4 | 2026-01-04T15:37:27.371479Z | false |
fastlane/fastlane | https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/supply/lib/supply/setup.rb | supply/lib/supply/setup.rb | module Supply
class Setup
def perform_download
UI.message("🕗 Downloading metadata, images, screenshots...")
if File.exist?(metadata_path)
UI.important("Metadata already exists at path '#{metadata_path}'")
return
end
client.begin_edit(package_name: Supply.config[:package... | ruby | MIT | d1f6eb6228644936997aae1956d8036ea62cd5b4 | 2026-01-04T15:37:27.371479Z | false |
fastlane/fastlane | https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/supply/lib/supply/generated_universal_apk.rb | supply/lib/supply/generated_universal_apk.rb | module Supply
# A model representing the returned values from a call to Client#list_generated_universal_apks
class GeneratedUniversalApk
attr_accessor :package_name
attr_accessor :version_code
attr_accessor :certificate_sha256_hash
attr_accessor :download_id
# Initializes the Generated Universa... | ruby | MIT | d1f6eb6228644936997aae1956d8036ea62cd5b4 | 2026-01-04T15:37:27.371479Z | false |
fastlane/fastlane | https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/supply/lib/supply/options.rb | supply/lib/supply/options.rb | # rubocop:disable Metrics/ClassLength
require 'fastlane_core/configuration/config_item'
require 'credentials_manager/appfile_config'
module Supply
class Options
# rubocop:disable Metrics/PerceivedComplexity
def self.available_options
@options ||= [
FastlaneCore::ConfigItem.new(key: :package_na... | ruby | MIT | d1f6eb6228644936997aae1956d8036ea62cd5b4 | 2026-01-04T15:37:27.371479Z | false |
fastlane/fastlane | https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/supply/lib/supply/uploader.rb | supply/lib/supply/uploader.rb | require 'fastlane_core'
module Supply
# rubocop:disable Metrics/ClassLength
class Uploader
UploadJob = Struct.new(:language, :version_code, :release_notes_queue)
def perform_upload
FastlaneCore::PrintTable.print_values(config: Supply.config, hide_keys: [:issuer], mask_keys: [:json_key_data], title: ... | ruby | MIT | d1f6eb6228644936997aae1956d8036ea62cd5b4 | 2026-01-04T15:37:27.371479Z | false |
fastlane/fastlane | https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/supply/lib/supply/reader.rb | supply/lib/supply/reader.rb | module Supply
class Reader
def track_version_codes
track = Supply.config[:track]
client.begin_edit(package_name: Supply.config[:package_name])
version_codes = client.track_version_codes(track)
client.abort_current_edit
if version_codes.empty?
UI.important("No version codes ... | ruby | MIT | d1f6eb6228644936997aae1956d8036ea62cd5b4 | 2026-01-04T15:37:27.371479Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.