Sha256: 8b3ca4f93e274abc446cf800c64a2901e6d477b059638125b64c5d38a535fd83

Contents?: true

Size: 359 Bytes

Versions: 25

Compression:

Stored size: 359 Bytes

Contents

# frozen_string_literal: true

module SwaggerDocsGenerator
  # # Rake action
  #
  # Create an action for rails apps and executed with rake
  class Railtie < Rails::Railtie
    railtie_name :swagger

    rake_tasks do
      tasks = File.join(File.dirname(__FILE__), '../tasks', '*.rake')
      Dir[tasks].each { |file_task| load file_task }
    end
  end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
swagger_docs_generator-0.5.1 lib/swagger_docs_generator/railtie.rb
swagger_docs_generator-0.5.0.pre.42 lib/swagger_docs_generator/railtie.rb
swagger_docs_generator-0.4.0 lib/swagger_docs_generator/railtie.rb
swagger_docs_generator-0.3.6 lib/swagger_docs_generator/railtie.rb
swagger_docs_generator-0.3.6.pre.34 lib/swagger_docs_generator/railtie.rb
swagger_docs_generator-0.3.5 lib/swagger_docs_generator/railtie.rb
swagger_docs_generator-0.3.5.pre.31 lib/swagger_docs_generator/railtie.rb
swagger_docs_generator-0.3.4.pre.26 lib/swagger_docs_generator/railtie.rb
swagger_docs_generator-0.3.4 lib/swagger_docs_generator/railtie.rb
swagger_docs_generator-0.3.4.pre.23 lib/swagger_docs_generator/railtie.rb
swagger_docs_generator-0.3.3 lib/swagger_docs_generator/railtie.rb
swagger_docs_generator-0.3.2 lib/swagger_docs_generator/railtie.rb
swagger_docs_generator-0.3.1 lib/swagger_docs_generator/railtie.rb
swagger_docs_generator-0.3.0.pre.19 lib/swagger_docs_generator/railtie.rb
swagger_docs_generator-0.3.0.pre.18 lib/swagger_docs_generator/railtie.rb
swagger_docs_generator-0.2.0 lib/swagger_docs_generator/railtie.rb
swagger_docs_generator-0.2.0.pre.14 lib/swagger_docs_generator/railtie.rb
swagger_docs_generator-0.2.0.pre.13 lib/swagger_docs_generator/railtie.rb
swagger_docs_generator-0.2.0.pre.12 lib/swagger_docs_generator/railtie.rb
swagger_docs_generator-0.2.0.pre.11 lib/swagger_docs_generator/railtie.rb