diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index f74b5a0..62e58f8 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -17,4 +17,4 @@ jobs: bundler-cache: true - name: Outdated readme check - run: bundle exec readme:outdated + run: bundle exec rake readme:outdated diff --git a/exe/atlasq b/exe/atlasq index 6d5573b..2cb11d2 100755 --- a/exe/atlasq +++ b/exe/atlasq @@ -5,6 +5,9 @@ debug = true if ARGV.delete("-d") debug = true if ARGV.delete("--debug") ENV["ATLASQ_DEBUG"] = "1" if debug +# Avoid warnings on Ruby 2.7 related to pattern matching. +Warning[:experimental] = false + $LOAD_PATH.unshift File.expand_path("../lib", __dir__) require "atlasq" diff --git a/test/test_helper.rb b/test/test_helper.rb index 8211a0d..a5033c6 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -1,5 +1,6 @@ # frozen_string_literal: true +# Avoid accidental debug output causing test failures. ENV.delete("ATLASQ_DEBUG") $LOAD_PATH.unshift File.expand_path("../lib", __dir__)