# 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