مراية لـ
https://github.com/postalserver/postal.git
تم المزامنة 2026-01-22 07:38:18 +00:00
feat: new background work process
This removes all previous dependencies on RabbitMQ and the need to run separate cron and requeueing processes.
هذا الالتزام موجود في:
23
spec/factories/ip_address_factory.rb
Normal file
23
spec/factories/ip_address_factory.rb
Normal file
@@ -0,0 +1,23 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
# == Schema Information
|
||||
#
|
||||
# Table name: ip_addresses
|
||||
#
|
||||
# id :integer not null, primary key
|
||||
# hostname :string(255)
|
||||
# ipv4 :string(255)
|
||||
# ipv6 :string(255)
|
||||
# priority :integer
|
||||
# created_at :datetime
|
||||
# updated_at :datetime
|
||||
# ip_pool_id :integer
|
||||
#
|
||||
FactoryBot.define do
|
||||
factory :ip_address do
|
||||
ip_pool
|
||||
ipv4 { "10.0.0.1" }
|
||||
ipv6 { "2001:0db8:85a3:0000:0000:8a2e:0370:7334" }
|
||||
hostname { "ip.example.com" }
|
||||
end
|
||||
end
|
||||
المرجع في مشكلة جديدة
حظر مستخدم