lib/generators/pu/gem/dotenv/dotenv_generator.rb in plutonium-0.15.6 vs lib/generators/pu/gem/dotenv/dotenv_generator.rb in plutonium-0.15.7

- old
+ new

@@ -19,10 +19,10 @@ copy_file "config/initializers/001_ensure_required_env.rb" gitignore "!/.env.template", "!/.env.local.template", "!/.env" - insert_into_file "Gemfile", "\ngem \"dotenv\", :groups => [:development, :test]\n", after: /^gem ["']rails["'].*\n/ + insert_into_file "Gemfile", "\ngem \"dotenv\", groups: %i[development test]\n", after: /^gem ["']rails["'].*\n/ bundle! end rescue => e exception "#{self.class} failed:", e end