1
0
مراية لـ https://github.com/postalserver/postal.git تم المزامنة 2025-11-30 21:32:30 +00:00

refactor: move lib/postal/user_creator to app/util/user_creator

هذا الالتزام موجود في:
Adam Cooke
2024-02-22 22:39:20 +00:00
ملتزم من قبل Adam Cooke
الأصل e3bc9da253
التزام 64b2704b02
2 ملفات معدلة مع 6 إضافات و5 حذوفات

عرض الملف

@@ -2,10 +2,11 @@
require "highline"
module Postal
module UserCreator
module UserCreator
def self.start(&block)
class << self
def start(&block)
cli = HighLine.new
puts "\e[32mPostal User Creator\e[0m"
puts "Enter the information required to create a new Postal user."
@@ -31,4 +32,5 @@ module Postal
end
end
end

عرض الملف

@@ -7,9 +7,8 @@ trap("INT") do
end
require_relative "../config/environment"
require "postal/user_creator"
Postal::UserCreator.start do |u|
UserCreator.start do |u|
u.admin = true
u.email_verified_at = Time.now
end