1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/railties/lib/rails
Kasper Timm Hansen 88881d2b50 Don't run all tests when files end in a colon.
If running `bin/rails t test/models/bunny_test.rb:` we'd implicitly run all the
tests in the bunny test. I now highly doubt that people would ever put in a line
filter without a line *and* want that to mean run all tests in that file.

Instead, change regex to require a line digit after the colon, so runs without a
line at the end would fail to require the test file.

This also has the side benefit of breaking requiring a file with many colons:
`bin/rails t test/models/bunny_test.rb:::::::::::::4`

Think this means I've had enough colonoscopy to last me through the year :)
2016-01-18 21:37:12 +01:00
..
api Generate API doc for actioncable 2015-12-17 16:04:46 +01:00
application Flexible configuration for ActionDispatch::SSL 2015-12-29 13:07:51 +00:00
commands Avoid multiple default paths to server.pid file 2016-01-16 16:16:43 +01:00
console Fix #21977: Removes memoization of helpers in Rails console 2015-10-16 19:28:38 -04:00
engine config.generators should be docummented since it is public API 2015-10-22 14:52:19 -02:00
generators Improve generated config initializer files 2016-01-13 12:45:55 +01:00
rack Tiny documentation edits [ci skip] 2015-05-04 14:43:41 +02:00
railtie
tasks rake log:clear task updated refs[#22544] 2016-01-09 13:39:41 +05:30
templates Update the URL when changing mailer preview formats 2015-10-06 13:32:07 -07:00
test_unit Don't run all tests when files end in a colon. 2016-01-18 21:37:12 +01:00
all.rb Doh, should have read ff370ee617 2015-12-16 15:52:46 +01:00
app_loader.rb Remove redundant 'Rails' from Rails::AppRailsLoader constant 2015-05-21 16:50:41 +10:00
application.rb Accept a Pathname in Application#config_for 2015-12-15 15:53:53 -02:00
application_controller.rb stop using deprecated render :text in railties 2015-08-06 15:50:28 +09:00
backtrace_cleaner.rb
cli.rb 💣 Fix another leftover 2015-05-27 21:59:00 -03:00
code_statistics.rb CodeStatistic will now ignore hidden files: 2016-01-18 12:56:20 -05:00
code_statistics_calculator.rb Allow rake:stats to account for rake tasks 2015-10-19 10:36:30 -04:00
command.rb Nodoc Rails command. 2015-12-13 20:22:38 +01:00
commands.rb Implement Rake proxy for Rails' command line interface. 2015-12-13 20:59:41 +01:00
configuration.rb Engines get different middleware than apps 2015-09-29 13:35:13 -07:00
engine.rb Merge pull request #20986 from radar/rails-engine-caller-locations 2015-10-04 20:46:54 -04:00
gem_version.rb Change alpha to beta1 to prep for release of Rails 5 2015-12-18 12:14:09 -05:00
generators.rb do not show Active Job test generator 2015-11-14 16:39:48 +09:00
info.rb
info_controller.rb Fix URI.escape is obsolete warnings 2015-05-05 05:22:53 +01:00
initializable.rb
mailers_controller.rb Use Mime[:foo] instead of Mime::Type[:FOO] for back compat 2015-10-06 11:29:30 -07:00
paths.rb Tiny documentation fixes [ci skip] 2015-08-16 14:16:20 +02:00
rack.rb
railtie.rb
ruby_version_check.rb Upgrade to Ruby 2.2.2 2015-04-14 08:41:56 +05:30
source_annotation_extractor.rb fix path of annotations.rake [ci skip] 2015-08-20 21:46:21 +09:00
tasks.rb Add Rails command infrastructure and encapsulate development caching 2015-12-04 13:15:43 -05:00
test_help.rb Add :nodoc: for internal testing methods [ci skip] 2015-07-28 12:22:37 +02:00
version.rb
welcome_controller.rb