source stringclasses 1
value | repo stringlengths 5 63 | repo_url stringlengths 24 82 | path stringlengths 5 167 | language stringclasses 1
value | license stringclasses 5
values | stars int64 10 51.4k | ref stringclasses 23
values | size_bytes int64 200 258k | text stringlengths 137 258k |
|---|---|---|---|---|---|---|---|---|---|
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/match.rb | Ruby | mit | 41,450 | master | 385 | module Fastlane
module Actions
require 'fastlane/actions/sync_code_signing'
class MatchAction < SyncCodeSigningAction
#####################################################
# @!group Documentation
#####################################################
def self.description
"Alias... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/git_remote_branch.rb | Ruby | mit | 41,450 | master | 1,475 | module Fastlane
module Actions
class GitRemoteBranchAction < Action
def self.run(params)
Actions.git_remote_branch_name(params[:remote_name])
end
#####################################################
# @!group Documentation
###################################################... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/debug.rb | Ruby | mit | 41,450 | master | 527 | module Fastlane
module Actions
class DebugAction < Action
def self.run(params)
puts("Lane Context".green)
puts(Actions.lane_context)
end
def self.description
"Print out an overview of the lane context values"
end
def self.is_supported?(platform)
true... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/deliver.rb | Ruby | mit | 41,450 | master | 392 | module Fastlane
module Actions
require 'fastlane/actions/upload_to_app_store'
class DeliverAction < UploadToAppStoreAction
#####################################################
# @!group Documentation
#####################################################
def self.description
"... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/team_name.rb | Ruby | mit | 41,450 | master | 896 | module Fastlane
module Actions
module SharedValues
end
class TeamNameAction < Action
def self.run(params)
params = nil unless params.kind_of?(Array)
team = (params || []).first
UI.user_error!("Please pass your Team Name (e.g. team_name 'Felix Krause')") unless team.to_s.leng... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/mailgun.rb | Ruby | mit | 41,450 | master | 9,394 | require 'fastlane/erb_template_helper'
module Fastlane
module Actions
class MailgunAction < Action
def self.is_supported?(platform)
true
end
def self.run(options)
Actions.verify_gem!('faraday')
Actions.verify_gem!('mime-types')
require 'faraday'
begin
... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/upload_to_testflight.rb | Ruby | mit | 41,450 | master | 4,521 | module Fastlane
module Actions
class UploadToTestflightAction < Action
def self.run(values)
require 'pilot'
require 'pilot/options'
distribute_only = values[:distribute_only]
changelog = Actions.lane_context[SharedValues::FL_CHANGELOG]
values[:changelog] ||= changel... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/fastlane_version.rb | Ruby | mit | 41,450 | master | 401 | require "fastlane/actions/min_fastlane_version"
module Fastlane
module Actions
class FastlaneVersionAction < MinFastlaneVersionAction
#####################################################
# @!group Documentation
#####################################################
def self.description
... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/frame_screenshots.rb | Ruby | mit | 41,450 | master | 2,014 | 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
... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/cert.rb | Ruby | mit | 41,450 | master | 382 | module Fastlane
module Actions
require 'fastlane/actions/get_certificates'
class CertAction < GetCertificatesAction
#####################################################
# @!group Documentation
#####################################################
def self.description
"Alias f... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/slather.rb | Ruby | mit | 41,450 | master | 17,489 | module Fastlane
module Actions
class SlatherAction < Action
# https://github.com/SlatherOrg/slather/blob/v2.4.9/lib/slather/command/coverage_command.rb
ARGS_MAP = {
travis: '--travis',
travis_pro: '--travispro',
circleci: '--circleci',
jenkins: '--jenkins',
... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/reset_git_repo.rb | Ruby | mit | 41,450 | master | 6,010 | require 'shellwords'
module Fastlane
module Actions
# Does a hard reset and clean on the repo
class ResetGitRepoAction < Action
def self.run(params)
if params[:force] || Actions.lane_context[SharedValues::GIT_REPO_WAS_CLEAN_ON_START]
paths = params[:files]
return paths if H... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/gym.rb | Ruby | mit | 41,450 | master | 209 | module Fastlane
module Actions
require 'fastlane/actions/build_app'
class GymAction < BuildAppAction
def self.description
"Alias for the `build_app` action"
end
end
end
end |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/appium.rb | Ruby | mit | 41,450 | master | 6,401 | module Fastlane
module Actions
class AppiumAction < Action
INVOKE_TIMEOUT = 30
APPIUM_PATH_HOMEBREW = '/usr/local/bin/appium'
APPIUM_APP_PATH = '/Applications/Appium.app'
APPIUM_APP_BUNDLE_PATH = 'Contents/Resources/node_modules/.bin/appium'
def self.run(params)
Actions.veri... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/rocket.rb | Ruby | mit | 41,450 | master | 1,427 | module Fastlane
module Actions
class RocketAction < Action
def self.run(params)
puts("
____
/ \\
| |
| |
| |
\\____/
| |
| |
| |
|____|
{| |}
| |
| |
| F |
| A ... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/update_info_plist.rb | Ruby | mit | 41,450 | master | 6,564 | 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... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/commit_github_file.rb | Ruby | mit | 41,450 | master | 9,302 | 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)
... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/produce.rb | Ruby | mit | 41,450 | master | 387 | module Fastlane
module Actions
require 'fastlane/actions/create_app_online'
class ProduceAction < CreateAppOnlineAction
#####################################################
# @!group Documentation
#####################################################
def self.description
"Ali... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/cloc.rb | Ruby | mit | 41,450 | master | 3,380 | 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... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/badge.rb | Ruby | mit | 41,450 | master | 8,122 | module Fastlane
module Actions
class BadgeAction < Action
def self.run(params)
UI.important('The badge action has been deprecated,')
UI.important('please checkout the badge plugin here:')
UI.important('https://github.com/HazAT/fastlane-plugin-badge')
Actions.verify_gem!('badg... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/reset_simulator_contents.rb | Ruby | mit | 41,450 | master | 2,746 | module Fastlane
module Actions
class ResetSimulatorContentsAction < Action
def self.run(params)
os_versions = params[:os_versions] || params[:ios]
reset_simulators(os_versions)
end
def self.reset_simulators(os_versions)
UI.verbose("Resetting simulator contents")
... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/copy_artifacts.rb | Ruby | mit | 41,450 | master | 4,682 | require 'fileutils'
module Fastlane
module Actions
class CopyArtifactsAction < Action
def self.run(params)
# expand the path to make sure we can deal with relative paths
target_path = File.expand_path(params[:target_path])
# we want to make sure that our target folder exist already... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/build_mac_app.rb | Ruby | mit | 41,450 | master | 1,227 | module Fastlane
module Actions
require 'fastlane/actions/build_app'
class BuildMacAppAction < BuildAppAction
# Gym::Options.available_options keys that don't apply to mac apps.
REJECT_OPTIONS = [
:ipa,
:skip_package_ipa,
:catalyst_platform
]
def self.run(params... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/environment_variable.rb | Ruby | mit | 41,450 | master | 2,082 | 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_... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/get_managed_play_store_publishing_rights.rb | Ruby | mit | 41,450 | master | 6,360 | 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... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/download_from_play_store.rb | Ruby | mit | 41,450 | master | 1,532 | module Fastlane
module Actions
class DownloadFromPlayStoreAction < Action
def self.run(params)
require 'supply'
require 'supply/options'
Supply.config = params # we already have the finished config
require 'supply/setup'
Supply::Setup.new.perform_download
end
... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/notarize.rb | Ruby | mit | 41,450 | master | 17,073 | module Fastlane
module Actions
class NotarizeAction < Action
# rubocop:disable Metrics/PerceivedComplexity
def self.run(params)
package_path = params[:package]
bundle_id = params[:bundle_id]
skip_stapling = params[:skip_stapling]
try_early_stapling = params[:try_early_s... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/update_url_schemes.rb | Ruby | mit | 41,450 | master | 3,824 | 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... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/set_pod_key.rb | Ruby | mit | 41,450 | master | 2,602 | module Fastlane
module Actions
class SetPodKeyAction < Action
def self.run(params)
Actions.verify_gem!('cocoapods-keys')
cmd = []
cmd << ['bundle exec'] if params[:use_bundle_exec] && shell_out_should_use_bundle_exec?
cmd << ['pod keys set']
cmd << ["\"#{params[:key... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/verify_build.rb | Ruby | mit | 41,450 | master | 9,233 | require 'plist'
module Fastlane
module Actions
class VerifyBuildAction < Action
def self.run(params)
Dir.mktmpdir do |dir|
app_path = self.app_path(params, dir)
values = self.gather_cert_info(app_path)
values = self.update_with_profile_info(app_path, values)
... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/update_app_identifier.rb | Ruby | mit | 41,450 | master | 5,404 | 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... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/sigh.rb | Ruby | mit | 41,450 | master | 405 | module Fastlane
module Actions
require 'fastlane/actions/get_provisioning_profile'
class SighAction < GetProvisioningProfileAction
#####################################################
# @!group Documentation
#####################################################
def self.description
... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/get_ipa_info_plist_value.rb | Ruby | mit | 41,450 | master | 2,401 | module Fastlane
module Actions
module SharedValues
GET_IPA_INFO_PLIST_VALUE_CUSTOM_VALUE = :GET_IPA_INFO_PLIST_VALUE_CUSTOM_VALUE
end
class GetIpaInfoPlistValueAction < Action
def self.run(params)
ipa = File.expand_path(params[:ipa])
key = params[:key]
plist = Fastlane... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/min_fastlane_version.rb | Ruby | mit | 41,450 | master | 1,565 | module Fastlane
module Actions
module SharedValues
end
class MinFastlaneVersionAction < 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... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/setup_jenkins.rb | Ruby | mit | 41,450 | master | 9,202 | 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... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/slack.rb | Ruby | mit | 41,450 | master | 15,216 | require 'fastlane/notification/slack'
# rubocop:disable Style/CaseEquality
# rubocop:disable Style/MultilineTernaryOperator
# rubocop:disable Style/NestedTernaryOperator
module Fastlane
module Actions
class SlackAction < Action
class Runner
def initialize(slack_url)
@notifier = Fastlane::... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/twitter.rb | Ruby | mit | 41,450 | master | 3,089 | module Fastlane
module Actions
class TwitterAction < Action
def self.run(params)
Actions.verify_gem!("twitter")
require 'twitter'
client = Twitter::REST::Client.new do |config|
config.consumer_key = params[:consumer_key]
config.consumer_secret = params[... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/update_project_team.rb | Ruby | mit | 41,450 | master | 3,532 | module Fastlane
module Actions
module SharedValues
end
class UpdateProjectTeamAction < Action
def self.run(params)
project_path = params[:path]
selected_targets = params[:targets]
UI.user_error!("Could not find path to xcodeproj '#{project_path}'. Pass the path to your proj... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/import_from_git.rb | Ruby | mit | 41,450 | master | 4,631 | module Fastlane
module Actions
class ImportFromGitAction < Action
def self.run(params)
# this is implemented in the fast_file.rb
end
#####################################################
# @!group Documentation
#####################################################
def... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/ensure_git_status_clean.rb | Ruby | mit | 41,450 | master | 6,368 | module Fastlane
module Actions
module SharedValues
GIT_REPO_WAS_CLEAN_ON_START = :GIT_REPO_WAS_CLEAN_ON_START
end
# Raises an exception and stop the lane execution if the repo is not in a clean state
class EnsureGitStatusCleanAction < Action
def self.run(params)
# Build command
... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/clipboard.rb | Ruby | mit | 41,450 | master | 1,335 | 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)
... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/artifactory.rb | Ruby | mit | 41,450 | master | 9,517 | module Fastlane
module Actions
module SharedValues
ARTIFACTORY_DOWNLOAD_URL = :ARTIFACTORY_DOWNLOAD_URL
ARTIFACTORY_DOWNLOAD_SIZE = :ARTIFACTORY_DOWNLOAD_SIZE
end
class ArtifactoryAction < Action
def self.run(params)
Actions.verify_gem!('artifactory')
require 'artifacto... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/danger.rb | Ruby | mit | 41,450 | master | 7,230 | 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]
... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/create_app_on_managed_play_store.rb | Ruby | mit | 41,450 | master | 8,728 | require 'google/apis/playcustomapp_v1'
require 'supply'
module Fastlane
module Actions
class CreateAppOnManagedPlayStoreAction < Action
def self.run(params)
client = PlaycustomappClient.make_from_config(params: params)
FastlaneCore::PrintTable.print_values(
config: params,
... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/hg_add_tag.rb | Ruby | mit | 41,450 | master | 1,028 | module Fastlane
module Actions
# Adds a hg tag to the current commit
class HgAddTagAction < Action
def self.run(options)
tag = options[:tag]
UI.message("Adding mercurial tag '#{tag}' 🎯.")
command = "hg tag \"#{tag}\""
return command if Helper.test?
Actions.sh(... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/register_devices.rb | Ruby | mit | 41,450 | master | 11,389 | require 'credentials_manager'
module Fastlane
module Actions
class RegisterDevicesAction < Action
def self.is_supported?(platform)
[:ios, :mac].include?(platform)
end
def self.file_column_headers
['Device ID', 'Device Name', 'Device Platform']
end
def self.run(para... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/ipa.rb | Ruby | mit | 41,450 | master | 10,827 | # rubocop:disable Lint/AssignmentInCondition
module Fastlane
module Actions
module SharedValues
IPA_OUTPUT_PATH ||= :IPA_OUTPUT_PATH # originally defined in BuildIosAppAction
DSYM_OUTPUT_PATH ||= :DSYM_OUTPUT_PATH # originally defined in BuildIosAppAction
end
ARGS_MAP = {
workspace: '-w... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/typetalk.rb | Ruby | mit | 41,450 | master | 2,481 | module Fastlane
module Actions
class TypetalkAction < Action
def self.run(params)
options = {
message: nil,
note_path: nil,
success: true,
topic_id: nil,
typetalk_token: nil
}.merge(params || {})
[:message, :topic_id, :type... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/commit_version_bump.rb | Ruby | mit | 41,450 | master | 13,572 | require 'pathname'
module Fastlane
module Actions
module SharedValues
MODIFIED_FILES = :MODIFIED_FILES
end
class << self
# Add an array of paths relative to the repo root or absolute paths that have been modified by
# an action.
#
# :files: An array of paths relative to the... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/zip.rb | Ruby | mit | 41,450 | master | 6,260 | module Fastlane
module Actions
class ZipAction < Action
class Runner
attr_reader :output_path, :path, :verbose, :password, :symlinks, :include, :exclude
def initialize(params)
@output_path = File.expand_path(params[:output_path] || params[:path])
@path = params[:path]
... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/app_store_build_number.rb | Ruby | mit | 41,450 | master | 13,154 | require 'ostruct'
module Fastlane
module Actions
module SharedValues
LATEST_BUILD_NUMBER = :LATEST_BUILD_NUMBER
LATEST_VERSION = :LATEST_VERSION
end
class AppStoreBuildNumberAction < Action
def self.run(params)
build_v, build_nr = get_build_version_and_number(params)
A... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/xcversion.rb | Ruby | mit | 41,450 | master | 2,663 | module Fastlane
module Actions
class XcversionAction < Action
def self.run(params)
Actions.verify_gem!('xcode-install')
version = params[:version]
xcode = Helper::XcversionHelper.find_xcode(version)
UI.user_error!("Cannot find an installed Xcode satisfying '#{version}'") if... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/swiftlint.rb | Ruby | mit | 41,450 | master | 13,674 | module Fastlane
module Actions
class SwiftlintAction < Action
def self.run(params)
if `which swiftlint`.to_s.length == 0 && params[:executable].nil? && !Helper.test?
UI.user_error!("You have to install swiftlint using `brew install swiftlint` or specify the executable path with the `:execu... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/add_git_tag.rb | Ruby | mit | 41,450 | master | 6,956 | module Fastlane
module Actions
# Adds a git tag to the current commit
class AddGitTagAction < Action
def self.run(options)
# lane name in lane_context could be nil because you can just call $fastlane add_git_tag which has no context
lane_name = Actions.lane_context[Actions::SharedValues:... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/apteligent.rb | Ruby | mit | 41,450 | master | 3,670 | module Fastlane
module Actions
class ApteligentAction < Action
def self.run(params)
command = []
command << "curl"
command += upload_options(params)
command << upload_url(params[:app_id].shellescape)
# Fastlane::Actions.sh has buffering issues, no progress bar is sho... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/println.rb | Ruby | mit | 41,450 | master | 350 | module Fastlane
module Actions
require 'fastlane/actions/puts'
class PrintlnAction < PutsAction
#####################################################
# @!group Documentation
#####################################################
def self.description
"Alias for the `puts` action... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/upload_symbols_to_sentry.rb | Ruby | mit | 41,450 | master | 6,630 | module Fastlane
module Actions
class UploadSymbolsToSentryAction < Action
def self.run(params)
# Warning about using new plugin
UI.important("It's recommended to use the official Sentry Fastlane plugin")
UI.important("GitHub: https://github.com/getsentry/fastlane-plugin-sentry")
... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/create_xcframework.rb | Ruby | mit | 41,450 | master | 11,354 | module Fastlane
module Actions
module SharedValues
XCFRAMEWORK_PATH ||= :XCFRAMEWORK_PATH
end
class CreateXcframeworkAction < Action
PARAMETERS_TO_OPTIONS = { headers: '-headers', dsyms: '-debug-symbols' }
def self.run(params)
artifacts = normalized_artifact_info(params[:framew... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/add_extra_platforms.rb | Ruby | mit | 41,450 | master | 1,195 | 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... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/tryouts.rb | Ruby | mit | 41,450 | master | 6,766 | module Fastlane
module Actions
module SharedValues
# Contains all the data returned from the Tryouts API. See http://tryouts.readthedocs.org/en/latest/releases.html#create-release
TRYOUTS_BUILD_INFORMATION = :TRYOUTS_BUILD_INFORMATION
end
class TryoutsAction < Action
TRYOUTS_API_BUILD_RE... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/install_provisioning_profile.rb | Ruby | mit | 41,450 | master | 1,728 | require 'shellwords'
module Fastlane
module Actions
class InstallProvisioningProfileAction < Action
def self.run(params)
absolute_path = File.expand_path(params[:path])
FastlaneCore::ProvisioningProfile.install(absolute_path)
end
def self.description
"Install provisioni... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/download_app_privacy_details_from_app_store.rb | Ruby | mit | 41,450 | master | 6,368 | 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... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/precheck.rb | Ruby | mit | 41,450 | master | 408 | module Fastlane
module Actions
require 'fastlane/actions/check_app_store_metadata'
class PrecheckAction < CheckAppStoreMetadataAction
#####################################################
# @!group Documentation
#####################################################
def self.descriptio... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/google_play_track_release_names.rb | Ruby | mit | 41,450 | master | 1,682 | module Fastlane
module Actions
class GooglePlayTrackReleaseNamesAction < Action
# Supply::Options.available_options keys that apply to this action.
OPTIONS = [
:package_name,
:track,
:key,
:issuer,
:json_key,
:json_key_data,
:root_url,
:t... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/google_play_track_version_codes.rb | Ruby | mit | 41,450 | master | 1,886 | module Fastlane
module Actions
class GooglePlayTrackVersionCodesAction < Action
# Supply::Options.available_options keys that apply to this action.
OPTIONS = [
:package_name,
:track,
:key,
:issuer,
:json_key,
:json_key_data,
:root_url,
:t... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/gradle.rb | Ruby | mit | 41,450 | master | 16,070 | require 'pathname'
require 'shellwords'
module Fastlane
module Actions
module SharedValues
GRADLE_APK_OUTPUT_PATH = :GRADLE_APK_OUTPUT_PATH
GRADLE_ALL_APK_OUTPUT_PATHS = :GRADLE_ALL_APK_OUTPUT_PATHS
GRADLE_AAB_OUTPUT_PATH = :GRADLE_AAB_OUTPUT_PATH
GRADLE_ALL_AAB_OUTPUT_PATHS = :GRADLE_ALL... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/hg_push.rb | Ruby | mit | 41,450 | master | 2,028 | module Fastlane
module Actions
# Pushes commits to the remote hg repo
class HgPushAction < Action
def self.run(params)
command = ['hg', 'push']
command << '--force' if params[:force]
command << params[:destination] unless params[:destination].empty?
return command.join(... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/spm.rb | Ruby | mit | 41,450 | master | 11,405 | module Fastlane
module Actions
class SpmAction < Action
def self.run(params)
cmd = ["swift"]
cmd << (package_commands.include?(params[:command]) ? "package" : params[:command])
cmd << "--scratch-path #{params[:scratch_path]}" if params[:scratch_path]
cmd << "--build-path #{p... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/upload_to_play_store.rb | Ruby | mit | 41,450 | master | 2,271 | module Fastlane
module Actions
class UploadToPlayStoreAction < Action
def self.run(params)
require 'supply'
require 'supply/options'
# If no APK params were provided, try to fill in the values from lane context, preferring
# the multiple APKs over the single APK if set.
... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/upload_symbols_to_crashlytics.rb | Ruby | mit | 41,450 | master | 11,924 | module Fastlane
module Actions
class UploadSymbolsToCrashlyticsAction < Action
def self.run(params)
require 'tmpdir'
find_binary_path(params)
unless params[:app_id]
find_gsp_path(params)
find_api_token(params)
end
if !params[:app_id] && !params[:... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/cocoapods.rb | Ruby | mit | 41,450 | master | 8,491 | module Fastlane
module Actions
class CocoapodsAction < Action
# rubocop:disable Metrics/PerceivedComplexity
def self.run(params)
Actions.verify_gem!('cocoapods')
cmd = []
unless params[:podfile].nil?
if params[:podfile].end_with?('Podfile')
podfile_folder... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/appetize_viewing_url_generator.rb | Ruby | mit | 41,450 | master | 7,126 | module Fastlane
module Actions
module SharedValues
end
class AppetizeViewingUrlGeneratorAction < Action
def self.run(params)
link = "#{params[:base_url]}/#{params[:public_key]}"
if params[:scale].nil? # sensible default values for scaling
case params[:device].downcase.to_... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/hockey.rb | Ruby | mit | 41,450 | master | 20,736 | module Fastlane
module Actions
module SharedValues
HOCKEY_DOWNLOAD_LINK = :HOCKEY_DOWNLOAD_LINK
HOCKEY_BUILD_INFORMATION = :HOCKEY_BUILD_INFORMATION # contains all keys/values from the HockeyApp API, like :title, :bundle_identifier
end
# rubocop:disable Metrics/ClassLength
class HockeyAct... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/set_info_plist_value.rb | Ruby | mit | 41,450 | master | 3,621 | 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... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/last_git_commit.rb | Ruby | mit | 41,450 | master | 1,610 | module Fastlane
module Actions
class LastGitCommitAction < Action
def self.run(params)
Actions.last_git_commit_dict
end
#####################################################
# @!group Documentation
#####################################################
def self.descrip... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/is_ci.rb | Ruby | mit | 41,450 | master | 1,024 | module Fastlane
module Actions
class IsCiAction < Action
def self.run(params)
Helper.ci?
end
#####################################################
# @!group Documentation
#####################################################
def self.description
"Is the curren... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/setup_ci.rb | Ruby | mit | 41,450 | master | 5,347 | 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... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/capture_android_screenshots.rb | Ruby | mit | 41,450 | master | 1,800 | module Fastlane
module Actions
module SharedValues
SCREENGRAB_OUTPUT_DIRECTORY = :SCREENGRAB_OUTPUT_DIRECTORY
end
class CaptureAndroidScreenshotsAction < Action
def self.run(params)
require 'screengrab'
Screengrab.config = params
Screengrab.android_environment = Scree... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/increment_version_number.rb | Ruby | mit | 41,450 | master | 7,057 | module Fastlane
module Actions
module SharedValues
VERSION_NUMBER ||= :VERSION_NUMBER
end
class IncrementVersionNumberAction < Action
require 'shellwords'
def self.is_supported?(platform)
[:ios, :mac].include?(platform)
end
def self.run(params)
# More infor... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/setup_circle_ci.rb | Ruby | mit | 41,450 | master | 1,579 | module Fastlane
module Actions
class SetupCircleCiAction < Action
def self.run(params)
other_action.setup_ci(provider: "circleci", force: params[:force])
end
#####################################################
# @!group Documentation
#######################################... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/screengrab.rb | Ruby | mit | 41,450 | master | 420 | module Fastlane
module Actions
require 'fastlane/actions/capture_android_screenshots'
class ScreengrabAction < CaptureAndroidScreenshotsAction
#####################################################
# @!group Documentation
#####################################################
def self.d... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/puts.rb | Ruby | mit | 41,450 | master | 1,756 | module Fastlane
module Actions
class PutsAction < Action
def self.run(params)
# display text from the message param (most likely coming from Swift)
# if called like `puts 'hi'` then params won't be a configuration item, so we have to check
if params.kind_of?(FastlaneCore::Configurati... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/gcovr.rb | Ruby | mit | 41,450 | master | 7,030 | module Fastlane
module Actions
# --object-directory=OBJDIR Specify the directory that contains the gcov data files.
# -o OUTPUT, --output=OUTPUT Print output to this filename Keep the temporary *.gcov files generated by gcov.
# -k, --keep Keep the temporary *.gcov files genera... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/opt_out_crash_reporting.rb | Ruby | mit | 41,450 | master | 777 | 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... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/download.rb | Ruby | mit | 41,450 | master | 2,231 | module Fastlane
module Actions
module SharedValues
DOWNLOAD_CONTENT = :DOWNLOAD_CONTENT
end
class DownloadAction < Action
def self.run(params)
require 'net/http'
begin
result = Net::HTTP.get(URI(params[:url]))
begin
result = JSON.parse(result) ... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/jira.rb | Ruby | mit | 41,450 | master | 6,424 | 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... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/verify_xcode.rb | Ruby | mit | 41,450 | master | 6,184 | require 'shellwords'
module Fastlane
module Actions
module SharedValues
end
class VerifyXcodeAction < Action
def self.run(params)
UI.message("Verifying your Xcode installation at path '#{params[:xcode_path]}'...")
# Check 1/2
verify_codesign(params)
# Check 2/2
... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/download_dsyms.rb | Ruby | mit | 41,450 | master | 18,748 | 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... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/get_github_release.rb | Ruby | mit | 41,450 | master | 8,004 | module Fastlane
module Actions
module SharedValues
GET_GITHUB_RELEASE_INFO = :GET_GITHUB_RELEASE_INFO
end
class GetGithubReleaseAction < Action
def self.run(params)
UI.message("Getting release on GitHub (#{params[:server_url]}/#{params[:url]}: #{params[:version]})")
GithubApi... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/appaloosa.rb | Ruby | mit | 41,450 | master | 12,033 | module Fastlane
module Actions
class AppaloosaAction < Action
APPALOOSA_SERVER = 'https://www.appaloosa-store.com/api/v2'.freeze
def self.run(params)
api_key = params[:api_token]
store_id = params[:store_id]
binary = params[:binary]
remove_extra_screenshots_file(params[... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/update_fastlane.rb | Ruby | mit | 41,450 | master | 6,374 | require 'rubygems/spec_fetcher'
require 'rubygems/command_manager'
module Fastlane
module Actions
# Makes sure fastlane tools are up-to-date when running fastlane
class UpdateFastlaneAction < Action
ALL_TOOLS = ["fastlane"]
def self.run(options)
return if options[:no_update] # this is us... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/flock.rb | Ruby | mit | 41,450 | master | 2,846 | module Fastlane
module Actions
class FlockAction < Action
BASE_URL = 'https://api.flock.co/hooks/sendMessage'.freeze
def self.run(options)
require 'net/http'
require 'uri'
require 'json'
notify_incoming_message_webhook(options[:base_url], options[:message], options[:t... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/pod_push.rb | Ruby | mit | 41,450 | master | 8,967 | module Fastlane
module Actions
class PodPushAction < Action
def self.run(params)
command = []
command << "bundle exec" if params[:use_bundle_exec] && shell_out_should_use_bundle_exec?
if params[:repo]
repo = params[:repo]
command << "pod repo push #{repo}"
... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/update_keychain_access_groups.rb | Ruby | mit | 41,450 | master | 3,738 | module Fastlane
module Actions
module SharedValues
KEYCHAIN_ACCESS_GROUPS = :KEYCHAIN_ACCESS_GROUPS
end
class UpdateKeychainAccessGroupsAction < Action
require 'plist'
def self.run(params)
UI.message("Entitlements File: #{params[:entitlements_file]}")
UI.message("New ke... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/update_project_provisioning.rb | Ruby | mit | 41,450 | master | 9,523 | # coding: utf-8
module Fastlane
module Actions
module SharedValues
end
class UpdateProjectProvisioningAction < Action
ROOT_CERTIFICATE_URL = "https://www.apple.com/appleca/AppleIncRootCertificate.cer"
def self.run(params)
UI.message("You’re updating provisioning profiles directly in ... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/restore_file.rb | Ruby | mit | 41,450 | master | 1,094 | module Fastlane
module Actions
class RestoreFileAction < Action
def self.run(params)
path = params[:path]
backup_path = "#{path}.back"
UI.user_error!("Could not find file '#{backup_path}'") unless File.exist?(backup_path)
FileUtils.cp(backup_path, path, preserve: true)
... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/verify_pod_keys.rb | Ruby | mit | 41,450 | master | 1,755 | module Fastlane
module Actions
class VerifyPodKeysAction < Action
def self.run(params)
UI.message("Validating CocoaPods Keys")
options = plugin_options
target = options["target"] || ""
options["keys"].each do |key|
UI.message(" - #{key}")
validate(key, t... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/oclint.rb | Ruby | mit | 41,450 | master | 14,343 | module Fastlane
module Actions
module SharedValues
FL_OCLINT_REPORT_PATH = :FL_OCLINT_REPORT_PATH
end
class OclintAction < Action
# rubocop:disable Metrics/PerceivedComplexity
def self.run(params)
oclint_path = params[:oclint_path]
if `which #{oclint_path}`.to_s.empty? &... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/lane_context.rb | Ruby | mit | 41,450 | master | 1,246 | module Fastlane
module Actions
class LaneContextAction < Action
def self.run(params)
Actions.lane_context
end
#####################################################
# @!group Documentation
#####################################################
def self.description
... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/jazzy.rb | Ruby | mit | 41,450 | master | 1,664 | module Fastlane
module Actions
class JazzyAction < Action
def self.run(params)
Actions.verify_gem!('jazzy')
command = "jazzy"
command << " --config #{params[:config]}" if params[:config]
command << " --module-version #{params[:module_version]}" if params[:module_version]
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.