Sha256: 71256b8791c1326b4733662dc4f3ca094509749a2643d002f3acf992071a67d5

Contents?: true

Size: 420 Bytes

Versions: 3

Compression:

Stored size: 420 Bytes

Contents

require 'active_support/inflector'

Tork::Driver::REABSORB_FILE_GREPS.push(
  %r{^config/.+\.(rb|yml)$},
  %r{^db/schema\.rb$},
  %r{^Gemfile\.lock$}
)

Tork::Driver::TEST_FILE_GLOBBERS.update(
  %r{^(app|lib|test|spec)/.*?([^/]+?)(_factory)?\.rb$} => lambda do |matches|
    single = matches[2]
    plural = ActiveSupport::Inflector.pluralize(single)
    "{test,spec}/**/{#{single},#{plural}_*}_{test,spec}.rb"
  end
)

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
tork-19.0.2 lib/tork/config/rails/driver.rb
tork-19.0.1 lib/tork/config/rails/driver.rb
tork-19.0.0 lib/tork/config/rails/driver.rb