From cb2c4be45c97286850f826d3e0707b1c755fd9a5 Mon Sep 17 00:00:00 2001 From: Manolo Martinez Date: Mon, 4 May 2020 18:05:41 -0500 Subject: [PATCH] #fix uninitialized constant Rails::Generators::NamedBase as (this post)[https://github.com/nsarno/knock/issues/156#issuecomment-304458602] --- lib/idg/api/generators/idg/idg_generator.rb | 4 ++-- lib/idg/api/rails/version.rb | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/idg/api/generators/idg/idg_generator.rb b/lib/idg/api/generators/idg/idg_generator.rb index 8bc0996..de176dc 100644 --- a/lib/idg/api/generators/idg/idg_generator.rb +++ b/lib/idg/api/generators/idg/idg_generator.rb @@ -1,7 +1,7 @@ -require 'rails/generators/rails/scaffold_controller/scaffold_controller_generator' require 'rails/generators' +require 'rails/generators/rails/scaffold_controller/scaffold_controller_generator' -class IdgGenerator < Rails::Generators::ScaffoldControllerGenerator +class IDGGenerator < Rails::Generators::ScaffoldControllerGenerator # source_root File.expand_path('templates', __dir__) diff --git a/lib/idg/api/rails/version.rb b/lib/idg/api/rails/version.rb index da60137..753da71 100644 --- a/lib/idg/api/rails/version.rb +++ b/lib/idg/api/rails/version.rb @@ -1,7 +1,7 @@ module Idg module Api module Rails - VERSION = '0.1.6' + VERSION = '0.1.7' end end end