Skip to content

Commit

Permalink
Merge pull request #802 from gjtorikian/use-amazing-print
Browse files Browse the repository at this point in the history
Use amazing print
  • Loading branch information
gjtorikian committed Jul 6, 2023
2 parents 562cffb + 301b582 commit 014b624
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
1 change: 1 addition & 0 deletions .ruby-version
@@ -0,0 +1 @@
3.2.1
2 changes: 1 addition & 1 deletion Gemfile
Expand Up @@ -8,7 +8,7 @@ gem "ruby-lsp", "~> 0.3.2", group: :development

gem "github_changelog_generator", "~> 1.16"

gem "awesome_print"
gem "amazing_print"

gem "debug" if "#{RbConfig::CONFIG["MAJOR"]}.#{RbConfig::CONFIG["MINOR"]}".to_f >= 3.1
gem "rake"
Expand Down
5 changes: 4 additions & 1 deletion lib/html_proofer.rb
Expand Up @@ -15,8 +15,11 @@
require "fileutils"

if ENV.fetch("DEBUG", false)
require "awesome_print"
require "debug"
begin
require "amazing_print"
rescue LoadError # rubocop:disable Lint/SuppressedException
end
end

module HTMLProofer
Expand Down
2 changes: 1 addition & 1 deletion lib/html_proofer/version.rb
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module HTMLProofer
VERSION = "5.0.7"
VERSION = "5.0.8"
end

0 comments on commit 014b624

Please sign in to comment.