• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

langsharpe / google-maps-services-ruby / #272
97%
master: 98%

Build:
Build:
LAST BUILD BRANCH: HEAD
DEFAULT BRANCH: master
Ran 26 Jul 2025 12:08PM UTC
Jobs 1
Files 15
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

26 Jul 2025 12:07PM UTC coverage: 97.107% (-1.2%) from 98.319%
#272

Pull #4

langsharpe
Use X-goog-api-key header instead of URL parameter for API authentication

This change implements Google's recommended REST API authentication practice
by using the X-goog-api-key header instead of passing the API key as a URL
parameter. This improves security and follows modern API standards.

Changes:
- Added add_auth_header method to set X-goog-api-key header
- Updated get and post methods to use header authentication
- Modified generate_auth_url to exclude API key from URL parameters
- Updated all test specs to expect header-based authentication
- Client ID authentication continues to work unchanged

Fixes #3

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
Pull Request #4: Use X-goog-api-key header instead of URL parameter

9 of 10 new or added lines in 1 file covered. (90.0%)

5 existing lines in 2 files now uncovered.

470 of 484 relevant lines covered (97.11%)

48.75 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
97.48
-1.62% lib/google_maps_service/client.rb

Uncovered Existing Lines

Lines Coverage ∆ File
1
97.48
-1.62% lib/google_maps_service/client.rb
4
80.39
-7.84% lib/google_maps_service/apis/routes.rb
Jobs
ID Job ID Ran Files Coverage
1 #272.1 26 Jul 2025 12:08PM UTC 15
97.11
Source Files on build #272
  • Tree
  • List 15
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #4
  • PR Base - master (#)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc