Skip to content

Commit 0d3c597

Browse files
authored
build(deps-dev): update standard requirement from 1.45.0 to 1.47.0 (#3472)
2 parents c85641f + 7caf2a6 commit 0d3c597

5 files changed

Lines changed: 10 additions & 8 deletions

File tree

.rubocop.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,14 @@ inherit_mode:
55

66
require:
77
- standard
8+
- rubocop-packaging
9+
- rubocop-rake
10+
11+
plugins:
812
- standard-custom
913
- standard-performance
1014
- rubocop-performance
1115
- rubocop-minitest
12-
- rubocop-packaging
13-
- rubocop-rake
1416

1517
inherit_gem:
1618
standard: config/base.yml

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ group :development do
2424
gem "simplecov", "= 0.21.2"
2525

2626
# rubocop
27-
gem "standard", "1.45.0"
27+
gem "standard", "1.47.0"
2828
gem "rubocop-minitest", "0.37.0"
2929
gem "rubocop-packaging", "0.5.2"
3030
gem "rubocop-rake", "0.6.0"

ext/nokogiri/extconf.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -461,7 +461,7 @@ def recipe.port_path
461461
yield recipe
462462

463463
env = Hash.new do |hash, key|
464-
hash[key] = (ENV[key]).to_s
464+
hash[key] = ENV[key].to_s
465465
end
466466

467467
recipe.configure_options.flatten!

lib/nokogiri/xml/document.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -502,10 +502,10 @@ def deconstruct_keys(keys)
502502
{ root: root }
503503
end
504504

505-
private
506-
507505
IMPLIED_XPATH_CONTEXTS = ["//"].freeze # :nodoc:
508506

507+
private
508+
509509
def inspect_attributes
510510
[:name, :children]
511511
end

lib/nokogiri/xml/node.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1610,6 +1610,8 @@ def coerce(data)
16101610
EOERR
16111611
end
16121612

1613+
IMPLIED_XPATH_CONTEXTS = [".//"].freeze # :nodoc:
1614+
16131615
private
16141616

16151617
def keywordify(keywords)
@@ -1660,8 +1662,6 @@ def inspect_attributes
16601662
[:name, :namespace, :attribute_nodes, :children]
16611663
end
16621664

1663-
IMPLIED_XPATH_CONTEXTS = [".//"].freeze
1664-
16651665
def add_child_node_and_reparent_attrs(node)
16661666
add_child_node(node)
16671667
node.attribute_nodes.find_all { |a| a.name.include?(":") }.each do |attr_node|

0 commit comments

Comments
 (0)