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/plugins_specs/plugin_update_manager_spec.rb
fastlane/spec/plugins_specs/plugin_update_manager_spec.rb
describe Fastlane::PluginUpdateManager do describe "#show_update_status" do before(:each) do ENV.delete("FASTLANE_SKIP_UPDATE_CHECK") end it "does nothing if no updates are available" do Fastlane::PluginUpdateManager.show_update_status end it "prints out a table if updates are availa...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/plugins_specs/plugin_fetcher_spec.rb
fastlane/spec/plugins_specs/plugin_fetcher_spec.rb
describe Fastlane do describe Fastlane::PluginFetcher do describe "#fetch_gems" do before do current_gem = "yolo" # We have to stub both a specific search, and the general listing stub_request(:get, "https://rubygems.org/api/v1/search.json?page=1&query=fastlane-plugin-#{current_gem}"...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/plugins_specs/plugin_info_collector_spec.rb
fastlane/spec/plugins_specs/plugin_info_collector_spec.rb
describe Fastlane::PluginInfoCollector do let(:test_ui) do ui = Fastlane::PluginGeneratorUI.new allow(ui).to receive(:message) allow(ui).to receive(:input).and_raise(":input call was not mocked!") allow(ui).to receive(:confirm).and_raise(":confirm call was not mocked!") ui end before do [...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/plugins_specs/plugin_generator_spec.rb
fastlane/spec/plugins_specs/plugin_generator_spec.rb
require 'rubygems' initialized = false test_ui = nil generator = nil tmp_dir = nil oldwd = nil describe Fastlane::PluginGenerator do describe '#generate' do let(:plugin_info) { Fastlane::PluginInfo.new('tester_thing', 'Fabricio Devtoolio', 'fabric.devtools@gmail.com', 'summary', 'details') } let(:plugin_nam...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/plugins_specs/plugin_info_spec.rb
fastlane/spec/plugins_specs/plugin_info_spec.rb
describe Fastlane::PluginInfo do describe 'object equality' do it "detects equal PluginInfo objects" do object_a = Fastlane::PluginInfo.new('name', 'Me', 'me@you.com', 'summary', 'details') object_b = Fastlane::PluginInfo.new('name', 'Me', 'me@you.com', 'summary', 'details') expect(object_a).to ...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/plugins_specs/plugin_manager_spec.rb
fastlane/spec/plugins_specs/plugin_manager_spec.rb
describe Fastlane do describe Fastlane::PluginManager do let(:plugin_manager) { Fastlane::PluginManager.new } describe "#gemfile_path" do it "returns an absolute path if Gemfile available" do expect(plugin_manager.gemfile_path).to eq(File.expand_path("./Gemfile")) end it "returns ni...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/fixtures/broken_files/broken_file.rb
fastlane/spec/fixtures/broken_files/broken_file.rb
module Fastlane module Actions class BrokenAction def run(params) # Missing comma puts { a: 123 b: 345 } end end end end
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/fixtures/fastfiles/import1/actions/hello.rb
fastlane/spec/fixtures/fastfiles/import1/actions/hello.rb
module Fastlane module Actions class HelloAction < Action def self.run(params) UI.message("Param1: #{params[:param1]}") end def self.available_options [ FastlaneCore::ConfigItem.new(key: :param1, optional: false, ...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/fixtures/actions/action_from_action.rb
fastlane/spec/fixtures/actions/action_from_action.rb
module Fastlane module Actions class ActionFromActionAction < Action def self.run(params) return { rocket: other_action.rocket, pwd: other_action.pwd } end def self.is_supported?(platform) true end end end end
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/fixtures/actions/alias_test_no_param.rb
fastlane/spec/fixtures/actions/alias_test_no_param.rb
module Fastlane module Actions class AliasTestNoParamAction < Action attr_accessor :global_test def self.run(params) UI.important(@global_test) end def self.alias_used(action_alias, params) @global_test = "modified" end def self.aliases ["somealias_no_...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/fixtures/actions/action_from_action_invalid.rb
fastlane/spec/fixtures/actions/action_from_action_invalid.rb
module Fastlane module Actions class ActionFromActionInvalidAction < Action def self.run(params) return rocket # no `other_action` will fail end def self.is_supported?(platform) true end end end end
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/fixtures/actions/alias_no_used_handler.rb
fastlane/spec/fixtures/actions/alias_no_used_handler.rb
module Fastlane module Actions class AliasNoUsedHandlerAction < Action def self.run(params) UI.important("run") end def self.aliases ["alias_no_used_handler_sample_alias"] end def self.is_supported?(platform) true end end end end
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/fixtures/actions/step_text_none_no_params.rb
fastlane/spec/fixtures/actions/step_text_none_no_params.rb
module Fastlane module Actions class StepTextNoneNoParamsAction < Action def self.run(params) UI.important("run") end def self.is_supported?(platform) true end def self.step_text nil end end end end
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/fixtures/actions/step_text_custom_no_params.rb
fastlane/spec/fixtures/actions/step_text_custom_no_params.rb
module Fastlane module Actions class StepTextCustomNoParamsAction < Action def self.run(params) UI.important("run") end def self.is_supported?(platform) true end def self.step_text "Custom Step Text" end end end end
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/fixtures/actions/alias_test.rb
fastlane/spec/fixtures/actions/alias_test.rb
module Fastlane module Actions class AliasTestAction < Action def self.run(params) UI.important(params[:example]) end def self.alias_used(action_alias, params) params[:example] = "modified" end def self.aliases ["somealias"] end def self.is_supp...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/fixtures/actions/pwd.rb
fastlane/spec/fixtures/actions/pwd.rb
module Fastlane module Actions class PwdAction < Action def self.run(params) return Dir.pwd end def self.is_supported?(platform) true end end end end
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/fixtures/actions/alias_short_test.rb
fastlane/spec/fixtures/actions/alias_short_test.rb
module Fastlane module Actions class AliasShortTestAction < Action def self.run(params) UI.important(params.join(",")) end def self.alias_used(action_alias, params) params.replace("modified") end def self.aliases ["someshortalias"] end def self....
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/fixtures/actions/example_action.rb
fastlane/spec/fixtures/actions/example_action.rb
module Fastlane module Actions class ExampleActionAction < Action def self.run(params) tmp = Dir.mktmpdir tmp_path = File.join(tmp, "example_action.txt") File.write(tmp_path, Time.now.to_i) end def self.is_supported?(platform) true end def self.avail...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/fixtures/actions/step_text_custom_with_params.rb
fastlane/spec/fixtures/actions/step_text_custom_with_params.rb
module Fastlane module Actions class StepTextCustomWithParamsAction < Action def self.run(params) UI.important("run") end def self.available_options [ FastlaneCore::ConfigItem.new(key: :task, description: "Task to be printed out")...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/fixtures/actions/example_action_second.rb
fastlane/spec/fixtures/actions/example_action_second.rb
module Fastlane module Actions class ExampleActionSecondAction def self.run(params) puts('running') end def self.is_supported?(platform) true end end end end
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/fixtures/actions/archive.rb
fastlane/spec/fixtures/actions/archive.rb
module Fastlane module Actions class ArchiveAction < Action def self.run(params) puts('yes') end def self.is_supported?(platform) true end end end end
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/fixtures/plugins/multi_line_description_action.rb
fastlane/spec/fixtures/plugins/multi_line_description_action.rb
require 'fastlane/action' module Fastlane module Actions class MultiLineDescriptionAction < Action def self.run(params) # Do nothing end def self.description 'This is ' \ 'multi line description.' end def self.available_options [ FastlaneC...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/fixtures/plugins/single_line_description_action.rb
fastlane/spec/fixtures/plugins/single_line_description_action.rb
require 'fastlane/action' module Fastlane module Actions class SingleLineDescriptionAction < Action def self.run(params) # Do nothing end def self.description "This is single line description." end def self.available_options [ FastlaneCore::Config...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/fixtures/broken_actions/broken_action.rb
fastlane/spec/fixtures/broken_actions/broken_action.rb
module Fastlane module Actions class BrokenAction # Missing method def self.is_supported?(platform) true end end end end
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/fixtures/deprecated_actions/deprecated_action.rb
fastlane/spec/fixtures/deprecated_actions/deprecated_action.rb
module Fastlane module Actions class DeprecatedActionAction < Action def self.run(params) end def self.is_supported?(platform) true end def self.category :deprecated end def self.deprecated_notes "This action is deprecated so do something else i...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/notification/slack_spec.rb
fastlane/spec/notification/slack_spec.rb
describe Fastlane::Notification::Slack do describe Fastlane::Notification::Slack::LinkConverter do it 'should convert HTML anchor tag to Slack link format' do { %|Hello <a href="https://fastlane.tools">fastlane</a>| => 'Hello <https://fastlane.tools|fastlane>', %|Hello <a href='https://fastl...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/modify_services_spec.rb
fastlane/spec/actions_specs/modify_services_spec.rb
require 'produce/service' describe Fastlane do describe Fastlane::FastFile do describe "modify_services" do it 'sends enable and disable with strings, symbols, and booleans' do allow(Produce).to receive(:config) expect(Produce::Service).to receive(:enable) do |options, args| expec...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/make_changelog_from_jenkins_spec.rb
fastlane/spec/actions_specs/make_changelog_from_jenkins_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe "make_jenkins_changelog" do before do ENV['BUILD_URL'] = "https://jenkinsurl.com/JOB/" end after do ENV['BUILD_URL'] = nil end it "returns the fallback if it wasn't able to communicate with the server" do ...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/s3_spec.rb
fastlane/spec/actions_specs/s3_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe "S3 Integration" do it "raise an error to use S3 plugin" do expect do Fastlane::FastFile.new.parse("lane :test do s3({}) end").runner.execute(:test) end.to raise_error("Please use the `aws_s3` plugin...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/pem_spec.rb
fastlane/spec/actions_specs/pem_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe "PEM Integration" do it "works with no parameters" do result = Fastlane::FastFile.new.parse("lane :test do pem end").runner.execute(:test) end it "support a success callback block" do temp_path = "/tm...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/last_git_tag_spec.rb
fastlane/spec/actions_specs/last_git_tag_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe "last_git_tag" do it "Returns the last git tag" do result = Fastlane::FastFile.new.parse("lane :test do last_git_tag end").runner.execute(:test) tag_name = %w(git rev-list --tags --max-count=1).shelljoin ...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/supply_spec.rb
fastlane/spec/actions_specs/supply_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe "supply" do let(:apk_path) { "app/my.apk" } let(:apk_paths) { ["app/my1.apk", "app/my2.apk"] } let(:wrong_apk_paths) { ['wrong.apk', 'nope.apk'] } let(:aab_path) { "app/bundle.aab" } let(:aab_paths_unique) { ["app/bundle1.a...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/set_build_number_repository_spec.rb
fastlane/spec/actions_specs/set_build_number_repository_spec.rb
describe Fastlane do describe Fastlane::FastFile do context "set build number repository" do before do allow(Fastlane::Actions::IncrementBuildNumberAction).to receive(:system).with(/agvtool/).and_return(true) expect(Fastlane::Actions::GetBuildNumberRepositoryAction).to receive(:run).and_retu...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/testfairy_spec.rb
fastlane/spec/actions_specs/testfairy_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe "TestFairy Integration" do it "raises an error if no parameters were given" do expect do Fastlane::FastFile.new.parse("lane :test do testfairy() end").runner.execute(:test) end.to raise_error(Fastlan...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/version_bump_podspec_spec.rb
fastlane/spec/actions_specs/version_bump_podspec_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe "version_podspec_file" 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('i...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/apteligent_spec.rb
fastlane/spec/actions_specs/apteligent_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe "apteligent" do it "raises an error if no dsym source has been found" do expect do ENV['DSYM_OUTPUT_PATH'] = nil ENV['DSYM_ZIP_PATH'] = nil Fastlane::Actions.lane_context[Fastlane::Actions::SharedValues::DSYM_...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/opt_out_usage_spec.rb
fastlane/spec/actions_specs/opt_out_usage_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe "Opt Out Usage" do it "works as expected" do Fastlane::FastFile.new.parse("lane :test do opt_out_usage end").runner.execute(:test) expect(ENV['FASTLANE_OPT_OUT_USAGE']).to eq("YES") end end end end
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/import_spec.rb
fastlane/spec/actions_specs/import_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe "import" do it "allows the user to import a separate Fastfile" do ff = Fastlane::FastFile.new('./fastlane/spec/fixtures/fastfiles/ImportFastfile') expect(ff.runner.execute(:main_lane)).to eq('such main') # from the original Fastfi...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/is_ci_spec.rb
fastlane/spec/actions_specs/is_ci_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe "is_ci" do it "returns the correct value" do result = Fastlane::FastFile.new.parse("lane :test do is_ci end").runner.execute(:test) expect(result).to eq(FastlaneCore::Helper.ci?) end it "works with a...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/git_add_spec.rb
fastlane/spec/actions_specs/git_add_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe "git_add" do before do allow(File).to receive(:exist?).with(anything).and_return(true) end context "as string" do let(:path) { "myfile.txt" } it "executes the correct git command" do allow(Fastlane::...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/gradle_spec.rb
fastlane/spec/actions_specs/gradle_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe "gradle" do before :each do allow(FastlaneCore::FastlaneFolder).to receive(:path).and_return(nil) end describe "output controls" do let(:expected_command) { "#{File.expand_path('README.md').shellescape} tasks -p ." } ...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/ensure_no_debug_code_spec.rb
fastlane/spec/actions_specs/ensure_no_debug_code_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe "ensure_no_debug_code" do before :each do allow(FastlaneCore::FastlaneFolder).to receive(:path).and_return(nil) end it "handles extension and extensions parameters correctly" do result = Fastlane::FastFile.new.parse("l...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/artifactory_spec.rb
fastlane/spec/actions_specs/artifactory_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe "artifactory" do it "Call the artifactory plugin with 'username' and 'password' " do result = Fastlane::FastFile.new.parse("lane :test do artifactory(username:'username', password: 'password', endpoint: 'artifactory.example.com...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/backup_file_spec.rb
fastlane/spec/actions_specs/backup_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/update_app_group_identifiers_spec.rb
fastlane/spec/actions_specs/update_app_group_identifiers_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe "Update Info Plist Integration" do let(:test_path) { "/tmp/fastlane/tests/fastlane" } let(:entitlements_path) { "com.test.entitlements" } let(:new_app_group) { 'group.com.enterprise.test' } before do # Set up example inf...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/slack_spec.rb
fastlane/spec/actions_specs/slack_spec.rb
require 'slack-notifier' describe Fastlane::Actions do describe Fastlane::Actions::SlackAction do describe Fastlane::Actions::SlackAction::Runner do subject { Fastlane::Actions::SlackAction::Runner.new('https://127.0.0.1') } it "trims long messages to show the bottom of the messages" do long...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/create_pull_request_spec.rb
fastlane/spec/actions_specs/create_pull_request_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe "create_pull_request" do let(:response_body) { File.read("./fastlane/spec/fixtures/requests/github_create_pull_request_response.json") } context 'successful' do before do stub_request(:post, "https://api.github.com/repos/f...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/splunkmint_spec.rb
fastlane/spec/actions_specs/splunkmint_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe "Splunk MINT integration" do it "verbosity is set correctly" do expect(Fastlane::Actions::SplunkmintAction.verbose(verbose: true)).to eq("--verbose") expect(Fastlane::Actions::SplunkmintAction.verbose(verbose: false)).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/appledoc_spec.rb
fastlane/spec/actions_specs/appledoc_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe "Appledoc Integration" do it "default use case" do result = Fastlane::FastFile.new.parse("lane :test do appledoc( project_name: 'Project Name', project_company: 'Company', input: 'input/dir' ...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/set_info_plist_value_spec.rb
fastlane/spec/actions_specs/set_info_plist_value_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe "set_info_plist" do let(:plist_path) { "./fastlane/spec/fixtures/plist/Info.plist" } let(:test_path) { "/tmp/fastlane/tests/fastlane" } let(:output_path) { "Folder/output.plist" } let(:new_value) { "NewValue#{Time.now.to_i}" } ...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/xcodebuild_spec.rb
fastlane/spec/actions_specs/xcodebuild_spec.rb
describe Fastlane do describe Fastlane::FastFile do build_log_path = File.expand_path("#{FastlaneCore::Helper.buildlog_path}/fastlane/xcbuild/#{Time.now.strftime('%F')}/#{Process.pid}/xcodebuild.log") describe "Xcodebuild Integration" do before :each do Fastlane::Actions.lane_context.delete(:IP...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/get_build_number_action_spec.rb
fastlane/spec/actions_specs/get_build_number_action_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe "Get Build Number Integration" do require 'shellwords' it "gets the build number of the Xcode project" do Fastlane::FastFile.new.parse("lane :test do get_build_number(xcodeproj: '.xcproject') 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/copy_artifacts_spec.rb
fastlane/spec/actions_specs/copy_artifacts_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe "Copy Artifacts Integration" do before do # Create base test directory @tmp_path = Dir.mktmpdir FileUtils.mkdir_p("#{@tmp_path}/source") end it "Copies a file to target path" do FileUtils.touch("#{@tmp_...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/import_certificate_spec.rb
fastlane/spec/actions_specs/import_certificate_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe "Import certificate Integration" do before(:each) do allow(FastlaneCore::Helper).to receive(:backticks).with('security -h | grep set-key-partition-list', print: false).and_return(' set-key-partition-list Set the partition ...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/team_name_spec.rb
fastlane/spec/actions_specs/team_name_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe "Team Name Action" do it "works as expected" do new_val = "abcdef" Fastlane::FastFile.new.parse("lane :test do team_name '#{new_val}' end").runner.execute(:test) [:FASTLANE_TEAM_NAME, :PRODUCE_TEAM_NAME]....
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/increment_build_number_spec.rb
fastlane/spec/actions_specs/increment_build_number_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe "Increment Build Number Integration" do require 'shellwords' describe "With agv enabled" do before(:each) do allow(Fastlane::Actions::IncrementBuildNumberAction).to receive(:system).with(/agvtool/).and_return(true) ...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/reset_git_repo_spec.rb
fastlane/spec/actions_specs/reset_git_repo_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe "reset_git_repo" do it "works as expected inside a Fastfile" do paths = Fastlane::FastFile.new.parse("lane :test do reset_git_repo(force: true, files: ['.']) end").runner.execute(:test) expect(paths).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/run_tests_spec.rb
fastlane/spec/actions_specs/run_tests_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe "Scan Integration" do context ":fail_build" do it "raises an error if build/compile error and fail_build is true" do allow(Scan).to receive(:config=).and_return(nil) allow_any_instance_of(Scan::Manager).to receive(:work...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/unlock_keychain_spec.rb
fastlane/spec/actions_specs/unlock_keychain_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe "Unlock keychain Integration" do # do not use lazy init here # this will prevent race conditions during parallel runs let!(:keychain_path) { Tempfile.new('foo').path } it "works with path and password and existing keychain" do ...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/changelog_from_git_commits_spec.rb
fastlane/spec/actions_specs/changelog_from_git_commits_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe "changelog_from_git_commits" do it "Collects messages from the last tag to HEAD by default" do result = Fastlane::FastFile.new.parse("lane :test do changelog_from_git_commits end").runner.execute(:test) # In test...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/setup_travis_spec.rb
fastlane/spec/actions_specs/setup_travis_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe "Setup Travis 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 expect(ENV["MATCH...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/hg_push_spec.rb
fastlane/spec/actions_specs/hg_push_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe "Mercurial Push to Remote Action" do it "works without passing any options" do result = Fastlane::FastFile.new.parse("lane :test do hg_push end").runner.execute(:test) expect(result).to include("hg push") e...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/set_pod_key_spec.rb
fastlane/spec/actions_specs/set_pod_key_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe "CocoaPods-Keys Integration" do it "default use case" do allow(FastlaneCore::FastlaneFolder).to receive(:path).and_return(nil) result = Fastlane::FastFile.new.parse("lane :test do set_pod_key( key: 'APIToken',...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/verify_pod_keys_spec.rb
fastlane/spec/actions_specs/verify_pod_keys_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe "CocoaPods Keys Verification" do let(:key) { "Key" } let(:target) { "Target" } before(:each) do options = { "target" => :target, "keys" => [:key] } allow(Fastlane::Actions::VerifyPodKeysAction).to receive(:plugin_optio...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/slather_spec.rb
fastlane/spec/actions_specs/slather_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe "Slather Integration" do let(:action) { Fastlane::Actions::SlatherAction } it "works with all parameters" do allow(Fastlane::Actions::SlatherAction).to receive(:slather_version).and_return(Gem::Version.create('2.8.0')) source...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/git_branch_spec.rb
fastlane/spec/actions_specs/git_branch_spec.rb
describe Fastlane::Actions::GitBranchAction do describe "CI set ENV values" do Fastlane::Actions::SharedValues::GIT_BRANCH_ENV_VARS.each do |env_var| it "can control the output of the action with #{env_var}" do FastlaneSpec::Env.with_env_values(env_var => "#{env_var}-branch-name") do resul...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/default_platform_spec.rb
fastlane/spec/actions_specs/default_platform_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe "Default Platform Action" do it "stores the default platform and converts to a symbol" do Fastlane::Actions::DefaultPlatformAction.run(['ios']) expect(Fastlane::Actions.lane_context[Fastlane::Actions::SharedValues::DEFAULT_PLATFORM...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/trainer_spec.rb
fastlane/spec/actions_specs/trainer_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe "Trainer Integration" do context ":fail_build" do it "does not raise an error if tests fail and fail_build is false", requires_xcode: true do expect do Fastlane::FastFile.new.parse("lane :parse_test_result do ...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/bundle_install_spec.rb
fastlane/spec/actions_specs/bundle_install_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe "bundle install action" do it "default use case" do expect(Fastlane::Actions::BundleInstallAction).to receive(:gemfile_exists?).and_return(true) result = Fastlane::FastFile.new.parse("lane :test do bundle_install ...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/appaloosa_spec.rb
fastlane/spec/actions_specs/appaloosa_spec.rb
describe Fastlane do describe Fastlane::FastFile do APPALOOSA_SERVER = Fastlane::Actions::AppaloosaAction::APPALOOSA_SERVER describe 'Appaloosa Integration' do before :each do allow(FastlaneCore::FastlaneFolder).to receive(:path).and_return(nil) end let(:appaloosa_lane) 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_xcframework_spec.rb
fastlane/spec/actions_specs/create_xcframework_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe "Create XCFramework Action" do before(:each) do allow(File).to receive(:exist?).and_call_original allow(File).to receive(:directory?).and_call_original end it "requires to either provide :frameworks, :frameworks_with_d...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/update_fastlane_spec.rb
fastlane/spec/actions_specs/update_fastlane_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe "update_fastlane" do let(:mock_updater) { double("mock_updater") } let(:mock_cleanup) { double("mock_cleanup") } let(:mock_instance) do { update: mock_updater, cleanup: mock_cleanup } end ...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/pod_lib_lint_spec.rb
fastlane/spec/actions_specs/pod_lib_lint_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe "Pod Lib Lint action" do before :each do allow(FastlaneCore::FastlaneFolder).to receive(:path).and_return(nil) end it "generates the correct pod lib lint command with no parameters" do result = Fastlane::FastFile.new.p...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/nexus_upload_spec.rb
fastlane/spec/actions_specs/nexus_upload_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe "Nexus Upload integration" do it "sets verbosity correctly" do expect(Fastlane::Actions::NexusUploadAction.verbose(verbose: true)).to eq("--verbose") expect(Fastlane::Actions::NexusUploadAction.verbose(verbose: false)).to eq("--sil...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/xcode_server_get_assets_spec.rb
fastlane/spec/actions_specs/xcode_server_get_assets_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe "xcode_server_get_assets" do it "fails if server is unavailable" do stub_request(:get, "https://1.2.3.4:20343/api/bots").to_return(status: 500) begin result = Fastlane::FastFile.new.parse("lane :test do xcode...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/deliver_action_spec.rb
fastlane/spec/actions_specs/deliver_action_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe "Deliver Integration" do it "uses the snapshot path if given" do test_val = "test_val" Fastlane::Actions.lane_context[Fastlane::Actions::SharedValues::SNAPSHOT_SCREENSHOTS_PATH] = test_val result = Fastlane::FastFile.new.p...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/hockey_spec.rb
fastlane/spec/actions_specs/hockey_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe "Hockey Integration" do before :each do allow(FastlaneCore::FastlaneFolder).to receive(:path).and_return(nil) end it "raises an error if no build file was given" do expect do Fastlane::FastFile.new.parse("lan...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/pod_push_spec.rb
fastlane/spec/actions_specs/pod_push_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe "Pod Push action" do before :each do allow(FastlaneCore::FastlaneFolder).to receive(:path).and_return(nil) end it "generates the correct pod push command with no parameters" do result = Fastlane::FastFile.new.parse("la...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/commit_version_bump_action_spec.rb
fastlane/spec/actions_specs/commit_version_bump_action_spec.rb
describe Fastlane::Actions::CommitVersionBumpAction do let(:action) { Fastlane::Actions::CommitVersionBumpAction } describe 'settings_plists_from_param' do it 'returns the param in an array if a String' do settings_plists = action.settings_plists_from_param("About.plist") expect(settings_plists).to...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/add_git_tag_spec.rb
fastlane/spec/actions_specs/add_git_tag_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe "Add Git Tag Integration" do require 'shellwords' build_number = 1337 before :each do Fastlane::Actions.lane_context[Fastlane::Actions::SharedValues::BUILD_NUMBER] = build_number end context "when 'includes_lane'...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/flock_spec.rb
fastlane/spec/actions_specs/flock_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe "Flock Action" do FLOCK_BASE_URL = Fastlane::Actions::FlockAction::BASE_URL def run_flock(**arguments) parsed_arguments = Fastlane::ConfigurationHelper.parse( Fastlane::Actions::FlockAction, arguments ) Fa...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/xcode_select_spec.rb
fastlane/spec/actions_specs/xcode_select_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe "Xcode Select Integration" do let(:invalid_path) { "/path/to/nonexistent/dir" } let(:valid_path) { "/valid/path/to/xcode" } before(:each) do allow(Dir).to receive(:exist?).with(invalid_path).and_return(false) allow(Dir...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/verify_build_spec.rb
fastlane/spec/actions_specs/verify_build_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe "verify_build" do let(:no_such_file) { "no-such-file.ipa" } let(:not_an_ipa) { File.expand_path("./fastlane_core/spec/fixtures/ipas/not-an-ipa.ipa") } let(:correctly_signed_ipa) { File.expand_path("./fastlane_core/spec/fixtures/ipas/ve...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/xcversion_spec.rb
fastlane/spec/actions_specs/xcversion_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe "xcversion integration" do after(:each) do ENV.delete("DEVELOPER_DIR") end context "when a version requirement is specified" do let(:v7_2) do double("XcodeInstall::Xcode", version: "7.2", path: "/Test/Xcode7....
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/git_tag_exists_spec.rb
fastlane/spec/actions_specs/git_tag_exists_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe "git_tag_exists" do it "executes the correct git command" do allow(Fastlane::Actions).to receive(:sh) .with("git rev-parse -q --verify refs/tags/1.2.0", anything) .and_return("12345") result = Fastlane::FastFile...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/produce_spec.rb
fastlane/spec/actions_specs/produce_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe "Produce Integration" do it "raises an error if non hash is passed" do expect do Fastlane::FastFile.new.parse("lane :test do produce('text') end").runner.execute(:test) end.to raise_error("You ha...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/set_changelog_spec.rb
fastlane/spec/actions_specs/set_changelog_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe "set_changelog" do context 'with invalid platform' do let(:invalidPlatform_lane) { "lane :test do set_changelog(app_identifier: 'x.y.z', platform: 'whatever', changelog: 'custom changelog', username: 'name@example.com') end" } it ...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/verify_xcode_spec.rb
fastlane/spec/actions_specs/verify_xcode_spec.rb
describe Fastlane::Actions::VerifyXcodeAction do describe 'codesign verification' do it "reports success for AppStore codesign details" do fixture_data = File.read('./fastlane/spec/fixtures/verify_xcode/xcode_codesign_appstore.txt') allow(FastlaneCore::UI).to receive(:message) expect(Fastlane::...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/increment_version_number_action_spec.rb
fastlane/spec/actions_specs/increment_version_number_action_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe "Increment Version Number Integration" do { "1" => "2", "1.1" => "1.2", "1.1.1" => "1.1.2" }.each do |from_version, to_version| it "increments all targets' version number from #{from_version} to #{to_ver...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/update_code_signing_settings_spec.rb
fastlane/spec/actions_specs/update_code_signing_settings_spec.rb
require "xcodeproj" # 771D79501D9E69C900D840FA = demo # 77C503031DD3175E00AC8FF0 = today describe Fastlane do describe Fastlane::FastFile do let(:project_path_old) do "./fastlane/spec/fixtures/xcodeproj/update-code-signing-settings-old.xcodeproj" end let(:unmodified_project_path) do "./fastla...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/clipboard_spec.rb
fastlane/spec/actions_specs/clipboard_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe "Clipboard Integration" do if FastlaneCore::Helper.mac? it "properly stores the value in the clipboard" do str = "Some value: #{Time.now.to_i}" value = Fastlane::FastFile.new.parse("lane :test do clipboard(...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/update_keychain_access_groups_spec.rb
fastlane/spec/actions_specs/update_keychain_access_groups_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe "Update Info Plist Integration" do let(:test_path) { "/tmp/fastlane/tests/fastlane" } let(:entitlements_path) { "com.test.entitlements" } let(:new_keychain_access_groups) { 'keychain.access.groups.test' } before do # Set...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/mailgun_spec.rb
fastlane/spec/actions_specs/mailgun_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe "Mailgun Action" do before :each do ENV['MAILGUN_SANDBOX_POSTMASTER'] = 'fakepostmaster@fakesandboxtest.mailgun.org' ENV['MAILGUN_APIKEY'] = 'key-73827fakeapikey2329' ENV['MAILGUN_APP_LINK'] = 'http://www.anapplink.com' ...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/update_project_provisioning_spec.rb
fastlane/spec/actions_specs/update_project_provisioning_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe "Update Project Provisioning" do let(:fixtures_path) { "./fastlane/spec/fixtures" } let(:xcodeproj) { File.absolute_path(File.join(fixtures_path, 'xcodeproj', 'bundle.xcodeproj')) } let(:profile_path) { File.absolute_path(File.join(fix...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/get_build_number_repository_spec.rb
fastlane/spec/actions_specs/get_build_number_repository_spec.rb
describe Fastlane do describe Fastlane::FastFile do context "SVN repository" do before do expect(Fastlane::Actions::GetBuildNumberRepositoryAction).to receive(:is_svn?).and_return(true) allow(Fastlane::Actions::GetBuildNumberRepositoryAction).to receive(:is_git_svn?).and_return(false) ...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/get_version_number_action_spec.rb
fastlane/spec/actions_specs/get_version_number_action_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe "Get Version Number Integration" do require 'shellwords' xcodeproj_dir = File.absolute_path("./fastlane/spec/fixtures/actions/get_version_number/") xcodeproj_filename = "get_version_number.xcodeproj" it "gets the correct versio...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/lane_context_spec.rb
fastlane/spec/actions_specs/lane_context_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe "Lane Context Quick Access" do it "allows you easily access the lane context" do result = Fastlane::FastFile.new.parse("lane :my_lane_name do lane_context[SharedValues::LANE_NAME] end").runner.execute(:my_lane_name) ...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/xcodes_spec.rb
fastlane/spec/actions_specs/xcodes_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe "xcodes" do let(:xcode_path) { "/valid/path/to/xcode.app" } let(:xcode_developer_path) { "#{xcode_path}/Contents/Developer" } let(:xcodes_binary_path) { "/path/to/bin/xcodes" } let(:valid_xcodes_version) { "1.1.0" } let(:ou...
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_to_remote_spec.rb
fastlane/spec/actions_specs/push_git_to_remote_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe "Push To Git Remote Action" do it "works without passing any options" do result = Fastlane::FastFile.new.parse("lane :test do push_to_git_remote end").runner.execute(:test) expect(result).to include("git push ori...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false
fastlane/fastlane
https://github.com/fastlane/fastlane/blob/d1f6eb6228644936997aae1956d8036ea62cd5b4/fastlane/spec/actions_specs/adb_spec.rb
fastlane/spec/actions_specs/adb_spec.rb
describe Fastlane do describe Fastlane::FastFile do describe "adb" do it "calls AdbHelper to trigger command" do expect_any_instance_of(Fastlane::Helper::AdbHelper) .to receive(:trigger) .with(command: "fake command", serial: "fake serial") .and_return("some stub adb re...
ruby
MIT
d1f6eb6228644936997aae1956d8036ea62cd5b4
2026-01-04T15:37:27.371479Z
false