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

Add a software_version: keyword argument to Target#initialize and Mixins::HasTargets::ClassMethods#target #148

Closed
postmodern opened this issue Aug 6, 2024 · 1 comment
Assignees
Labels
enhancement Enhancement to existing code targets-api Targets API
Milestone

Comments

@postmodern
Copy link
Member

Add a software_version: keyword argument instead of version: for consistency. Still support version: for backwards compatibility.

Also, rename the version: keyword argument in Mixins::HasTargets#select_target to software_version:, since that method is part of the internal/semi-public API that users are not supposed to directly call.

@postmodern postmodern added enhancement Enhancement to existing code targets-api Targets API labels Aug 6, 2024
@postmodern postmodern added this to the 1.2.0 milestone Aug 6, 2024
@postmodern postmodern self-assigned this Aug 6, 2024
@postmodern
Copy link
Member Author

Implemented by 909a5c2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancement to existing code targets-api Targets API
Projects
None yet
Development

No branches or pull requests

1 participant