diff --git a/lib/docs/filters/rdoc/container.rb b/lib/docs/filters/rdoc/container.rb
index aea2b0f5..4732b02a 100644
--- a/lib/docs/filters/rdoc/container.rb
+++ b/lib/docs/filters/rdoc/container.rb
@@ -13,8 +13,11 @@ module Docs
meta = Nokogiri::XML::Node.new 'dl', doc.document
meta['class'] = 'meta'
- if parent = at_css('#parent-class-section')
- meta << %(
Parent:#{parent.at_css('.link').inner_html.strip})
+ parent = at_css('#parent-class-section')
+ if parent && link = parent.at_css('.link')
+ meta << %(Parent:#{link.inner_html.strip})
+ elsif parent && link = parent.at_css('a')
+ meta << %(Parent:#{link.to_html})
end
if includes = at_css('#includes-section')
diff --git a/lib/docs/scrapers/rdoc/ruby.rb b/lib/docs/scrapers/rdoc/ruby.rb
index eef26f41..630cb81e 100644
--- a/lib/docs/scrapers/rdoc/ruby.rb
+++ b/lib/docs/scrapers/rdoc/ruby.rb
@@ -63,12 +63,16 @@ module Docs
/\AXMP/]
options[:attribution] = <<-HTML
- Ruby Core © 1993–2022 Yukihiro Matsumoto
+ Ruby Core © 1993–2024 Yukihiro Matsumoto
Licensed under the Ruby License.
Ruby Standard Library © contributors
Licensed under their own licenses.
HTML
+ version '3.4' do
+ self.release = '3.4.1'
+ end
+
version '3.3' do
self.release = '3.3.0'
end