مراية لـ
https://github.com/postalserver/postal.git
تم المزامنة 2026-01-17 05:33:35 +00:00
update version to include revision & channel
هذا الالتزام موجود في:
@@ -42,7 +42,7 @@ module Postal
|
||||
#request.add_field 'X-Postal-Signature', signature
|
||||
end
|
||||
|
||||
request['User-Agent'] = options[:user_agent] || "Postal/#{Postal::VERSION}"
|
||||
request['User-Agent'] = options[:user_agent] || "Postal/#{Postal.version}"
|
||||
|
||||
connection = Net::HTTP.new(uri.host, uri.port)
|
||||
|
||||
|
||||
@@ -1,3 +1,11 @@
|
||||
module Postal
|
||||
|
||||
VERSION = '1.0.0'
|
||||
REVISION = nil
|
||||
CHANNEL = 'dev'
|
||||
|
||||
def self.version
|
||||
[VERSION, REVISION, CHANNEL].compact.join('-')
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
المرجع في مشكلة جديدة
حظر مستخدم