Skip to content

Commit

Permalink
build(deps-dev): Bump faker from 3.2.3 to 3.3.1 (#2206)
Browse files Browse the repository at this point in the history
* build(deps-dev): Bump faker from 3.2.3 to 3.3.1

Bumps [faker](https://github.com/faker-ruby/faker) from 3.2.3 to 3.3.1.
- [Release notes](https://github.com/faker-ruby/faker/releases)
- [Changelog](https://github.com/faker-ruby/faker/blob/main/CHANGELOG.md)
- [Commits](faker-ruby/faker@v3.2.3...v3.3.1)

---
updated-dependencies:
- dependency-name: faker
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix: Use `Faker::Internet.email` instead of `free_email`

## Related PR

- faker-ruby/faker#2733
- faker-ruby/faker#2841

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Toshimaru <me@toshimaru.net>
  • Loading branch information
dependabot[bot] and toshimaru authored May 15, 2024
1 parent 9d8bdfd commit e87c9c8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ GEM
factory_bot_rails (6.4.3)
factory_bot (~> 6.4)
railties (>= 5.0.0)
faker (3.2.3)
faker (3.3.1)
i18n (>= 1.8.11, < 2)
ffi (1.16.3)
globalid (1.2.1)
Expand Down
4 changes: 2 additions & 2 deletions spec/factories/user.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

FactoryBot.define do
factory :user do
sequence(:name) { Faker::Name.name }
name { Faker::Name.name }
sequence(:slug) { |n| "#{Faker::Internet.slug}-#{n}" }
sequence(:email) { |n| "#{n}-#{Faker::Internet.free_email}" }
sequence(:email) { |n| "#{n}-#{Faker::Internet.email}" }
password { "FactoryBot" }
password_confirmation { "FactoryBot" }
end
Expand Down
6 changes: 3 additions & 3 deletions spec/fixtures/users.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
fixture_user_1:
name: <%= Faker::Name.name %>
slug: <%= Faker::Internet.slug %>
email: <%= Faker::Internet.free_email %>
email: <%= Faker::Internet.email %>
password_digest: <%= User.digest('password') %>
fixture_user_2:
name: <%= Faker::Name.name %>
slug: <%= Faker::Internet.slug %>
email: <%= Faker::Internet.free_email %>
email: <%= Faker::Internet.email %>
password_digest: <%= User.digest('password') %>
tweet_user:
name: <%= Faker::Name.name %>
slug: <%= Faker::Internet.slug %>
email: <%= Faker::Internet.free_email %>
email: <%= Faker::Internet.email %>
password_digest: <%= User.digest('password') %>

0 comments on commit e87c9c8

Please sign in to comment.