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

Rename all occurrences of emails with spree username to solidus #3849

Merged

Conversation

rubenochiavone
Copy link
Contributor

I did a search and replace using regex spree@((?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\.)+[a-z0-9][a-z0-9-]{0,61}[a-z0-9]) and replaced it with solidus@$1. After that, I ran the specs to check if they were passing.

Fixes #3829.

Checklist:

@rubenochiavone
Copy link
Contributor Author

After my initial commit, I noticed this:

https://github.com/rubenochiavone/solidus/blob/e04693f61712a504231d306cd32ea0ad3ffe0733/api/spec/requests/spree/api/orders_controller_spec.rb#L820

Then I also renamed all occurrences of spreecommerce.com to solidus.io on emails.

@rubenochiavone rubenochiavone force-pushed the rename_emails_with_spree_username branch from e04693f to ccb3c29 Compare November 23, 2020 04:07
@rubenochiavone rubenochiavone force-pushed the rename_emails_with_spree_username branch from ccb3c29 to 4c61792 Compare November 23, 2020 04:09
Copy link
Member

@kennyadsl kennyadsl left a comment

Choose a reason for hiding this comment

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

Thanks! ❤️

@kennyadsl kennyadsl modified the milestones: 3.0.0, 2.11 Nov 27, 2020
@kennyadsl kennyadsl merged commit 1dfc78c into solidusio:master Nov 27, 2020
Sinetheta added a commit to Sinetheta/solidus_graphql_api that referenced this pull request Dec 14, 2020
The store factory was updated in solidusio/solidus#3849

If Solidus is now embracing this kind of churn we may not want to
assert directly against it's testing helpers.
Sinetheta added a commit to Sinetheta/solidus_graphql_api that referenced this pull request Dec 14, 2020
The store factory was updated in solidusio/solidus#3849

Although I see the "with_args" helper is being used elsewhere to
allow for asserting against dynamic payloads, the only reason
this value is changing on us is because of the unspoken dependency
on the attributes in a solidus factory. If Solidus is going to
embrace this kind of churn then we'd probably be best to set
all relevant attributes explicitly.

e Please enter the commit message for your changes. Lines starting
Sinetheta added a commit to Sinetheta/solidus_graphql_api that referenced this pull request Dec 14, 2020
The store factory was updated in solidusio/solidus#3849

Although I see the "with_args" helper is being used elsewhere to
allow for asserting against dynamic payloads, the only reason
this value is changing on us is because of the unspoken dependency
on the attributes in a solidus factory. If Solidus is going to
embrace this kind of churn then we'd probably be best to set
all relevant attributes explicitly.

e Please enter the commit message for your changes. Lines starting
Sinetheta added a commit to Sinetheta/solidus_graphql_api that referenced this pull request Dec 14, 2020
The store factory was updated in solidusio/solidus#3849

Although I see the "with_args" helper is being used elsewhere to
allow for asserting against dynamic payloads, the only reason
this value is changing on us is because of the unspoken dependency
on the attributes in a solidus factory. If Solidus is going to
embrace this kind of churn then we'd probably be best to set
all relevant attributes explicitly.
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.

Remove all occurrencies of spree@example.com from the codebase
4 participants