lib/dry/swagger/railtie.rb in dry-swagger-0.7.0 vs lib/dry/swagger/railtie.rb in dry-swagger-0.7.1
- old
+ new
@@ -5,11 +5,10 @@
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 }
+ load "dry/swagger/tasks/configuration_generator.rake"
end
end
end
end