Sha256: 4148fce118973bf6bced848b8c5cbb2e3f9ce86a9e9d0cd269f6a0739a6d7ab2

Contents?: true

Size: 394 Bytes

Versions: 20

Compression:

Stored size: 394 Bytes

Contents

# frozen_string_literal: true

say_git "Install launchy"
install_gem "launchy", group: %i[development test]

say_git "Configure puma to open browser on startup"
copy_file "lib/puma/plugin/open.rb"
append_to_file "config/puma.rb", <<~RUBY

  # Automatically open the browser when in development
  require_relative "../lib/puma/plugin/open"
  plugin :open
RUBY
prevent_autoload_lib "puma/plugin"

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
nextgen-0.31.0 lib/nextgen/generators/open_browser_on_start.rb
nextgen-0.30.0 lib/nextgen/generators/open_browser_on_start.rb
nextgen-0.29.0 lib/nextgen/generators/open_browser_on_start.rb
nextgen-0.28.2 lib/nextgen/generators/open_browser_on_start.rb
nextgen-0.28.1 lib/nextgen/generators/open_browser_on_start.rb
nextgen-0.28.0 lib/nextgen/generators/open_browser_on_start.rb
nextgen-0.27.1 lib/nextgen/generators/open_browser_on_start.rb
nextgen-0.27.0 lib/nextgen/generators/open_browser_on_start.rb
nextgen-0.26.0 lib/nextgen/generators/open_browser_on_start.rb
nextgen-0.25.0 lib/nextgen/generators/open_browser_on_start.rb
nextgen-0.24.0 lib/nextgen/generators/open_browser_on_start.rb
nextgen-0.23.0 lib/nextgen/generators/open_browser_on_start.rb
nextgen-0.22.0 lib/nextgen/generators/open_browser_on_start.rb
nextgen-0.21.0 lib/nextgen/generators/open_browser_on_start.rb
nextgen-0.20.0 lib/nextgen/generators/open_browser_on_start.rb
nextgen-0.19.0 lib/nextgen/generators/open_browser_on_start.rb
nextgen-0.18.0 lib/nextgen/generators/open_browser_on_start.rb
nextgen-0.17.1 lib/nextgen/generators/open_browser_on_start.rb
nextgen-0.17.0 lib/nextgen/generators/open_browser_on_start.rb
nextgen-0.16.0 lib/nextgen/generators/open_browser_on_start.rb