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

Fix/ruby 2805 postcode validation #721

Merged
merged 8 commits into from
Jan 11, 2024

Conversation

PaulDoyle-EA
Copy link
Contributor

Change to use the new postcode validator from defra_ruby_validators
https://eaflood.atlassian.net/browse/RUBY-2805

@PaulDoyle-EA PaulDoyle-EA added the housekeeping Changes such as refactoring label Jan 10, 2024
@@ -36,6 +36,7 @@ Gem::Specification.new do |s|
# which details of the last email sent by the app can be accessed
s.add_dependency "defra_ruby_email", "~> 1"
s.add_dependency "defra_ruby_validators"
s.add_dependency "faraday-retry"
Copy link
Contributor

Choose a reason for hiding this comment

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

Shouldn't this be a Gemfile dependency?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Perhaps. Do you mean just for :development?

Copy link
Contributor

Choose a reason for hiding this comment

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

in my understanding, faraday is only used by changelog gem, which isn't used in the runtime

spec/rails_helper.rb Outdated Show resolved Hide resolved
@PaulDoyle-EA PaulDoyle-EA merged commit d0e8699 into main Jan 11, 2024
5 checks passed
@PaulDoyle-EA PaulDoyle-EA deleted the fix/RUBY-2805_postcode_validation branch January 11, 2024 18:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
housekeeping Changes such as refactoring
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants