Sha256: 9fc4411c7730b95a037322a2fd4741bc53c2ed5c702c93083e76f0fb4229e823
Contents?: true
Size: 1 KB
Versions: 7
Compression:
Stored size: 1 KB
Contents
# frozen_string_literal: true require 'active_support/core_ext/hash/indifferent_access' require 'active_support/core_ext/object/blank' require 'i18n' require 'thor' require 'time' I18n.load_path += Dir[File.join(__dir__, 'locales/**/*', '*.yml')] # I18n.default_locale = :en # (note that `en` is already the default!) Dir.glob("#{__dir__}/core/**/*.rb").each do |file| require file end Array.include(WrapAndJoin) Hash.include(ColorThemeColors) Hash.include(ColorThemeMode) require_relative 'dsu/env' require 'pry-byebug' if Dsu.env.development? Dir.glob("#{__dir__}/dsu/**/*.rb").each { |file| require file } unless Dsu.env.test? || Dsu.env.development? # NOTE: Add a new migration service to the array whenever a new migration is created. options = { pretend: false } migration_services = [ Dsu::Migration::V20230613121411::Service.new(options: options), Dsu::Migration::V20240210161248::Service.new(options: options) ] Dsu::Migration::Migrator.migrate_if!(migration_services: migration_services) end
Version data entries
7 entries across 7 versions & 1 rubygems
Version | Path |
---|---|
dsu-3.0.5 | lib/dsu.rb |
dsu-3.0.4 | lib/dsu.rb |
dsu-3.0.3 | lib/dsu.rb |
dsu-3.0.1 | lib/dsu.rb |
dsu-3.0.0 | lib/dsu.rb |
dsu-3.0.0.beta.3 | lib/dsu.rb |
dsu-3.0.0.beta.2 | lib/dsu.rb |