lib/hanami/model/sql/consoles/sqlite.rb in hanami-model-1.3.2 vs lib/hanami/model/sql/consoles/sqlite.rb in hanami-model-1.3.3
- old
+ new
@@ -1,8 +1,10 @@
-require_relative 'abstract'
-require 'shellwords'
+# frozen_string_literal: true
+require_relative "abstract"
+require "shellwords"
+
module Hanami
module Model
module Sql
module Consoles
# SQLite adapter
@@ -10,15 +12,15 @@
# @since 0.7.0
# @api private
class Sqlite < Abstract
# @since 0.7.0
# @api private
- COMMAND = 'sqlite3'.freeze
+ COMMAND = "sqlite3"
# @since 0.7.0
# @api private
def connection_string
- concat(command, ' ', host, database)
+ concat(command, " ", host, database)
end
private
# @since 0.7.0