Skip to content

Commit

Permalink
fix: version metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
lunaisnotaboy committed Nov 21, 2023
1 parent 3cbcaad commit a70e953
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/mastodon/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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

0 comments on commit a70e953

Please sign in to comment.