Skip to content

Commit

Permalink
- Bumped dependencies on rdoc and rake for latest majors.
Browse files Browse the repository at this point in the history
[git-p4: depot-paths = "//src/hoe/dev/": change = 11723]
  • Loading branch information
zenspider committed Sep 6, 2018
1 parent 0916e2e commit 79633c8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/hoe.rb
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@ def add_dependencies

case name
when "hoe" then
dependency "rake", [">= 0.8", "< 11.0"]
dependency "rake", [">= 0.8", "< 13.0"]
else
version = VERSION.split(/\./).first(2).join(".")
dependency "hoe", "~> #{version}", :development
Expand Down
2 changes: 1 addition & 1 deletion lib/hoe/publish.rb
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def initialize_publish
# Declare a dependency on rdoc, IF NEEDED.

def activate_publish_deps
dependency "rdoc", [">= 4.0", "< 6"], :developer if need_rdoc
dependency "rdoc", [">= 4.0", "< 7"], :developer if need_rdoc
end

##
Expand Down
2 changes: 1 addition & 1 deletion test/test_hoe.rb
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ def test_possibly_better

expected = [
["hoe", :development, "~> #{Hoe::VERSION.sub(/\.\d+$/, "")}"],
["rdoc", :development, "< 6, >= 4.0"],
["rdoc", :development, "< 7, >= 4.0"],
]

assert_equal expected, deps.map { |dep|
Expand Down

0 comments on commit 79633c8

Please sign in to comment.