lib/ronin/config.rb in ronin-1.5.1 vs lib/ronin/config.rb in ronin-2.0.0.beta1
- old
+ new
@@ -1,10 +1,9 @@
+# frozen_string_literal: true
#
-# Copyright (c) 2006-2021 Hal Brodigan (postmodern.mod3 at gmail.com)
+# Copyright (c) 2006-2023 Hal Brodigan (postmodern.mod3 at gmail.com)
#
-# This file is part of ronin.
-#
# Ronin is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
@@ -15,33 +14,26 @@
#
# You should have received a copy of the GNU General Public License
# along with Ronin. If not, see <https://www.gnu.org/licenses/>.
#
-require 'data_paths'
require 'fileutils'
module Ronin
#
# Configuration information for Ronin.
#
# @api semipublic
#
module Config
- include DataPaths
- extend DataPaths::Finders
-
# The users home directory
HOME = Gem.user_home
# Ronin home directory
PATH = File.join(HOME,'.ronin')
# Configuration files directory
CONFIG_DIR = File.join(PATH,'config')
-
- # Directory which repositories are installed into
- REPOS_DIR = File.join(PATH,'repos')
# Temporary file directory
TMP_DIR = File.join(PATH,'tmp')
# Directories which contain binaries