scripts/simple_test.rb in msgr-0.14.1.1.b125 vs scripts/simple_test.rb in msgr-0.14.1.1.b126

- old
+ new

@@ -1,6 +1,7 @@ -$:.unshift File.join File.dirname(__FILE__), '../lib' +# frozen_string_literal: true +$LOAD_PATH.unshift File.join File.dirname(__FILE__), '../lib' require 'msgr' Msgr.logger.level = Logger::Severity::INFO class TestConsumer < Msgr::Consumer @@ -17,19 +18,18 @@ end end # class NullPool - def initialize(*) - end + def initialize(*); end def post(*args) yield(*args) end end @client = Msgr::Client.new user: 'guest', password: 'guest', - max: 4#, pool_class: 'NullPool' + max: 4 # , pool_class: 'NullPool' @client.routes.configure do route 'abc.#', to: 'test#index' route 'cde.#', to: 'test#index' route '#', to: 'test#another_action'