Skip to content

Commit 304e7b4

Browse files
authored
build(deps-dev): bump the development-dependencies group with 3 updates (#3502)
2 parents 885062b + 972ecd5 commit 304e7b4

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Gemfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ group :development do
1010
gem "rake", "13.2.1"
1111

1212
# building extensions
13-
gem "rake-compiler", "1.2.9"
13+
gem "rake-compiler", "1.3.0"
1414
gem "rake-compiler-dock", "1.9.1"
1515

1616
# parser generator
@@ -25,8 +25,8 @@ group :development do
2525

2626
# rubocop
2727
unless RUBY_PLATFORM == "java"
28-
gem "standard", "1.47.0"
29-
gem "rubocop-minitest", "0.37.1"
28+
gem "standard", "1.49.0"
29+
gem "rubocop-minitest", "0.38.0"
3030
gem "rubocop-packaging", "0.6.0"
3131
gem "rubocop-rake", "0.7.1"
3232
end

lib/nokogiri/xml/document.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@ def fragment(tags = nil)
435435
undef_method :namespace_definitions, :line, :add_namespace
436436

437437
def add_child(node_or_tags)
438-
raise "A document may not have multiple root nodes." if (root && root.name != "nokogiri_text_wrapper") && !(node_or_tags.comment? || node_or_tags.processing_instruction?)
438+
raise "A document may not have multiple root nodes." if root && root.name != "nokogiri_text_wrapper" && !(node_or_tags.comment? || node_or_tags.processing_instruction?)
439439

440440
node_or_tags = coerce(node_or_tags)
441441
if node_or_tags.is_a?(XML::NodeSet)

0 commit comments

Comments
 (0)