Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace run methods #585

Merged
merged 3 commits into from
Jan 27, 2019
Merged

Replace run methods #585

merged 3 commits into from
Jan 27, 2019

Conversation

mvz
Copy link
Contributor

@mvz mvz commented Jan 27, 2019

Summary

Fix #559.

Details

Deprecates #run and #run_simple in favor of #run_command and #run_command_and_stop, and uses the new methods everywhere.

Motivation and Context

Makes the eventual transition to 1.0 smoother for users.

How Has This Been Tested?

Full suite has been run to check for (deprecation) errors.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Refactoring (cleanup of codebase without changing any existing functionality)
  • Update documentation

Checklist:

  • I've added tests for my code
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.

Copy link
Contributor

@olleolleolle olleolleolle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a nice deprecation.

@@ -116,13 +116,75 @@ def eot
# The command to by run
#
# @see #cmd
# @deprectated
# @deprecated
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good find!

@mvz mvz merged commit 5ed690f into still Jan 27, 2019
@mvz mvz deleted the issue-559-replace-run-methods branch January 27, 2019 19:47
unasuke added a commit to unasuke/middleman that referenced this pull request Jan 23, 2020
Aruba's #run methods now deprecated.
Use new method #run_command.

- cucumber/aruba#585
tdreyno pushed a commit to middleman/middleman that referenced this pull request Jan 29, 2020
* Use #run_command instead of #run

Aruba's #run methods now deprecated.
Use new method #run_command.

- cucumber/aruba#585

* Use #set_environment_variable instead of #set_env

Aruba's #set_env methods now deprecated.
Use new method #set_environment_variable.

- cucumber/aruba@663991ec7

* Use #expand_path instead of #current_dir

Aruba's #current_dir now deprecated.
Use new method #expand_path.

- cucumber/aruba@802c4ec242

* Use aruba.announcer instead of #announcer

Aruba's #announcer now deprecated.
Use new method aruba.announcer.

- cucumber/aruba@7f8a155c89
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants