Skip to content

Commit 635a5ae

Browse files
majjohaclaude
andcommitted
Revert "Remove unnecessary frozen_string_literal comments".
This reverts commit 5250144. Reintroduces `frozen_string_literal` comments for consistency, since it is not yet the default. πŸ€– Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent e4d3d5c commit 635a5ae

23 files changed

Lines changed: 56 additions & 0 deletions

β€ŽRakefileβ€Ž

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# frozen_string_literal: true
2+
13
desc "Run tests"
24
task default: :test
35

β€Žbin/create-ruby-appβ€Ž

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/usr/bin/env ruby
22

3+
# frozen_string_literal: true
4+
35
require_relative "../lib/create_ruby_app"
46

57
CreateRubyApp::CLI.call

β€Žlib/create_ruby_app.rbβ€Ž

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# frozen_string_literal: true
2+
13
require_relative "create_ruby_app/app"
24
require_relative "create_ruby_app/cli"
35
require_relative "create_ruby_app/version"

β€Žlib/create_ruby_app/actions/create_directories.rbβ€Ž

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# frozen_string_literal: true
2+
13
require "fileutils"
24
require "pathname"
35

β€Žlib/create_ruby_app/actions/generate_files.rbβ€Ž

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# frozen_string_literal: true
2+
13
require "erb"
24
require "pathname"
35

β€Žlib/create_ruby_app/actions/install_gems.rbβ€Ž

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# frozen_string_literal: true
2+
13
module CreateRubyApp
24
module Actions
35
class InstallGems

β€Žlib/create_ruby_app/actions/make_script_executable.rbβ€Ž

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# frozen_string_literal: true
2+
13
require "fileutils"
24

35
module CreateRubyApp

β€Žlib/create_ruby_app/actions/set_ruby_implementation.rbβ€Ž

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# frozen_string_literal: true
2+
13
require "open3"
24

35
module CreateRubyApp

β€Žlib/create_ruby_app/app.rbβ€Ž

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# frozen_string_literal: true
2+
13
require "logger"
24

35
module CreateRubyApp

β€Žlib/create_ruby_app/cli.rbβ€Ž

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# frozen_string_literal: true
2+
13
require "dry/cli"
24

35
module CreateRubyApp

0 commit comments

Comments
Β (0)