claude_agent 0.4.2 → 0.4.3

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: 3dad011bddaedd68fe720527eeeda0a4dbe1f2b7ee9621e0ea6a0b2a3c09bc62
4
- data.tar.gz: 161a59562a2cd86cfc6aca140259c996892dc68b604fc9500c3337dd814be4b5
3
+ metadata.gz: d5fe04480d4ac9e3510d30da98968e5775161e41fad4bdea29cf57b057c98a23
4
+ data.tar.gz: 1aca1e25aadbde128676a0182648df8fb8b6da1e81db8a82d1ea82d035ff00d5
5
5
  SHA512:
6
- metadata.gz: 4a157be028a9102d174db09a0298a63eb7051253d5c6d2173a5f6d111f72da5a9c7fd286d41e948cf35ddecfdd9c45a14d08e7dca397fe7391b0505f9cc8a507
7
- data.tar.gz: f16dd8d278d5291145fae97cf14bc525f47cdae4b2c2de34cfa041b754a9bdd4bdc57aae2ee8b4e0ad0081de026e53affeded6c53e8d11549903d6d3a3c69f53
6
+ metadata.gz: 4c657079b59bcd095f3216f99da72d14f326df8b44cab8deb9d618bcf22c589978d319e75d33c4bc8876a81deb77e89f93a28b9d45a08f95e37952a05cf753f0
7
+ data.tar.gz: 9992a0c69e842bd7fd11556b00c8944ff69eb14d418cd8b2cb81ce36cf8cdd74d46f58bd08651e47f028e3b9fe35d98c16bb52f9b3953b513781b1070d426ee5
@@ -14,66 +14,84 @@ Follow [Semantic Versioning 2.0.0](https://semver.org/):
14
14
 
15
15
  ## Changelog Format
16
16
 
17
- Follow [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) format. Maintain an `[Unreleased]` section at the top for work in progress.
17
+ Follow [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) format. Add changes to the `[Unreleased]` section as you work. The release script will automatically move them to a versioned section.
18
18
 
19
19
  ## Release Process
20
20
 
21
21
  ### Prerequisites
22
22
 
23
23
  1. All tests pass (`bundle exec rake`)
24
- 2. CHANGELOG.md has entry for the new version
25
- 3. You have push access to main branch
26
- 4. You have RubyGems publish credentials configured
24
+ 2. Changes documented in `[Unreleased]` section of CHANGELOG.md
25
+ 3. You have push access to the repository
26
+ 4. Trusted Publishing configured on RubyGems (one-time setup)
27
27
 
28
- ### Release Command
28
+ ### Step 1: Prepare Release PR
29
29
 
30
- ```bash
31
- bin/release VERSION
32
- ```
33
-
34
- Example:
35
30
  ```bash
36
31
  bin/release 1.2.0
37
32
  ```
38
33
 
39
- ### What the Script Does
34
+ This will:
35
+ 1. Create branch `release-1.2.0`
36
+ 2. Update `lib/claude_agent/version.rb`
37
+ 3. Update `Gemfile.lock`
38
+ 4. Move `[Unreleased]` changelog entries to `[1.2.0]`
39
+ 5. Commit, push, and open a PR
40
40
 
41
- 1. Validates version format (semantic versioning)
42
- 2. Checks CHANGELOG.md has entry for version
43
- 3. Checks tag doesn't already exist
44
- 4. Updates `lib/claude_agent/version.rb`
45
- 5. Updates `Gemfile.lock`
46
- 6. Commits with message "Bump version for X.Y.Z"
47
- 7. Pushes to current branch
48
- 8. Creates and pushes tag `vX.Y.Z`
49
- 9. Builds and publishes gem to RubyGems
41
+ ### Step 2: Review and Merge
50
42
 
51
- ### Example Workflow
43
+ - Review the release PR
44
+ - Ensure CI passes
45
+ - Merge to main
52
46
 
53
- ```bash
54
- # 1. Ensure tests pass
55
- bundle exec rake
47
+ ### Step 3: Publish
56
48
 
57
- # 2. Update CHANGELOG.md
58
- # Move items from [Unreleased] to new version section:
59
- ## [1.2.0] - 2025-03-15
49
+ ```bash
50
+ git checkout main && git pull
51
+ bin/publish 1.2.0
52
+ ```
60
53
 
61
- ### Added
62
- - New feature description
54
+ This will:
55
+ 1. Verify you're on main with correct version
56
+ 2. Create and push tag `v1.2.0`
57
+ 3. Create GitHub release
58
+ 4. GitHub Actions publishes to RubyGems automatically
63
59
 
64
- # 3. Commit changelog
65
- git add CHANGELOG.md
66
- git commit -m "docs: update changelog for 1.2.0"
67
- git push
60
+ ### Workflow Diagram
68
61
 
69
- # 4. Release
62
+ ```
70
63
  bin/release 1.2.0
64
+
65
+ ├── Creates branch: release-1.2.0
66
+ ├── Updates version.rb, Gemfile.lock, CHANGELOG.md
67
+ ├── Commits and pushes
68
+ └── Opens PR
69
+
70
+
71
+ [Review & merge PR]
72
+
73
+
74
+ bin/publish 1.2.0
75
+
76
+ ├── Creates tag v1.2.0
77
+ ├── Pushes tag
78
+ └── Creates GitHub release
79
+
80
+
81
+ [GitHub Actions]
82
+
83
+ └── Publishes to RubyGems via Trusted Publishing
71
84
  ```
72
85
 
73
- ### Post-Release
86
+ ## Setting Up Trusted Publishing (One-Time)
74
87
 
75
- 1. Add `## [Unreleased]` section to CHANGELOG.md if needed
76
- 2. Optionally create a GitHub release at the new tag
88
+ 1. Go to [rubygems.org](https://rubygems.org) Your gems claude_agent → Trusted Publishers
89
+ 2. Add a new publisher:
90
+ - Repository owner: `protocollar`
91
+ - Repository name: `claude_agent-ruby`
92
+ - Workflow filename: `push_gem.yml`
93
+ - Environment: `release`
94
+ 3. Create a GitHub environment named `release` in your repository settings
77
95
 
78
96
  ## Version Bumping Guidelines
79
97
 
@@ -95,4 +113,4 @@ bin/release 1.2.0
95
113
 
96
114
  - Bug fixes
97
115
  - Documentation corrections
98
- - Performance improvements (no API change)
116
+ - Performance improvements (no API change)
data/CHANGELOG.md CHANGED
@@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.4.3] - 2026-01-18
11
+
12
+ ### Changed
13
+ - Updated release workflow to use trusted publisher
14
+
10
15
  ## [0.4.2] - 2026-01-18
11
16
 
12
17
  ### Fixed
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ClaudeAgent
4
- VERSION = "0.4.2"
4
+ VERSION = "0.4.3"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: claude_agent
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.2
4
+ version: 0.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thomas Carr
@@ -92,7 +92,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
92
92
  - !ruby/object:Gem::Version
93
93
  version: '0'
94
94
  requirements: []
95
- rubygems_version: 4.0.3
95
+ rubygems_version: 3.6.9
96
96
  specification_version: 4
97
97
  summary: Ruby SDK for building AI agents with Claude Code
98
98
  test_files: []