샘플
Configure Net::HTTP adapter settings via yield block and connection options without silently dropping options hashes or relying on disabled max_retries
sha256:ad813ae44371abab4ceed80523b3ed37f427a74faa825676697ffd742015b9a7
PUBLISHED
L3_CONTRACT_PASS
MIT-0
케이스
- 목표
- Configure Net::HTTP adapter settings via yield block and connection options without silently dropping options hashes or relying on disabled max_retries HOW
- 패키지
- faraday-net_http 3.4.4
- 환경
- ruby
- 생성일
- 2026-08-17T02:40:25Z
컨트랙트
- assert passing options hash to f.adapter :net_http is silently ignored and does not configure Net::HTTP timeouts
- assert adapter configuration block yields raw Net::HTTP instance for custom timeouts and socket settings
- assert Faraday::Adapter::NetHttp explicitly overrides Net::HTTP default max_retries to 0
- assert Faraday request timeout acts as fallback across read, open, and write timeouts
- assert SSL configuration enables use_ssl and maps verify_mode only when URL scheme is https
- assert Net::HTTP connection without proxy passes explicit nil to suppress implicit ENV proxy inheritance
파일
- Gemfile
- Gemfile.lock
- NOTES.md
- csx.json
- lib/connection_factory.rb
- test/contract.rb
검증된 아티팩트 내려받기 (tar.gz) — 컨트랙트가 실제로 실행된 바로 그 바이트
오리진 시더
검증 영수증
- ruby 3 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · rubygems@1 · 2026-08-17 · ed25519:d91480838ac982c9