lib/ronin/database/database.rb in ronin-0.2.3 vs lib/ronin/database/database.rb in ronin-0.2.4
- old
+ new
@@ -19,10 +19,12 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#++
#
+gem 'addressable', '2.0.2'
+
require 'ronin/database/exceptions/invalid_config'
require 'ronin/model'
require 'ronin/arch'
require 'ronin/os'
require 'ronin/author'
@@ -44,10 +46,10 @@
# Database log level
DEFAULT_LOG_LEVEL = :info
# Default configuration of the database
DEFAULT_CONFIG = {
- :adapter => :sqlite3,
+ :adapter => 'sqlite3',
:database => File.join(Config::PATH,'database.sqlite3')
}
#
# Returns the Database configuration that is stored in the