Sha256: 3026fbaddad61cba8489afb2ed40a0c315303532773abf2a34bf9879ed66b177

Contents?: true

Size: 318 Bytes

Versions: 11

Compression:

Stored size: 318 Bytes

Contents

# frozen_string_literal: true

require 'rails'
# require 'capistrano/ops'
module Capistrano
  module Ops
    class Railtie < ::Rails::Railtie
      railtie_name :ops
      rake_tasks do
        path = File.expand_path(__dir__)
        Dir.glob("#{path}/tasks/**/*.rake").each { |f| load f }
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
capistrano-ops-0.2.3 lib/capistrano/ops/railtie.rb
capistrano-ops-0.2.2 lib/capistrano/ops/railtie.rb
capistrano-ops-0.2.1 lib/capistrano/ops/railtie.rb
capistrano-ops-0.2.0 lib/capistrano/ops/railtie.rb
capistrano-ops-0.1.9 lib/capistrano/ops/railtie.rb
capistrano-ops-0.1.8 lib/capistrano/ops/railtie.rb
capistrano-ops-0.1.7 lib/capistrano/ops/railtie.rb
capistrano-ops-0.1.6 lib/capistrano/ops/railtie.rb
capistrano-ops-0.1.5 lib/capistrano/ops/railtie.rb
capistrano-ops-0.1.4 lib/capistrano/ops/railtie.rb
capistrano-ops-0.1.3 lib/capistrano/ops/railtie.rb