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

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

Build:
Build:
LAST BUILD BRANCH: HEAD
DEFAULT BRANCH: master
Repo Added 21 Aug 2022 05:27AM UTC
Files 15
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

LAST BUILD ON BRANCH fix-issue-3
branch: fix-issue-3
CHANGE BRANCH
x
Reset
  • fix-issue-3
  • 100-percent
  • HEAD
  • cleanup
  • contributing
  • december
  • dependencies_update
  • directions
  • github-actions
  • googlemaps
  • master
  • places_api
  • rename
  • routes_api
  • ruby
  • ruby32
  • ruby_versions
  • v0.5.0
  • v0.5.0.b1
  • v0.5.0.b2
  • vicentealencar_master

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

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

Relevant lines Covered
Build:
Build:
484 RELEVANT LINES 470 COVERED LINES
48.75 HITS PER LINE
Source Files on fix-issue-3
  • Tree
  • List 15
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
#274 fix-issue-3 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 impr... Pull #4 26 Jul 2025 12:08PM UTC langsharpe
97.11
#272 fix-issue-3 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 impr... Pull #4 26 Jul 2025 12:08PM UTC langsharpe
97.11
#271 fix-issue-3 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 impr... Pull #4 26 Jul 2025 12:08PM UTC langsharpe
97.11
#265 fix-issue-3 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 impr... Pull #4 26 Jul 2025 12:08PM UTC langsharpe
97.11
#266 fix-issue-3 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 impr... Pull #4 26 Jul 2025 12:08PM UTC langsharpe
97.11
#264 fix-issue-3 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 impr... Pull #4 26 Jul 2025 12:08PM UTC langsharpe
97.11
See All Builds (288)
  • Repo on GitHub
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

© 2025 Coveralls, Inc