Module: Retest::VersionControl::NoVersionControl
- Defined in:
- lib/retest/version_control/no_version_control.rb
Class Method Summary collapse
Class Method Details
.files(extensions: []) ⇒ Object
15 16 17 18 19 20 21 22 23 |
# File 'lib/retest/version_control/no_version_control.rb', line 15 def files(extensions: []) result = if extensions.empty? Dir.glob('**/*') else Dir.glob("**/*.{#{extensions.join(',')}}") end result - Dir.glob('{tmp,node_modules}/**/*') end |
.installed? ⇒ Boolean
7 8 9 |
# File 'lib/retest/version_control/no_version_control.rb', line 7 def installed? true end |
.name ⇒ Object
11 12 13 |
# File 'lib/retest/version_control/no_version_control.rb', line 11 def name 'default' end |