blob: f131fcde65bac4bdd3568e817caedd829e7a4f80 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
# frozen_string_literal: true
require 'core_ext'
require_relative 'version_reader'
module Booru
VERSION = '3.0.0'
COMMIT = VersionReader.head_commit[0..6]
BRANCH = VersionReader.branch_name
VERSION_STRING = "#{VERSION}-#{COMMIT}-twi (#{BRANCH})".freeze
# A global configuration object that contains items such as
# predefined object mappings. To add a new element, simply
# create a new YAML file in config/booru and add its name to
# CONFIG_CATEGORIES.
#
# For example, if config/booru/test.yml contains
# :hello_world:
# - hello
# - world
# then the resulting Hash will be accessible at Booru::CONFIG.test,
# and will be the following:
# { :hello_world => ["hello", "world"] }
end
|