Methods
- A
- D
- E
- G
- H
- I
- K
- N
- R
- T
Constants
| MAP | = | { 'railties' => 'railties', 'ap' => 'actionpack', 'am' => 'actionmailer', 'amo' => 'activemodel', 'as' => 'activesupport', 'ar' => 'activerecord', 'av' => 'actionview', 'aj' => 'activejob', 'ac' => 'actioncable', 'guides' => 'guides' } |
Attributes
| [R] | component | |
| [R] | options |
Class Public methods
new(component, options = {})
Link
Instance Public methods
activerecord?()
Link
activesupport?()
Link
adapter()
Link
announce(heading)
Link
env()
Link
# File ci/travis.rb, line 121 def env if activesupport? && !isolated? # There is a known issue with the listen tests that causes files to be # incorrectly GC'ed even when they are still in-use. The current is to # only run them in isolation to avoid randomly failing our test suite. { 'LISTEN' => '0' } else {} end end
guides?()
Link
heading()
Link
integration?()
Link
isolated?()
Link
key()
Link
rake(*tasks)
Link
run!(options = {})
Link
run_bug_report_templates()
Link
tasks()
Link
# File ci/travis.rb, line 61 def tasks if activerecord? tasks = ["#{adapter}:#{'isolated_' if isolated?}test"] case adapter when 'mysql2' tasks.unshift 'db:mysql:rebuild' when 'postgresql' tasks.unshift 'db:postgresql:rebuild' end tasks else ["test", ('isolated' if isolated?), ('integration' if integration?)].compact.join(":") end end