lib/yard/serializers/yardoc_serializer.rb in yard-0.9.23 vs lib/yard/serializers/yardoc_serializer.rb in yard-0.9.24

- old
+ new

@@ -75,10 +75,10 @@ end object.split(/::|\.|#/).map do |p| p.gsub(/[^\w\.-]/) do |x| encoded = '_' - x.each_byte {|b| encoded << ("%X" % b) } + x.each_byte {|b| encoded += ("%X" % b) } encoded end end.join('/') + '.' + extension when YARD::CodeObjects::RootObject 'root.dat'