claude_code_slash_commands 0.2.1 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e41a04bba52189335237582a60bbed45308a9999890086618137411cc70aa9e3
4
- data.tar.gz: e19ede006674c49ca18748df1b65380a44b7187cf84ee1a865059acaaf4c02ed
3
+ metadata.gz: 604b553647bf6700a44f59a883cdf722996b1826fe1007ed458bf950d4108bbc
4
+ data.tar.gz: 33702b9349904328a854f23d5818a3843aa617cc320b155e9f211046317fbfc9
5
5
  SHA512:
6
- metadata.gz: b93db29e612a3cf40e57be2fd383cc00606c5a0c13507d8b29103712f6b8c2822c8f2962e89ab5a32ea2a0eea4534655aceba7445b8a785f3f0903a4ea114ec4
7
- data.tar.gz: f1be4e0572e1ca77a9db4c9b1969d7a46e4e6e9be384bdbf7af399d864235dcacc19374d33a7575d8018e2327510584bc3460a385f954981070fc905768ca11a
6
+ metadata.gz: fa704f70f1fe4a49737134bcd9db8a97a7fbf3fee2e7169ae8f950e8281dfe050b7e439f78248637aefda49d71f9ac6605c5abee40802f609fef576ac33f1a07
7
+ data.tar.gz: ded25fc6aac37b2d88a378bbff51b16ca636b00928b0f63e10884369ae7f053eb337ed703aa3921cb14f01382f8ed6b24659c25f4a54cd82773d8f7b1d20c9e2
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- claude_code_slash_commands (0.2.1)
4
+ claude_code_slash_commands (0.2.2)
5
5
  base64
6
6
 
7
7
  GEM
data/README.md CHANGED
@@ -56,6 +56,11 @@ This is useful for:
56
56
 
57
57
  Check the `commands/` directory to see what is available.
58
58
 
59
+ ### Safety
60
+
61
+ Note that some commands have `allowed-tools` already defined, so Claude Code will not prompt you.
62
+ I aim to restrict these to low risk tools such as git usage or web fetching, but you may wish to review before running.
63
+
59
64
  ### Using the Commands
60
65
 
61
66
  In your Claude Code session, type `/ruby--` and you will the list of available commands.
@@ -3,8 +3,7 @@ description: Configure a gem's CI pipeline using GitHub Actions
3
3
  ---
4
4
  The goal is to create a CI workflow file that runs the gem's tests as well as any linting or other verificiation tasks.
5
5
 
6
- If no CI workflow file exists, create one, otherwise update the existing one.
7
-
8
- Read https://www.ruby-lang.org/en/downloads/branches/ to check the latest Ruby release version.
9
-
10
- Configure the CI matrix such that it covers the the minimum `required_ruby_version` in the `.gemspec`, as well as every minor release up to the latest Ruby version.
6
+ - If no CI workflow file exists, create one, otherwise update the existing one.
7
+ - Read https://www.ruby-lang.org/en/downloads/branches/ to check the latest Ruby release version.
8
+ - Configure the CI matrix such that it covers the the minimum `required_ruby_version` in the `.gemspec`, as well as every minor release up to the latest Ruby version.
9
+ - Commit
@@ -0,0 +1,15 @@
1
+ ---
2
+ description: Update to latest Ruby version
3
+ ---
4
+ The goal is to update this project to use the latest Ruby version.
5
+
6
+ - Before starting, verify the tests are passing (make a note of any deprecations)
7
+ - Read https://www.ruby-lang.org/en/downloads/branches/ to check the latest Ruby release version.
8
+ - If it's not already available, install that Ruby version.
9
+ - Read https://www.ruby-lang.org/en/downloads/branches/ to check the latest Ruby release version.
10
+ - If a .ruby-version file exists, update it to the latest Ruby version, otherwise create it.
11
+ - Run `bundle install`.
12
+ - If any gems are not compatible with the latest Ruby version, try update them.
13
+ - Ensure the tests are still passing.
14
+ - If there any new deprecations, ask if the user you should fix them.
15
+ - Commit the changes.
@@ -1,6 +1,11 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
- require "bundler/setup"
3
+ begin
4
+ require "bundler/setup"
5
+ rescue LoadError
6
+ # Bundler not available or no Gemfile - just load the gem directly
7
+ end
8
+
4
9
  require "claude_code_slash_commands"
5
10
 
6
11
  ClaudeCodeSlashCommands::CLI.start(ARGV)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ClaudeCodeSlashCommands
4
- VERSION = "0.2.1"
4
+ VERSION = "0.2.2"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: claude_code_slash_commands
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andy Waite
@@ -41,6 +41,7 @@ files:
41
41
  - commands/ruby--add-rubocop.md
42
42
  - commands/ruby--add-standard.md
43
43
  - commands/ruby--configure-gem-ci.md
44
+ - commands/ruby--update-ruby-version.md
44
45
  - exe/claude_code_slash_commands
45
46
  - lib/claude_code_slash_commands.rb
46
47
  - lib/claude_code_slash_commands/cli.rb