Sha256: 8fc0f72fbab44ce8b6b0c20a354e77401f9bd1457b5e7e95cc4202794c4f27e4
Contents?: true
Size: 985 Bytes
Versions: 12
Compression:
Stored size: 985 Bytes
Contents
module RubyPitaya class Path APP_TEMPLATE_FOLDER_PATH = File.join(__dir__, '../app-template/') DATABASE_CONFIG_PATH = File.join(Dir.pwd, 'config/database.yml') APP_FOLDER_PATH = File.join(Dir.pwd, 'app/') HANDLERS_FOLDER_PATH = File.join(Dir.pwd, 'app/handlers/') APP_CONFIG_FOLDER_PATH = File.join(Dir.pwd, 'app/config/') MIGRATIONS_FOLDER_PATH = File.join(Dir.pwd, 'db/migration/') ROUTES_FILE_PATH = File.join(Dir.pwd, 'config/routes.rb') class Core APP_FOLDER_PATH = File.join(__dir__, 'app/') MIGRATIONS_FOLDER_PATH = File.join(__dir__, 'db/migration/') end class Plugins APP_FOLDER_PATHS = Dir.glob(File.join(Dir.pwd, 'plugins/*/app/')) HANDLERS_FOLDER_PATHS = Dir.glob(File.join(Dir.pwd, 'plugins/*/app/handlers')) APP_CONFIG_FOLDER_PATHS = Dir.glob(File.join(Dir.pwd, 'plugins/*/app/config/')) MIGRATIONS_FOLDER_PATHS = Dir.glob(File.join(Dir.pwd, 'plugins/*/db/migration')) end end end
Version data entries
12 entries across 12 versions & 1 rubygems