From a70e953b058013d42367d17317872efc9f907576 Mon Sep 17 00:00:00 2001 From: Luna Nova Date: Tue, 21 Nov 2023 15:59:59 -0500 Subject: [PATCH] fix: version metadata --- lib/mastodon/version.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/mastodon/version.rb b/lib/mastodon/version.rb index aaea76e7543f36..52493272439800 100644 --- a/lib/mastodon/version.rb +++ b/lib/mastodon/version.rb @@ -25,7 +25,7 @@ def prerelease end def build_metadata - ['michiru', ENV.fetch('MASTODON_VERSION_METADATA', nil)].compact_blank.join('.') + ['akkodon', ENV.fetch('MASTODON_VERSION_METADATA', nil)].compact_blank.join('.') end def to_a @@ -44,7 +44,7 @@ def gem_version end def repository - ENV.fetch('GITHUB_REPOSITORY', 'michiru-me/michiru') + ENV.fetch('GITHUB_REPOSITORY', 'michiru-me/akkodon') end def source_base_url @@ -65,7 +65,7 @@ def source_url end def user_agent - @user_agent ||= "#{HTTP::Request::USER_AGENT} (Michiru/#{Version}; +http#{Rails.configuration.x.use_https ? 's' : ''}://#{Rails.configuration.x.web_domain}/)" + @user_agent ||= "#{HTTP::Request::USER_AGENT} (Akkodon/#{Version}; +http#{Rails.configuration.x.use_https ? 's' : ''}://#{Rails.configuration.x.web_domain}/)" end end end