Sha256: a7c39abab4f617667e09db66e457dd7d0189456ef321bc7f1d4783684c085f8b

Contents?: true

Size: 327 Bytes

Versions: 13

Compression:

Stored size: 327 Bytes

Contents

require 'rails-cloud-tasks'
require 'rails'

module RailsCloudTasks
  class Railtie < Rails::Railtie
    railtie_name :rails_cloud_tasks

    rake_tasks do
      namespace :rails_cloud_tasks do
        path = File.expand_path(__dir__)
        Dir.glob("#{path}/tasks/**/*.rake").each { |f| load f }
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
rails-cloud-tasks-0.0.10 lib/railtie.rb
rails-cloud-tasks-0.0.9 lib/railtie.rb
rails-cloud-tasks-0.0.9.pre.rc lib/railtie.rb
rails-cloud-tasks-0.0.8 lib/railtie.rb
rails-cloud-tasks-0.0.7 lib/railtie.rb
rails-cloud-tasks-0.0.7.pre.rc lib/railtie.rb
rails-cloud-tasks-0.0.6 lib/railtie.rb
rails-cloud-tasks-0.0.5 lib/railtie.rb
rails-cloud-tasks-0.0.4 lib/railtie.rb
rails-cloud-tasks-0.0.4rc2 lib/railtie.rb
rails-cloud-tasks-0.0.4.rc1 lib/railtie.rb
rails-cloud-tasks-0.0.3 lib/railtie.rb
rails-cloud-tasks-0.0.2 lib/railtie.rb