Skip to content

Commit

Permalink
- Fix NoMethodError: undefined method 'verbose'. (adangel)
Browse files Browse the repository at this point in the history
[git-p4: depot-paths = "//src/hoe/dev/": change = 14130]
  • Loading branch information
zenspider committed May 5, 2024
1 parent bf26ed2 commit 5ba71d4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/hoe/debug.rb
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def check_manifest

File.open f, "w" do |fp| fp.puts files end

verbose = { :verbose => Rake.application.options.verbose }
verbose = { :verbose => Rake.application.options.trace || Rake.verbose }

begin
sh "#{DIFF} -du Manifest.txt #{f}", verbose
Expand Down
4 changes: 2 additions & 2 deletions test/test_hoe_debug.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ class TestHoeDebug < Minitest::Test

include Hoe::Debug

# On Rake 0.8.7 verbose_flag is true, causing two tests to fail.
RakeFileUtils.verbose_flag = nil
# On Rake 0.8.7 verbose_flag is true, causing three tests to fail.
Rake.verbose(false)

attr_accessor :generated_files

Expand Down

0 comments on commit 5ba71d4

Please sign in to comment.