Sha256: f4ac09b442e514b9c6c358c39165c92a653e11bdbb051884ab6f754a8d809a1d

Contents?: true

Size: 363 Bytes

Versions: 98

Compression:

Stored size: 363 Bytes

Contents

# frozen_string_literal: true

require "rails/railtie"

module ReactOnRails
  class Engine < ::Rails::Engine
    config.to_prepare do
      if File.exist?(VersionChecker::NodePackageVersion.package_json_path)
        VersionChecker.build.raise_if_gem_and_node_package_versions_differ
      end
      ReactOnRails::ServerRenderingPool.reset_pool
    end
  end
end

Version data entries

98 entries across 98 versions & 1 rubygems

Version Path
react_on_rails-11.0.5 lib/react_on_rails/engine.rb
react_on_rails-11.0.4 lib/react_on_rails/engine.rb
react_on_rails-11.0.3 lib/react_on_rails/engine.rb
react_on_rails-11.0.2 lib/react_on_rails/engine.rb
react_on_rails-11.0.1 lib/react_on_rails/engine.rb
react_on_rails-11.0.0 lib/react_on_rails/engine.rb
react_on_rails-11.0.0.beta.1 lib/react_on_rails/engine.rb
react_on_rails-10.1.4 lib/react_on_rails/engine.rb
react_on_rails-10.1.3 lib/react_on_rails/engine.rb
react_on_rails-10.1.1 lib/react_on_rails/engine.rb
react_on_rails-10.1.0 lib/react_on_rails/engine.rb
react_on_rails-10.0.2 lib/react_on_rails/engine.rb
react_on_rails-10.0.1 lib/react_on_rails/engine.rb
react_on_rails-10.0.0 lib/react_on_rails/engine.rb
react_on_rails-9.0.3 lib/react_on_rails/engine.rb
react_on_rails-9.0.2 lib/react_on_rails/engine.rb
react_on_rails-9.0.1 lib/react_on_rails/engine.rb
react_on_rails-9.0.0 lib/react_on_rails/engine.rb
react_on_rails-9.0.0.rc.0 lib/react_on_rails/engine.rb
react_on_rails-9.0.0.beta.12 lib/react_on_rails/engine.rb