Sha256: 1b3a8363f00018f4b0675dfd6f67bb3b062d48a800eb8c73bc2ddf97a1bfa680

Contents?: true

Size: 314 Bytes

Versions: 6

Compression:

Stored size: 314 Bytes

Contents

require_relative "base"

module Suspenders
  class InlineSvgGenerator < Generators::Base
    def add_inline_svg
      gem "inline_svg"
      Bundler.with_clean_env { run "bundle install" }
    end

    def configure_inline_svg
      copy_file "inline_svg.rb", "config/initializers/inline_svg.rb"
    end
  end
end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
suspenders-1.54.0 lib/suspenders/generators/inline_svg_generator.rb
welaika-suspenders-3.0 lib/suspenders/generators/inline_svg_generator.rb
welaika-suspenders-2.36 lib/suspenders/generators/inline_svg_generator.rb
welaika-suspenders-2.35 lib/suspenders/generators/inline_svg_generator.rb
welaika-suspenders-2.34 lib/suspenders/generators/inline_svg_generator.rb
suspenders-1.53.0 lib/suspenders/generators/inline_svg_generator.rb