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 |
|---|---|---|---|---|---|---|---|---|
savonrb/savon | https://github.com/savonrb/savon/blob/04491c318cbc2d9971a2e203a6dd691cf20113bf/lib/savon/mock.rb | lib/savon/mock.rb | # frozen_string_literal: true
module Savon
class ExpectationError < StandardError; end
end
require "savon/mock/expectation"
| ruby | MIT | 04491c318cbc2d9971a2e203a6dd691cf20113bf | 2026-01-04T15:58:29.091841Z | false |
savonrb/savon | https://github.com/savonrb/savon/blob/04491c318cbc2d9971a2e203a6dd691cf20113bf/lib/savon/operation.rb | lib/savon/operation.rb | # frozen_string_literal: true
require "savon/options"
require "savon/block_interface"
require "savon/request"
require "savon/builder"
require "savon/response"
require "savon/request_logger"
require "savon/http_error"
require "mail"
require 'faraday/gzip'
module Savon
class Operation
SOAP_REQUEST_TYPE = {
... | ruby | MIT | 04491c318cbc2d9971a2e203a6dd691cf20113bf | 2026-01-04T15:58:29.091841Z | false |
savonrb/savon | https://github.com/savonrb/savon/blob/04491c318cbc2d9971a2e203a6dd691cf20113bf/lib/savon/model.rb | lib/savon/model.rb | # frozen_string_literal: true
module Savon
module Model
def self.extended(base)
base.setup
end
def setup
class_operation_module
instance_operation_module
end
# Accepts one or more SOAP operations and generates both class and instance methods named
# after the given operati... | ruby | MIT | 04491c318cbc2d9971a2e203a6dd691cf20113bf | 2026-01-04T15:58:29.091841Z | false |
savonrb/savon | https://github.com/savonrb/savon/blob/04491c318cbc2d9971a2e203a6dd691cf20113bf/lib/savon/header.rb | lib/savon/header.rb | # frozen_string_literal: true
require "akami"
require "gyoku"
require "securerandom"
module Savon
class Header
def initialize(globals, locals)
@gyoku_options = { :key_converter => globals[:convert_request_keys_to] }
@wsse_auth = locals[:wsse_auth].nil? ? globals[:wsse_auth] : locals[:wsse_aut... | ruby | MIT | 04491c318cbc2d9971a2e203a6dd691cf20113bf | 2026-01-04T15:58:29.091841Z | false |
savonrb/savon | https://github.com/savonrb/savon/blob/04491c318cbc2d9971a2e203a6dd691cf20113bf/lib/savon/mock/expectation.rb | lib/savon/mock/expectation.rb | # frozen_string_literal: true
require "faraday"
module Savon
class MockExpectation
def initialize(operation_name)
@expected = { :operation_name => operation_name }
@actual = nil
end
def with(locals)
@expected[:message] = locals[:message]
self
end
def returns(response)
... | ruby | MIT | 04491c318cbc2d9971a2e203a6dd691cf20113bf | 2026-01-04T15:58:29.091841Z | false |
savonrb/savon | https://github.com/savonrb/savon/blob/04491c318cbc2d9971a2e203a6dd691cf20113bf/lib/savon/mock/spec_helper.rb | lib/savon/mock/spec_helper.rb | # frozen_string_literal: true
require "savon/mock"
module Savon
module SpecHelper
class Interface
def mock!
Savon.observers << self
end
def unmock!
Savon.observers.clear
end
def expects(operation_name)
expectation = MockExpectation.new(operation_name)
... | ruby | MIT | 04491c318cbc2d9971a2e203a6dd691cf20113bf | 2026-01-04T15:58:29.091841Z | false |
fastlane/ci | https://github.com/fastlane/ci/blob/92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f/fastlane_app.rb | fastlane_app.rb | # External
require "sinatra/base"
require "fastfile_parser"
require "git"
# Internal
require_relative "app/version"
require_relative "app/shared/fastlane_ci_error" # has to be required before other files
require_relative "app/services/services"
require_relative "app/workers/refresh_config_data_sources_worker"
require_... | ruby | MIT | 92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f | 2026-01-04T15:58:31.267755Z | false |
fastlane/ci | https://github.com/fastlane/ci/blob/92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f/launch.rb | launch.rb | require "set"
require "task_queue"
require_relative "app/shared/logging_module"
require_relative "app/shared/models/job_trigger"
require_relative "app/shared/models/git_fork_config"
require_relative "app/shared/models/git_repo" # for GitRepo.git_action_queue
module FastlaneCI
# Launch is responsible for spawning up ... | ruby | MIT | 92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f | 2026-01-04T15:58:31.267755Z | false |
fastlane/ci | https://github.com/fastlane/ci/blob/92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f/app/version.rb | app/version.rb | module FastlaneCI
VERSION = "1.0.0.alpha.1"
end
| ruby | MIT | 92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f | 2026-01-04T15:58:31.267755Z | false |
fastlane/ci | https://github.com/fastlane/ci/blob/92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f/app/services/worker_service.rb | app/services/worker_service.rb | require_relative "../workers/check_for_new_commits_on_github_worker"
require_relative "../workers/check_for_new_prs_on_github_worker"
require_relative "../workers/nightly_build_github_worker"
require_relative "../shared/logging_module"
require_relative "../shared/models/provider_credential"
module FastlaneCI
# Manag... | ruby | MIT | 92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f | 2026-01-04T15:58:31.267755Z | false |
fastlane/ci | https://github.com/fastlane/ci/blob/92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f/app/services/dot_keys_variable_service.rb | app/services/dot_keys_variable_service.rb | require_relative "./file_writers/keys_writer"
require_relative "./services"
require_relative "../shared/dot_keys_variables"
module FastlaneCI
# Logic pertaining to .keys environment variable configuration, this only includes the .keys file
class DotKeysVariableService
# Write .keys configuration file with prop... | ruby | MIT | 92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f | 2026-01-04T15:58:31.267755Z | false |
fastlane/ci | https://github.com/fastlane/ci/blob/92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f/app/services/project_service.rb | app/services/project_service.rb | require_relative "config_data_sources/json_project_data_source"
require_relative "../shared/models/repo_config"
require_relative "../shared/models/local_artifact_provider"
require_relative "../shared/models/gcp_artifact_provider"
require_relative "../shared/models/git_repo"
require_relative "../shared/logging_module"
r... | ruby | MIT | 92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f | 2026-01-04T15:58:31.267755Z | false |
fastlane/ci | https://github.com/fastlane/ci/blob/92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f/app/services/config_service.rb | app/services/config_service.rb | require_relative "code_hosting/git_hub_service"
require_relative "config_data_sources/json_project_data_source"
require_relative "../shared/models/github_provider_credential"
require_relative "../shared/logging_module"
module FastlaneCI
# Provides access to the fastlane.ci configuration, like which projects we're ho... | ruby | MIT | 92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f | 2026-01-04T15:58:31.267755Z | false |
fastlane/ci | https://github.com/fastlane/ci/blob/92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f/app/services/configuration_repository_service.rb | app/services/configuration_repository_service.rb | require "json"
require_relative "../shared/logging_module"
require_relative "../shared/github_handler"
module FastlaneCI
# Provides operations to create and mutate the FastlaneCI configuration
# repository
class ConfigurationRepositoryService
include FastlaneCI::Logging
include FastlaneCI::GitHubHandler
... | ruby | MIT | 92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f | 2026-01-04T15:58:31.267755Z | false |
fastlane/ci | https://github.com/fastlane/ci/blob/92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f/app/services/environment_variable_service.rb | app/services/environment_variable_service.rb | require_relative "data_sources/json_environment_variable_data_source"
require_relative "../shared/logging_module"
require_relative "./services"
module FastlaneCI
# Provides access to environment variables
class EnvironmentVariableService
include FastlaneCI::Logging
attr_accessor :environment_variable_data_... | ruby | MIT | 92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f | 2026-01-04T15:58:31.267755Z | false |
fastlane/ci | https://github.com/fastlane/ci/blob/92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f/app/services/setting_service.rb | app/services/setting_service.rb | require_relative "data_sources/json_setting_data_source"
require_relative "../shared/logging_module"
require_relative "../shared/available_settings"
require_relative "./services"
module FastlaneCI
class SettingServiceKeyNotFoundError < FastlaneCIError
end
# Provides access to system settings
class SettingServ... | ruby | MIT | 92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f | 2026-01-04T15:58:31.267755Z | false |
fastlane/ci | https://github.com/fastlane/ci/blob/92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f/app/services/build_service.rb | app/services/build_service.rb | require_relative "data_sources/build_data_source"
module FastlaneCI
# Provides service-level access to build information
# This class is NOT responsible for running builds
class BuildService
attr_accessor :build_data_source
def initialize(build_data_source: nil)
unless build_data_source.nil?
... | ruby | MIT | 92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f | 2026-01-04T15:58:31.267755Z | false |
fastlane/ci | https://github.com/fastlane/ci/blob/92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f/app/services/xcode_manager_service.rb | app/services/xcode_manager_service.rb | require_relative "../shared/logging_module"
require_relative "./services"
require "xcode/install"
module FastlaneCI
# Manages Xcode installations
class XcodeManagerService
include FastlaneCI::Logging
# Keeps an a hash, the key being the Gem::Version of the Xcode version we're installing
# and the val... | ruby | MIT | 92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f | 2026-01-04T15:58:31.267755Z | false |
fastlane/ci | https://github.com/fastlane/ci/blob/92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f/app/services/apple_id_service.rb | app/services/apple_id_service.rb | require "credentials_manager/account_manager"
require_relative "data_sources/json_apple_id_data_source"
module FastlaneCI
# Responsible for managing the Apple ID credentials
# Those are needed for various tasks, including:
# - Download new versions of Xcode
# - Uploading binaries
# - Accessing code sig... | ruby | MIT | 92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f | 2026-01-04T15:58:31.267755Z | false |
fastlane/ci | https://github.com/fastlane/ci/blob/92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f/app/services/user_service.rb | app/services/user_service.rb | require_relative "data_sources/json_user_data_source"
require_relative "../shared/models/github_provider_credential"
require_relative "../shared/logging_module"
require_relative "./services"
module FastlaneCI
# Provides access to user stuff
class UserService
include FastlaneCI::Logging
attr_accessor :user_... | ruby | MIT | 92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f | 2026-01-04T15:58:31.267755Z | false |
fastlane/ci | https://github.com/fastlane/ci/blob/92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f/app/services/build_runner_service.rb | app/services/build_runner_service.rb | require_relative "../features/build_runner/fastlane_build_runner"
module FastlaneCI
# Responsible for
# - Manage all `TestRunner` objects that are active (either in queue or actually running)
# - Provide helper methods to make it easy to find currently running/queued BuildRunners
#
# TODO: move github specif... | ruby | MIT | 92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f | 2026-01-04T15:58:31.267755Z | false |
fastlane/ci | https://github.com/fastlane/ci/blob/92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f/app/services/notification_service.rb | app/services/notification_service.rb | require "securerandom"
require "task_queue"
require_relative "data_sources/json_notification_data_source"
require_relative "../shared/logging_module"
module FastlaneCI
# Provides access to notification related logic
class NotificationService
include FastlaneCI::Logging
# @return [NotificationDataSource]
... | ruby | MIT | 92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f | 2026-01-04T15:58:31.267755Z | false |
fastlane/ci | https://github.com/fastlane/ci/blob/92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f/app/services/onboarding_service.rb | app/services/onboarding_service.rb | require "json"
require_relative "../shared/logging_module"
require_relative "../services/services"
module FastlaneCI
# Provides operations to create and mutate the FastlaneCI configuration
# repository
class OnboardingService
include FastlaneCI::Logging
# File names that should be present in configurati... | ruby | MIT | 92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f | 2026-01-04T15:58:31.267755Z | false |
fastlane/ci | https://github.com/fastlane/ci/blob/92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f/app/services/update_fastlane_ci_service.rb | app/services/update_fastlane_ci_service.rb | require_relative "../shared/logging_module"
require_relative "../services/services"
require "rubygems/spec_fetcher"
require "rubygems/command_manager"
module FastlaneCI
# Self-update fastlane.ci, this is called either on manual
# user action, or through a background worker
class UpdateFastlaneCIService
incl... | ruby | MIT | 92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f | 2026-01-04T15:58:31.267755Z | false |
fastlane/ci | https://github.com/fastlane/ci/blob/92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f/app/services/services.rb | app/services/services.rb | require_relative "./code_hosting/git_hub_service"
require_relative "./config_data_sources/json_project_data_source"
require_relative "./config_service"
require_relative "./configuration_repository_service"
require_relative "./data_sources/json_build_data_source"
require_relative "./data_sources/json_user_data_source"
r... | ruby | MIT | 92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f | 2026-01-04T15:58:31.267755Z | false |
fastlane/ci | https://github.com/fastlane/ci/blob/92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f/app/services/config_data_sources/project_data_source.rb | app/services/config_data_sources/project_data_source.rb | module FastlaneCI
# Abstract base class for all config data sources
class ProjectDataSource
def projects
not_implemented(__method__)
end
def refresh_repo
not_implemented(__method__)
end
def create_project!(
name: nil,
repo_config: nil,
enabled: nil,
platform... | ruby | MIT | 92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f | 2026-01-04T15:58:31.267755Z | false |
fastlane/ci | https://github.com/fastlane/ci/blob/92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f/app/services/config_data_sources/json_project_data_source.rb | app/services/config_data_sources/json_project_data_source.rb | require_relative "project_data_source"
require_relative "../data_sources/json_data_source"
require_relative "../../shared/json_convertible"
require_relative "../../shared/models/git_repo"
require_relative "../../shared/models/git_hub_repo_config"
require_relative "../../shared/models/job_trigger"
require_relative "../.... | ruby | MIT | 92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f | 2026-01-04T15:58:31.267755Z | false |
fastlane/ci | https://github.com/fastlane/ci/blob/92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f/app/services/code_hosting/git_hub_service.rb | app/services/code_hosting/git_hub_service.rb | require_relative "../../shared/logging_module"
require_relative "../../shared/github_handler"
require_relative "code_hosting_service"
require_relative "github_open_pr"
require "set"
require "octokit"
module FastlaneCI
# Data source that interacts with GitHub
class GitHubService < CodeHostingService
include Fa... | ruby | MIT | 92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f | 2026-01-04T15:58:31.267755Z | false |
fastlane/ci | https://github.com/fastlane/ci/blob/92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f/app/services/code_hosting/github_open_pr.rb | app/services/code_hosting/github_open_pr.rb | module FastlaneCI
# Encapsulates the data we need to know how to checkout a branch from a fork
# We can probably use this for all the things, though.
# Example data
# => #<FastlaneCI::GitHubOpenPR:0x007f9b65c20990
# @branch="joshdholtz-allow-xcodebuild-build-settings-to-use-inherit",
# @clo... | ruby | MIT | 92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f | 2026-01-04T15:58:31.267755Z | false |
fastlane/ci | https://github.com/fastlane/ci/blob/92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f/app/services/code_hosting/code_hosting_service.rb | app/services/code_hosting/code_hosting_service.rb | require_relative "../../shared/models/provider_credential"
module FastlaneCI
# Abstract base class for all code hosting data services
class CodeHostingService
def initialize(provider_credential: nil)
not_implemented(__method__)
end
def session_valid?
not_implemented(__method__)
end
... | ruby | MIT | 92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f | 2026-01-04T15:58:31.267755Z | false |
fastlane/ci | https://github.com/fastlane/ci/blob/92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f/app/services/json_deserializers/json_trigger_deserializer.rb | app/services/json_deserializers/json_trigger_deserializer.rb | require_relative "json_deserializer"
module FastlaneCI
# Concrete class for deserializing JSON representations of `JobTrigger`s.
class JSONTriggerDeserializer < JSONDeserializer
# Deserializes a `JobTrigger` JSON representation and returns a new
# `JobTrigger` object instance.
#
# @param [String] ... | ruby | MIT | 92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f | 2026-01-04T15:58:31.267755Z | false |
fastlane/ci | https://github.com/fastlane/ci/blob/92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f/app/services/json_deserializers/json_deserializer.rb | app/services/json_deserializers/json_deserializer.rb | module FastlaneCI
# Abstract class for parsing JSON and returning a `FastlaneCI` object instance.
class JSONDeserializer
def deserialize!(*)
not_implemented(__method__)
end
end
end
| ruby | MIT | 92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f | 2026-01-04T15:58:31.267755Z | false |
fastlane/ci | https://github.com/fastlane/ci/blob/92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f/app/services/file_writers/keys_writer.rb | app/services/file_writers/keys_writer.rb | # frozen_string_literal: true
require_relative "file_writer"
module FastlaneCI
# A file writer for the `.keys` configuration file, containing environment
# variables needed by FastlaneCI
class KeysWriter < FileWriter
# @return [String]
def file_template
return <<~FILE
# Randomly generated ... | ruby | MIT | 92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f | 2026-01-04T15:58:31.267755Z | false |
fastlane/ci | https://github.com/fastlane/ci/blob/92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f/app/services/file_writers/file_writer.rb | app/services/file_writers/file_writer.rb | # frozen_string_literal: true
module FastlaneCI
# A class to write files using the template design pattern
class FileWriter
# @return [String]
attr_reader :path
# `locals` are template variables used in `file_template` method
#
# @return [Hash]
attr_reader :locals
# Instantiates with ... | ruby | MIT | 92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f | 2026-01-04T15:58:31.267755Z | false |
fastlane/ci | https://github.com/fastlane/ci/blob/92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f/app/services/data_sources/setting_data_source.rb | app/services/data_sources/setting_data_source.rb | module FastlaneCI
# Data source for global fastlane.ci settings
class SettingDataSource
def settings
# TODO: update interface
not_implemented(__method__)
end
def update_setting!(setting: nil)
not_implemented(__method__)
end
end
end
| ruby | MIT | 92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f | 2026-01-04T15:58:31.267755Z | false |
fastlane/ci | https://github.com/fastlane/ci/blob/92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f/app/services/data_sources/json_setting_data_source.rb | app/services/data_sources/json_setting_data_source.rb | require "fileutils"
require_relative "json_data_source"
require_relative "setting_data_source"
require_relative "../../shared/logging_module"
require_relative "../../shared/json_convertible"
require_relative "../../shared/models/setting"
module FastlaneCI
# Mixin the JSONConvertible class for Setting
class Setting... | ruby | MIT | 92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f | 2026-01-04T15:58:31.267755Z | false |
fastlane/ci | https://github.com/fastlane/ci/blob/92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f/app/services/data_sources/json_notification_data_source.rb | app/services/data_sources/json_notification_data_source.rb | require_relative "notification_data_source"
require_relative "../../shared/logging_module"
require_relative "../../shared/json_convertible"
require_relative "../../shared/models/notification"
module FastlaneCI
# Mixin the JSONConvertible class for Notification
class Notification
include FastlaneCI::JSONConvert... | ruby | MIT | 92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f | 2026-01-04T15:58:31.267755Z | false |
fastlane/ci | https://github.com/fastlane/ci/blob/92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f/app/services/data_sources/json_user_data_source.rb | app/services/data_sources/json_user_data_source.rb | require "bcrypt"
require "securerandom"
require_relative "json_data_source"
require_relative "user_data_source"
require_relative "../../shared/logging_module"
require_relative "../../shared/json_convertible"
require_relative "../../shared/models/user"
require_relative "../../shared/models/provider_credential"
require_r... | ruby | MIT | 92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f | 2026-01-04T15:58:31.267755Z | false |
fastlane/ci | https://github.com/fastlane/ci/blob/92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f/app/services/data_sources/json_build_data_source.rb | app/services/data_sources/json_build_data_source.rb | require "json"
require_relative "build_data_source"
require_relative "../../shared/json_convertible"
require_relative "../../shared/logging_module"
require_relative "../../shared/models/build"
require_relative "../../shared/models/artifact"
require_relative "../../shared/models/artifact_provider.rb"
require_relative ".... | ruby | MIT | 92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f | 2026-01-04T15:58:31.267755Z | false |
fastlane/ci | https://github.com/fastlane/ci/blob/92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f/app/services/data_sources/environment_data_source.rb | app/services/data_sources/environment_data_source.rb | module FastlaneCI
# Data source for global environment variables for fastlane.ci
class EnvironmentDataSource
def environment_variables
not_implemented(__method__)
end
def update_environment_variable!(variable: nil)
not_implemented(__method__)
end
def delete_environment_variable!(va... | ruby | MIT | 92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f | 2026-01-04T15:58:31.267755Z | false |
fastlane/ci | https://github.com/fastlane/ci/blob/92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f/app/services/data_sources/json_data_source.rb | app/services/data_sources/json_data_source.rb | module FastlaneCI
# define a simple initialization of instances which rely on a JSON file
module JSONDataSource
def self.included(base)
base.send(:include, InstanceMethods)
base.extend(ClassMethods)
end
attr_accessor :json_folder_path
# add these as class methods
module ClassMethod... | ruby | MIT | 92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f | 2026-01-04T15:58:31.267755Z | false |
fastlane/ci | https://github.com/fastlane/ci/blob/92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f/app/services/data_sources/json_apple_id_data_source.rb | app/services/data_sources/json_apple_id_data_source.rb | require "bcrypt"
require "fileutils"
require_relative "json_data_source"
require_relative "apple_id_data_source"
require_relative "../../shared/logging_module"
require_relative "../../shared/json_convertible"
require_relative "../../shared/models/apple_id"
module FastlaneCI
# Mixin the JSONConvertible class for Appl... | ruby | MIT | 92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f | 2026-01-04T15:58:31.267755Z | false |
fastlane/ci | https://github.com/fastlane/ci/blob/92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f/app/services/data_sources/notification_data_source.rb | app/services/data_sources/notification_data_source.rb | module FastlaneCI
# Abstract base class denoting operations for all things related to
# notifications
#
# @abstract
class NotificationDataSource
# Returns all notifications from the system
#
# @abstract
def notifications
not_implemented(__method__)
end
# Checks if a notification... | ruby | MIT | 92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f | 2026-01-04T15:58:31.267755Z | false |
fastlane/ci | https://github.com/fastlane/ci/blob/92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f/app/services/data_sources/build_data_source.rb | app/services/data_sources/build_data_source.rb | module FastlaneCI
# Data source for all things related to builds
class BuildDataSource
# Array of all builds for the given project
def list_builds(project: nil)
not_implemented(__method__)
end
# Array of all builds for the given project that have the status `pending`
def pending_builds(pr... | ruby | MIT | 92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f | 2026-01-04T15:58:31.267755Z | false |
fastlane/ci | https://github.com/fastlane/ci/blob/92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f/app/services/data_sources/user_data_source.rb | app/services/data_sources/user_data_source.rb | module FastlaneCI
# Data source for all things related to users
class UserDataSource
# returns all users from the system
def users
not_implemented(__method__)
end
# returns logged-in user if password check passes, else nil
def login(email:, password:)
not_implemented(__method__)
... | ruby | MIT | 92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f | 2026-01-04T15:58:31.267755Z | false |
fastlane/ci | https://github.com/fastlane/ci/blob/92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f/app/services/data_sources/apple_id_data_source.rb | app/services/data_sources/apple_id_data_source.rb | module FastlaneCI
# Data source for Apple ID credentials
class AppleIDDataSource
def apple_ids
not_implemented(__method__)
end
def delete_apple_id!(apple_id:)
not_implemented(__method__)
end
def create_apple_id!(user:, password:, prefix: nil)
not_implemented(__method__)
e... | ruby | MIT | 92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f | 2026-01-04T15:58:31.267755Z | false |
fastlane/ci | https://github.com/fastlane/ci/blob/92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f/app/services/data_sources/json_environment_variable_data_source.rb | app/services/data_sources/json_environment_variable_data_source.rb | require "bcrypt"
require "fileutils"
require_relative "json_data_source"
require_relative "environment_data_source"
require_relative "../../shared/logging_module"
require_relative "../../shared/json_convertible"
require_relative "../../shared/models/environment_variable"
module FastlaneCI
# Mixin the JSONConvertible... | ruby | MIT | 92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f | 2026-01-04T15:58:31.267755Z | false |
fastlane/ci | https://github.com/fastlane/ci/blob/92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f/app/workers/check_for_new_prs_on_github_worker.rb | app/workers/check_for_new_prs_on_github_worker.rb | require_relative "github_worker_base"
require_relative "worker_scheduler"
require_relative "../services/build_service"
require_relative "../shared/models/job_trigger"
require_relative "../shared/logging_module"
require "time"
require "set"
module FastlaneCI
# Responsible for checking if there are new pull requests ... | ruby | MIT | 92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f | 2026-01-04T15:58:31.267755Z | false |
fastlane/ci | https://github.com/fastlane/ci/blob/92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f/app/workers/nightly_build_github_worker.rb | app/workers/nightly_build_github_worker.rb | require_relative "github_worker_base"
require_relative "../shared/models/job_trigger"
require_relative "../shared/logging_module"
module FastlaneCI
# Responsible for starting off builds nightly
class NightlyBuildGithubWorker < GitHubWorkerBase
include FastlaneCI::Logging
NIGHTLY_CRON_TIME = "0 0 * * *"
... | ruby | MIT | 92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f | 2026-01-04T15:58:31.267755Z | false |
fastlane/ci | https://github.com/fastlane/ci/blob/92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f/app/workers/check_for_new_commits_on_github_worker.rb | app/workers/check_for_new_commits_on_github_worker.rb | require_relative "github_worker_base"
require_relative "worker_scheduler"
require_relative "../services/build_service"
require_relative "../shared/models/job_trigger"
require_relative "../shared/logging_module"
require "time"
require "set"
module FastlaneCI
# Responsible for checking if there have been new commits
... | ruby | MIT | 92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f | 2026-01-04T15:58:31.267755Z | false |
fastlane/ci | https://github.com/fastlane/ci/blob/92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f/app/workers/github_worker_base.rb | app/workers/github_worker_base.rb | require_relative "worker_base"
require_relative "../shared/models/provider_credential"
require_relative "../shared/logging_module"
require_relative "../services/build_runner_service"
require_relative "../services/code_hosting/git_hub_service"
module FastlaneCI
# Base class for GitHub workers
class GitHubWorkerBase... | ruby | MIT | 92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f | 2026-01-04T15:58:31.267755Z | false |
fastlane/ci | https://github.com/fastlane/ci/blob/92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f/app/workers/worker_base.rb | app/workers/worker_base.rb | require_relative "../shared/logging_module"
module FastlaneCI
# super class for all fastlane.ci workers
# Subclass this class, and implement `work` and `interval_time`
class WorkerBase
include FastlaneCI::Logging
attr_accessor :worker_id
def thread_id=(new_value)
@thread[:thread_id] = new_val... | ruby | MIT | 92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f | 2026-01-04T15:58:31.267755Z | false |
fastlane/ci | https://github.com/fastlane/ci/blob/92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f/app/workers/worker_scheduler.rb | app/workers/worker_scheduler.rb | require "rufus-scheduler"
module FastlaneCI
# Class that handles the scheduling for fastlane.ci workers
class WorkerScheduler
include FastlaneCI::Logging
# Sleep in seconds
attr_reader :interval_time
# Ex. '5 0 * * *' do something every day, five minutes after midnight
# (see "man 5 crontab" ... | ruby | MIT | 92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f | 2026-01-04T15:58:31.267755Z | false |
fastlane/ci | https://github.com/fastlane/ci/blob/92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f/app/workers/check_for_fastlane_ci_update_worker.rb | app/workers/check_for_fastlane_ci_update_worker.rb | require "faraday"
require_relative "worker_base"
require_relative "worker_scheduler"
require_relative "../shared/logging_module"
module FastlaneCI
# Responsible for checking for new fastlane.ci updates on
# GitHub/RubyGems
class CheckForFastlaneCIUpdateWorker < WorkerBase
include FastlaneCI::Logging
att... | ruby | MIT | 92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f | 2026-01-04T15:58:31.267755Z | false |
fastlane/ci | https://github.com/fastlane/ci/blob/92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f/app/workers/refresh_config_data_sources_worker.rb | app/workers/refresh_config_data_sources_worker.rb | require_relative "worker_base"
require_relative "worker_scheduler"
module FastlaneCI
# Responsible for running `git pull` on the ci config repo
# in the background, every x seconds
class RefreshConfigDataSourcesWorker < WorkerBase
attr_reader :scheduler
def initialize
@scheduler = WorkerScheduler.... | ruby | MIT | 92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f | 2026-01-04T15:58:31.267755Z | false |
fastlane/ci | https://github.com/fastlane/ci/blob/92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f/app/features/all.rb | app/features/all.rb | require_relative "configuration/configuration_controller"
require_relative "dashboard/dashboard_controller"
require_relative "login/login_controller"
require_relative "notifications/notifications_controller"
require_relative "onboarding/onboarding_controller"
require_relative "project/project_controller"
require_relati... | ruby | MIT | 92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f | 2026-01-04T15:58:31.267755Z | false |
fastlane/ci | https://github.com/fastlane/ci/blob/92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f/app/features/login/login_controller.rb | app/features/login/login_controller.rb | # Internal
require_relative "../../shared/controller_base"
require_relative "../../services/user_service"
require_relative "../../services/dot_keys_variable_service"
require_relative "../../shared/models/github_provider_credential"
require "octokit"
module FastlaneCI
# Displays CI login, user creation, as well as l... | ruby | MIT | 92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f | 2026-01-04T15:58:31.267755Z | false |
fastlane/ci | https://github.com/fastlane/ci/blob/92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f/app/features/onboarding/onboarding_controller.rb | app/features/onboarding/onboarding_controller.rb | require "set"
require_relative "../../shared/controller_base"
require_relative "../../services/services"
module FastlaneCI
# Controller to help with onboarding a first-time user to fastlane.ci
class OnboardingController < ControllerBase
HOME = "/onboarding_erb"
# After a POST request where a status is se... | ruby | MIT | 92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f | 2026-01-04T15:58:31.267755Z | false |
fastlane/ci | https://github.com/fastlane/ci/blob/92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f/app/features/configuration/configuration_controller.rb | app/features/configuration/configuration_controller.rb | require "set"
require_relative "../../shared/authenticated_controller_base"
require_relative "../../services/services"
module FastlaneCI
#
# A CRUD controller to manage configuration data for FastlaneCI. Walks the
# user through configuration should they not have the proper metadata required
# to run the serv... | ruby | MIT | 92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f | 2026-01-04T15:58:31.267755Z | false |
fastlane/ci | https://github.com/fastlane/ci/blob/92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f/app/features/xcode_manager/xcode_manager_controller.rb | app/features/xcode_manager/xcode_manager_controller.rb | require "set"
require_relative "../../shared/authenticated_controller_base"
require_relative "../../services/services"
module FastlaneCI
# A controller to manage Xcode installations
class XcodeManagerController < AuthenticatedControllerBase
HOME = "/xcode_manager_erb"
get HOME do
locals = {
... | ruby | MIT | 92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f | 2026-01-04T15:58:31.267755Z | false |
fastlane/ci | https://github.com/fastlane/ci/blob/92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f/app/features/build_runner/fastlane_build_runner.rb | app/features/build_runner/fastlane_build_runner.rb | require_relative "./fastlane_build_runner_helpers/fastlane_ci_output"
require_relative "./fastlane_build_runner_helpers/fastlane_log"
require_relative "./fastlane_build_runner_helpers/fastlane_output_to_html"
require_relative "./build_runner"
require_relative "../../shared/fastfile_finder"
require "tmpdir"
require "bu... | ruby | MIT | 92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f | 2026-01-04T15:58:31.267755Z | false |
fastlane/ci | https://github.com/fastlane/ci/blob/92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f/app/features/build_runner/build_runner.rb | app/features/build_runner/build_runner.rb | require_relative "../../shared/models/artifact"
require_relative "./build_runner_output_row"
# ideally we'd have a nicer way to inject this
require_relative "../../features/build/build_controller"
module FastlaneCI
# Class that represents a BuildRunner, used
# to run tests for a given commit sha
#
# Responsib... | ruby | MIT | 92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f | 2026-01-04T15:58:31.267755Z | false |
fastlane/ci | https://github.com/fastlane/ci/blob/92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f/app/features/build_runner/web_socket_build_runner_change_listener.rb | app/features/build_runner/web_socket_build_runner_change_listener.rb | require_relative "../../shared/logging_module"
require_relative "build_runner_change_listener"
module FastlaneCI
# Build Runner Change Listener for websocket connection (expecting `faye/websocket`)
class WebSocketBuildRunnerChangeListener < BuildRunnerChangeListener
include FastlaneCI::Logging
def initiali... | ruby | MIT | 92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f | 2026-01-04T15:58:31.267755Z | false |
fastlane/ci | https://github.com/fastlane/ci/blob/92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f/app/features/build_runner/remote_runner.rb | app/features/build_runner/remote_runner.rb | require_relative "../../../agent/client"
require_relative "../../../lib/notifications"
module FastlaneCI
##
# RemoteRunner
#
# This class will connect to a running Agent (provided by the grpc parameter)
# and execute a fastlane command, streaming back the responses.
# It can also provide an interface for a... | ruby | MIT | 92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f | 2026-01-04T15:58:31.267755Z | false |
fastlane/ci | https://github.com/fastlane/ci/blob/92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f/app/features/build_runner/build_runner_change_listener.rb | app/features/build_runner/build_runner_change_listener.rb | module FastlaneCI
# Base class for all build runner change listeners
class BuildRunnerChangeListener
# If the listener is no longer listening, return true.
# Once this returns `true` the build runner will never attempt to use it again.
# That means that the first time an instance returns `true`, it will... | ruby | MIT | 92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f | 2026-01-04T15:58:31.267755Z | false |
fastlane/ci | https://github.com/fastlane/ci/blob/92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f/app/features/build_runner/build_runner_output_row.rb | app/features/build_runner/build_runner_output_row.rb | module FastlaneCI
# Represents a single "Row" when streaming the build output (might be coming from fastlane)
# meaning it's a single message that we want to show to the user
# and store as a build artifact as part of the build log
class BuildRunnerOutputRow
BUILD_FAIL_TYPES = [
:user_error,
:bu... | ruby | MIT | 92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f | 2026-01-04T15:58:31.267755Z | false |
fastlane/ci | https://github.com/fastlane/ci/blob/92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f/app/features/build_runner/fastlane_build_runner_helpers/fastlane_log.rb | app/features/build_runner/fastlane_build_runner_helpers/fastlane_log.rb | require "fastlane"
module FastlaneCI
# Implementation for the FastlaneCore::Interface abstract class
# this is set to the fastlane runner before executing the user's Fastfile
class FastlaneLog
# The file path for the log output.
attr_reader :file_path
# Base severity from which the log will store ev... | ruby | MIT | 92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f | 2026-01-04T15:58:31.267755Z | false |
fastlane/ci | https://github.com/fastlane/ci/blob/92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f/app/features/build_runner/fastlane_build_runner_helpers/fastlane_ci_output.rb | app/features/build_runner/fastlane_build_runner_helpers/fastlane_ci_output.rb | require_relative "./fastlane_log"
require "fastlane"
module FastlaneCI
# Implementation for the FastlaneCore::Interface abstract class
# this is set to the fastlane runner before executing the user's Fastfile
class FastlaneCIOutput < FastlaneCore::Interface
# The block being called for each new line that sho... | ruby | MIT | 92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f | 2026-01-04T15:58:31.267755Z | false |
fastlane/ci | https://github.com/fastlane/ci/blob/92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f/app/features/build_runner/fastlane_build_runner_helpers/fastlane_output_to_html.rb | app/features/build_runner/fastlane_build_runner_helpers/fastlane_output_to_html.rb | module FastlaneCI
# Responsible for converting JSON based message information, e.g.
#
# {
# type: success,
# message: "Step: default_platform"
# }
#
# to HTML code, e.g.
#
# <p class="success">Step: default_platform</p>
#
# It does so for each row
#
class FastlaneOutputToHtml
class <... | ruby | MIT | 92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f | 2026-01-04T15:58:31.267755Z | false |
fastlane/ci | https://github.com/fastlane/ci/blob/92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f/app/features/project/project_controller.rb | app/features/project/project_controller.rb | require_relative "../../shared/authenticated_controller_base"
require_relative "../../shared/models/git_repo"
require_relative "../../shared/models/git_hub_repo_config"
require_relative "../../shared/fastfile_peeker"
require_relative "../../shared/fastfile_finder"
require_relative "../../features/build_runner/remote_ru... | ruby | MIT | 92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f | 2026-01-04T15:58:31.267755Z | false |
fastlane/ci | https://github.com/fastlane/ci/blob/92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f/app/features/build/build_controller.rb | app/features/build/build_controller.rb | require_relative "../../shared/controller_base"
require_relative "./build_websocket_backend"
require_relative "../../services/services"
require "pathname"
require "uri"
module FastlaneCI
# Controller for a single project view. Responsible for updates, triggering builds, and displaying project info
# THIS IS NOT PR... | ruby | MIT | 92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f | 2026-01-04T15:58:31.267755Z | false |
fastlane/ci | https://github.com/fastlane/ci/blob/92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f/app/features/build/build_websocket_backend.rb | app/features/build/build_websocket_backend.rb | require "faye/websocket"
require_relative "../../shared/logging_module"
require_relative "../build_runner/web_socket_build_runner_change_listener"
Faye::WebSocket.load_adapter("thin")
module FastlaneCI
# Responsible for the real-time streaming of the build output
# to the user's browser
# This is a Rack middlew... | ruby | MIT | 92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f | 2026-01-04T15:58:31.267755Z | false |
fastlane/ci | https://github.com/fastlane/ci/blob/92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f/app/features/credentials/provider_credentials_controller.rb | app/features/credentials/provider_credentials_controller.rb | require "set"
require_relative "../../shared/authenticated_controller_base"
require_relative "../../services/services"
module FastlaneCI
# A CRUD controller to manage provider credentials associated with a user. A
# `ProviderCredential` is a credential a user may use to access some third-party
# provider. For i... | ruby | MIT | 92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f | 2026-01-04T15:58:31.267755Z | false |
fastlane/ci | https://github.com/fastlane/ci/blob/92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f/app/features/dashboard/dashboard_controller.rb | app/features/dashboard/dashboard_controller.rb | require_relative "../../shared/authenticated_controller_base"
module FastlaneCI
# Displays the main landing page, which is the project list right now
class DashboardController < AuthenticatedControllerBase
HOME = "/dashboard_erb"
get HOME do
current_provider_credential = check_and_get_provider_crede... | ruby | MIT | 92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f | 2026-01-04T15:58:31.267755Z | false |
fastlane/ci | https://github.com/fastlane/ci/blob/92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f/app/features/users/users_controller.rb | app/features/users/users_controller.rb | require "set"
require_relative "../../shared/authenticated_controller_base"
require_relative "../../services/services"
module FastlaneCI
# A CRUD controller to manage users
class UsersController < AuthenticatedControllerBase
HOME = "/users_erb"
get HOME do
locals = { title: "Users" }
erb(:use... | ruby | MIT | 92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f | 2026-01-04T15:58:31.267755Z | false |
fastlane/ci | https://github.com/fastlane/ci/blob/92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f/app/features/notifications/notifications_controller.rb | app/features/notifications/notifications_controller.rb | require_relative "../../shared/authenticated_controller_base"
require_relative "../../services/services"
require "pathname"
module FastlaneCI
# CRUD controller for handling and displaying notifications to user
class NotificationsController < AuthenticatedControllerBase
HOME = "/notifications_erb"
# Render... | ruby | MIT | 92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f | 2026-01-04T15:58:31.267755Z | false |
fastlane/ci | https://github.com/fastlane/ci/blob/92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f/app/features/environment_variables/environment_variables_controller.rb | app/features/environment_variables/environment_variables_controller.rb | require "set"
require_relative "../../shared/authenticated_controller_base"
require_relative "../../services/services"
module FastlaneCI
# A CRUD controller to manage environment variables
class EnvironmentVariablesController < AuthenticatedControllerBase
HOME = "/environment_variables_erb"
get HOME do
... | ruby | MIT | 92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f | 2026-01-04T15:58:31.267755Z | false |
fastlane/ci | https://github.com/fastlane/ci/blob/92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f/app/features/apple_id/apple_id_controller.rb | app/features/apple_id/apple_id_controller.rb | require "set"
require_relative "../../shared/authenticated_controller_base"
require_relative "../../services/services"
module FastlaneCI
# A CRUD controller to manage Apple ID credentials
class AppleIDController < AuthenticatedControllerBase
HOME = "/apple_ids_erb"
get HOME do
locals = { title: "Ap... | ruby | MIT | 92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f | 2026-01-04T15:58:31.267755Z | false |
fastlane/ci | https://github.com/fastlane/ci/blob/92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f/app/features-json/user_json_controller.rb | app/features-json/user_json_controller.rb | require_relative "../services/user_service"
require_relative "api_controller"
require_relative "json_params"
module FastlaneCI
# Controller responsible for handling users
class UserJSONController < APIController
disable(:authentication)
HOME = "/api/user"
post HOME.to_s do
# fetch email based o... | ruby | MIT | 92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f | 2026-01-04T15:58:31.267755Z | false |
fastlane/ci | https://github.com/fastlane/ci/blob/92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f/app/features-json/setting_json_controller.rb | app/features-json/setting_json_controller.rb | require_relative "api_controller"
module FastlaneCI
# Controller for providing all data relating to system settings
class SettingJSONController < APIController
HOME = "/data/settings"
get HOME do
return json(Services.setting_service.settings)
end
post "#{HOME}/:setting_key" do
key = p... | ruby | MIT | 92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f | 2026-01-04T15:58:31.267755Z | false |
fastlane/ci | https://github.com/fastlane/ci/blob/92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f/app/features-json/build_json_controller.rb | app/features-json/build_json_controller.rb | require_relative "api_controller"
require_relative "../features/build_runner/remote_runner"
require_relative "./view_models/build_summary_view_model"
require_relative "./view_models/build_view_model"
require "faye/websocket"
Faye::WebSocket.load_adapter("thin")
module FastlaneCI
# Controller for providing all data ... | ruby | MIT | 92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f | 2026-01-04T15:58:31.267755Z | false |
fastlane/ci | https://github.com/fastlane/ci/blob/92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f/app/features-json/api_controller.rb | app/features-json/api_controller.rb | require "sinatra/base"
require "sinatra/reloader"
require "jwt"
require_relative "../services/services"
require_relative "json_params"
module FastlaneCI
##
# APIController is designed for state-less API requests servicing the Angular front-end
#
# Requests are expected to be application/json.
# The `params`... | ruby | MIT | 92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f | 2026-01-04T15:58:31.267755Z | false |
fastlane/ci | https://github.com/fastlane/ci/blob/92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f/app/features-json/repos_json_controller.rb | app/features-json/repos_json_controller.rb | require_relative "api_controller"
require_relative "./view_models/repo_view_model"
require_relative "./view_models/lane_view_model"
require_relative "../shared/models/github_provider_credential"
require_relative "../services/code_hosting/git_hub_service"
module FastlaneCI
# Controller for providing all data relating... | ruby | MIT | 92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f | 2026-01-04T15:58:31.267755Z | false |
fastlane/ci | https://github.com/fastlane/ci/blob/92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f/app/features-json/json_params.rb | app/features-json/json_params.rb | require "sinatra/json"
module FastlaneCI
##
# JSONParams mixin allows `params` method to return the params from the parsed request body
#
module JSONParams
def params
return @json_params if defined?(@json_params)
request.body.rewind
body = request.body.read
return super if body.to... | ruby | MIT | 92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f | 2026-01-04T15:58:31.267755Z | false |
fastlane/ci | https://github.com/fastlane/ci/blob/92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f/app/features-json/artifact_json_controller.rb | app/features-json/artifact_json_controller.rb | require_relative "./view_models/artifact_view_model"
module FastlaneCI
# Controller for providing all data relating to artifacts
class ArtifactJSONController < APIController
HOME = "/data/project/:project_id/build/:build_number/artifact"
class ArtifactNotFoundError < FastlaneCIError
end
# Fetch a... | ruby | MIT | 92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f | 2026-01-04T15:58:31.267755Z | false |
fastlane/ci | https://github.com/fastlane/ci/blob/92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f/app/features-json/setup_json_controller.rb | app/features-json/setup_json_controller.rb | require_relative "api_controller"
module FastlaneCI
# Controller for providing all setup APIs
class SetupJSONController < APIController
HOME = "/data/setup"
get "#{HOME}/configured", authenticate: false do
return json(Services.onboarding_service.correct_setup?)
end
end
end
| ruby | MIT | 92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f | 2026-01-04T15:58:31.267755Z | false |
fastlane/ci | https://github.com/fastlane/ci/blob/92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f/app/features-json/login_json_controller.rb | app/features-json/login_json_controller.rb | require_relative "../services/user_service"
require_relative "api_controller"
require_relative "json_params"
module FastlaneCI
# Controller responsible of handling the login process using JWT token.
class LoginJSONController < APIController
disable(:authentication)
HOME = "/api/login"
post HOME.to_s ... | ruby | MIT | 92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f | 2026-01-04T15:58:31.267755Z | false |
fastlane/ci | https://github.com/fastlane/ci/blob/92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f/app/features-json/project_json_controller.rb | app/features-json/project_json_controller.rb | require_relative "api_controller"
require_relative "./view_models/project_summary_view_model"
require_relative "./view_models/project_view_model"
require_relative "../shared/factories/trigger_factory"
module FastlaneCI
# Controller for providing all data relating to projects
class ProjectJSONController < APIContro... | ruby | MIT | 92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f | 2026-01-04T15:58:31.267755Z | false |
fastlane/ci | https://github.com/fastlane/ci/blob/92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f/app/features-json/view_models/artifact_view_model.rb | app/features-json/view_models/artifact_view_model.rb | require_relative "../../shared/models/artifact"
require_relative "../../shared/json_convertible"
module FastlaneCI
# View model to expose the detailed info about an artifact.
class ArtifactViewModel
include FastlaneCI::JSONConvertible
# @return [UUID] The id of the artifact.
attr_reader :id
# Str... | ruby | MIT | 92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f | 2026-01-04T15:58:31.267755Z | false |
fastlane/ci | https://github.com/fastlane/ci/blob/92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f/app/features-json/view_models/repo_view_model.rb | app/features-json/view_models/repo_view_model.rb | require_relative "../../shared/json_convertible"
module FastlaneCI
# View model to expose the basic info about repositories.
class RepoViewModel
include FastlaneCI::JSONConvertible
# @return [String]
attr_reader :full_name
# @return [String]
attr_reader :url
def initialize(repo:)
@... | ruby | MIT | 92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f | 2026-01-04T15:58:31.267755Z | false |
fastlane/ci | https://github.com/fastlane/ci/blob/92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f/app/features-json/view_models/build_summary_view_model.rb | app/features-json/view_models/build_summary_view_model.rb | require_relative "../../shared/models/build"
require_relative "../../shared/json_convertible"
module FastlaneCI
# View model to expose the basic info about a build.
class BuildSummaryViewModel
include FastlaneCI::JSONConvertible
# @return [Integer]
attr_accessor :number
# @return [String]
att... | ruby | MIT | 92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f | 2026-01-04T15:58:31.267755Z | false |
fastlane/ci | https://github.com/fastlane/ci/blob/92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f/app/features-json/view_models/project_view_model.rb | app/features-json/view_models/project_view_model.rb | require_relative "./build_summary_view_model"
require_relative "../../shared/models/project"
require_relative "../../shared/json_convertible"
module FastlaneCI
# View model to expose the detailed info about a project.
class ProjectViewModel
include FastlaneCI::JSONConvertible
# @return [String] Name of th... | ruby | MIT | 92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f | 2026-01-04T15:58:31.267755Z | false |
fastlane/ci | https://github.com/fastlane/ci/blob/92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f/app/features-json/view_models/lane_view_model.rb | app/features-json/view_models/lane_view_model.rb | require_relative "../../shared/json_convertible"
module FastlaneCI
# View model to expose the a project's lane.
class LaneViewModel
include FastlaneCI::JSONConvertible
# @return [String] name of the lane
attr_reader :name
# @return [String] platform type (Ex. iOS)
attr_reader :platform
d... | ruby | MIT | 92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f | 2026-01-04T15:58:31.267755Z | false |
fastlane/ci | https://github.com/fastlane/ci/blob/92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f/app/features-json/view_models/build_view_model.rb | app/features-json/view_models/build_view_model.rb | require_relative "../../shared/models/build"
require_relative "../../shared/json_convertible"
module FastlaneCI
# View model to expose the detailed info about a build.
class BuildViewModel
include FastlaneCI::JSONConvertible
# The project ID this build is associated with
attr_reader :project_id
#... | ruby | MIT | 92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f | 2026-01-04T15:58:31.267755Z | false |
fastlane/ci | https://github.com/fastlane/ci/blob/92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f/app/features-json/view_models/view_model.rb | app/features-json/view_models/view_model.rb | require "../../shared/json_convertible"
module FastlaneCI
# Generic base mixin to create ViewModels from any Model that is JSONConvertible.
# Used to communicate the backend with the frontend.
# @example
# class KlassModel
# include FastlaneCI::JSONConvertible
#
# attr_accessor ... | ruby | MIT | 92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f | 2026-01-04T15:58:31.267755Z | false |
fastlane/ci | https://github.com/fastlane/ci/blob/92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f/app/features-json/view_models/project_summary_view_model.rb | app/features-json/view_models/project_summary_view_model.rb | require_relative "../../shared/models/project"
require_relative "../../shared/models/build"
require_relative "../../shared/json_convertible"
module FastlaneCI
# View model to expose the basic info about a project.
class ProjectSummaryViewModel
include FastlaneCI::JSONConvertible
# @return [String] Name of... | ruby | MIT | 92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f | 2026-01-04T15:58:31.267755Z | false |
fastlane/ci | https://github.com/fastlane/ci/blob/92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f/app/shared/git_transactor.rb | app/shared/git_transactor.rb | require_relative "transactor"
module FastlaneCI
# Runs 'transactions' in the git repository
class GitTransactor < Transactor
attr_reader :git_repo
def initialize(git_repo:)
@git_repo = git_repo
end
def in_progress?
!git_repo.status.empty?
end
def start_transaction
# NOP... | ruby | MIT | 92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f | 2026-01-04T15:58:31.267755Z | false |
fastlane/ci | https://github.com/fastlane/ci/blob/92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f/app/shared/github_handler.rb | app/shared/github_handler.rb | require "octokit"
require "faraday"
require "socket"
require "net/http"
require_relative "logging_module"
# TODO: eventually we'll want to consider handling all these:
# when 400 Octokit::BadRequest
# when 401 Octokit::OneTimePasswordRequired
# Octokit::Unauthorized
# when 403 Octokit::Too... | ruby | MIT | 92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f | 2026-01-04T15:58:31.267755Z | false |
fastlane/ci | https://github.com/fastlane/ci/blob/92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f/app/shared/resource_reloader.rb | app/shared/resource_reloader.rb | require "sinatra/reloader"
require_relative "logging_module"
module FastlaneCI
# TODO: This doesn't work just yet
# This mixin allows automatic resource reloading
# call enable_resource_reloading with the file path with an optional block to be executed after reload
module ResourceReloader
include Fastlane... | ruby | MIT | 92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f | 2026-01-04T15:58:31.267755Z | false |
fastlane/ci | https://github.com/fastlane/ci/blob/92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f/app/shared/logging_module.rb | app/shared/logging_module.rb | require "sinatra/custom_logger"
require "logger"
module FastlaneCI
# Logging mixin, can be used wherever
#
#
# The available log levels are:
# * UNKNOWN - An unknown message that should always be logged.
# * FATAL - An unhandleable error that results in a program crash.
# * ERROR - A handleable err... | ruby | MIT | 92d3af7f8ff0f1e8ed6809a97a4b6ef259e4c36f | 2026-01-04T15:58:31.267755Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.