Sha256: 1d57235fdff4d122f693a456d6d68deb91f295f327b33e6487f874aa931c1276

Contents?: true

Size: 352 Bytes

Versions: 8

Compression:

Stored size: 352 Bytes

Contents

require "rails"
require "dryad"

module Dryad
  module Cluster
    class Railtie < Rails::Railtie
      initializer "dryad_cluster.set_config" do
        ActiveSupport.on_load(:dryad_cluster) do
          Dryad::Cluster.configuration = Dryad.configuration
        end
      end
    end
  end
  ActiveSupport.run_load_hooks(:dryad_cluster, Cluster)
end

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
dryad-cluster-1.0.0 lib/dryad/cluster/railtie.rb
dryad-cluster-0.3.4 lib/dryad/cluster/railtie.rb
dryad-cluster-0.3.2 lib/dryad/cluster/railtie.rb
dryad-cluster-0.3.0 lib/dryad/cluster/railtie.rb
dryad-cluster-0.2.7 lib/dryad/cluster/railtie.rb
dryad-cluster-0.2.6 lib/dryad/cluster/railtie.rb
dryad-0.2.5 dryad-cluster/lib/dryad/cluster/railtie.rb
dryad-cluster-0.2.5 lib/dryad/cluster/railtie.rb