repo
stringlengths
5
92
file_url
stringlengths
80
287
file_path
stringlengths
5
197
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
7 values
commit_sha
stringlengths
40
40
retrieved_at
stringdate
2026-01-04 15:37:27
2026-01-04 17:58:21
truncated
bool
2 classes
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/spaceship/lib/spaceship/test_flight/group.rb
spaceship/lib/spaceship/test_flight/group.rb
require_relative 'base' require_relative 'build' module Spaceship::TestFlight class Group < Base attr_accessor :id attr_accessor :name attr_accessor :is_default_external_group attr_accessor :is_internal_group attr_accessor :provider_id attr_accessor :is_active attr_accessor :created ...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/spaceship/lib/spaceship/test_flight/build.rb
spaceship/lib/spaceship/test_flight/build.rb
require 'time' require_relative 'base' require_relative 'test_info' require_relative 'export_compliance' require_relative 'beta_review_info' require_relative 'build_trains' require_relative '../connect_api' module Spaceship module TestFlight class Build < Base # @example # "com.sample.app" ...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/spaceship/lib/spaceship/test_flight/app_test_info.rb
spaceship/lib/spaceship/test_flight/app_test_info.rb
require_relative 'base' require_relative 'test_info' require_relative 'beta_review_info' module Spaceship::TestFlight class AppTestInfo < Base # AppTestInfo wraps a test_info and beta_review_info in the format required to manage test_info # for an application. Note that this structure, although looking simil...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/spaceship/lib/spaceship/test_flight/beta_review_info.rb
spaceship/lib/spaceship/test_flight/beta_review_info.rb
require_relative 'base' module Spaceship::TestFlight class BetaReviewInfo < Base attr_accessor :contact_first_name, :contact_last_name, :contact_phone, :contact_email attr_accessor :demo_account_name, :demo_account_password, :demo_account_required, :notes attr_mapping({ 'contactFirstName' => :cont...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/spaceship/lib/spaceship/test_flight/base.rb
spaceship/lib/spaceship/test_flight/base.rb
require_relative '../base' require_relative '../tunes/tunes_client' module Spaceship module TestFlight class Base < Spaceship::Base def self.client # Verify there is a client that can be used if Spaceship::Tunes.client # Initialize new client if new or if team changed if...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/spaceship/lib/spaceship/test_flight/export_compliance.rb
spaceship/lib/spaceship/test_flight/export_compliance.rb
require_relative 'base' module Spaceship::TestFlight class ExportCompliance < Base attr_accessor :uses_encryption, :encryption_updated attr_mapping({ 'usesEncryption' => :uses_encryption, 'encryptionUpdated' => :encryption_updated }) end end
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/spaceship/lib/spaceship/test_flight/client.rb
spaceship/lib/spaceship/test_flight/client.rb
require_relative '../client' module Spaceship module TestFlight class Client < Spaceship::Client ## # Spaceship HTTP client for the testflight API. # # This client is solely responsible for the making HTTP requests and # parsing their responses. Parameters should be either named par...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/spaceship/lib/spaceship/test_flight/test_info.rb
spaceship/lib/spaceship/test_flight/test_info.rb
require_relative 'base' module Spaceship::TestFlight class TestInfo < Base # TestInfo Contains a collection of info for testers. There is one "testInfo" for each locale. # # For now, when we set a value it sets the same value for all locales # When getting a value, we return the first locale values ...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/spaceship/lib/spaceship/test_flight/tester.rb
spaceship/lib/spaceship/test_flight/tester.rb
require_relative 'base' module Spaceship module TestFlight class Tester < Base # @return (String) The identifier of this tester, provided by App Store Connect # @example # "60f858b4-60a8-428a-963a-f943a3d68d17" attr_accessor :tester_id # @return (String) The email of this tester ...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane_core/spec/help_formatter_spec.rb
fastlane_core/spec/help_formatter_spec.rb
describe FastlaneCore::HelpFormatter do class MockCommand attr_accessor :name, :summary, :description, :options, :examples def initialize(name, summary, description, options, examples) @name = name @summary = summary @description = description @options = options @examples = exam...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane_core/spec/ios_app_identifier_guesser_spec.rb
fastlane_core/spec/ios_app_identifier_guesser_spec.rb
require 'spec_helper' require 'fastlane_core/ios_app_identifier_guesser' describe FastlaneCore::IOSAppIdentifierGuesser do it 'returns nil if no clues' do # this might also fail if the environment or config files are not clean expect(FastlaneCore::IOSAppIdentifierGuesser.guess_app_identifier([])).to be_nil ...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane_core/spec/print_table_spec.rb
fastlane_core/spec/print_table_spec.rb
describe FastlaneCore do describe FastlaneCore::PrintTable do before do @options = [ FastlaneCore::ConfigItem.new(key: :cert_name, env_name: "SIGH_PROVISIONING_PROFILE_NAME", description: "Set the profile name", ...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane_core/spec/helper_spec.rb
fastlane_core/spec/helper_spec.rb
describe FastlaneCore do describe FastlaneCore::Helper do describe "#bundler?" do it "returns false when not in a bundler environment" do stub_const('ENV', {}) expect(FastlaneCore::Helper.bundler?).to be(false) end it "returns true BUNDLE_BIN_PATH is defined" do stub_con...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane_core/spec/interface_spec.rb
fastlane_core/spec/interface_spec.rb
describe FastlaneCore::Interface do describe "Abort helper methods" do describe "#abort_with_message!" do it "raises FastlaneCommonException" do expect do FastlaneCore::Interface.new.abort_with_message!("Yup") end.to raise_error(FastlaneCore::Interface::FastlaneCommonException, "Yu...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane_core/spec/tag_version_spec.rb
fastlane_core/spec/tag_version_spec.rb
describe FastlaneCore::TagVersion do describe "version_number_from_tag" do # This is the style generated by rake release. it "removes any initial v" do tag = "v0.1.0-beta.3" version_number = FastlaneCore::TagVersion.version_number_from_tag(tag) expect(version_number).to eq("0.1.0-beta.3") ...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane_core/spec/project_spec.rb
fastlane_core/spec/project_spec.rb
describe FastlaneCore do describe FastlaneCore::Project do describe 'project and workspace detection' do def within_a_temp_dir Dir.mktmpdir do |dir| FileUtils.cd(dir) do yield(dir) if block_given? end end end let(:options) do [ F...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane_core/spec/languages_spec.rb
fastlane_core/spec/languages_spec.rb
describe FastlaneCore do describe FastlaneCore::Languages do it "all languages are available" do expect(FastlaneCore::Languages::ALL_LANGUAGES.count).to be >= 27 end end end
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane_core/spec/wordwrap_spec.rb
fastlane_core/spec/wordwrap_spec.rb
require 'fastlane_core/string_filters' describe WordWrap do context 'wordwrapping will return an array of strings' do let(:test_string) { 'some big long string with lots of characters I think there should be more than eighty characters here!' } it 'will return an empty array if the length is zero' do ...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane_core/spec/command_executor_spec.rb
fastlane_core/spec/command_executor_spec.rb
describe FastlaneCore do describe FastlaneCore::CommandExecutor do describe "execute" do let(:failing_command) { FastlaneCore::Helper.windows? ? 'echo log && exit 42' : 'echo log; exit 42' } let(:failing_command_output) { FastlaneCore::Helper.windows? ? "log \n" : "log\n" } let(:failing_command_...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane_core/spec/test_commander_program.rb
fastlane_core/spec/test_commander_program.rb
# Helper class that encapsulates the setup of a do-nothing Commander # program that captures the results of parsing command line options class TestCommanderProgram include Commander::Methods attr_accessor :args attr_accessor :options def self.run(config_items) new(config_items).tap(&:run!) end def in...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane_core/spec/fastlane_pty_spec.rb
fastlane_core/spec/fastlane_pty_spec.rb
describe FastlaneCore do describe FastlaneCore::FastlanePty do describe "spawn" do it 'executes a simple command successfully' do @all_lines = [] exit_status = FastlaneCore::FastlanePty.spawn('echo foo') do |command_stdout, command_stdin, pid| command_stdout.each do |line| ...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane_core/spec/fastlane_user_dir_spec.rb
fastlane_core/spec/fastlane_user_dir_spec.rb
describe FastlaneCore do it "returns the path to the user's directory" do expected_path = File.join(ENV["HOME"], ".fastlane") expect(File).to receive(:directory?).and_return(false) expect(FileUtils).to receive(:mkdir_p).with(expected_path) expect(FastlaneCore.fastlane_user_dir).to eq(expected_path) ...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane_core/spec/fastlane_folder_spec.rb
fastlane_core/spec/fastlane_folder_spec.rb
describe FastlaneCore::FastlaneFolder do let(:fastfile_name) { "Fastfile" } describe "#path" do it "returns the fastlane path if it exists" do expect(FastlaneCore::FastlaneFolder.path).to eq("./fastlane/") end it "returns nil if the fastlane path isn't available" do Dir.chdir("/") do ...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane_core/spec/configuration_spec.rb
fastlane_core/spec/configuration_spec.rb
describe FastlaneCore do describe FastlaneCore::Configuration do describe "Create a new Configuration Manager" do it "raises an error if no hash is given" do expect do FastlaneCore::Configuration.create([], "string") end.to raise_error("values parameter must be a hash") end ...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
true
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane_core/spec/update_checker_spec.rb
fastlane_core/spec/update_checker_spec.rb
require 'fastlane_core/update_checker/update_checker' describe FastlaneCore do describe FastlaneCore::UpdateChecker do let(:name) { 'fastlane' } describe "#update_available?" do it "no update is available" do FastlaneCore::UpdateChecker.server_results[name] = '0.1' expect(FastlaneCore:...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane_core/spec/clipboard_spec.rb
fastlane_core/spec/clipboard_spec.rb
describe FastlaneCore do describe FastlaneCore::Clipboard do describe '#copy and paste' do before(:each) do @test_message = "_fastlane_ is awesome" end it 'should work on supported environments', if: FastlaneCore::Clipboard.is_supported? do # Save clipboard clipboard = F...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane_core/spec/env_spec.rb
fastlane_core/spec/env_spec.rb
describe FastlaneCore do describe FastlaneCore::Env do describe '#disabled/unset' do it "Reports false on disabled env" do FastlaneSpec::Env.with_env_values('FL_TEST_FALSE' => 'false', 'FL_TEST_ZERO' => '0', 'FL_TEST_OFF' => 'off', 'FL_TEST_NO' => 'no', 'FL_TEST_NIL' => nil) do expect(Fast...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane_core/spec/ui_spec.rb
fastlane_core/spec/ui_spec.rb
require 'spec_helper' describe FastlaneCore::UI do it "uses a FastlaneCore::Shell by default" do expect(FastlaneCore::UI.ui_object).to be_kind_of(FastlaneCore::Shell) end it "redirects all method calls to the current UI object" do expect(FastlaneCore::UI.ui_object).to receive(:error).with("yolo") Fa...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane_core/spec/provisioning_profile_spec.rb
fastlane_core/spec/provisioning_profile_spec.rb
describe FastlaneCore do describe FastlaneCore::ProvisioningProfile do describe "#profiles_path" do ["16.0", "17"].each do |xcode_version| it "returns correct profiles path for Xcode #{xcode_version}" do allow(FastlaneCore::Helper).to receive(:xcode_version).and_return(xcode_version) ...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane_core/spec/pkg_file_analyser_spec.rb
fastlane_core/spec/pkg_file_analyser_spec.rb
describe FastlaneCore do describe FastlaneCore::PkgFileAnalyser do let(:path) { File.expand_path("../fixtures/pkgs/#{pkg}.pkg", __FILE__) } context "with a normal path" do let(:pkg) { 'MacAppOnly' } describe '::fetch_app_identifier', requires_xar: true do subject { described_class.fetch_...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane_core/spec/fastlane_runner_spec.rb
fastlane_core/spec/fastlane_runner_spec.rb
describe Commander::Runner do describe 'tool collector interactions' do class CommandsGenerator include Commander::Methods def initialize(raise_error: nil) @raise_error = raise_error end def run program :name, 'tool_name' program :version, '1.9' program :d...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane_core/spec/simulator_spec.rb
fastlane_core/spec/simulator_spec.rb
require 'open3' describe FastlaneCore do describe FastlaneCore::Simulator do before do @valid_simulators = "== Devices == -- iOS 7.1 -- iPhone 4s (8E3D97C4-1143-4E84-8D57-F697140F2ED0) (Shutdown) (unavailable, failed to open liblaunch_sim.dylib) iPhone 5 (65D0F571-1260-4241-9583-611EAF4D56AE) (Shut...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane_core/spec/queue_worker_spec.rb
fastlane_core/spec/queue_worker_spec.rb
describe FastlaneCore::QueueWorker do describe '#new' do it 'should initialize an instance' do expect(described_class.new { |_| }).to be_kind_of(described_class) expect(described_class.new(1) { |_| }).to be_kind_of(described_class) end end describe '#enqueue' do subject { described_class....
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane_core/spec/config_item_spec.rb
fastlane_core/spec/config_item_spec.rb
describe FastlaneCore do describe FastlaneCore::ConfigItem do describe "ConfigItem sensitivity testing" do it "is code_gen_sensitive if just sensitive" do item = FastlaneCore::ConfigItem.new(key: :tacos, short_option: "-t", de...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane_core/spec/ipa_file_analyser_spec.rb
fastlane_core/spec/ipa_file_analyser_spec.rb
describe FastlaneCore do describe FastlaneCore::IpaFileAnalyser do let(:ipa) { 'iOSAppOnly' } let(:path) { File.expand_path("../fixtures/ipas/#{ipa}.ipa", __FILE__) } context 'with fetch_info_plist_with_rubyzip' do before(:each) do expect(FastlaneCore::IpaFileAnalyser).to receive(:fetch_inf...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane_core/spec/cert_checker_spec.rb
fastlane_core/spec/cert_checker_spec.rb
describe FastlaneCore do describe FastlaneCore::CertChecker do let(:success_status) { class ProcessStatusMock end allow_any_instance_of(ProcessStatusMock).to receive(:success?).and_return(true) ProcessStatusMock.new } describe '#installed_identities' do it 'should print an...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane_core/spec/shell_spec.rb
fastlane_core/spec/shell_spec.rb
describe FastlaneCore do describe FastlaneCore::Shell do describe "command_output" do before(:all) do @shell = FastlaneCore::Shell.new end it 'command_output handles encodings incorrectly tagged as UTF-8' do expect do @shell.command_output("utf_16_string_tagged_as_utf_...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane_core/spec/app_identifier_guesser_spec.rb
fastlane_core/spec/app_identifier_guesser_spec.rb
require 'fastlane_core/analytics/app_identifier_guesser' describe FastlaneCore do describe FastlaneCore::AppIdentifierGuesser do def android_hash_of(value) hash_of("android_project_#{value}") end def hash_of(value) Digest::SHA256.hexdigest("p#{value}fastlan3_SAlt") end describe "#p_...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane_core/spec/ipa_upload_package_builder_spec.rb
fastlane_core/spec/ipa_upload_package_builder_spec.rb
describe FastlaneCore do describe FastlaneCore::IpaUploadPackageBuilder do let(:ipa) { 'iOSAppOnly' } let(:path) { File.expand_path("../fixtures/ipas/#{ipa}.ipa", __FILE__) } let(:uploader) { FastlaneCore::IpaUploadPackageBuilder.new } let(:unique_path) { uploader.unique_ipa_path(path) } let(:ipa...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane_core/spec/build_watcher_spec.rb
fastlane_core/spec/build_watcher_spec.rb
require 'spec_helper' describe FastlaneCore::BuildWatcher do context '.wait_for_build_processing_to_be_complete' do let(:processing_build) do double( app_version: "1.0", version: "1", processed?: false, platform: 'IOS', processing_state: 'PROCESSING' ) end ...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
true
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane_core/spec/commander_generator_spec.rb
fastlane_core/spec/commander_generator_spec.rb
describe FastlaneCore do describe FastlaneCore::CommanderGenerator do describe 'while options parsing' do describe '' do it 'should not return `true` for String options with no short flag' do config_items = [ FastlaneCore::ConfigItem.new(key: :long_option_only_string, ...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane_core/spec/device_manager_spec.rb
fastlane_core/spec/device_manager_spec.rb
require 'open3' describe FastlaneCore do describe FastlaneCore::DeviceManager do before(:all) do @simctl_output = File.read('./fastlane_core/spec/fixtures/DeviceManagerSimctlOutputXcode7') @system_profiler_output = File.read('./fastlane_core/spec/fixtures/DeviceManagerSystem_profilerOutput') @i...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane_core/spec/fastlane_exception_spec.rb
fastlane_core/spec/fastlane_exception_spec.rb
describe FastlaneCore::Interface::FastlaneException do context 'raising fastlane exceptions' do it 'properly determines that it was called via `UI.user_error!`' do begin UI.user_error!('USER ERROR!!') rescue => e expect(e.caused_by_calling_ui_method?(method_name: 'user_error!')).to be(...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane_core/spec/android_package_name_guesser_spec.rb
fastlane_core/spec/android_package_name_guesser_spec.rb
require 'spec_helper' require 'fastlane_core/android_package_name_guesser' describe FastlaneCore::AndroidPackageNameGuesser do it 'returns nil if no clues' do # this might also fail if the environment or config files are not clean expect(FastlaneCore::AndroidPackageNameGuesser.guess_package_name('fastlane',...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane_core/spec/feature_spec.rb
fastlane_core/spec/feature_spec.rb
class FeatureHelper def self.disabled_class_method end def self.enabled_class_method end def disabled_instance_method; end def enabled_instance_method; end def self.reset_test_method FeatureHelper.instance_eval { undef test_method } end def reset_test_method undef test_method end end d...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane_core/spec/configuration_file_spec.rb
fastlane_core/spec/configuration_file_spec.rb
describe FastlaneCore do describe FastlaneCore::ConfigurationFile do describe "Properly loads and handles various configuration files" do let(:options) do [ FastlaneCore::ConfigItem.new(key: :devices, description: "desc", ...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane_core/spec/spec_helper.rb
fastlane_core/spec/spec_helper.rb
require_relative 'test_commander_program' # Necessary, as we're now running this in a different context def stub_request(*args) WebMock::API.stub_request(*args) end def before_each_fastlane_core # iTunes Lookup API by Apple ID ["invalid", "", 0, '284882215', ['338986109', 'FR']].each do |current| if current...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane_core/spec/itunes_transporter_spec.rb
fastlane_core/spec/itunes_transporter_spec.rb
require 'shellwords' require 'credentials_manager' describe FastlaneCore do let(:password) { "!> p@$s_-+=w'o%rd\"&#*<" } let(:email) { 'fabric.devtools@gmail.com' } let(:jwt) { '409jjl43j90ghjqoineio49024' } let(:api_key) { { key_id: "TESTAPIK2HW", issuer_id: "11223344-1122-aabb-aabb-uuvvwwxxyyzz" } } descr...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
true
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane_core/spec/globals_spec.rb
fastlane_core/spec/globals_spec.rb
require 'spec_helper' describe FastlaneCore do describe FastlaneCore::Globals do it "Toggle verbose mode" do FastlaneCore::Globals.verbose = true expect(FastlaneCore::Globals.verbose?).to eq(true) FastlaneCore::Globals.verbose = false expect(FastlaneCore::Globals.verbose?).to eq(nil) ...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane_core/spec/core_ext/shellwords_ext_spec.rb
fastlane_core/spec/core_ext/shellwords_ext_spec.rb
# references # normal implementation: # https://ruby-doc.org/stdlib-2.3.0/libdoc/shellwords/rdoc/Shellwords.html # https://github.com/ruby/ruby/blob/trunk/lib/shellwords.rb # "tests": # https://github.com/ruby/ruby/blob/trunk/test/test_shellwords.rb # https://github.com/ruby/ruby/blob/trunk/spec/ruby/library/shellwords...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane_core/spec/core_ext/cfpropertylist_ext_spec.rb
fastlane_core/spec/core_ext/cfpropertylist_ext_spec.rb
require "fastlane_core/core_ext/cfpropertylist" describe "Extension to CFPropertyList" do let(:array) { [1, 2, 3] } let(:hash) { ["key" => "value"] } it "adds a #to_binary_plist method to Array" do expect(array).to respond_to(:to_binary_plist) end it "adds a #to_binary_plist method to Hash" do expe...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane_core/lib/fastlane_core.rb
fastlane_core/lib/fastlane_core.rb
require_relative 'fastlane_core/globals' # Ruby monkey-patches - should be before almost all else require_relative 'fastlane_core/core_ext/string' require_relative 'fastlane_core/core_ext/shellwords' require_relative 'fastlane_core/analytics/action_completion_context' require_relative 'fastlane_core/analytics/action_l...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane_core/lib/fastlane_core/fastlane_pty.rb
fastlane_core/lib/fastlane_core/fastlane_pty.rb
# Source: Mix of https://github.com/fastlane/fastlane/pull/7202/files, # https://github.com/fastlane/fastlane/pull/11384#issuecomment-356084518 and # https://github.com/DragonBox/u3d/blob/59e471ad78ac00cb629f479dbe386c5ad2dc5075/lib/u3d_core/command_runner.rb#L88-L96 class StandardError def exit_status return -1...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane_core/lib/fastlane_core/ipa_file_analyser.rb
fastlane_core/lib/fastlane_core/ipa_file_analyser.rb
require 'open3' require 'stringio' require 'zip' require_relative 'core_ext/cfpropertylist' require_relative 'ui/ui' module FastlaneCore class IpaFileAnalyser # Fetches the app identifier (e.g. com.facebook.Facebook) from the given ipa file. def self.fetch_app_identifier(path) plist = self.fetch_info_...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane_core/lib/fastlane_core/fastlane_folder.rb
fastlane_core/lib/fastlane_core/fastlane_folder.rb
require_relative 'ui/ui' module FastlaneCore class FastlaneFolder FOLDER_NAME = 'fastlane' # Path to the fastlane folder containing the Fastfile and other configuration files def self.path value ||= "./#{FOLDER_NAME}/" if File.directory?("./#{FOLDER_NAME}/") value ||= "./.#{FOLDER_NAME}/" if...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane_core/lib/fastlane_core/project.rb
fastlane_core/lib/fastlane_core/project.rb
require_relative 'helper' require 'xcodeproj' require_relative './configuration/configuration' require 'fastlane_core/command_executor' module FastlaneCore # Represents an Xcode project class Project # rubocop:disable Metrics/ClassLength class << self # Project discovery def detect_projects(config)...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane_core/lib/fastlane_core/provisioning_profile.rb
fastlane_core/lib/fastlane_core/provisioning_profile.rb
require_relative 'ui/ui' module FastlaneCore class ProvisioningProfile class << self # @return (Hash) The hash with the data of the provisioning profile # @example # {"AppIDName"=>"My App Name", # "ApplicationIdentifierPrefix"=>["5A997XSAAA"], # "CreationDate"=>#<DateTime: 2015...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane_core/lib/fastlane_core/globals.rb
fastlane_core/lib/fastlane_core/globals.rb
module FastlaneCore class Globals def self.captured_output @captured_output ||= "" end class << self attr_writer(:captured_output) attr_writer(:capture_output) attr_writer(:verbose) end def self.capture_output? return nil unless @capture_output return true ...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane_core/lib/fastlane_core/pkg_upload_package_builder.rb
fastlane_core/lib/fastlane_core/pkg_upload_package_builder.rb
require 'digest/md5' require 'securerandom' require_relative 'globals' require_relative 'ui/ui' require_relative 'module' module FastlaneCore # Builds a package for the pkg ready to be uploaded with the iTunes Transporter class PkgUploadPackageBuilder METADATA_FILE_NAME = 'metadata.xml' attr_accessor :pa...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane_core/lib/fastlane_core/tag_version.rb
fastlane_core/lib/fastlane_core/tag_version.rb
require "rubygems/version" module FastlaneCore # Utility class to construct a Gem::Version from a tag. # Accepts vX.Y.Z and X.Y.Z. class TagVersion < Gem::Version class << self def correct?(tag) result = superclass.correct?(version_number_from_tag(tag)) # It seems like depending on the...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane_core/lib/fastlane_core/command_executor.rb
fastlane_core/lib/fastlane_core/command_executor.rb
require_relative 'ui/ui' require_relative 'globals' require_relative 'fastlane_pty' module FastlaneCore # Executes commands and takes care of error handling and more class CommandExecutor class << self # Cross-platform way of finding an executable in the $PATH. Respects the $PATHEXT, which lists # ...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane_core/lib/fastlane_core/print_table.rb
fastlane_core/lib/fastlane_core/print_table.rb
require_relative 'configuration/configuration' require_relative 'helper' # Monkey patch Terminal::Table until this is merged # https://github.com/tj/terminal-table/pull/131 # solves https://github.com/fastlane/fastlane/issues/21852 # loads Terminal::Table first to be able to monkey patch it. require 'terminal-table' m...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane_core/lib/fastlane_core/build_watcher.rb
fastlane_core/lib/fastlane_core/build_watcher.rb
require 'spaceship/connect_api' require_relative 'ui/ui' module FastlaneCore class BuildWatcherError < StandardError end class BuildWatcher VersionMatches = Struct.new(:version, :builds) class << self # @return The build we waited for. This method will always return a build def wait_for_bu...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane_core/lib/fastlane_core/keychain_importer.rb
fastlane_core/lib/fastlane_core/keychain_importer.rb
require_relative 'helper' require 'open3' require 'security' module FastlaneCore class KeychainImporter def self.import_file(path, keychain_path, keychain_password: nil, certificate_password: "", skip_set_partition_list: false, output: FastlaneCore::Globals.verbose?) UI.user_error!("Could not find file '#{...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane_core/lib/fastlane_core/env.rb
fastlane_core/lib/fastlane_core/env.rb
module FastlaneCore class Env def self.truthy?(env) return false unless ENV[env] return false if ["no", "false", "off", "0"].include?(ENV[env].to_s) return true end end end
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane_core/lib/fastlane_core/ipa_upload_package_builder.rb
fastlane_core/lib/fastlane_core/ipa_upload_package_builder.rb
require "digest/md5" require 'securerandom' require_relative 'globals' require_relative 'ui/ui' require_relative 'module' module FastlaneCore # Builds a package for the binary ready to be uploaded with the iTunes Transporter class IpaUploadPackageBuilder METADATA_FILE_NAME = "metadata.xml" attr_accessor ...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane_core/lib/fastlane_core/swag.rb
fastlane_core/lib/fastlane_core/swag.rb
require "stringio" require_relative 'helper' module FastlaneCore class Swag # rubocop:disable Layout/LineLength require 'zlib' FRAMES = ["x\x9C\xED[\xD9u\xDB0\x10\xFCO\v\xFEq\t<C\xE0\xB9\x14\xD7\xE0\x1ERE\nt%\x91D\x12<0\xB3\aH\xC9\x8A\x9F\xF3\xF2\x13\x02\xC4\xB13;{Pyyo\xE3[\x17?^O\xFF\xF3\xF2\xDE\xDDV\x...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
true
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane_core/lib/fastlane_core/languages.rb
fastlane_core/lib/fastlane_core/languages.rb
module FastlaneCore module Languages # These are all the languages which are available to use to upload app metadata and screenshots # The old format which was used until August 2015 (good old times) ALL_LANGUAGES_LEGACY = %w[da-DK de-DE el-GR en-AU en-CA en-GB en-US es-ES es-MX fi-FI fr-CA fr-FR id-ID i...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane_core/lib/fastlane_core/queue_worker.rb
fastlane_core/lib/fastlane_core/queue_worker.rb
require 'thread' module FastlaneCore # This dispatches jobs to worker threads and make it work in parallel. # It's suitable for I/O bounds works and not for CPU bounds works. # Use this when you have all the items that you'll process in advance. # Simply enqueue them to this and call `QueueWorker#start`. cla...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane_core/lib/fastlane_core/itunes_transporter.rb
fastlane_core/lib/fastlane_core/itunes_transporter.rb
require 'shellwords' require 'tmpdir' require 'fileutils' require 'credentials_manager/account_manager' require 'securerandom' require_relative 'features' require_relative 'helper' require_relative 'fastlane_pty' module FastlaneCore # The TransporterInputError occurs when you passed wrong inputs to the {Deliver::It...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
true
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane_core/lib/fastlane_core/ios_app_identifier_guesser.rb
fastlane_core/lib/fastlane_core/ios_app_identifier_guesser.rb
require 'credentials_manager/appfile_config' require_relative 'env' require_relative 'configuration/configuration' module FastlaneCore class IOSAppIdentifierGuesser APP_ID_REGEX = /var\s*appIdentifier:\s*String\?{0,1}\s*\[?\]?\s*{\s*return\s*\[?\s*"(\s*[a-zA-Z.-]+\s*)"\s*\]?\s*}/ class << self def gue...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane_core/lib/fastlane_core/test_parser.rb
fastlane_core/lib/fastlane_core/test_parser.rb
require 'plist' require 'fastlane/junit_generator' require_relative 'ui/ui' require_relative 'print_table' module FastlaneCore class TestParser attr_accessor :data attr_accessor :file_content attr_accessor :raw_json def initialize(path) path = File.expand_path(path) UI.user_error!("F...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane_core/lib/fastlane_core/cert_checker.rb
fastlane_core/lib/fastlane_core/cert_checker.rb
require 'tempfile' require 'openssl' require_relative 'features' require_relative 'helper' # WWDR Intermediate Certificates in https://www.apple.com/certificateauthority/ WWDRCA_CERTIFICATES = [ { alias: 'G2', sha256: '9ed4b3b88c6a339cf1387895bda9ca6ea31a6b5ce9edf7511845923b0c8ac94c', url: 'https://www....
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane_core/lib/fastlane_core/helper.rb
fastlane_core/lib/fastlane_core/helper.rb
require 'logger' require 'colored' require 'tty-spinner' require 'pathname' require_relative 'fastlane_folder' require_relative 'ui/ui' require_relative 'env' module FastlaneCore module Helper # fastlane # def self.fastlane_enabled? # This is called from the root context on the first start ...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane_core/lib/fastlane_core/string_filters.rb
fastlane_core/lib/fastlane_core/string_filters.rb
class String # Truncates a given +text+ after a given <tt>length</tt> if +text+ is longer than <tt>length</tt>: # # 'Once upon a time, in a world far, far away'.truncate(28) # # => "Once upon a time, in a wo..." # # Pass a string or regexp <tt>:separator</tt> to truncate +text+ at a natural break: # ...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane_core/lib/fastlane_core/module.rb
fastlane_core/lib/fastlane_core/module.rb
require 'fastlane/boolean' require_relative 'analytics/analytics_session' module FastlaneCore ROOT = Pathname.new(File.expand_path('../../..', __FILE__)) Boolean = Fastlane::Boolean # Session is used to report usage metrics. # If you opt out, we will not send anything. # You can confirm this by observing h...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane_core/lib/fastlane_core/features.rb
fastlane_core/lib/fastlane_core/features.rb
require_relative 'feature/feature' FastlaneCore::Feature.register(env_var: 'FASTLANE_ITUNES_TRANSPORTER_USE_SHELL_SCRIPT', description: 'Use iTunes Transporter shell script')
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane_core/lib/fastlane_core/clipboard.rb
fastlane_core/lib/fastlane_core/clipboard.rb
require 'fastlane_core' require 'open3' module FastlaneCore class Clipboard def self.copy(content: nil) return UI.crash!("'pbcopy' or 'pbpaste' command not found.") unless is_supported? Open3.popen3('pbcopy') { |input, _, _| input << content } end def self.paste return UI.crash!("'pbco...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane_core/lib/fastlane_core/pkg_file_analyser.rb
fastlane_core/lib/fastlane_core/pkg_file_analyser.rb
require 'rexml/document' require_relative 'helper' module FastlaneCore class PkgFileAnalyser def self.fetch_app_identifier(path) xml = self.fetch_distribution_xml_file(path) return xml.elements['installer-gui-script/product'].attributes['id'] if xml return nil end # Fetches the app pl...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane_core/lib/fastlane_core/device_manager.rb
fastlane_core/lib/fastlane_core/device_manager.rb
require 'open3' require 'plist' require_relative 'command_executor' require_relative 'helper' module FastlaneCore class DeviceManager class << self def all(requested_os_type = "") return connected_devices(requested_os_type) + simulators(requested_os_type) end def runtime_build_os_vers...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane_core/lib/fastlane_core/android_package_name_guesser.rb
fastlane_core/lib/fastlane_core/android_package_name_guesser.rb
require 'credentials_manager/appfile_config' require_relative 'configuration/configuration' require_relative 'env' module FastlaneCore class AndroidPackageNameGuesser class << self def android_package_name_arg?(gem_name, arg) return arg == "--package_name" || arg == "--app_package_n...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane_core/lib/fastlane_core/configuration/configuration_file.rb
fastlane_core/lib/fastlane_core/configuration/configuration_file.rb
require_relative '../print_table' require_relative '../ui/ui' module FastlaneCore # Responsible for loading configuration files class ConfigurationFile class ExceptionWhileParsingError < RuntimeError attr_reader :wrapped_exception attr_reader :recovered_options def initialize(wrapped_ex, opt...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane_core/lib/fastlane_core/configuration/configuration.rb
fastlane_core/lib/fastlane_core/configuration/configuration.rb
require_relative '../helper' require_relative '../globals' require_relative 'config_item' require_relative 'commander_generator' require_relative 'configuration_file' module FastlaneCore class Configuration attr_accessor :available_options attr_accessor :values # @return [Array] An array of symbols whi...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane_core/lib/fastlane_core/configuration/commander_generator.rb
fastlane_core/lib/fastlane_core/configuration/commander_generator.rb
require 'commander' require_relative '../module' require_relative '../ui/ui' module FastlaneCore class CommanderGenerator include Commander::Methods # Calls the appropriate methods for commander to show the available parameters def generate(options, command: nil) # First, enable `always_trace`, t...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane_core/lib/fastlane_core/configuration/config_item.rb
fastlane_core/lib/fastlane_core/configuration/config_item.rb
require_relative '../ui/ui' require_relative '../ui/errors/fastlane_error' require_relative '../helper' require_relative '../module' require 'json' module FastlaneCore class ConfigItem # [Symbol] the key which is used as command parameters or key in the fastlane tools attr_accessor :key # [String] the n...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane_core/lib/fastlane_core/core_ext/cfpropertylist.rb
fastlane_core/lib/fastlane_core/core_ext/cfpropertylist.rb
# To be used instead of require "cfpropertylist". Restores extensions from # Plist overwritten by CFPropertyList. require "cfpropertylist" require "plist" # Brute-force solution to conflict between #to_plist introduced by # CFPropertyList and plist. Remove the method added by CFPropertyList # and restore the method f...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane_core/lib/fastlane_core/core_ext/string.rb
fastlane_core/lib/fastlane_core/core_ext/string.rb
class String def fastlane_class split('_').collect!(&:capitalize).join end def fastlane_module self == "pem" ? 'PEM' : self.fastlane_class end def fastlane_underscore self.gsub(/::/, '/'). gsub(/([A-Z]+)([A-Z][a-z])/, '\1_\2'). gsub(/([a-z\d])([A-Z])/, '\1_\2'). tr("-", "_"). ...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane_core/lib/fastlane_core/core_ext/shellwords.rb
fastlane_core/lib/fastlane_core/core_ext/shellwords.rb
require_relative '../helper' require 'shellwords' # Here be monkey patches class String # CrossplatformShellwords def shellescape CrossplatformShellwords.shellescape(self) end end class Array def shelljoin CrossplatformShellwords.shelljoin(self) end end # Here be helper module CrossplatformShellw...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane_core/lib/fastlane_core/feature/feature.rb
fastlane_core/lib/fastlane_core/feature/feature.rb
require_relative '../env' module FastlaneCore class Feature class << self attr_reader :features def register(env_var: nil, description: nil) feature = self.new(description: description, env_var: env_var) @features[feature.env_var] = feature end def enabled?(env_var) ...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane_core/lib/fastlane_core/analytics/analytics_ingester_client.rb
fastlane_core/lib/fastlane_core/analytics/analytics_ingester_client.rb
require 'faraday' require 'openssl' require 'json' require_relative '../helper' module FastlaneCore class AnalyticsIngesterClient GA_URL = "https://www.google-analytics.com" private_constant :GA_URL def initialize(ga_tracking) @ga_tracking = ga_tracking end def post_event(event) #...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane_core/lib/fastlane_core/analytics/action_launch_context.rb
fastlane_core/lib/fastlane_core/analytics/action_launch_context.rb
require_relative '../helper' require_relative 'app_identifier_guesser' module FastlaneCore class ActionLaunchContext UNKNOWN_P_HASH = 'unknown' attr_accessor :action_name attr_accessor :p_hash attr_accessor :platform attr_accessor :fastlane_client_language # example: ruby fastfile, swift fastfil...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane_core/lib/fastlane_core/analytics/app_identifier_guesser.rb
fastlane_core/lib/fastlane_core/analytics/app_identifier_guesser.rb
require_relative '../android_package_name_guesser' require_relative '../ios_app_identifier_guesser' require_relative '../env' module FastlaneCore class AppIdentifierGuesser attr_accessor :args attr_accessor :gem_name attr_accessor :platform attr_accessor :p_hash attr_accessor :app_id def ini...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane_core/lib/fastlane_core/analytics/analytics_session.rb
fastlane_core/lib/fastlane_core/analytics/analytics_session.rb
require_relative 'analytics_ingester_client' require_relative 'action_launch_context' require_relative 'analytics_event_builder' module FastlaneCore class AnalyticsSession GA_TRACKING = "UA-121171860-1" private_constant :GA_TRACKING attr_accessor :session_id attr_accessor :client def initialize...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane_core/lib/fastlane_core/analytics/analytics_event_builder.rb
fastlane_core/lib/fastlane_core/analytics/analytics_event_builder.rb
module FastlaneCore class AnalyticsEventBuilder attr_accessor :action_name # fastlane_client_language valid options are :ruby or :swift def initialize(p_hash: nil, session_id: nil, action_name: nil, fastlane_client_language: :ruby) @p_hash = p_hash @session_id = session_id @action_name ...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane_core/lib/fastlane_core/analytics/action_completion_context.rb
fastlane_core/lib/fastlane_core/analytics/action_completion_context.rb
require_relative 'app_identifier_guesser' module FastlaneCore class ActionCompletionStatus SUCCESS = 'success' FAILED = 'failed' # fastlane crashes unrelated to user_error! USER_ERROR = 'user_error' # Anytime a user_error! is triggered INTERRUPTED = 'interrupted' end class ActionCompletionContex...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane_core/lib/fastlane_core/ui/help_formatter.rb
fastlane_core/lib/fastlane_core/ui/help_formatter.rb
require 'commander' module FastlaneCore class HelpFormatter < ::Commander::HelpFormatter::TerminalCompact def template(name) # fastlane only customizes the global command help return super unless name == :help ERB.new(File.read(File.join(File.dirname(__FILE__), "help.erb")), trim_mode: '-') ...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane_core/lib/fastlane_core/ui/disable_colors.rb
fastlane_core/lib/fastlane_core/ui/disable_colors.rb
# This code overwrites the methods from the colored gem # via https://github.com/defunkt/colored/blob/master/lib/colored.rb require 'colored' class String Colored::COLORS.keys.each do |color| define_method(color) do self # do nothing with the string, but return it end end Colored::EXTRAS.keys.each...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane_core/lib/fastlane_core/ui/ui.rb
fastlane_core/lib/fastlane_core/ui/ui.rb
module FastlaneCore class UI class << self attr_accessor(:ui_object) def ui_object require_relative 'implementations/shell' @ui_object ||= Shell.new end def method_missing(method_sym, *args, &_block) # not using `responds` because we don't care about methods like ...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane_core/lib/fastlane_core/ui/errors.rb
fastlane_core/lib/fastlane_core/ui/errors.rb
Dir[File.dirname(__FILE__) + "/errors/*.rb"].each { |f| require_relative f }
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane_core/lib/fastlane_core/ui/interface.rb
fastlane_core/lib/fastlane_core/ui/interface.rb
require_relative 'errors' module FastlaneCore # Abstract super class class Interface ##################################################### # @!group Messaging: show text to the user ##################################################### # Level Error: Can be used to show additional error # in...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false