Sha256: e47c1d7e43681d9fd9e6d609e3412ecd107378c76d56fcf28871e53ba1e64598

Contents?: true

Size: 263 Bytes

Versions: 9

Compression:

Stored size: 263 Bytes

Contents

if defined?(Rails) && ::Rails::VERSION::STRING =~ /^[3-9]\.[1-9]/
  Bundler.require
  class Tasks < Rails::Railtie
    rake_tasks do
      Dir[File.join(File.dirname(__FILE__),'../rails_generators/trackman/templates/*.rake')].each { |f| load f }
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
trackman-0.4.8 lib/tasks.rb
trackman-0.4.7 lib/tasks.rb
trackman-0.4.6 lib/tasks.rb
trackman-0.4.5 lib/tasks.rb
trackman-0.4.4 lib/tasks.rb
trackman-0.4.3 lib/tasks.rb
trackman-0.4.2 lib/tasks.rb
trackman-0.4.1 lib/tasks.rb
trackman-0.4.0 lib/tasks.rb