Merge remote-tracking branch 'parent/main' into upstream-20240918

This commit is contained in:
KMY 2024-09-18 08:31:34 +09:00
commit 4ce35dd837
188 changed files with 1994 additions and 980 deletions

View file

@ -2,6 +2,8 @@
module Mastodon
module Version
KMYBLUE_API_VERSION = 1
module_function
def kmyblue_major
@ -31,7 +33,7 @@ module Mastodon
end
def default_prerelease
'beta.1'
'beta.2'
end
def prerelease
@ -90,6 +92,13 @@ module Mastodon
kmyblue_flag == 'dev'
end
def api_versions
{
mastodon: 2,
kmyblue: KMYBLUE_API_VERSION,
}
end
def repository
ENV.fetch('GITHUB_REPOSITORY', 'kmycode/mastodon')
end