Sha256: 01f23f28de89f4309a1573ec500b7977d2564a4390fca0c5a20f596da3189ffb
Contents?: true
Size: 700 Bytes
Versions: 2
Compression:
Stored size: 700 Bytes
Contents
# frozen_string_literal: true require 'active_support/core_ext/hash/indifferent_access' require 'active_support/core_ext/object/blank' require 'thor' require 'time' 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 do |file| require file end if !(Dsu.env.test? || Dsu.env.development?) && Dsu::Migration::Service.run_migrations? begin Dsu::Migration::Service.new.call rescue StandardError => e puts "Error running migrations: #{e.message}" exit 1 end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
dsu-2.0.8 | lib/dsu.rb |
dsu-2.0.7 | lib/dsu.rb |