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

🔖 chore: Minor modifications in preparation for the v1 release #5

Merged
merged 4 commits into from Jun 17, 2022

Conversation

blooper05
Copy link
Owner

No description provided.

@blooper05 blooper05 added enhancement New feature or request bump:major Attach to PR to automatically bump major version on merge labels Jun 17, 2022
@blooper05 blooper05 self-assigned this Jun 17, 2022
# refs. https://github.com/flyerhzm/rails_best_practices/blob/HEAD/spec/rails_best_practices/reviews/default_scope_is_evil_review_spec.rb#L12-L14
# refs. https://github.com/flyerhzm/rails_best_practices/blob/HEAD/spec/rails_best_practices/reviews/protect_mass_assignment_review_spec.rb#L17-L18
# @see https://github.com/flyerhzm/rails_best_practices/blob/HEAD/spec/rails_best_practices/reviews/default_scope_is_evil_review_spec.rb#L12-L14
# @see https://github.com/flyerhzm/rails_best_practices/blob/HEAD/spec/rails_best_practices/reviews/protect_mass_assignment_review_spec.rb#L17-L18
class User < ActiveRecord::Base
default_scope -> { order('created_at desc') }

Choose a reason for hiding this comment

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

[rails_best_practices] reported by reviewdog 🐶
default_scope is evil

# refs. https://github.com/flyerhzm/rails_best_practices/blob/HEAD/spec/rails_best_practices/reviews/default_scope_is_evil_review_spec.rb#L12-L14
# refs. https://github.com/flyerhzm/rails_best_practices/blob/HEAD/spec/rails_best_practices/reviews/protect_mass_assignment_review_spec.rb#L17-L18
# @see https://github.com/flyerhzm/rails_best_practices/blob/HEAD/spec/rails_best_practices/reviews/default_scope_is_evil_review_spec.rb#L12-L14
# @see https://github.com/flyerhzm/rails_best_practices/blob/HEAD/spec/rails_best_practices/reviews/protect_mass_assignment_review_spec.rb#L17-L18
class User < ActiveRecord::Base

Choose a reason for hiding this comment

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

[rails_best_practices] reported by reviewdog 🐶
protect mass assignment

@github-actions
Copy link

🏷️ [bumpr] Next version:v1.0.0 Changes:v0.2.2...blooper05:preparation-for-v1-release

@blooper05 blooper05 merged commit afe6f70 into main Jun 17, 2022
@blooper05 blooper05 deleted the preparation-for-v1-release branch June 17, 2022 01:38
@github-actions
Copy link

🚀 [bumpr] Bumped! New version:v1.0.0 Changes:v0.2.2...v1.0.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bump:major Attach to PR to automatically bump major version on merge enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant