Sha256: 5d8ae96a2ca7d6385a397dc5fec5b40a3a4be295b7d61185b83a88d40d06a571

Contents?: true

Size: 388 Bytes

Versions: 14

Compression:

Stored size: 388 Bytes

Contents

module ThecoreAuthCommons
  class Engine < ::Rails::Engine
    initializer 'thecore_auth_commons.add_to_migrations' do |app|
      unless app.root.to_s.match root.to_s
        # APPEND TO MAIN APP MIGRATIONS FROM THIS GEM
        config.paths['db/migrate'].expanded.each do |expanded_path|
          app.config.paths['db/migrate'] << expanded_path
        end
      end
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
thecore_auth_commons-2.3.1 lib/thecore_auth_commons/engine.rb
thecore_auth_commons-2.3.0 lib/thecore_auth_commons/engine.rb
thecore_auth_commons-0 lib/thecore_auth_commons/engine.rb
thecore_auth_commons-2.2.9 lib/thecore_auth_commons/engine.rb
thecore_auth_commons-2.2.8 lib/thecore_auth_commons/engine.rb
thecore_auth_commons-2.2.6 lib/thecore_auth_commons/engine.rb
thecore_auth_commons-2.2.5 lib/thecore_auth_commons/engine.rb
thecore_auth_commons-2.2.2 lib/thecore_auth_commons/engine.rb
thecore_auth_commons-2.2.1 lib/thecore_auth_commons/engine.rb
thecore_auth_commons-2.2.0 lib/thecore_auth_commons/engine.rb
thecore_auth_commons-2.1.9 lib/thecore_auth_commons/engine.rb
thecore_auth_commons-2.1.8 lib/thecore_auth_commons/engine.rb
thecore_auth_commons-2.1.7 lib/thecore_auth_commons/engine.rb
thecore_auth_commons-2.1.5 lib/thecore_auth_commons/engine.rb