diff --git a/Gemfile.lock b/Gemfile.lock index 1bb14074..30fb9811 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -21,10 +21,10 @@ GEM method_source (>= 0.6.7) rake (>= 0.9.2.2) method_source (1.0.0) - minitest (5.20.0) + minitest (5.25.1) mutex_m (0.2.0) parallel (1.23.0) - parser (3.3.5.0) + parser (3.3.6.0) ast (~> 2.4.1) racc prism (0.30.0) @@ -59,7 +59,7 @@ GEM docile (~> 1.1) simplecov-html (~> 0.11) simplecov_json_formatter (~> 0.1) - simplecov-html (0.12.3) + simplecov-html (0.13.1) simplecov_json_formatter (0.1.4) sorbet-runtime (0.5.11481) standard-custom (1.0.2) @@ -85,4 +85,4 @@ DEPENDENCIES standard! BUNDLED WITH - 2.4.12 + 2.5.23 diff --git a/standard.gemspec b/standard.gemspec index 86ce6d3f..f1fa51d9 100644 --- a/standard.gemspec +++ b/standard.gemspec @@ -1,6 +1,4 @@ -lib = File.expand_path("../lib", __FILE__) -$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) -require "standard/version" +require_relative "lib/standard/version" Gem::Specification.new do |spec| spec.name = "standard" diff --git a/test/test_helper.rb b/test/test_helper.rb index 1c194acc..1d33cf5a 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -1,8 +1,8 @@ -$LOAD_PATH.unshift File.expand_path("../../lib", __FILE__) +$LOAD_PATH.unshift File.expand_path("../lib", __dir__) begin require "simplecov" SimpleCov.start do - add_filter "vendor" + load_profile "test_frameworks" end rescue LoadError end