From: kibigo! Date: Sun, 12 Sep 2021 01:00:00 +0000 (-0700) Subject: Update versioning to use kibicat/mastodon, etcetera X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=627803d5ffc2fb3791c987e7df31cff27366af4b;p=mastodon.git Update versioning to use kibicat/mastodon, etcetera --- diff --git a/.env.production.sample b/.env.production.sample index 65f3f9d1f..5f1688d3e 100644 --- a/.env.production.sample +++ b/.env.production.sample @@ -238,7 +238,7 @@ SMTP_FROM_ADDRESS=notificatons@example.com # --------------- # Various ways to customize Mastodon's behavior # --------------- - + # Maximum allowed character count MAX_TOOT_CHARS=500 @@ -276,3 +276,8 @@ MAX_POLL_OPTION_CHARS=100 # Units are in bytes MAX_EMOJI_SIZE=51200 MAX_REMOTE_EMOJI_SIZE=204800 + +# Source code repository +GITHUB_REPOSITORY=kibicat/mastodon +# Or if it isn’t hosted on GitHub… +# SOURCE_BASE_URL=https://github.com/kibicat/mastodon diff --git a/lib/mastodon/version.rb b/lib/mastodon/version.rb index 00762f342..b164923e5 100644 --- a/lib/mastodon/version.rb +++ b/lib/mastodon/version.rb @@ -21,7 +21,7 @@ module Mastodon end def suffix - '+glitch' + '+kibicat' end def to_a @@ -33,7 +33,7 @@ module Mastodon end def repository - ENV.fetch('GITHUB_REPOSITORY', 'glitch-soc/mastodon') + ENV.fetch('GITHUB_REPOSITORY', 'kibicat/mastodon') end def source_base_url diff --git a/spec/presenters/instance_presenter_spec.rb b/spec/presenters/instance_presenter_spec.rb index 81d8d0e98..b5e2e3b0d 100644 --- a/spec/presenters/instance_presenter_spec.rb +++ b/spec/presenters/instance_presenter_spec.rb @@ -91,8 +91,8 @@ describe InstancePresenter do end describe '#source_url' do - it 'returns "https://github.com/glitch-soc/mastodon"' do - expect(instance_presenter.source_url).to eq('https://github.com/glitch-soc/mastodon') + it 'returns "https://github.com/kibicat/mastodon"' do + expect(instance_presenter.source_url).to eq('https://github.com/kibicat/mastodon') end end