lib/gemsmith/templates/%gem_name%/bin/%gem_name%.tt in gemsmith-5.6.0 vs lib/gemsmith/templates/%gem_name%/bin/%gem_name%.tt in gemsmith-6.0.0
- old
+ new
@@ -1,8 +1,8 @@
#!/usr/bin/ruby
-require "<%= config[:gem_name] %>"
-require "<%= config[:gem_name] %>/cli"
-require "<%= config[:gem_name] %>/identity"
+require "<%= config.fetch(:gem).fetch(:name) %>"
+require "<%= config.fetch(:gem).fetch(:name) %>/cli"
+require "<%= config.fetch(:gem).fetch(:name) %>/identity"
-Process.setproctitle <%= config[:gem_class] %>::Identity.version_label
-<%= config[:gem_class] %>::CLI.start
+Process.setproctitle <%= config.fetch(:gem).fetch(:class) %>::Identity.version_label
+<%= config.fetch(:gem).fetch(:class) %>::CLI.start