Sha256: 83ae9962c0b1964a7f66c83a0fe4c19399f971730457dbe72c80bfd7a78fb2f4

Contents?: true

Size: 503 Bytes

Versions: 7

Compression:

Stored size: 503 Bytes

Contents

# frozen_string_literal: true

require "cable_ready/installer"

cr_initializer_src = fetch("/", "config/initializers/cable_ready.rb")
cr_initializer_path = Rails.root.join("config/initializers/cable_ready.rb")

if !cr_initializer_path.exist?
  copy_file(cr_initializer_src, cr_initializer_path, verbose: false)
  say "✅ CableReady initializer created at config/initializers/cable_ready.rb"
else
  say "⏩ config/initializers/cable_ready.rb already exists. Skipping."
end

complete_step :initializers

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
cable_ready-5.0.3 lib/install/initializers.rb
cable_ready-5.0.2 lib/install/initializers.rb
cable_ready-5.0.1 lib/install/initializers.rb
cable_ready-5.0.0 lib/install/initializers.rb
cable_ready-5.0.0.rc2 lib/install/initializers.rb
cable_ready-5.0.0.rc1 lib/install/initializers.rb
cable_ready-5.0.0.pre10 lib/install/initializers.rb