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 +4 -4
- data/.claude/rules/releases.md +56 -38
- data/CHANGELOG.md +5 -0
- data/lib/claude_agent/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d5fe04480d4ac9e3510d30da98968e5775161e41fad4bdea29cf57b057c98a23
|
|
4
|
+
data.tar.gz: 1aca1e25aadbde128676a0182648df8fb8b6da1e81db8a82d1ea82d035ff00d5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4c657079b59bcd095f3216f99da72d14f326df8b44cab8deb9d618bcf22c589978d319e75d33c4bc8876a81deb77e89f93a28b9d45a08f95e37952a05cf753f0
|
|
7
|
+
data.tar.gz: 9992a0c69e842bd7fd11556b00c8944ff69eb14d418cd8b2cb81ce36cf8cdd74d46f58bd08651e47f028e3b9fe35d98c16bb52f9b3953b513781b1070d426ee5
|
data/.claude/rules/releases.md
CHANGED
|
@@ -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.
|
|
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.
|
|
25
|
-
3. You have push access to
|
|
26
|
-
4.
|
|
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
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
43
|
+
- Review the release PR
|
|
44
|
+
- Ensure CI passes
|
|
45
|
+
- Merge to main
|
|
52
46
|
|
|
53
|
-
|
|
54
|
-
# 1. Ensure tests pass
|
|
55
|
-
bundle exec rake
|
|
47
|
+
### Step 3: Publish
|
|
56
48
|
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
49
|
+
```bash
|
|
50
|
+
git checkout main && git pull
|
|
51
|
+
bin/publish 1.2.0
|
|
52
|
+
```
|
|
60
53
|
|
|
61
|
-
|
|
62
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
86
|
+
## Setting Up Trusted Publishing (One-Time)
|
|
74
87
|
|
|
75
|
-
1.
|
|
76
|
-
2.
|
|
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
data/lib/claude_agent/version.rb
CHANGED
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.
|
|
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:
|
|
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: []
|