lib/jazzy/symbol_graph.rb in jazzy-0.14.3 vs lib/jazzy/symbol_graph.rb in jazzy-0.14.4

- old
+ new

@@ -66,10 +66,10 @@ args + config.build_tool_arguments end # Parse the symbol files in the given directory def self.parse_symbols(directory) - Dir[directory + '/*.symbols.json'].map do |filename| + Dir[directory + '/*.symbols.json'].sort.map do |filename| # The @ part is for extensions in our module (before the @) # of types in another module (after the @). File.basename(filename) =~ /(.*?)(@(.*?))?\.symbols/ module_name = Regexp.last_match[3] || Regexp.last_match[1] {