1. 26 7月, 2019 1 次提交
  2. 16 7月, 2019 1 次提交
  3. 02 2月, 2019 1 次提交
  4. 22 11月, 2018 1 次提交
    • Y
      Fix ruby warnings · f8bd01cd
      yuuji.yaginuma 提交于
      This fixes following warnings:
      
      ```
      test/dependencies_test.rb:287: warning: possibly useless use of :: in void context
      test/dependencies_test.rb:300: warning: possibly useless use of a constant in void context
      ```
      f8bd01cd
  5. 28 10月, 2018 1 次提交
    • J
      Improve the logic that detects non-autoloaded constants · e3027257
      Jan Habermann 提交于
      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
  6. 26 9月, 2018 1 次提交
  7. 08 9月, 2018 1 次提交
  8. 13 5月, 2018 1 次提交
  9. 19 4月, 2018 1 次提交
  10. 04 4月, 2018 1 次提交
    • D
      Autocorrect `refute` RuboCop violations · c1ceafc9
      Daniel Colson 提交于
      73e7aab behaved as expected on codeship, failing the build with
      exactly these RuboCop violations. Hopefully `rubocop -a` will
      have been enough to get a passing build!
      c1ceafc9
  11. 26 1月, 2018 2 次提交
  12. 11 7月, 2017 1 次提交
  13. 09 7月, 2017 1 次提交
  14. 02 7月, 2017 1 次提交
  15. 01 7月, 2017 1 次提交
  16. 23 5月, 2017 1 次提交
  17. 12 2月, 2017 1 次提交
  18. 06 2月, 2017 1 次提交
    • B
      Correct spelling · c8b5d828
      Benjamin Fleischer 提交于
      ```
      go get -u github.com/client9/misspell/cmd/misspell
      misspell  -w -error -source=text .
      ```
      c8b5d828
  19. 30 1月, 2017 1 次提交
  20. 25 1月, 2017 1 次提交
    • Y
      correctly check error message · c42bd319
      yuuji.yaginuma 提交于
      `assert_raise` does not check error message. However, in some tests,
      it seems like expecting error message checking with `assert_raise`.
      Instead of specifying an error message in `assert_raise`, modify to use
      another assert to check the error message.
      c42bd319
  21. 25 12月, 2016 1 次提交
  22. 29 10月, 2016 1 次提交
  23. 17 9月, 2016 1 次提交
  24. 16 8月, 2016 1 次提交
  25. 07 8月, 2016 2 次提交
  26. 16 3月, 2016 4 次提交
  27. 19 2月, 2016 1 次提交
    • S
      Dependencies clean up · 1cfeab53
      Sruli Rapps 提交于
      Cleans up four items I came across in ActiveSupport::Dependencies:
      
      - DependenciesTest#
        test_dependency_which_raises_exception_isnt_added_to_loaded_set:
        Fixes current implementation which will pass no matter what since the
        filepath is never added to "loaded" or "history" without being
        expanded first.
      - Remove DependenciesTest#test_unhook. Seems leftover from when
        alias_method_chain was used in Loadable and ModuleConstMissing.
        The test will always pass since Module never responds to those methods
      - WatchStack#new_constants documentation: update self to @stack.
        Looks like self was leftover from when WatchStack inherited from Hash
      - Remove ActiveSupport namespace from call to
        Dependencies.constant_watch_stack.watching? since the namespace is not
        needed, Dependencies is called two other times in the same method
        without it (even on the same line) and it brings the line to within
        80 characters
      1cfeab53
  28. 10 7月, 2015 1 次提交
  29. 23 5月, 2015 1 次提交
  30. 02 4月, 2015 1 次提交
  31. 05 1月, 2015 1 次提交
  32. 11 11月, 2014 1 次提交
  33. 25 10月, 2014 1 次提交
    • X
      fixes circularity check in dependencies · ae078068
      Xavier Noria 提交于
      The check for circular loading should depend on a stack of files being
      loaded at the moment, rather than the collection of loaded files.
      
      This showed up indirectly in #16468, where a misspelled helper would
      incorrectly result in a circularity error message.
      
      References #16468
      ae078068
  34. 02 9月, 2014 1 次提交
  35. 13 8月, 2014 1 次提交