Skip to content

Commit

Permalink
mini_sql support mysql
Browse files Browse the repository at this point in the history
  • Loading branch information
hooopo committed Sep 21, 2019
1 parent a9d8cdd commit 177c0dc
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ gem 'omniauth-google-oauth2'

gem 'oj'
gem 'pg'
gem 'mini_sql'
gem 'mini_sql', github: 'hooopo/mini_sql'
gem 'pry-rails', require: false
gem 'r2', '~> 0.2.5', require: false
gem 'rake'
Expand Down
9 changes: 7 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
GIT
remote: git://github.com/hooopo/mini_sql.git
revision: b98f57e96dbb118d888a32e27c4ba0cb66148fc5
specs:
mini_sql (0.2.2)

GEM
remote: https://rubygems.org/
specs:
Expand Down Expand Up @@ -186,7 +192,6 @@ GEM
libv8 (>= 6.9.411)
mini_scheduler (0.11.0)
sidekiq
mini_sql (0.2.2)
mini_suffix (0.3.0)
ffi (~> 1.9)
minitest (5.11.3)
Expand Down Expand Up @@ -470,7 +475,7 @@ DEPENDENCIES
mini_mime
mini_racer
mini_scheduler
mini_sql
mini_sql!
mini_suffix
minitest
mocha
Expand Down
2 changes: 1 addition & 1 deletion lib/mini_sql_multisite_connection.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# frozen_string_literal: true

class MiniSqlMultisiteConnection < MiniSql::Postgres::Connection
class MiniSqlMultisiteConnection < MiniSql::Mysql::Connection

class CustomBuilder < MiniSql::Builder

Expand Down

0 comments on commit 177c0dc

Please sign in to comment.