diff --git a/ethon.gemspec b/ethon.gemspec index ed6c1ef8..9cfe0c9f 100644 --- a/ethon.gemspec +++ b/ethon.gemspec @@ -1,4 +1,3 @@ -# encoding: utf-8 # frozen_string_literal: true lib = File.expand_path('../lib/', __FILE__) $:.unshift lib unless $:.include?(lib) diff --git a/lib/ethon/loggable.rb b/lib/ethon/loggable.rb index 02b74781..69821c11 100644 --- a/lib/ethon/loggable.rb +++ b/lib/ethon/loggable.rb @@ -1,4 +1,3 @@ -# encoding: utf-8 # frozen_string_literal: true module Ethon diff --git a/profile/benchmarks.rb b/profile/benchmarks.rb index 6cd68ca0..66a74bc4 100644 --- a/profile/benchmarks.rb +++ b/profile/benchmarks.rb @@ -1,4 +1,3 @@ -# encoding: utf-8 # frozen_string_literal: true require 'ethon' require 'open-uri' diff --git a/spec/ethon/easy/queryable_spec.rb b/spec/ethon/easy/queryable_spec.rb index 89c4d115..99618a16 100644 --- a/spec/ethon/easy/queryable_spec.rb +++ b/spec/ethon/easy/queryable_spec.rb @@ -1,4 +1,3 @@ -# encoding: utf-8 # frozen_string_literal: true require 'spec_helper' diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 55bc9ecb..6bf08cc0 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -7,13 +7,8 @@ require "ethon" require 'rspec' -if defined? require_relative - require_relative 'support/localhost_server' - require_relative 'support/server' -else - require 'support/localhost_server' - require 'support/server' -end +require_relative 'support/localhost_server' +require_relative 'support/server' # Ethon.logger = Logger.new($stdout).tap do |log| # log.level = Logger::DEBUG