Sha256: e22d1013954e9fc799065b079e724a2844db8fb360aa72a908d6ad7a4a41320c

Contents?: true

Size: 406 Bytes

Versions: 12

Compression:

Stored size: 406 Bytes

Contents

ENV['TORK_CONFIGS'] += ':rails' if Dir['script/{rails,console}'].any?
ENV['TORK_CONFIGS'] += ':devise' if File.exist? 'config/initializers/devise.rb'
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

12 entries across 12 versions & 1 rubygems

Version Path
tork-19.7.0 lib/tork/config/default/config.rb
tork-19.6.1 lib/tork/config/default/config.rb
tork-19.6.0 lib/tork/config/default/config.rb
tork-19.5.1 lib/tork/config/default/config.rb
tork-19.5.0 lib/tork/config/default/config.rb
tork-19.4.0 lib/tork/config/default/config.rb
tork-19.3.2 lib/tork/config/default/config.rb
tork-19.3.1 lib/tork/config/default/config.rb
tork-19.3.0 lib/tork/config/default/config.rb
tork-19.2.2 lib/tork/config/default/config.rb
tork-19.2.1 lib/tork/config/default/config.rb
tork-19.2.0 lib/tork/config/default/config.rb