Sha256: 9632672de111436c32a6b720e6e1658f4ab45aef79bf762647ec61b35decd109

Contents?: true

Size: 326 Bytes

Versions: 4

Compression:

Stored size: 326 Bytes

Contents

ENV['TORK_CONFIGS'] += ':rails' if Dir['script/{rails,console}'].any?
ENV['TORK_CONFIGS'] += ':test' if File.directory? 'test'
ENV['TORK_CONFIGS'] += ':spec' if File.directory? 'spec'
ENV['TORK_CONFIGS'] += ':cucumber' if File.directory? 'features'
ENV['TORK_CONFIGS'] += ':factory_girl' if Dir['{test,spec}/factories/'].any?

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
tork-19.1.0 lib/tork/config/default/config.rb
tork-19.0.2 lib/tork/config/default/config.rb
tork-19.0.1 lib/tork/config/default/config.rb
tork-19.0.0 lib/tork/config/default/config.rb