Sha256: 82429a3c9d4db9106ec4898ad754fb99bb45607d1d2629a2cb502dd22b7e62bc

Contents?: true

Size: 286 Bytes

Versions: 20

Compression:

Stored size: 286 Bytes

Contents

# frozen_string_literal: true

require 'apipie-dsl'
require 'rails'

module ApipieDSL
  class Railtie < Rails::Railtie
    railtie_name :apipie_dsl

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

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
apipie-dsl-2.6.2 lib/apipie_dsl/railtie.rb
apipie-dsl-2.6.1 lib/apipie_dsl/railtie.rb
apipie-dsl-2.6.0 lib/apipie_dsl/railtie.rb
apipie-dsl-2.5.0 lib/apipie_dsl/railtie.rb
apipie-dsl-2.4.0 lib/apipie_dsl/railtie.rb
apipie-dsl-2.3.0 lib/apipie_dsl/railtie.rb
apipie-dsl-2.2.10 lib/apipie_dsl/railtie.rb
apipie-dsl-2.2.9 lib/apipie_dsl/railtie.rb
apipie-dsl-2.2.8 lib/apipie_dsl/railtie.rb
apipie-dsl-2.2.7 lib/apipie_dsl/railtie.rb
apipie-dsl-2.2.6 lib/apipie_dsl/railtie.rb
apipie-dsl-2.2.5 lib/apipie_dsl/railtie.rb
apipie-dsl-2.2.4 lib/apipie_dsl/railtie.rb
apipie-dsl-2.2.3 lib/apipie_dsl/railtie.rb
apipie-dsl-2.2.2 lib/apipie_dsl/railtie.rb
apipie-dsl-2.2.1 lib/apipie_dsl/railtie.rb
apipie-dsl-2.2.0 lib/apipie_dsl/railtie.rb
apipie-dsl-2.1.1 lib/apipie_dsl/railtie.rb
apipie-dsl-2.1.0 lib/apipie_dsl/railtie.rb
apipie-dsl-2.0.0 lib/apipie_dsl/railtie.rb