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

Enhance multi stages generator #600

Merged
merged 3 commits into from
Dec 12, 2024
Merged

Conversation

skelz0r
Copy link
Member

@skelz0r skelz0r commented Dec 12, 2024

No description provided.

@skelz0r skelz0r self-assigned this Dec 12, 2024
@skelz0r skelz0r force-pushed the features/enhance-generator branch 2 times, most recently from 1d9a3fe to 6ed9d58 Compare December 12, 2024 12:53
@skelz0r skelz0r force-pushed the features/enhance-generator branch from 6ed9d58 to 95ccaf3 Compare December 12, 2024 13:03
@skelz0r
Copy link
Member Author

skelz0r commented Dec 12, 2024

rails g multi_stages_definition APIWhatever "API de la vie" --scopes false --provider dgfip ; bundle exec cucumber features/habilitations/api_whatever.feature ; rails d multi_stages_definition APIWhatever "API de la vie" --scopes false --provider dgfip

pour tester

# rubocop:disable Metrics/AbcSize
def definitions_data
<<-YAML_DATA
#{name.underscore}_sandbox:
name: #{humanized_name}
description: "FEEDME"
provider: "dinum"
provider: "#{provider}"
Copy link
Contributor

Choose a reason for hiding this comment

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

👍

@@ -13,4 +13,7 @@ class AuthorizationRequest::<%= name.classify %>Sandbox < AuthorizationRequest
})

contact :contact_technique, validation_condition: ->(record) { record.need_complete_validation?(:contacts) }
<% if dgfip? %>
add_checkbox :dpd_homologation_checkbox
Copy link
Contributor

Choose a reason for hiding this comment

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

👌🏻

@Isalafont Isalafont merged commit 9515e3a into develop Dec 12, 2024
12 checks passed
@Isalafont Isalafont deleted the features/enhance-generator branch December 12, 2024 13:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants