repo
stringlengths
5
92
file_url
stringlengths
80
287
file_path
stringlengths
5
197
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
7 values
commit_sha
stringlengths
40
40
retrieved_at
stringdate
2026-01-04 15:37:27
2026-01-04 17:58:21
truncated
bool
2 classes
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/onesignal_spec.rb
fastlane/spec/actions_specs/onesignal_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe 'onesignal' do let(:app_id) { 'id123' } let(:app_name) { 'My App' } before :each do stub_const('ENV', { 'ONE_SIGNAL_AUTH_KEY' => 'auth-123' }) end context 'when params are valid' do before :each do ...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/create_app_on_managed_play_store_spec.rb
fastlane/spec/actions_specs/create_app_on_managed_play_store_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe "create_app_on_managed_play_store" do let(:json_key_path) { File.expand_path("./fastlane/spec/fixtures/google_play/google_play.json") } let(:json_key_data) { File.open(json_key_path, 'rb').read } let(:mock_client) { Object.new } ...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/pilot_spec.rb
fastlane/spec/actions_specs/pilot_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe "pilot Integration" do it "can use a generated changelog as release notes" do values = Fastlane::FastFile.new.parse("lane :test do # changelog_from_git_commits sets this lane context variable Actions.lane_context[Shared...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/ensure_xcode_version_spec.rb
fastlane/spec/actions_specs/ensure_xcode_version_spec.rb
describe Fastlane::Actions::EnsureXcodeVersionAction do describe "matching versions" do describe "strictly with minor version 8.0" do let(:different_response) { "Xcode 7.3\nBuild version 34a893" } let(:matching_response) { "Xcode 8.0\nBuild version 8A218a" } let(:matching_response_extra_output) ...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/upload_symbols_to_crashlytics_spec.rb
fastlane/spec/actions_specs/upload_symbols_to_crashlytics_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe "upload_symbols_to_crashlytics" do before :each do allow(FastlaneCore::FastlaneFolder).to receive(:path).and_return(nil) end it "uploads dSYM files with app_id" do binary_path = './spec/fixtures/screenshots/screenshot1...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/carthage_spec.rb
fastlane/spec/actions_specs/carthage_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe "Carthage Integration" do it "raises an error if command is invalid" do expect do Fastlane::FastFile.new.parse("lane :test do carthage( command: 'thisistest' ) end").runner.execute(...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/ensure_env_vars_spec.rb
fastlane/spec/actions_specs/ensure_env_vars_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe 'ensure_env_vars' do context 'when param is valid' do before :each do allow(FastlaneCore::UI).to receive(:success).with('Driving the lane \'test\' 🚀') end context 'and env var is set' do before :each d...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/delete_keychain_spec.rb
fastlane/spec/actions_specs/delete_keychain_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe "Delete keychain Integration" do before :each do allow(File).to receive(:file?).and_return(false) end it "works with keychain name found locally" do allow(FastlaneCore::FastlaneFolder).to receive(:path).and_return(nil)...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/setup_jenkins_spec.rb
fastlane/spec/actions_specs/setup_jenkins_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe "Setup Jenkins Integration" do before :each do # Clean all used environment variables Fastlane::Actions::SetupJenkinsAction::USED_ENV_NAMES + Fastlane::Actions::SetupJenkinsAction.available_options.map(&:env_name).each do |key| ...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/gcovr_spec.rb
fastlane/spec/actions_specs/gcovr_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe "Gcovr Integration" do let(:file_utils) { class_double("FileUtils").as_stubbed_const } it "works with all parameters" do result = Fastlane::FastFile.new.parse("lane :test do gcovr({ object_directory: 'object_di...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/danger_spec.rb
fastlane/spec/actions_specs/danger_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe "danger integration" do before :each do allow(FastlaneCore::FastlaneFolder).to receive(:path).and_return(nil) end it "default use case" do result = Fastlane::FastFile.new.parse("lane :test do danger e...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/sigh_spec.rb
fastlane/spec/actions_specs/sigh_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe "sigh Action" do before do require 'sigh' @profile_path = "/tmp/something" expect(Sigh::Manager).to receive(:start).and_return(@profile_path) end it "properly stores the resulting path in the lane environment"...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/zip_spec.rb
fastlane/spec/actions_specs/zip_spec.rb
describe Fastlane do describe Fastlane::Actions::ZipAction do describe "zip" do it "sets default values for optional include and exclude parameters" do params = { path: "Test.app" } action = Fastlane::Actions::ZipAction::Runner.new(params) expect(action.include).to eq([]) e...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/automatic_code_signing_spec.rb
fastlane/spec/actions_specs/automatic_code_signing_spec.rb
require "xcodeproj" # 771D79501D9E69C900D840FA = demo # 77C503031DD3175E00AC8FF0 = today describe Fastlane do describe "Automatic Code Signing" do before :each do allow(FastlaneCore::FastlaneFolder).to receive(:path).and_return(nil) end it "enable_automatic_code_signing" do allow(UI).to recei...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/app_store_connect_api_key_spec.rb
fastlane/spec/actions_specs/app_store_connect_api_key_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe "App Store Connect API Key" do let(:fake_api_key_p8_path) { File.absolute_path("./spaceship/spec/connect_api/fixtures/asc_key.p8") } let(:fake_api_key_json_path) { "./spaceship/spec/connect_api/fixtures/asc_key.json" } let(:fake_api_ke...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/install_xcode_plugin_spec.rb
fastlane/spec/actions_specs/install_xcode_plugin_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe "install_xcode_plugin" do it "downloads plugin using argument-safe curl invocation" do tmp_home = Dir.mktmpdir stub_const('ENV', ENV.to_hash.merge('HOME' => tmp_home)) plugins_path = "#{tmp_home}/Library/Application Suppor...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/restore_file_spec.rb
fastlane/spec/actions_specs/restore_file_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe "Backup file Integration" do tmp_path = Dir.mktmpdir let(:test_path) { "#{tmp_path}/tests/fastlane" } let(:file_path) { "file.txt" } let(:backup_path) { "#{file_path}.back" } let(:file_content) { Time.now.to_s } befo...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/say_spec.rb
fastlane/spec/actions_specs/say_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe "Say Integration" do describe "saying" do it "works with array" do expect(Fastlane::Actions).to receive(:sh) .with('say \'Hi Felix Good Job\'') .and_call_original result = Fastlane::FastFile.new...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/cocoapods_spec.rb
fastlane/spec/actions_specs/cocoapods_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe "Cocoapods Integration" do before :each do allow(FastlaneCore::FastlaneFolder).to receive(:path).and_return(nil) end describe "#pod_version_at_least" do describe "pod version 1.6" do let(:params) { {} } ...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/create_keychain_spec.rb
fastlane/spec/actions_specs/create_keychain_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe "Create keychain Integration" do context "with name and password options" do it "works when keychain doesn't exist" do allow(Fastlane::Actions::CreateKeychainAction).to receive(:list_keychains).and_return( # first tim...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/appstore_spec.rb
fastlane/spec/actions_specs/appstore_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe "AppStore Action" do it "is an alias for the deliver action" do result = Fastlane::FastFile.new.parse("lane :test do appstore(skip_metadata: true) end").runner.execute(:test) expect(result[:skip_metadata]).to eq(...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/github_api_spec.rb
fastlane/spec/actions_specs/github_api_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe "github_api" do let(:response_body) { File.read("./fastlane/spec/fixtures/requests/github_create_file_response.json") } let(:user_agent) { 'fastlane-github_api' } let(:headers) do { 'Authorization' => 'Basic MTIzNDU2N...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/swiftlint_spec.rb
fastlane/spec/actions_specs/swiftlint_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe "SwiftLint" do let(:swiftlint_gem_version) { Gem::Version.new('0.11.0') } let(:output_file) { "swiftlint.result.json" } let(:config_file) { ".swiftlint-ci.yml" } before :each do allow(Fastlane::Actions::SwiftlintAction)....
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/puts_spec.rb
fastlane/spec/actions_specs/puts_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe "puts" do it "works" do Fastlane::FastFile.new.parse("lane :test do puts 'hi' end").runner.execute(:test) end it "works in Swift" do Fastlane::FastFile.new.parse("lane :test do puts(message: ...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/sourcedocs_spec.rb
fastlane/spec/actions_specs/sourcedocs_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe "SourceDocs" do context "when specify output path" do it "default use case" do result = Fastlane::FastFile.new.parse("lane :test do sourcedocs( output_folder: 'docs' ) end").runner....
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/install_on_device_spec.rb
fastlane/spec/actions_specs/install_on_device_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe "install_on_device" do it "generates a valid command" do result = Fastlane::FastFile.new.parse("lane :test do install_on_device(ipa: 'demo.ipa') end").runner.execute(:test) expect(result).to eq("ios-deploy --bundl...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/push_to_git_remote_spec.rb
fastlane/spec/actions_specs/push_to_git_remote_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe "Git Push to Remote Action" do before(:each) do allow(Fastlane::Actions).to receive(:sh) .with("git rev-parse --abbrev-ref HEAD", log: false) .and_return(nil) allow(Fastlane::Actions).to receive(:git_branch).and...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/get_info_plist_value_spec.rb
fastlane/spec/actions_specs/get_info_plist_value_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe "get_info_plist" do let(:plist_path) { "./fastlane/spec/fixtures/plist/Info.plist" } it "fetches the value from the plist" do allow(FastlaneCore::FastlaneFolder).to receive(:path).and_return(nil) value = Fastlane::FastFile.n...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/commit_github_file_spec.rb
fastlane/spec/actions_specs/commit_github_file_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe "commit_github_file" do let(:response_body) { File.read("./fastlane/spec/fixtures/requests/github_create_file_response.json") } context 'successful' do before do stub_request(:put, "https://api.github.com/repos/fastlane/fa...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/sonar_spec.rb
fastlane/spec/actions_specs/sonar_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe "Sonar Integration" do let(:test_path) { "/tmp/fastlane/tests/fastlane" } let(:sonar_project_path) { "sonar-project.properties" } before do # Set up example sonar-project.properties file FileUtils.mkdir_p(test_path) ...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/ipa_spec.rb
fastlane/spec/actions_specs/ipa_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe "IPA Integration" do it "works with default setting" do result = Fastlane::FastFile.new.parse("lane :test do ipa end").runner.execute(:test) expect(result).to eq([]) end it "works with object argumen...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/git_remote_branch_spec.rb
fastlane/spec/actions_specs/git_remote_branch_spec.rb
describe Fastlane do describe Fastlane::FastFile do directory = "fl_spec_default_remote_branch" describe "Git Remote Branch Action" do it "generates the correct git command for retrieving default branch from remote" do result = Fastlane::FastFile.new.parse("lane :test do git_remote_...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/notarize_spec.rb
fastlane/spec/actions_specs/notarize_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe "notarize" do let(:success_submit_response) do { 'status': 'Accepted', 'id': '1111-2222-3333-4444' }.to_json end let(:invalid_submit_response) do { 'status': 'Invalid', 'statu...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/jazzy_spec.rb
fastlane/spec/actions_specs/jazzy_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe "Jazzy" do it "default use case" do result = Fastlane::FastFile.new.parse("lane :test do jazzy end").runner.execute(:test) expect(result).to eq("jazzy") end it "add config option" do result =...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/erb_spec.rb
fastlane/spec/actions_specs/erb_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe "ERB template" do let(:template) { File.expand_path("./fastlane/spec/fixtures/templates/dummy_html_template.erb") } let(:destination) { "/tmp/fastlane/template.html" } it "generate template without placeholders" do result = Fa...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/app_store_build_number_spec.rb
fastlane/spec/actions_specs/app_store_build_number_spec.rb
require 'ostruct' describe Fastlane do describe Fastlane::FastFile do describe "app_store_build_number" do it "orders versions array of integers" do versions = [3, 5, 1, 0, 4] result = Fastlane::Actions::AppStoreBuildNumberAction.order_versions(versions) expect(result).to eq(['0', ...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/hg_commit_version_bump_spec.rb
fastlane/spec/actions_specs/hg_commit_version_bump_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe "Mercurial Commit Version Bump Action" do it "passes when modified files are a subset of expected changed files" do dirty_files = "file1,file2" expected_files = "file1,file2" result = Fastlane::FastFile.new.parse("lane :te...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/push_git_tags_spec.rb
fastlane/spec/actions_specs/push_git_tags_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe "push_git_tags" do it "uses the correct default command" do result = Fastlane::FastFile.new.parse("lane :test do push_git_tags end").runner.execute(:test) expect(result).to eq("git push origin --tags") end ...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/hg_add_tag_spec.rb
fastlane/spec/actions_specs/hg_add_tag_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe "Mercurial Add Tag Action" do it "allows you to specify your own tag" do tag = '2.0.0' result = Fastlane::FastFile.new.parse("lane :test do hg_add_tag ({ tag: '#{tag}', }) end").runner.execu...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/git_commit_spec.rb
fastlane/spec/actions_specs/git_commit_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe "git_commit" do before :each do allow(FastlaneCore::FastlaneFolder).to receive(:path).and_return(nil) end it "generates the correct git command" do result = Fastlane::FastFile.new.parse("lane :test do git_com...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/ensure_git_status_clean_spec.rb
fastlane/spec/actions_specs/ensure_git_status_clean_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe "ensure_git_status_clean" do before :each do allow(FastlaneCore::FastlaneFolder).to receive(:path).and_return(nil) allow(FastlaneCore::UI).to receive(:success).with("Driving the lane 'test' 🚀") end context "when git s...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/get_github_release_spec.rb
fastlane/spec/actions_specs/get_github_release_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe "get_github_release" do before do stub_request(:get, "https://api.github.com/repos/fastlane/fastlane/releases"). with(headers: { 'Host' => 'api.github.com:443' }). to_return(status: 200, body: File.read("./fastlane/spec...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/xctool_action_spec.rb
fastlane/spec/actions_specs/xctool_action_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe "xctool Integration" do it "works with no parameters" do result = Fastlane::FastFile.new.parse("lane :test do xctool end").runner.execute(:test) expect(result).to eq("xctool ") end it "works with def...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/team_id_spec.rb
fastlane/spec/actions_specs/team_id_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe "Team ID Action" do it "works as expected" do new_val = "abcdef" Fastlane::FastFile.new.parse("lane :test do team_id '#{new_val}' end").runner.execute(:test) [:CERT_TEAM_ID, :SIGH_TEAM_ID, :PEM_TEAM_ID, :...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/appetize_view_url_generator_spec.rb
fastlane/spec/actions_specs/appetize_view_url_generator_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe "AppetizeViewingUrlGeneratorAction" do it "no parameters" do result = Fastlane::FastFile.new.parse("lane :test do appetize_viewing_url_generator(public_key: '123') end").runner.execute(:test) expect(result).to eq...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/adb_devices_spec.rb
fastlane/spec/actions_specs/adb_devices_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe "adb_devices" do it "generates an empty list of devices" do result = Fastlane::FastFile.new.parse("lane :test do adb_devices(adb_path: '/some/path/to/adb') end").runner.execute(:test) expect(result).to match_arra...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/update_info_plist_spec.rb
fastlane/spec/actions_specs/update_info_plist_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe "Update Info Plist Integration" do let(:test_path) { "/tmp/fastlane/tests/fastlane" } let(:fixtures_path) { "./fastlane/spec/fixtures/xcodeproj" } let(:proj_file) { "bundle.xcodeproj" } let(:xcodeproj) { File.join(test_path, proj...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/set_github_release_spec.rb
fastlane/spec/actions_specs/set_github_release_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe "set_github_release" do describe "with api_token" do it "sends and receives the right content from GitHub" do stub_request(:post, "https://api.github.com/repos/czechboy0/czechboy0.github.io/releases"). with(body: "{\"...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/spm_spec.rb
fastlane/spec/actions_specs/spm_spec.rb
describe Fastlane do describe Fastlane::FastFile do before do # Force FastlaneCore::CommandExecutor.execute to return command allow(FastlaneCore::CommandExecutor).to receive(:execute).and_wrap_original do |m, *args| args[0][:command] end end describe "SPM Integration" do i...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/deploygate_spec.rb
fastlane/spec/actions_specs/deploygate_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe "DeployGate Integration" do it "raises an error if no parameters were given" do expect do Fastlane::FastFile.new.parse("lane :test do deploygate() end").runner.execute(:test) end.to raise_error(Fastl...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/register_devices_spec.rb
fastlane/spec/actions_specs/register_devices_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe "Register Devices Action" do let(:devices_file_with_platform) do File.absolute_path('./fastlane/spec/fixtures/actions/register_devices/devices-list-with-platform.txt') end let(:devices_file_without_platform) do File.abs...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/prompt_spec.rb
fastlane/spec/actions_specs/prompt_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe "prompt" do it "uses the CI value if necessary" do # make prompt think we're running in CI mode expect(FastlaneCore::UI).to receive(:interactive?).with(no_args).and_return(false) result = Fastlane::FastFile.new.parse("lane...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/rsync_spec.rb
fastlane/spec/actions_specs/rsync_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe "rsync" do it "generates a valid command" do result = Fastlane::FastFile.new.parse("lane :test do rsync(source: '/tmp/1.txt', destination: '/tmp/2.txt') end").runner.execute(:test) expect(result).to eq("rsync -av ...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/update_plist_spec.rb
fastlane/spec/actions_specs/update_plist_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe "Update Plist Integration" do let(:test_path) { "/tmp/fastlane/tests/fastlane" } let(:fixtures_path) { "./fastlane/spec/fixtures/xcodeproj" } let(:proj_file) { "bundle.xcodeproj" } let(:plist_path) { "Info.plist" } let(:app...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/appetize_spec.rb
fastlane/spec/actions_specs/appetize_spec.rb
describe Fastlane do describe Fastlane::FastFile do let(:response_string) do <<-"EOS" { "privateKey" : "private_Djksfj", "publicKey" : "sKdfjL", "appURL" : "https://appetize.io/app/sKdfjL", "manageURL" : "https://appetize.io/manage/private_Djksfj" } EOS ...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/download_spec.rb
fastlane/spec/actions_specs/download_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe "download" do before do stub_request(:get, "https://google.com/remoteFile.json"). to_return(status: 200, body: { status: :ok }.to_json, headers: {}) stub_request(:get, "https://google.com/timeout.json").to_timeout ...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/dsym_zip_spec.rb
fastlane/spec/actions_specs/dsym_zip_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe "Create dSYM zip" do xcodebuild_archive = 'MyApp.xcarchive' before(:each) do allow(FastlaneCore::FastlaneFolder).to receive(:path).and_return(nil) Fastlane::Actions.lane_context[Fastlane::Actions::SharedValues::XCODEBUILD_AR...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/get_managed_play_store_publishing_rights_spec.rb
fastlane/spec/actions_specs/get_managed_play_store_publishing_rights_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe "get_managed_play_store_publishing_rights" do let(:json_key_path) { File.expand_path("./fastlane/spec/fixtures/google_play/google_play.json") } let(:json_key_data) { File.open(json_key_path, 'rb').read } let(:json_key_client_email) { J...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/cloc_spec.rb
fastlane/spec/actions_specs/cloc_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe "CLOC Integration" do it "does run cloc using only default options" do result = Fastlane::FastFile.new.parse("lane :test do cloc end").runner.execute(:test) expect(result).to eq("/usr/local/bin/cloc --by-fil...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/git_pull_spec.rb
fastlane/spec/actions_specs/git_pull_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe "Git Pull Action" do it "runs git pull and git fetch with tags by default" do result = Fastlane::FastFile.new.parse("lane :test do git_pull end").runner.execute(:test) expect(result).to eq("git pull && git fe...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/setup_circle_ci_spec.rb
fastlane/spec/actions_specs/setup_circle_ci_spec.rb
describe Fastlane do describe Fastlane::Actions::SetupCircleCiAction do describe "Setup CircleCi Integration" do let(:tmp_keychain_name) { "fastlane_tmp_keychain" } def check_keychain_nil expect(ENV["MATCH_KEYCHAIN_NAME"]).to be_nil expect(ENV["MATCH_KEYCHAIN_PASSWORD"]).to be_nil ...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/notification_spec.rb
fastlane/spec/actions_specs/notification_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe "notification action" do it "raises without a message" do expect do Fastlane::FastFile.new.parse("lane :test do notification( title: 'hello', subtitle: 'hi' ) end").ru...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/git_submodule_update_spec.rb
fastlane/spec/actions_specs/git_submodule_update_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe "git_submodule_update" do it "runs git submodule update without options by default" do result = Fastlane::FastFile.new.parse("lane :test do git_submodule_update end").runner.execute(:test) expect(result).to e...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/setup_ci_spec.rb
fastlane/spec/actions_specs/setup_ci_spec.rb
describe Fastlane do describe Fastlane::Actions::SetupCiAction do describe "#run" do context "when it should run" do before do stub_const("ENV", { "CI" => "anything" }) allow(Fastlane::Actions::CreateKeychainAction).to receive(:run).and_return(nil) end describe "...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/add_extra_platforms_spec.rb
fastlane/spec/actions_specs/add_extra_platforms_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe "add_extra_platforms" do before(:each) do allow(Fastlane::SupportedPlatforms).to receive(:all).and_return([:ios, :macos, :android]) end it "updates the extra supported platforms" do expect(UI).to receive(:verbose).with...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/download_universal_apk_from_google_play_spec.rb
fastlane/spec/actions_specs/download_universal_apk_from_google_play_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe "download_universal_apk_from_google_play" do let(:client_stub) { instance_double(Supply::Client) } let(:package_name) { 'com.fastlane.myapp' } let(:version_code) { 1337 } let(:json_key_path) { File.expand_path("./fastlane/spec/fi...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/backup_xcarchive_spec.rb
fastlane/spec/actions_specs/backup_xcarchive_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe "Backup xcarchive Integration" do let(:tmp_path) { Dir.mktmpdir } let(:source_path) { "#{tmp_path}/fastlane" } let(:destination_path) { "#{source_path}/dest" } let(:xcarchive_file) { "fake.xcarchive" } let(:zip_file) { "fak...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/min_fastlane_version_spec.rb
fastlane/spec/actions_specs/min_fastlane_version_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe "min_fastlane_version action" do it "works as expected" do Fastlane::FastFile.new.parse("lane :test do min_fastlane_version '0.1' end").runner.execute(:test) end it "raises an exception if it's an old version...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/import_from_git_spec.rb
fastlane/spec/actions_specs/import_from_git_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe "import_from_git" do it "raises an exception when no path is given" do expect do Fastlane::FastFile.new.parse("lane :test do import_from_git end").runner.execute(:test) end.to raise_error("Please pas...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/update_app_identifier_spec.rb
fastlane/spec/actions_specs/update_app_identifier_spec.rb
require 'xcodeproj' include(Xcodeproj) describe Fastlane do describe Fastlane::FastFile do describe "Update App Identifier Integration" do # Variables let(:test_path) { "/tmp/fastlane/tests/fastlane" } let(:fixtures_path) { "./fastlane/spec/fixtures/xcodeproj" } let(:proj_file) { "bundle....
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/download_dsyms_spec.rb
fastlane/spec/actions_specs/download_dsyms_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe "download_dsyms" do # 1 app, 2 trains/versions, 2 builds each let(:app) { double('app') } let(:build_resp) { double('build_resp') } let(:tunes_client) { double('tunes_client') } let(:version) { double('version') } le...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/oclint_spec.rb
fastlane/spec/actions_specs/oclint_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe "OCLint Integration" do before :each do allow(FastlaneCore::FastlaneFolder).to receive(:path).and_return(nil) end it "raises an exception when the default compile_commands.json is not present" do expect do Fa...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/clean_cocoapods_cache_spec.rb
fastlane/spec/actions_specs/clean_cocoapods_cache_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe "Clean Cocoapods Cache Integration" do it "default use case" do result = Fastlane::FastFile.new.parse("lane :test do clean_cocoapods_cache end").runner.execute(:test) expect(result).to eq("pod cache clean --all")...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/helper/podspec_helper_spec.rb
fastlane/spec/helper/podspec_helper_spec.rb
require "stringio" describe Fastlane::Actions do describe "#podspechelper" do before do @version_podspec_file = Fastlane::Helper::PodspecHelper.new end it "raises an exception when an incorrect path is given" do expect do Fastlane::Helper::PodspecHelper.new('invalid_podspec') e...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/helper/xcodeproj_helper_spec.rb
fastlane/spec/helper/xcodeproj_helper_spec.rb
require 'fileutils' require 'tmpdir' describe Fastlane::Actions do describe '#xcodeproj_helper' do PATH = 'Project.xcodeproj'.freeze SECONDARY_PATH = 'Secondary/Project.xcodeproj'.freeze COCOAPODS_PATH = 'Pods/Pod.xcodeproj'.freeze COCOAPODS_FRAMEWORK_EXAMPLE_PATH = 'Pods/Alamofire/Example/iOS Exampl...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/helper/lane_helper_spec.rb
fastlane/spec/helper/lane_helper_spec.rb
require "stringio" describe Fastlane::Actions do describe "#lanespechelper" do describe "current_platform" do it "no platform" do Fastlane::Actions.lane_context[Fastlane::Actions::SharedValues::PLATFORM_NAME] = nil expect(Fastlane::Helper::LaneHelper.current_platform).to eq(nil) end ...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/helper/tool_name_formatting_helper_spec.rb
fastlane/spec/helper/tool_name_formatting_helper_spec.rb
require_relative '../../helper/tool_name_formatting_helper.rb' describe Fastlane::Helper::ToolNameFormattingHelper do let(:fixture_path) { 'fastlane/spec/fixtures/fastfiles/tool_name_formatting.txt' } before(:each) do @helper = Fastlane::Helper::ToolNameFormattingHelper.new(path: fixture_path, is_documenting_i...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/helper/sh_helper_spec.rb
fastlane/spec/helper/sh_helper_spec.rb
require "stringio" describe Fastlane::Actions do describe "#sh" do before do allow(FastlaneCore::Helper).to receive(:sh_enabled?).and_return(true) end context "external commands are failed" do context "with error_callback" do it "doesn't raise shell_error" do allow(Fastlane...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/helper/dotenv_helper_spec.rb
fastlane/spec/helper/dotenv_helper_spec.rb
require 'dotenv' describe Fastlane::Helper::DotenvHelper do describe "#load_dot_env" do it "does not load dotenvs when there is no directory" do expect(subject.class).to receive(:find_dotenv_directory).and_return(nil) expect(subject.class).to_not(receive(:load_dot_envs_from)) subject.class.load...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/helper/adb_helper_spec.rb
fastlane/spec/helper/adb_helper_spec.rb
describe Fastlane::Helper::AdbHelper do before do stub_const('ENV', { 'ANDROID_HOME' => '/usr/local/android-sdk' }) end describe "#load_all_devices" do context 'adb host' do it 'no host specified' do devices = Fastlane::Helper::AdbHelper.new expect(devices.host_option).to eq(nil) ...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/helper/plugin_scores_helper_spec.rb
fastlane/spec/helper/plugin_scores_helper_spec.rb
require_relative '../../helper/plugin_scores_helper.rb' describe Fastlane::Helper::PluginScoresHelper::FastlaneActionFileParser do describe 'parsing' do it "parses single line action's description" do action_file = './fastlane/spec/fixtures/plugins/single_line_description_action.rb' actions = Fastlan...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/helper/xcodes_helper_spec.rb
fastlane/spec/helper/xcodes_helper_spec.rb
describe Fastlane::Helper::XcodesHelper do describe ".read_xcode_version_file" do let(:xcode_version_path) { ".xcode-version" } context ".xcode-version file exists" do before do allow(Dir).to receive(:glob).with(".xcode-version").and_return([xcode_version_path]) allow(File).to receive(:...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/helper/s3_client_helper_spec.rb
fastlane/spec/helper/s3_client_helper_spec.rb
describe Fastlane::Helper::S3ClientHelper do subject { described_class.new(s3_client: instance_double('Aws::S3::Client')) } describe '#find_bucket!' do before { class_double('Aws::S3::Bucket', new: bucket).as_stubbed_const } context 'when bucket found' do let(:bucket) { instance_double('Aws::S3::Buc...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/helper/tool_name_formatting_helper.rb
fastlane/helper/tool_name_formatting_helper.rb
module Fastlane module Helper class ToolNameFormattingHelper attr_accessor :path, :is_documenting_invalid_examples # @param [String] path Path to the file to be checked for tool formatting # @param [Bool] is_documenting_invalid_examples # Ignore checks if line starts with "^\s*- ❌"...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/helper/plugin_scores_helper.rb
fastlane/helper/plugin_scores_helper.rb
module Fastlane module Helper module PluginScoresHelper require 'faraday' require 'faraday_middleware' require 'yaml' class FastlanePluginRating attr_accessor :key attr_accessor :description attr_accessor :value def initialize(key: nil, description: nil, v...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/lib/fastlane.rb
fastlane/lib/fastlane.rb
require 'fastlane_core' require 'fastlane/version' require 'fastlane/features' require 'fastlane/shells' require 'fastlane/tools' require 'fastlane/documentation/actions_list' require 'fastlane/actions/actions_helper' # has to be before fast_file require 'fastlane/fast_file' require 'fastlane/runner' require 'fastlane...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/lib/assets/custom_action_template.rb
fastlane/lib/assets/custom_action_template.rb
module Fastlane module Actions module SharedValues [[NAME_UP]]_CUSTOM_VALUE = :[[NAME_UP]]_CUSTOM_VALUE end class [[NAME_CLASS]] < Action def self.run(params) # fastlane will take care of reading in the parameter and fetching the environment variable: UI.message("Parameter API...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/lib/fastlane/markdown_table_formatter.rb
fastlane/lib/fastlane/markdown_table_formatter.rb
module Fastlane class MarkdownTableFormatter # taken from: https://github.com/benbalter/markdown-table-formatter def initialize(string, header = true) @doc = string @header = header end # converts the markdown string into an array of arrays def parse @table = [] rows = @do...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/lib/fastlane/environment_printer.rb
fastlane/lib/fastlane/environment_printer.rb
module Fastlane class EnvironmentPrinter def self.output env_info = get # Remove sensitive option values FastlaneCore::Configuration.sensitive_strings.compact.each do |sensitive_element| env_info.gsub!(sensitive_element, "#########") end puts(env_info) UI.important("T...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/lib/fastlane/version.rb
fastlane/lib/fastlane/version.rb
module Fastlane VERSION = '2.230.0'.freeze SUMMARY = "The easiest way to build and release mobile apps.".freeze DESCRIPTION = "The easiest way to automate beta deployments and releases for your iOS and Android apps".freeze MINIMUM_XCODE_RELEASE = "7.0".freeze RUBOCOP_REQUIREMENT = '1.50.2'.freeze end
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/lib/fastlane/swift_fastlane_api_generator.rb
fastlane/lib/fastlane/swift_fastlane_api_generator.rb
require 'fastlane/swift_fastlane_function.rb' module Fastlane class SwiftToolDetail attr_accessor :swift_class attr_accessor :swift_protocol attr_accessor :command_line_tool_name def initialize(command_line_tool_name: nil, swift_class: nil, swift_protocol: nil) self.command_line_tool_name = co...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/lib/fastlane/shells.rb
fastlane/lib/fastlane/shells.rb
module Fastlane SHELLS = [ :bash, :zsh ] end
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/lib/fastlane/tools.rb
fastlane/lib/fastlane/tools.rb
module Fastlane TOOLS = [ :fastlane, :pilot, :spaceship, :produce, :deliver, :frameit, :pem, :snapshot, :screengrab, :supply, :cert, :sigh, :match, :scan, :gym, :precheck, :trainer ] # a list of all the config files we currently expect TOOL_CO...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/lib/fastlane/swift_runner_upgrader.rb
fastlane/lib/fastlane/swift_runner_upgrader.rb
require 'xcodeproj' require 'fileutils' module Fastlane # current logic: # - find all groups in existing project # -- if a group is missing, add it # --- add all files for group into new group, build target, and compile phase # - iterate through existing groups # -- update all files needing updating # - ...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/lib/fastlane/new_action.rb
fastlane/lib/fastlane/new_action.rb
module Fastlane # Guides the new user through creating a new action module NewAction def self.run(new_action_name: nil) name = new_action_name && check_action_name_from_args(new_action_name) ? new_action_name : fetch_name generate_action(name) end def self.fetch_name puts("Must be low...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/lib/fastlane/supported_platforms.rb
fastlane/lib/fastlane/supported_platforms.rb
module Fastlane class SupportedPlatforms class << self attr_accessor :extra attr_reader :default def extra=(value) value ||= [] UI.important("Setting '#{value}' as extra SupportedPlatforms") @extra = value end end @default = [:ios, :mac, :android] @ext...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/lib/fastlane/erb_template_helper.rb
fastlane/lib/fastlane/erb_template_helper.rb
require 'ostruct' module Fastlane class ErbTemplateHelper require "erb" def self.load(template_name) path = "#{Fastlane::ROOT}/lib/assets/#{template_name}.erb" load_from_path(path) end def self.load_from_path(template_filepath) unless File.exist?(template_filepath) UI.user_...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/lib/fastlane/lane.rb
fastlane/lib/fastlane/lane.rb
module Fastlane # Represents a lane class Lane attr_accessor :platform attr_accessor :name # @return [Array] An array containing the description of this lane # Each item of the array is one line attr_accessor :description attr_accessor :block # @return [Boolean] Is that a private l...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/lib/fastlane/lane_manager_base.rb
fastlane/lib/fastlane/lane_manager_base.rb
module Fastlane # Base class for all LaneManager classes # Takes care of all common things like printing the lane description tables and loading .env files class LaneManagerBase def self.skip_docs? Helper.test? || FastlaneCore::Env.truthy?("FASTLANE_SKIP_DOCS") end # All the finishing up that n...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/lib/fastlane/lane_list.rb
fastlane/lib/fastlane/lane_list.rb
module Fastlane class LaneList # Print out the result of `generate` SWIFT_FUNCTION_REGEX = /\s*func\s*(\w*)\s*\((.*)\)\s*/ SWIFT_DESC_REGEX = /\s*desc\s*\(\s*"(.*)"\s*\)\s*/ def self.output(path) puts(generate(path)) puts("Execute using `fastlane [lane_name]`".yellow) end def sel...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false