]>
cat aescling's git repositories - mastodon.git/blob - lib/mastodon/version.rb
1 # frozen_string_literal: true
28 [major
, minor
, patch
, pre
].compact
32 [to_a
.join('.'), flags
].join
40 "https://github.com/#{repository}"
43 # specify git tag or commit hash here
50 "#{source_base_url}/tree/#{source_tag}"
57 @user_agent ||= "#{HTTP::Request::USER_AGENT} (Mastodon/#{Version}; +http
#{Rails.configuration.x.use_https ? 's' : ''}://#{Rails.configuration.x.web_domain}/)"
This page took 0.103237 seconds and 6 git commands to generate.