مراية لـ
https://github.com/postalserver/postal.git
تم المزامنة 2025-12-01 05:43:04 +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
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
#!/usr/bin/env ruby
|
||||
require File.expand_path('../../lib/postal/version', __FILE__)
|
||||
puts Postal::VERSION
|
||||
puts Postal.version
|
||||
|
||||
المرجع في مشكلة جديدة
حظر مستخدم