Skip to content

Topic/next#3

Merged
sethdeckard merged 17 commits intomasterfrom
topic/next
Mar 7, 2026
Merged

Topic/next#3
sethdeckard merged 17 commits intomasterfrom
topic/next

Conversation

@sethdeckard
Copy link
Copy Markdown
Owner

No description provided.

AGENTS.md with development workflow and commit conventions,
CLAUDE.md symlink.
Ruby 3.1/3.2/3.3/3.4 matrix running rspec and rubocop.
Drop runtime deps (httpclient, nokogiri), add rubocop and
guard-rspec dev deps, require Ruby >= 3.1, add gem metadata,
fix Gemfile.lock gitignore entry.
Remove Coveralls integration and boilerplate comments,
add frozen_string_literal pragmas.
Replace httpclient with net/http, use api.weather.gov/alerts
JSON endpoint. Add required User-Agent header and area
filtering option.
Parse GeoJSON Feature properties instead of XML elements.
Map new API fields to existing attribute names.
Accept [lon, lat] arrays from GeoJSON geometry, convert to
[lat, lon] internally. Fix Google Maps URL to HTTPS.
Remove nokogiri/httpclient requires, add stdlib requires
(json, net/http, time, uri). Add frozen_string_literal to
Geocode.
Replace XML fixtures with GeoJSON fixtures, update webmock
stubs and assertions for api.weather.gov endpoint.
Add frozen_string_literal pragmas, fix string concatenation
indentation, freeze mutable constant, disable Documentation
cop.
Raise HttpError on non-2xx API responses instead of silently
returning empty results. Derive SSL from URI scheme. Handle
MultiPolygon geometry type. Drop url option (use area instead).
Use 44 real alerts from AR, MO, AK covering polygons, null
geometries, VTEC, geocodes, and varied severity/urgency/
certainty values.
Remove defunct badges, add GitHub Actions badge, update usage
examples for new API, document zero runtime dependencies.
Google Static Maps requires billing and is unrelated to
NWS alerts. Callers can use coordinates or to_wkt with
any mapping library.
stub_request(:get, 'https://api.weather.gov/alerts/active?area=OK')
.to_return(status: 200, body: json, headers: {})

client = Gull::Client.new(area: 'OK')
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Style/StringLiterals: Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.

@sethdeckard sethdeckard merged commit 75b2fc8 into master Mar 7, 2026
5 checks passed
@sethdeckard sethdeckard deleted the topic/next branch March 7, 2026 15:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants