- 26 7月, 2019 1 次提交
-
-
由 Xavier Noria 提交于
-
- 16 7月, 2019 1 次提交
-
-
由 Akira Matsuda 提交于
-
- 02 2月, 2019 1 次提交
-
-
由 alkesh26 提交于
-
- 22 11月, 2018 1 次提交
-
-
由 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 ```
-
- 28 10月, 2018 1 次提交
-
-
由 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.
-
- 26 9月, 2018 1 次提交
-
-
由 Rafael Mendonça França 提交于
-
- 08 9月, 2018 1 次提交
-
-
由 Xavier Noria 提交于
Closes #32885.
-
- 13 5月, 2018 1 次提交
-
-
由 Ryuta Kamizono 提交于
Follow up of #32605.
-
- 19 4月, 2018 1 次提交
-
-
由 Daniel Colson 提交于
This autocorrects the violations after adding a custom cop in 3305c78dcd.
-
- 04 4月, 2018 1 次提交
-
-
由 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!
-
- 26 1月, 2018 2 次提交
-
-
由 Robert Mosolgo 提交于
Add failing test for infinite loop when unloading autoloaded modules when an error occured during the load.
-
由 Daniel Colson 提交于
-
- 11 7月, 2017 1 次提交
-
-
由 Koichi ITO 提交于
-
- 09 7月, 2017 1 次提交
-
-
由 Kir Shatrov 提交于
-
- 02 7月, 2017 1 次提交
-
-
由 Matthew Draper 提交于
This reverts commit 3420a145, reversing changes made to afb66a5a.
-
- 01 7月, 2017 1 次提交
-
-
由 Kir Shatrov 提交于
-
- 23 5月, 2017 1 次提交
-
-
由 bogdanvlviv 提交于
".. with __dir__ we can restore order in the Universe." - by @fxn Related to 5b8738c2
-
- 12 2月, 2017 1 次提交
-
-
由 Ryuta Kamizono 提交于
-
- 06 2月, 2017 1 次提交
-
-
由 Benjamin Fleischer 提交于
``` go get -u github.com/client9/misspell/cmd/misspell misspell -w -error -source=text . ```
-
- 30 1月, 2017 1 次提交
-
-
由 Akira Matsuda 提交于
This behavior used to warn until 2.4, and raises since 2.5. The test here was intentinally named not to start with "test_" and so it used not to be executed because this never passes, but now is should pass in trunk. https://bugs.ruby-lang.org/issues/11547 https://github.com/ruby/ruby/commit/44a2576f798b07139adde2d279e48fdbe71a0148 closes #19897
-
- 25 1月, 2017 1 次提交
-
-
由 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.
-
- 25 12月, 2016 1 次提交
-
-
由 Akira Matsuda 提交于
-
- 29 10月, 2016 1 次提交
-
-
由 Rafael Mendonça França 提交于
-
- 17 9月, 2016 1 次提交
-
-
由 Michael Grosser 提交于
assert [1, 3].includes?(2) fails with unhelpful "Asserting failed" message assert_includes [1, 3], 2 fails with "Expected [1, 3] to include 2" which makes it easier to debug and more obvious what went wrong
-
- 16 8月, 2016 1 次提交
-
-
由 Rafael Mendonça França 提交于
Style/SpaceBeforeBlockBraces Style/SpaceInsideBlockBraces Style/SpaceInsideHashLiteralBraces Fix all violations in the repository.
-
- 07 8月, 2016 2 次提交
-
-
由 Ryuta Kamizono 提交于
-
由 Xavier Noria 提交于
The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default.
-
- 16 3月, 2016 4 次提交
-
-
由 Xavier Noria 提交于
-
由 Xavier Noria 提交于
-
由 Xavier Noria 提交于
-
由 Xavier Noria 提交于
References #24205.
-
- 19 2月, 2016 1 次提交
-
-
由 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
-
- 10 7月, 2015 1 次提交
-
-
由 Ronak Jangir 提交于
-
- 23 5月, 2015 1 次提交
-
-
由 Kasper Timm Hansen 提交于
Minitest sets an E constant to an empty string to save GC time. This clashes with autoloading tests which define an E constant.
-
- 02 4月, 2015 1 次提交
-
-
由 Josef Stribny 提交于
-
- 05 1月, 2015 1 次提交
-
-
由 claudiob 提交于
Now that Rails requires Ruby >= 2.0 there is need to skip the `test_depend_on_path` test.
-
- 11 11月, 2014 1 次提交
-
-
由 Xavier Noria 提交于
-
- 25 10月, 2014 1 次提交
-
-
由 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
-
- 02 9月, 2014 1 次提交
-
-
由 Guo Xiang Tan 提交于
Fixes https://github.com/rails/rails/issues/9933.
-
- 13 8月, 2014 1 次提交
-
-
由 Akira Matsuda 提交于
-