njtransit 1.0.1 → 1.0.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 +4 -4
- data/CHANGELOG.md +11 -0
- data/CLAUDE.md +12 -2
- data/README.md +12 -1
- data/lib/njtransit/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2abeacafb30ae8fdec421187724fea1c7bfa00df19344984f1138a799d2fc974
|
|
4
|
+
data.tar.gz: cbd9fda233463cb4897e428c05428069b9f77a2aa68d92ca0aea2c6a29846d15
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 27c56fd3517b457de75289073ced127401d8e6afd2a585000cead15c96f3a1053536f80ea5ab2c26952ae148687575e25b80a15013a6fd578ecbcbf037b9aa54
|
|
7
|
+
data.tar.gz: 846130fe78d8db87cae6ba253b639176eea10f75d918dc21ccbcd1454a85ebb7c0208e4c11ddc676d5a4016ff72fe39cf558b33afd9f91e1ff60d26b325b8986
|
data/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,17 @@ All notable changes to this project will be documented in this file.
|
|
|
4
4
|
|
|
5
5
|
## [Unreleased]
|
|
6
6
|
|
|
7
|
+
## [1.0.2] - 2026-03-27
|
|
8
|
+
|
|
9
|
+
### Added
|
|
10
|
+
|
|
11
|
+
- `bin/release-watch` — monitors release workflow and confirms gem is live on RubyGems
|
|
12
|
+
|
|
13
|
+
### Changed
|
|
14
|
+
|
|
15
|
+
- Updated CLAUDE.md step 8 to use `bin/release-watch`
|
|
16
|
+
- Updated README.md with CI and release tooling documentation
|
|
17
|
+
|
|
7
18
|
## [1.0.1] - 2026-03-27
|
|
8
19
|
|
|
9
20
|
### Fixed
|
data/CLAUDE.md
CHANGED
|
@@ -141,10 +141,20 @@ gh pr merge <pr-number> --merge
|
|
|
141
141
|
If version was bumped, a release workflow runs automatically on merge to main:
|
|
142
142
|
1. Runs the test suite
|
|
143
143
|
2. Builds the gem
|
|
144
|
-
3. Publishes to RubyGems
|
|
144
|
+
3. Publishes to RubyGems (via Trusted Publishing / OIDC)
|
|
145
145
|
4. Creates a GitHub release with the gem attached
|
|
146
146
|
|
|
147
|
-
|
|
147
|
+
```bash
|
|
148
|
+
bin/release-watch # Check once
|
|
149
|
+
bin/release-watch --poll # Poll every 15s until done
|
|
150
|
+
bin/release-watch --poll 30 # Poll every 30s
|
|
151
|
+
```
|
|
152
|
+
|
|
153
|
+
Exit codes: `0` = gem published, `1` = workflow failed, `2` = still in progress.
|
|
154
|
+
|
|
155
|
+
- **Exit 0**: gem is live on RubyGems — proceed to cleanup
|
|
156
|
+
- **Exit 1**: investigate failure, propose fix — do NOT delete branch
|
|
157
|
+
- **Exit 2**: check again later
|
|
148
158
|
|
|
149
159
|
### 9. Cleanup (only after release is healthy)
|
|
150
160
|
|
data/README.md
CHANGED
|
@@ -135,10 +135,21 @@ Claude writes and runs Ruby code against the gem to answer your question. It's a
|
|
|
135
135
|
|
|
136
136
|
```sh
|
|
137
137
|
bin/setup # Install dependencies
|
|
138
|
-
bundle exec rspec # Run tests
|
|
138
|
+
bundle exec rspec # Run tests
|
|
139
139
|
bin/console # Interactive prompt
|
|
140
140
|
```
|
|
141
141
|
|
|
142
|
+
### CI & Release
|
|
143
|
+
|
|
144
|
+
CI runs automatically on pull requests (RuboCop + RSpec on Ruby 3.2/3.3). Merging to main with a version bump triggers the release workflow, which publishes to RubyGems via Trusted Publishing and creates a GitHub release.
|
|
145
|
+
|
|
146
|
+
```sh
|
|
147
|
+
bin/ci-watch <pr-number> # Check CI status for a PR
|
|
148
|
+
bin/ci-watch <pr-number> --poll # Poll until CI completes
|
|
149
|
+
bin/release-watch # Check release workflow status
|
|
150
|
+
bin/release-watch --poll # Poll until gem is published
|
|
151
|
+
```
|
|
152
|
+
|
|
142
153
|
## Contributing
|
|
143
154
|
|
|
144
155
|
Bug reports and pull requests are welcome at [github.com/jayrav13/njtransit](https://github.com/jayrav13/njtransit).
|
data/lib/njtransit/version.rb
CHANGED