1
0
مراية لـ https://github.com/postalserver/postal.git تم المزامنة 2026-01-18 05:49:47 +00:00

style(rubocop): remaining offences

هذا الالتزام موجود في:
Adam Cooke
2024-02-10 23:51:09 +00:00
الأصل c6326a6524
التزام ec636661d5
19 ملفات معدلة مع 49 إضافات و44 حذوفات

عرض الملف

@@ -44,19 +44,4 @@ module HasAuthentication
end
class Postal::Errors::AuthenticationError < Postal::Error
attr_reader :error
def initialize(error)
super()
@error = error
end
def to_s
"Authentication Failed: #{@error}"
end
end
# -*- SkipSchemaAnnotations

عرض الملف

@@ -85,7 +85,7 @@ class Domain < ApplicationRecord
def parent_domains
parts = name.split(".")
parts[0, parts.size - 1].each_with_index.map do |_, i|
parts[i..-1].join(".")
parts[i..].join(".")
end
end