Sha256: 0c0b54a26d3892835962f0318925625075f84fe584e818da48a0baf7d1feb58d

Contents?: true

Size: 680 Bytes

Versions: 7

Compression:

Stored size: 680 Bytes

Contents

module GoGamification
  class Engine < ::Rails::Engine
    initializer :append_migrations do |app|
      # This prevents migrations from being loaded twice from the inside of the
      # gem itself (dummy test app)
      if app.root.to_s !~ /#{root}/
        config.paths['db/migrate'].expanded.each do |migration_path|
          app.config.paths['db/migrate'] << migration_path
        end
      end
    end

    config.assets.precompile += ['*.js', '*.css', '**/*.js', '**/*.css', '*.jpg',
                                                   '*.png', '*.ico', '*.gif', '*.woff2', '*.eot',
                                                   '*.woff', '*.ttf', '*.svg']

  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
go_gamification-0.0.20 lib/go_gamification/engine.rb
go_gamification-0.0.19 lib/go_gamification/engine.rb
go_gamification-0.0.18 lib/go_gamification/engine.rb
go_gamification-0.0.17 lib/go_gamification/engine.rb
go_gamification-0.0.16 lib/go_gamification/engine.rb
go_gamification-0.0.15 lib/go_gamification/engine.rb
go_gamification-0.0.14 lib/go_gamification/engine.rb