Skip to content
  • Jan Habermann's avatar
    26c2e143
    Improve the logic that detects non-autoloaded constants · 26c2e143
    Jan Habermann authored
    If you require `nokogiri` from `app/models/user.rb`, dependencies.rb
    does not mark `Nokogiri` as an autoloaded constant, as expected.
    But the logic to detect these non-autoloaded constants is incomplete.
    See the tests defined in the patch for some cases incorrectly handled.
    26c2e143
    Improve the logic that detects non-autoloaded constants
    Jan Habermann authored
    If you require `nokogiri` from `app/models/user.rb`, dependencies.rb
    does not mark `Nokogiri` as an autoloaded constant, as expected.
    But the logic to detect these non-autoloaded constants is incomplete.
    See the tests defined in the patch for some cases incorrectly handled.
Loading