]> cat aescling's git repositories - mastodon.git/commitdiff
Update versioning to use kibicat/mastodon, etcetera
authorkibigo! <marrus-sh@users.noreply.github.com>
Sun, 12 Sep 2021 01:00:00 +0000 (18:00 -0700)
committerkibigo! <marrus-sh@users.noreply.github.com>
Sun, 12 Sep 2021 03:22:26 +0000 (20:22 -0700)
.env.production.sample
lib/mastodon/version.rb
spec/presenters/instance_presenter_spec.rb

index 65f3f9d1f38a4e9f0895e83aad8fe9733b1cd262..5f1688d3efd747d4d7589f130fce262579652730 100644 (file)
@@ -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
index 00762f34253f72c86861a098daae02ce6709fe6d..b164923e578fd76f158cd6d9a2a2e9b8b58bef15 100644 (file)
@@ -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
index 81d8d0e9804b7400951107e8fc61b46ffee32e65..b5e2e3b0da72602289a78ca4eaf3cb5e64c4e6a7 100644 (file)
@@ -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