Initial Chingerine theme tests

This commit is contained in:
Mike Barnes 2024-07-29 20:22:09 +10:00
parent fcb444e3b0
commit 79571b5cec
2 changed files with 3 additions and 3 deletions

View file

@ -1,3 +1,3 @@
default: styles/mastodon-light.scss default: styles/tangerineui.scss
mastodon: styles/application.scss mastodon: styles/application.scss
contrast: styles/contrast.scss contrast: styles/contrast.scss

View file

@ -25,7 +25,7 @@ module Mastodon
end end
def build_metadata def build_metadata
ENV.fetch('MASTODON_VERSION_METADATA', "chinwag-4.2.0") ENV.fetch('MASTODON_VERSION_METADATA', "chinwag-4.2.10")
end end
def to_a def to_a
@ -38,7 +38,7 @@ module Mastodon
components << "+#{build_metadata}" if build_metadata.present? components << "+#{build_metadata}" if build_metadata.present?
components.join components.join
end end
def gem_version def gem_version
@gem_version ||= Gem::Version.new(to_s.split('+')[0]) @gem_version ||= Gem::Version.new(to_s.split('+')[0])
end end