From ab41bb33f11cd186b2c31d3f073e81cf8cb6677c Mon Sep 17 00:00:00 2001 From: Manolo Martinez Date: Mon, 4 May 2020 17:57:41 -0500 Subject: [PATCH] #fix uninitialized constant Rails::Generators --- lib/idg/api/generators/idg/idg_generator.rb | 3 ++- lib/idg/api/rails/version.rb | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/idg/api/generators/idg/idg_generator.rb b/lib/idg/api/generators/idg/idg_generator.rb index 1e0f69b..7d19614 100644 --- a/lib/idg/api/generators/idg/idg_generator.rb +++ b/lib/idg/api/generators/idg/idg_generator.rb @@ -1,4 +1,5 @@ -require 'rails/generators/rails/scaffold_controller/scaffold_controller_generator' +# require 'rails/generators/rails/scaffold_controller/scaffold_controller_generator' +require 'rails/generators' 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 0b36a3e..d959d91 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.4' + VERSION = '0.1.5' end end end