Skip to content
  • Jan Habermann's avatar
    e3027257
    Improve the logic that detects non-autoloaded constants · e3027257
    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.
    e3027257
    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