Sha256: 4f9cd921e5e3a093a4e7f750a89552aa47c23fab3e6d4ab35f3b51d3589536ee

Contents?: true

Size: 286 Bytes

Versions: 22

Compression:

Stored size: 286 Bytes

Contents

module OasRails
  module Generators
    class ConfigGenerator < Rails::Generators::Base
      source_root File.expand_path('templates', __dir__)

      def copy_initializer_file
        template "oas_rails_initializer.rb", "config/initializers/oas_rails.rb"
      end
    end
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
oas_rails-0.9.0 lib/generators/oas_rails/config/config_generator.rb
oas_rails-0.8.4 lib/generators/oas_rails/config/config_generator.rb
oas_rails-0.8.3 lib/generators/oas_rails/config/config_generator.rb
oas_rails-0.8.2 lib/generators/oas_rails/config/config_generator.rb
oas_rails-0.8.1 lib/generators/oas_rails/config/config_generator.rb
oas_rails-0.8.0 lib/generators/oas_rails/config/config_generator.rb
oas_rails-0.7.0 lib/generators/oas_rails/config/config_generator.rb
oas_rails-0.6.0 lib/generators/oas_rails/config/config_generator.rb
oas_rails-0.5.0 lib/generators/oas_rails/config/config_generator.rb
oas_rails-0.4.5 lib/generators/oas_rails/config/config_generator.rb
oas_rails-0.4.4 lib/generators/oas_rails/config/config_generator.rb
oas_rails-0.4.3 lib/generators/oas_rails/config/config_generator.rb
oas_rails-0.4.2 lib/generators/oas_rails/config/config_generator.rb
oas_rails-0.4.1 lib/generators/oas_rails/config/config_generator.rb
oas_rails-0.4.0 lib/generators/oas_rails/config/config_generator.rb
oas_rails-0.3.0 lib/generators/oas_rails/config/config_generator.rb
oas_rails-0.2.3 lib/generators/oas_rails/config/config_generator.rb
oas_rails-0.2.2 lib/generators/oas_rails/config/config_generator.rb
oas_rails-0.2.1 lib/generators/oas_rails/config/config_generator.rb
oas_rails-0.2.0 lib/generators/oas_rails/config/config_generator.rb