Skip to content

Conversation

@afuno
Copy link
Member

@afuno afuno commented Jul 5, 2025

No description provided.

afuno added 2 commits July 6, 2025 03:19
### Changes:
- Replaced all references to "methods" with "actions" for clarity.
- Updated method definitions and variable names in `Runner` class:
  - `call_methods` -> `call_actions`
  - `call_method` -> `call_action`
  - `call_wrapper_with_methods` -> `call_wrapper_with_actions`
- Adjusted the `Stage` class to replace `methods` with `actions`:
  - `next_method_position` -> `next_action_position`
  - `methods` -> `actions`
- Updated corresponding changes in type signatures and `DSL` behavior.

These refinements enhance alignment between class behavior and purpose.
### Changes:
- Introduced `stages` attributes to both `Servactory::Info::Result` and `Servactory::Info::Builder`.
- Extended `Builder` methods to handle `stages` during initialization and attribute construction.
- Added `build_action_stages_with` method to process and map action stages.
- Updated `Actions::Collection` and `Stages::Collection`:
  - Updated delegation methods to include `map` and `to_h`.
- Renamed `methods` to `actions` in `Stages::Stage` for consistency.
- Enhanced shared example specs to validate `stages` within `class info`.

This update improves stage handling and aligns with the `actions` naming convention.
@afuno afuno added this to the v2.16.0 milestone Jul 5, 2025
@afuno afuno self-assigned this Jul 5, 2025
@afuno afuno added the feature label Jul 5, 2025
afuno added 2 commits July 6, 2025 03:54
### Changes:
- Extended the type signature of `Servactory::Info::Builder#initialize` to include a `collection_of_stages` parameter.
- Updated builder logic to accommodate action stages for improved functionality and alignment with previous updates.
### Changes:
- Removed the unused `next_action_position` method from the `Stage` class to clean up redundant code.
- Updated type signature of `Actions::Stages::Collection#initialize` to accept optional `Set[Collection]` for improved flexibility.
- Synchronized changes in related type definitions to maintain consistency.
@afuno afuno marked this pull request as ready for review July 5, 2025 21:06
@afuno afuno merged commit 0ec14b1 into main Jul 5, 2025
32 checks passed
@afuno afuno deleted the features/SRV-273/info_actions branch July 5, 2025 21:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants