From 1953bbf5c33084c760376a6ace6f26a0a97cc94a Mon Sep 17 00:00:00 2001 From: Nicole Dow Date: Thu, 19 Oct 2023 07:21:49 -0400 Subject: [PATCH] 138 deprecation console warning message (#141) * use type: :boolean in resource_override * remove comment * update version number to 4.0.2 * rebundle * remove .tool-versions --- Gemfile.lock | 4 ++-- lib/decanter/version.rb | 2 +- lib/generators/rails/resource_override.rb | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 117da4e..8b117b6 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - decanter (4.0.1) + decanter (4.0.2) actionpack (>= 4.2.10) activesupport rails-html-sanitizer (>= 1.0.4) @@ -99,4 +99,4 @@ DEPENDENCIES simplecov (~> 0.15.1) BUNDLED WITH - 1.17.2 + 1.17.3 diff --git a/lib/decanter/version.rb b/lib/decanter/version.rb index 98f9e75..764056d 100644 --- a/lib/decanter/version.rb +++ b/lib/decanter/version.rb @@ -1,3 +1,3 @@ module Decanter - VERSION = '4.0.1'.freeze + VERSION = '4.0.2'.freeze end diff --git a/lib/generators/rails/resource_override.rb b/lib/generators/rails/resource_override.rb index fb15ffc..349c5c5 100644 --- a/lib/generators/rails/resource_override.rb +++ b/lib/generators/rails/resource_override.rb @@ -4,7 +4,7 @@ module Rails module Generators class ResourceGenerator - hook_for :decanter, default: true, boolean: true + hook_for :decanter, default: true, type: :boolean end end end