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/make_changelog_from_jenkins.rb | Ruby | mit | 41,450 | master | 2,719 | module Fastlane
module Actions
module SharedValues
FL_CHANGELOG ||= :FL_CHANGELOG # originally defined in ChangelogFromGitCommitsAction
end
class MakeChangelogFromJenkinsAction < Action
def self.run(params)
require 'json'
require 'net/http'
changelog = ""
if ... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/prompt.rb | Ruby | mit | 41,450 | master | 3,906 | module Fastlane
module Actions
class PromptAction < Action
def self.run(params)
if params[:boolean]
return params[:ci_input] unless UI.interactive?
return UI.confirm(params[:text])
end
UI.message(params[:text])
return params[:ci_input] unless UI.interact... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/get_push_certificate.rb | Ruby | mit | 41,450 | master | 2,513 | module Fastlane
module Actions
class GetPushCertificateAction < Action
def self.run(params)
require 'pem'
require 'pem/options'
require 'pem/manager'
success_block = params[:new_profile]
PEM.config = params
if Helper.test?
profile_path = './test.p... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/recreate_schemes.rb | Ruby | mit | 41,450 | master | 968 | 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... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/version_get_podspec.rb | Ruby | mit | 41,450 | master | 2,500 | module Fastlane
module Actions
module SharedValues
PODSPEC_VERSION_NUMBER ||= :PODSPEC_VERSION_NUMBER # originally defined in VersionBumpPodspecAction
end
class VersionGetPodspecAction < Action
def self.run(params)
podspec_path = params[:path]
UI.user_error!("Could not find p... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/git_branch.rb | Ruby | mit | 41,450 | master | 1,316 | module Fastlane
module Actions
class GitBranchAction < Action
def self.run(params)
branch = Actions.git_branch || ""
return "" if branch == "HEAD" # Backwards compatibility with the original (and documented) implementation
branch
end
#####################################... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/validate_play_store_json_key.rb | Ruby | mit | 41,450 | master | 4,812 | 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"
)
... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/trainer.rb | Ruby | mit | 41,450 | master | 1,521 | 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... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/upload_to_play_store_internal_app_sharing.rb | Ruby | mit | 41,450 | master | 2,647 | module Fastlane
module Actions
class UploadToPlayStoreInternalAppSharingAction < Action
def self.run(params)
require 'supply'
# 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.
if params[:... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/update_project_code_signing.rb | Ruby | mit | 41,450 | master | 3,020 | module Fastlane
module Actions
module SharedValues
end
class UpdateProjectCodeSigningAction < Action
def self.run(params)
UI.message("You shouldn't use update_project_code_signing")
UI.message("Have you considered using the recommended way to do code signing?")
UI.message("h... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/git_add.rb | Ruby | mit | 41,450 | master | 3,483 | 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 =... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/adb_devices.rb | Ruby | mit | 41,450 | master | 1,775 | 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
#################################################... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/frameit.rb | Ruby | mit | 41,450 | master | 388 | module Fastlane
module Actions
require 'fastlane/actions/frame_screenshots'
class FrameitAction < FrameScreenshotsAction
#####################################################
# @!group Documentation
#####################################################
def self.description
"Al... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/backup_file.rb | Ruby | mit | 41,450 | master | 896 | module Fastlane
module Actions
class BackupFileAction < Action
def self.run(params)
path = params[:path]
FileUtils.cp(path, "#{path}.back", preserve: true)
UI.message("Successfully created a backup 💾")
end
def self.description
'This action backs up your file to ... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/install_xcode_plugin.rb | Ruby | mit | 41,450 | master | 3,555 | 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(
... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/appstore.rb | Ruby | mit | 41,450 | master | 393 | module Fastlane
module Actions
require 'fastlane/actions/upload_to_app_store'
class AppstoreAction < UploadToAppStoreAction
#####################################################
# @!group Documentation
#####################################################
def self.description
... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/spaceship_stats.rb | Ruby | mit | 41,450 | master | 1,947 | module Fastlane
module Actions
class SpaceshipStatsAction < Action
def self.run(params)
require 'fastlane_core/print_table'
require 'spaceship'
rows = []
Spaceship::StatsMiddleware.service_stats.each do |service, count|
rows << [service.name, service.auth_type, ser... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/team_id.rb | Ruby | mit | 41,450 | master | 974 | module Fastlane
module Actions
module SharedValues
end
class TeamIdAction < Action
def self.run(params)
params = nil unless params.kind_of?(Array)
team = (params || []).first
UI.user_error!("Please pass your Team ID (e.g. team_id 'Q2CBPK58CA')") unless team.to_s.length > 0
... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/delete_keychain.rb | Ruby | mit | 41,450 | master | 2,161 | require 'shellwords'
module Fastlane
module Actions
class DeleteKeychainAction < Action
def self.run(params)
original = Actions.lane_context[Actions::SharedValues::ORIGINAL_DEFAULT_KEYCHAIN]
if params[:keychain_path]
if File.exist?(params[:keychain_path])
keychain_pat... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/sonar.rb | Ruby | mit | 41,450 | master | 10,900 | module Fastlane
module Actions
class SonarAction < Action
def self.run(params)
verify_sonar_scanner_binary
command_prefix = [
'cd',
File.expand_path('.').shellescape,
'&&'
].join(' ')
sonar_scanner_args = []
sonar_scanner_args << "-Dpro... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/get_info_plist_value.rb | Ruby | mit | 41,450 | master | 2,278 | module Fastlane
module Actions
module SharedValues
GET_INFO_PLIST_VALUE_CUSTOM_VALUE = :GET_INFO_PLIST_VALUE_CUSTOM_VALUE
end
class GetInfoPlistValueAction < Action
def self.run(params)
require "plist"
begin
path = File.expand_path(params[:path])
plist = ... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/automatic_code_signing.rb | Ruby | mit | 41,450 | master | 10,074 | require 'xcodeproj'
module Fastlane
module Actions
class AutomaticCodeSigningAction < Action
def self.run(params)
UI.deprecated("The `automatic_code_signing` action has been deprecated,")
UI.deprecated("Please use `update_code_signing_settings` action instead.")
FastlaneCore::PrintTa... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/create_keychain.rb | Ruby | mit | 41,450 | master | 7,244 | 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... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/read_podspec.rb | Ruby | mit | 41,450 | master | 2,810 | module Fastlane
module Actions
module SharedValues
READ_PODSPEC_JSON = :READ_PODSPEC_JSON
end
class ReadPodspecAction < Action
def self.run(params)
Actions.verify_gem!('cocoapods')
path = params[:path]
require 'cocoapods-core'
spec = Pod::Spec.from_file(path)... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/opt_out_usage.rb | Ruby | mit | 41,450 | master | 1,009 | 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
... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/scan.rb | Ruby | mit | 41,450 | master | 361 | module Fastlane
module Actions
require 'fastlane/actions/run_tests'
class ScanAction < RunTestsAction
#####################################################
# @!group Documentation
#####################################################
def self.description
"Alias for the `run_te... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/sync_code_signing.rb | Ruby | mit | 41,450 | master | 3,983 | 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)
... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/say.rb | Ruby | mit | 41,450 | master | 1,413 | module Fastlane
module Actions
class SayAction < Action
def self.run(params)
text = params[:text]
text = text.join(' ')
text = text.tr("'", '"')
if params[:mute]
UI.message(text)
return text
else
Actions.sh("say '#{text}'")
end
... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/update_code_signing_settings.rb | Ruby | mit | 41,450 | master | 11,036 | require 'xcodeproj'
module Fastlane
module Actions
class UpdateCodeSigningSettingsAction < Action
def self.run(params)
FastlaneCore::PrintTable.print_values(config: params, title: "Summary for code signing settings")
path = params[:path]
path = File.join(File.expand_path(path), "proj... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/increment_build_number.rb | Ruby | mit | 41,450 | master | 4,905 | module Fastlane
module Actions
module SharedValues
BUILD_NUMBER ||= :BUILD_NUMBER
end
class IncrementBuildNumberAction < Action
require 'shellwords'
def self.is_supported?(platform)
[:ios, :mac, :xros].include?(platform)
end
def self.run(params)
folder = pa... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/ruby_version.rb | Ruby | mit | 41,450 | master | 1,437 | 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... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/clean_build_artifacts.rb | Ruby | mit | 41,450 | master | 2,479 | module Fastlane
module Actions
class CleanBuildArtifactsAction < Action
def self.run(options)
paths = [
Actions.lane_context[Actions::SharedValues::IPA_OUTPUT_PATH],
Actions.lane_context[Actions::SharedValues::DSYM_OUTPUT_PATH],
Actions.lane_context[Actions::SharedValue... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/build_app.rb | Ruby | mit | 41,450 | master | 7,194 | module Fastlane
module Actions
module SharedValues
IPA_OUTPUT_PATH ||= :IPA_OUTPUT_PATH
PKG_OUTPUT_PATH ||= :PKG_OUTPUT_PATH
DSYM_OUTPUT_PATH ||= :DSYM_OUTPUT_PATH
XCODEBUILD_ARCHIVE ||= :XCODEBUILD_ARCHIVE # originally defined in XcodebuildAction
end
class BuildAppAction < Action... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/pod_lib_lint.rb | Ruby | mit | 41,450 | master | 10,748 | module Fastlane
module Actions
class PodLibLintAction < Action
# rubocop:disable Metrics/PerceivedComplexity
def self.run(params)
command = []
command << "bundle exec" if params[:use_bundle_exec] && shell_out_should_use_bundle_exec?
command << "pod lib lint"
command <... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/update_app_group_identifiers.rb | Ruby | mit | 41,450 | master | 3,598 | module Fastlane
module Actions
module SharedValues
APP_GROUP_IDENTIFIERS = :APP_GROUP_IDENTIFIERS
end
class UpdateAppGroupIdentifiersAction < Action
require 'plist'
def self.run(params)
UI.message("Entitlements File: #{params[:entitlements_file]}")
UI.message("New App G... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/git_submodule_update.rb | Ruby | mit | 41,450 | master | 1,676 | module Fastlane
module Actions
class GitSubmoduleUpdateAction < Action
def self.run(params)
commands = ["git submodule update"]
commands += ["--init"] if params[:init]
commands += ["--recursive"] if params[:recursive]
Actions.sh(commands.join(' '))
end
##########... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/carthage.rb | Ruby | mit | 41,450 | master | 14,781 | 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... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/hg_ensure_clean_status.rb | Ruby | mit | 41,450 | master | 1,616 | module Fastlane
module Actions
module SharedValues
HG_REPO_WAS_CLEAN_ON_START = :HG_REPO_WAS_CLEAN_ON_START
end
# Raises an exception and stop the lane execution if the repo is not in a clean state
class HgEnsureCleanStatusAction < Action
def self.run(params)
repo_clean = `hg statu... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/podio_item.rb | Ruby | mit | 41,450 | master | 9,864 | module Fastlane
module Actions
module SharedValues
PODIO_ITEM_URL = :PODIO_ITEM_URL
end
class PodioItemAction < Action
AUTH_URL = 'https://podio.com/oauth/token'
BASE_URL = 'https://api.podio.com'
def self.run(params)
require 'rest_client'
require 'json'
r... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/install_on_device.rb | Ruby | mit | 41,450 | master | 3,898 | module Fastlane
module Actions
module SharedValues
end
class InstallOnDeviceAction < Action
def self.run(params)
unless Helper.test?
UI.user_error!("ios-deploy not installed, see https://github.com/ios-control/ios-deploy for instructions") if `which ios-deploy`.length == 0
... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/run_tests.rb | Ruby | mit | 41,450 | master | 4,157 | module Fastlane
module Actions
module SharedValues
SCAN_DERIVED_DATA_PATH = :SCAN_DERIVED_DATA_PATH
SCAN_GENERATED_PLIST_FILE = :SCAN_GENERATED_PLIST_FILE
SCAN_GENERATED_PLIST_FILES = :SCAN_GENERATED_PLIST_FILES
SCAN_GENERATED_XCRESULT_PATH = :SCAN_GENERATED_XCRESULT_PATH
SCAN_ZIP_BU... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/pem.rb | Ruby | mit | 41,450 | master | 392 | module Fastlane
module Actions
require 'fastlane/actions/get_push_certificate'
class PemAction < GetPushCertificateAction
#####################################################
# @!group Documentation
#####################################################
def self.description
"A... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/sourcedocs.rb | Ruby | mit | 41,450 | master | 6,830 | module Fastlane
module Actions
class SourcedocsAction < Action
def self.run(params)
UI.user_error!("You have to install sourcedocs using `brew install sourcedocs`") if `which sourcedocs`.to_s.length == 0 && !Helper.test?
command = "sourcedocs generate"
command << " --all-modules" i... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/get_version_number.rb | Ruby | mit | 41,450 | master | 8,374 | module Fastlane
module Actions
module SharedValues
VERSION_NUMBER ||= :VERSION_NUMBER # originally defined in IncrementVersionNumberAction
end
class GetVersionNumberAction < Action
require 'shellwords'
def self.run(params)
xcodeproj_path_or_dir = params[:xcodeproj] || '.'
... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/clear_derived_data.rb | Ruby | mit | 41,450 | master | 2,041 | 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... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/git_pull.rb | Ruby | mit | 41,450 | master | 1,637 | module Fastlane
module Actions
class GitPullAction < Action
def self.run(params)
commands = []
unless params[:only_tags]
command = "git pull"
command << " --rebase" if params[:rebase]
commands += ["#{command} &&"]
end
commands += ["git fetch --... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/default_platform.rb | Ruby | mit | 41,450 | master | 932 | module Fastlane
module Actions
module SharedValues
DEFAULT_PLATFORM = :DEFAULT_PLATFORM
end
class DefaultPlatformAction < Action
def self.run(params)
UI.user_error!("You forgot to pass the default platform") if params.first.nil?
platform = params.first.to_sym
Support... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/clean_cocoapods_cache.rb | Ruby | mit | 41,450 | master | 2,883 | module Fastlane
module Actions
class CleanCocoapodsCacheAction < Action
def self.run(params)
Actions.verify_gem!('cocoapods')
cmd = ['pod cache clean']
cmd << params[:name].to_s if params[:name]
cmd << '--no-ansi' if params[:no_ansi]
cmd << '--verbose' if params[:ve... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/get_build_number.rb | Ruby | mit | 41,450 | master | 3,647 | module Fastlane
module Actions
module SharedValues
BUILD_NUMBER ||= :BUILD_NUMBER # originally defined in IncrementBuildNumberAction
end
class GetBuildNumberAction < Action
require 'shellwords'
def self.run(params)
# More information about how to set up your project and how it ... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/s3.rb | Ruby | mit | 41,450 | master | 9,028 | require 'fastlane/erb_template_helper'
require 'fastlane/helper/s3_client_helper'
require 'ostruct'
require 'uri'
require 'cgi'
module Fastlane
module Actions
module SharedValues
# Using ||= because these MAY be defined by the the
# preferred aws_s3 plugin
S3_IPA_OUTPUT_PATH ||= :S3_IPA_OUTPUT_... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/github_api.rb | Ruby | mit | 41,450 | master | 12,159 | module Fastlane
module Actions
module SharedValues
GITHUB_API_STATUS_CODE = :GITHUB_API_STATUS_CODE
GITHUB_API_RESPONSE = :GITHUB_API_RESPONSE
GITHUB_API_JSON = :GITHUB_API_JSON
end
class GithubApiAction < Action
class << self
def run(params)
require 'json'
... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/nexus_upload.rb | Ruby | mit | 41,450 | master | 10,372 | module Fastlane
module Actions
class NexusUploadAction < Action
def self.run(params)
command = []
command << "curl"
command << verbose(params)
command << "--fail"
command += ssl_options(params)
command += proxy_options(params)
command += upload_options... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/register_device.rb | Ruby | mit | 41,450 | master | 7,815 | 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... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/installr.rb | Ruby | mit | 41,450 | master | 4,572 | module Fastlane
module Actions
module SharedValues
INSTALLR_BUILD_INFORMATION = :INSTALLR_BUILD_INFORMATION
end
class InstallrAction < Action
INSTALLR_API = "https://www.installrapp.com/apps.json"
def self.run(params)
UI.success('Upload to Installr has been started. This may ta... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/import_certificate.rb | Ruby | mit | 41,450 | master | 3,742 | require 'shellwords'
module Fastlane
module Actions
class ImportCertificateAction < Action
def self.run(params)
keychain_path = params[:keychain_path] || FastlaneCore::Helper.keychain_path(params[:keychain_name])
FastlaneCore::KeychainImporter.import_file(params[:certificate_path], keychai... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/upload_app_privacy_details_to_app_store.rb | Ruby | mit | 41,450 | master | 13,211 | 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... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/set_build_number_repository.rb | Ruby | mit | 41,450 | master | 2,849 | module Fastlane
module Actions
module SharedValues
end
class SetBuildNumberRepositoryAction < Action
def self.is_supported?(platform)
[:ios, :mac].include?(platform)
end
def self.run(params)
build_number = Fastlane::Actions::GetBuildNumberRepositoryAction.run(
... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/last_git_tag.rb | Ruby | mit | 41,450 | master | 1,685 | module Fastlane
module Actions
class LastGitTagAction < Action
def self.run(params)
Actions.last_git_tag_name(true, params[:pattern])
end
#####################################################
# @!group Documentation
#####################################################
... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/chatwork.rb | Ruby | mit | 41,450 | master | 3,459 | 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... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/spaceship_logs.rb | Ruby | mit | 41,450 | master | 4,289 | module Fastlane
module Actions
class SpaceshipLogsAction < Action
def self.run(params)
latest = params[:latest]
print_contents = params[:print_contents]
print_paths = params[:print_paths]
copy_to_path = params[:copy_to_path]
copy_to_clipboard = params[:copy_to_clipboa... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/changelog_from_git_commits.rb | Ruby | mit | 41,450 | master | 10,432 | module Fastlane
module Actions
module SharedValues
FL_CHANGELOG ||= :FL_CHANGELOG
end
class ChangelogFromGitCommitsAction < Action
def self.run(params)
if params[:commits_count]
UI.success("Collecting the last #{params[:commits_count]} Git commits")
else
if... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/push_git_tags.rb | Ruby | mit | 41,450 | master | 2,223 | module Fastlane
module Actions
class PushGitTagsAction < Action
def self.run(params)
command = [
'git',
'push',
params[:remote]
]
if params[:tag]
command << "refs/tags/#{params[:tag].shellescape}"
else
command << '--tags'
... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/update_icloud_container_identifiers.rb | Ruby | mit | 41,450 | master | 4,093 | module Fastlane
module Actions
module SharedValues
UPDATE_ICLOUD_CONTAINER_IDENTIFIERS = :UPDATE_ICLOUD_CONTAINER_IDENTIFIERS
end
class UpdateIcloudContainerIdentifiersAction < Action
require 'plist'
def self.run(params)
entitlements_file = params[:entitlements_file]
UI... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/git_tag_exists.rb | Ruby | mit | 41,450 | master | 2,192 | module Fastlane
module Actions
class GitTagExistsAction < Action
def self.run(params)
tag_ref = "refs/tags/#{params[:tag].shellescape}"
if params[:remote]
command = "git ls-remote -q --exit-code #{params[:remote_name].shellescape} #{tag_ref}"
else
command = "git r... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/set_changelog.rb | Ruby | mit | 41,450 | master | 10,702 | 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... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/update_urban_airship_configuration.rb | Ruby | mit | 41,450 | master | 4,173 | module Fastlane
module Actions
class UpdateUrbanAirshipConfigurationAction < Action
def self.run(params)
require "plist"
begin
path = File.expand_path(params[:plist_path])
plist = Plist.parse_xml(path)
plist['developmentAppKey'] = params[:development_app_key] u... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/capture_screenshots.rb | Ruby | mit | 41,450 | master | 416 | module Fastlane
module Actions
require 'fastlane/actions/capture_ios_screenshots'
class CaptureScreenshotsAction < CaptureIosScreenshotsAction
#####################################################
# @!group Documentation
#####################################################
def self.d... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/download_universal_apk_from_google_play.rb | Ruby | mit | 41,450 | master | 6,066 | require 'supply'
require 'supply/options'
module Fastlane
module Actions
class DownloadUniversalApkFromGooglePlayAction < Action
def self.run(params)
package_name = params[:package_name]
version_code = params[:version_code]
destination = params[:destination]
cert_sha = param... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/modify_services.rb | Ruby | mit | 41,450 | master | 9,746 | 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... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/supply.rb | Ruby | mit | 41,450 | master | 394 | module Fastlane
module Actions
require 'fastlane/actions/upload_to_play_store'
class SupplyAction < UploadToPlayStoreAction
#####################################################
# @!group Documentation
#####################################################
def self.description
... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/ensure_xcode_version.rb | Ruby | mit | 41,450 | master | 4,982 | module Fastlane
module Actions
class EnsureXcodeVersionAction < Action
def self.run(params)
Actions.verify_gem!('xcode-install')
required_version = params[:version]
strict = params[:strict]
if required_version.to_s.length == 0
# The user didn't provide an Xcode ver... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/hg_commit_version_bump.rb | Ruby | mit | 41,450 | master | 9,084 | module Fastlane
module Actions
# Commits version bump.
class HgCommitVersionBumpAction < Action
def self.run(params)
require 'xcodeproj'
require 'pathname'
require 'set'
require 'shellwords'
xcodeproj_path = params[:xcodeproj] ? File.expand_path(File.join('.', pa... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/xcodes.rb | Ruby | mit | 41,450 | master | 7,100 | module Fastlane
module Actions
module SharedValues
XCODES_XCODE_PATH = :XCODES_XCODE_PATH
end
class XcodesAction < Action
def self.run(params)
binary = params[:binary_path]
xcodes_raw_version = Actions.sh("#{binary} version", log: false)
xcodes_version = Gem::Version.n... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/notify.rb | Ruby | mit | 41,450 | master | 859 | module Fastlane
module Actions
class NotifyAction < Action
def self.run(params)
require 'terminal-notifier'
UI.important("It's recommended to use the new 'notification' method instead of 'notify'")
text = params.join(' ')
TerminalNotifier.notify(text, title: 'fastlane')
... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/sh.rb | Ruby | mit | 41,450 | master | 2,331 | 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... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/xcode_select.rb | Ruby | mit | 41,450 | master | 2,590 | module Fastlane
module Actions
# See: https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man1/xcode-select.1.html
#
# DESCRIPTION
# xcode-select controls the location of the developer directory used by xcrun(1), xcodebuild(1), cc(1),
# and other Xcode and BSD devel... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/appetize.rb | Ruby | mit | 41,450 | master | 8,826 | module Fastlane
module Actions
module SharedValues
APPETIZE_PUBLIC_KEY = :APPETIZE_PUBLIC_KEY
APPETIZE_APP_URL = :APPETIZE_APP_URL
APPETIZE_MANAGE_URL = :APPETIZE_MANAGE_URL
APPETIZE_API_HOST = :APPETIZE_API_HOST
end
class AppetizeAction < Action
def self.is_supported?(platf... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/onesignal.rb | Ruby | mit | 41,450 | master | 8,874 | module Fastlane
module Actions
module SharedValues
ONE_SIGNAL_APP_ID = :ONE_SIGNAL_APP_ID
ONE_SIGNAL_APP_AUTH_KEY = :ONE_SIGNAL_APP_AUTH_KEY
end
class OnesignalAction < Action
def self.run(params)
require 'net/http'
require 'uri'
require 'base64'
app_id ... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/get_provisioning_profile.rb | Ruby | mit | 41,450 | master | 3,885 | module Fastlane
module Actions
module SharedValues
SIGH_PROFILE_PATH = :SIGH_PROFILE_PATH
SIGH_PROFILE_PATHS = :SIGH_PROFILE_PATHS
SIGH_UDID = :SIGH_UDID # deprecated
SIGH_UUID = :SIGH_UUID
SIGH_NAME = :SIGH_NAME
SIGH_PROFILE_TYPE ||= :SIGH_PROFILE_TYPE
end
class GetPr... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/lcov.rb | Ruby | mit | 41,450 | master | 3,272 | 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... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/ensure_no_debug_code.rb | Ruby | mit | 41,450 | master | 5,274 | module Fastlane
module Actions
class EnsureNoDebugCodeAction < Action
def self.run(params)
command = "grep -RE '#{params[:text]}' '#{File.absolute_path(params[:path])}'"
extensions = []
extensions << params[:extension] unless params[:extension].nil?
if params[:extensions]
... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/unlock_keychain.rb | Ruby | mit | 41,450 | master | 5,654 | module Fastlane
module Actions
class UnlockKeychainAction < Action
def self.run(params)
keychain_path = FastlaneCore::Helper.keychain_path(params[:path])
add_to_search_list = params[:add_to_search_list]
set_default = params[:set_default]
commands = []
# add to search... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/echo.rb | Ruby | mit | 41,450 | master | 347 | module Fastlane
module Actions
require 'fastlane/actions/puts'
class EchoAction < PutsAction
#####################################################
# @!group Documentation
#####################################################
def self.description
"Alias for the `puts` action"
... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/create_pull_request.rb | Ruby | mit | 41,450 | master | 11,728 | 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 '#{... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/git_commit.rb | Ruby | mit | 41,450 | master | 3,206 | module Fastlane
module Actions
class GitCommitAction < Action
def self.run(params)
paths = params[:path]
skip_git_hooks = params[:skip_git_hooks] ? ['--no-verify'] : []
if params[:allow_nothing_to_commit]
# Here we check if the path passed in parameter contains any modific... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/ensure_git_branch.rb | Ruby | mit | 41,450 | master | 2,090 | module Fastlane
module Actions
module SharedValues
end
# Raises an exception and stop the lane execution if the repo is not on a specific branch
class EnsureGitBranchAction < Action
def self.run(params)
branch = params[:branch]
branch_expr = /#{branch}/
if Actions.git_br... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/ssh.rb | Ruby | mit | 41,450 | master | 5,890 | module Fastlane
module Actions
module SharedValues
SSH_STDOUT_VALUE = :SSH_STDOUT_VALUE
SSH_STDERR_VALUE = :SSH_STDERR_VALUE
end
class SshAction < Action
def self.ssh_exec!(ssh, command, log = true)
stdout_data = ""
stderr_data = ""
exit_code = nil
exit_s... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/scp.rb | Ruby | mit | 41,450 | master | 3,811 | module Fastlane
module Actions
module SharedValues
end
class ScpAction < Action
def self.run(params)
Actions.verify_gem!('net-scp')
require "net/scp"
ret = nil
Net::SCP.start(params[:host], params[:username], { port: params[:port].to_i, password: params[:password] })... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/upload_to_app_store.rb | Ruby | mit | 41,450 | master | 2,605 | 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... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/ensure_env_vars.rb | Ruby | mit | 41,450 | master | 1,611 | module Fastlane
module Actions
class EnsureEnvVarsAction < Action
def self.run(params)
variables = params[:env_vars]
missing_variables = variables.select { |variable| ENV[variable].to_s.strip.empty? }
UI.user_error!("Missing environment variable(s) '#{missing_variables.join('\', \''... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/ifttt.rb | Ruby | mit | 41,450 | master | 3,616 | module Fastlane
module Actions
class IftttAction < Action
def self.run(options)
require "net/http"
require "uri"
uri = URI.parse("https://maker.ifttt.com/trigger/#{options[:event_name]}/with/key/#{options[:api_key]}")
https = Net::HTTP.new(uri.host, uri.port)
https.u... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/actions_helper.rb | Ruby | mit | 41,450 | master | 5,613 | 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... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/import.rb | Ruby | mit | 41,450 | master | 1,040 | 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... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/build_ios_app.rb | Ruby | mit | 41,450 | master | 1,253 | module Fastlane
module Actions
require 'fastlane/actions/build_app'
class BuildIosAppAction < BuildAppAction
# Gym::Options.available_options keys that don't apply to ios apps.
REJECT_OPTIONS = [
:pkg,
:skip_package_pkg,
:catalyst_platform,
:installer_cert_name
... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/match_nuke.rb | Ruby | mit | 41,450 | master | 1,998 | module Fastlane
module Actions
class MatchNukeAction < Action
def self.run(params)
require 'match'
params.load_configuration_file("Matchfile")
params[:api_key] ||= Actions.lane_context[SharedValues::APP_STORE_CONNECT_API_KEY]
cert_type = Match.cert_type_sym(params[:type])
... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/setup_travis.rb | Ruby | mit | 41,450 | master | 1,497 | module Fastlane
module Actions
class SetupTravisAction < Action
def self.run(params)
other_action.setup_ci(provider: "travis", force: params[:force])
end
#####################################################
# @!group Documentation
###########################################... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/erb.rb | Ruby | mit | 41,450 | master | 3,123 | 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') {... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/resign.rb | Ruby | mit | 41,450 | master | 8,150 | module Fastlane
module Actions
# Resigns the ipa
class ResignAction < Action
def self.run(params)
require 'sigh'
# try to resign the ipa
if Sigh::Resign.resign(params[:ipa], params[:signing_identity], params[:provisioning_profile], params[:entitlements], params[:version], params... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/xcode_install.rb | Ruby | mit | 41,450 | master | 4,512 | module Fastlane
module Actions
module SharedValues
XCODE_INSTALL_XCODE_PATH = :XCODE_INSTALL_XCODE_PATH
end
class XcodeInstallAction < Action
def self.run(params)
Actions.verify_gem!('xcode-install')
ENV["XCODE_INSTALL_USER"] = params[:username]
ENV["XCODE_INSTALL_TEA... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | fastlane/lib/fastlane/actions/create_app_online.rb | Ruby | mit | 41,450 | master | 2,096 | module Fastlane
module Actions
module SharedValues
PRODUCE_APPLE_ID = :PRODUCE_APPLE_ID
end
class CreateAppOnlineAction < Action
def self.run(params)
require 'produce'
return if Helper.test?
Produce.config = params # we already have the finished config
Dir.c... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.