Sha256: bf865861150cac072cae2d9216f47d3ae4ca75f184880c0afcdb6f30ac887a58

Contents?: true

Size: 290 Bytes

Versions: 2

Compression:

Stored size: 290 Bytes

Contents

require 'dry/swagger'
require 'rails'

module Dry
  module Swagger
    class Railtie < Rails::Railtie
      railtie_name :"dry-swagger"

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
dry-swagger-0.7.0 lib/dry/swagger/railtie.rb
dry-swagger-0.6.4 lib/dry/swagger/railtie.rb