From 8e2671d20dd6ff48c82e58ac2eedbee8b592765f Mon Sep 17 00:00:00 2001 From: Cal Heldenbrand Date: Tue, 25 Jun 2019 13:55:15 -0500 Subject: [PATCH] Ooops, revert a couple files. These weren't supposed to make it into this PR --- gemfiles/rails42.gemfile | 2 +- lib/octopus/abstract_adapter.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gemfiles/rails42.gemfile b/gemfiles/rails42.gemfile index 9be86420..24e5e488 100644 --- a/gemfiles/rails42.gemfile +++ b/gemfiles/rails42.gemfile @@ -3,5 +3,5 @@ source "https://rubygems.org" gem "activerecord", "~> 4.2.0" - +gem "mysql2", "0.4.10" gemspec path: "../" diff --git a/lib/octopus/abstract_adapter.rb b/lib/octopus/abstract_adapter.rb index 646f2272..f6ce7956 100644 --- a/lib/octopus/abstract_adapter.rb +++ b/lib/octopus/abstract_adapter.rb @@ -19,7 +19,7 @@ def method_missing(meth, *args, &block) end def octopus_shard - @config && @config[:octopus_shard] + @config[:octopus_shard] end def initialize(*args)