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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 824c0e3fd0a5921a775881350ea4436211d185697f3e3c373f6a8376fdc58a4a
4
- data.tar.gz: affa507b623dc9cff86521ec28dcbb63ae758f4d186172fa8aed32c284d29ec0
3
+ metadata.gz: 2abeacafb30ae8fdec421187724fea1c7bfa00df19344984f1138a799d2fc974
4
+ data.tar.gz: cbd9fda233463cb4897e428c05428069b9f77a2aa68d92ca0aea2c6a29846d15
5
5
  SHA512:
6
- metadata.gz: 99bd713024ca48637cd4c09de6bdf7e231685887ebab1a5758d4b4f755ffdce2b929abf5ef0933fbdf80ec737072096a3226e3c1a72b4d006d07bd2b95a15928
7
- data.tar.gz: db3ea5db5832b6d54fcb832728f7b06711c9860aa05cd266a6f1f059e6b604588da4f1f9e68264dd5a560e678217e10fd677ba0a25ee7020dcdbc25454ae4469
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
- Monitor with: `gh run watch` (select the Release workflow). Confirm gem was published to rubygems.org.
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 (153 specs)
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).
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module NJTransit
4
- VERSION = "1.0.1"
4
+ VERSION = "1.0.2"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: njtransit
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jay Ravaliya