Sha256: 17451e8303dda73d3907eb2f1590c747918e3ba5602577b51efa9d2f5deb6b77

Contents?: true

Size: 510 Bytes

Versions: 21

Compression:

Stored size: 510 Bytes

Contents

# frozen_string_literal: true

require "neeto-commons-backend"
require "rails"
require "neeto_commons_backend/initializers/post_compilation.rb"

module NeetoCommonsBackend
  class Railtie < Rails::Railtie
    railtie_name :neeto_commons_backend

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

    initializer "neeto_commons_backend.post_compilation" do
      NeetoCommonsBackend::Initializers::PostCompilation.run
    end
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
neeto-commons-backend-1.0.109 lib/neeto_commons_backend/railtie.rb
neeto-commons-backend-1.0.108 lib/neeto_commons_backend/railtie.rb
neeto-commons-backend-1.0.107 lib/neeto_commons_backend/railtie.rb
neeto-commons-backend-1.0.106 lib/neeto_commons_backend/railtie.rb
neeto-commons-backend-1.0.105 lib/neeto_commons_backend/railtie.rb
neeto-commons-backend-1.0.104 lib/neeto_commons_backend/railtie.rb
neeto-commons-backend-1.0.103 lib/neeto_commons_backend/railtie.rb
neeto-commons-backend-1.0.102 lib/neeto_commons_backend/railtie.rb
neeto-commons-backend-1.0.101 lib/neeto_commons_backend/railtie.rb
neeto-commons-backend-1.0.100 lib/neeto_commons_backend/railtie.rb
neeto-commons-backend-1.0.99 lib/neeto_commons_backend/railtie.rb
neeto-commons-backend-1.0.98 lib/neeto_commons_backend/railtie.rb
neeto-commons-backend-1.0.97 lib/neeto_commons_backend/railtie.rb
neeto-commons-backend-1.0.96 lib/neeto_commons_backend/railtie.rb
neeto-commons-backend-1.0.95 lib/neeto_commons_backend/railtie.rb
neeto-commons-backend-1.0.94 lib/neeto_commons_backend/railtie.rb
neeto-commons-backend-1.0.93 lib/neeto_commons_backend/railtie.rb
neeto-commons-backend-1.0.92 lib/neeto_commons_backend/railtie.rb
neeto-commons-backend-1.0.91 lib/neeto_commons_backend/railtie.rb
neeto-commons-backend-1.0.90 lib/neeto_commons_backend/railtie.rb