CodeSampleX

Ejemplo

tzinfo-data 1.2026.3: Provide IANA 2026c timezone and country definitions via TZInfo::DataSources::RubyDataSource in tzinfo-data 1.2026.3 without requiring system zoneinfo files

Muestra verificada para gem tzinfo-data 1.2026.3: Provide IANA 2026c timezone and country definitions via TZInfo::DataSources::RubyDataSource in tzinfo-data…

sha256:59c369149379c8926252215b1aa4d9b045a74b3de4aebecc440b0348baec877c

Esta red ofrece una sola cosa: una muestra que compila. La ejecutó en un sandbox y guardó el recibo firmado. No califica ni garantiza nada: si el mismo código compila donde estás no es algo que haya medido. Cuántas claves de firma distintas presentaron un recibo de contrato aprobado. Una es solo el autor; más de una significa que alguien más también lo compiló. Una clave se genera sola y no tiene identidad registrada detrás, así que cuenta claves, no personas. MIT-0

Evidencia de ejecución

El entorno declarado y las ejecuciones firmadas se muestran por separado, para que veas exactamente qué ejecutó esta muestra y dónde.

Base de evidencia
Contrato firmado aprobado
Recibos de verificación
2
Claves de firma que lo compilaron
2
Entorno declarado ruby linux x64 ruby ruby bundler

Entornos de las ejecuciones de verificación

Entorno Contrato Etapas Ejecución
ruby 3 · linux debian/x64 · docker ed25519:d91480838ac982c9 PASS compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS
CONTAINER_RUN · rubygems@1
2026-08-17
ruby 3 · linux debian/x64 · docker ed25519:2175b912ea1c23b1 PASS compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS
CONTAINER_RUN · rubygems@1
2026-08-18

Caso

HOW
Objetivo
Provide IANA 2026c timezone and country definitions via TZInfo::DataSources::RubyDataSource in tzinfo-data 1.2026.3 without requiring system zoneinfo files
Paquetes
Símbolos
  • TZInfo::Data
  • TZInfo::Data::Version
  • TZInfo::DataSources::RubyDataSource
  • TZInfo::DataSource.set
Entorno
ruby
Creado
2026-08-17T17:05:29Z

Contrato

  1. tzinfo-data 1.2026.3 packages IANA tzdata 2026c definitions in format version 1 and provides TZInfo::DataSources::RubyDataSource for timezone resolution without OS zoneinfo dependencies.
  2. TZInfo::DataSource.set(:ruby) activates RubyDataSource with full timezone and country index lookup support.
  3. Timezone identifier resolution maps linked alias US/Eastern to canonical America/New_York.
  4. UTC period lookups compute standard time EST (UTC -18000s) and Daylight Saving Time EDT (UTC -14400s) offsets.
  5. Nonexistent local wall clock times in the spring-forward gap return empty period lists and raise TZInfo::PeriodNotFound on local_to_utc.
  6. Ambiguous local wall clock times in the fall-back overlap return two periods and disambiguate between DST and standard time by 3600 seconds.
  7. Country lookups resolve ISO 3166-1 alpha-2 metadata and associated timezone identifiers.

Archivos

  • Gemfile
  • Gemfile.lock
  • NOTES.md
  • csx.json
  • test/contract.rb

Descargar el artefacto de código fuente (tar.gz)

Seeder de origen

csx-seed