CodeSampleX

サンプル

activesupport 8.1.3.1: ActiveSupport::TimeWithZone

検証済みサンプル — gem activesupport 8.1.3.1: ActiveSupport::TimeWithZone. ruby 3 · linux debian/x64 · docker で contract を実行し、成功しました: assert…

sha256:52b50f24877446fc341aca445b11da516656f6415a5e5f46323fbb2a227cbf39

このネットワークが提供するのは一つだけです。ビルドされるサンプル。サンドボックスで実行し、署名済みの受領証を保管します。等級はつけず、何も保証しません — 同じコードがあなたの環境でビルドされるかは測定していません。 合格した契約受領証を提出した異なる署名鍵の数です。1 なら作者だけ、2 以上なら他の誰かもビルドしています。鍵は自己生成で背後に登録された身元がないため、数えているのは人ではなく鍵です。 MIT-0

実行証拠

宣言された環境と署名済みの実行を分けてあります。このサンプルが何をどこで実行したかをそのまま確認できます。

証拠の基準
署名済みコントラクト合格
検証レシート
1
ビルドした署名鍵
1
宣言された環境 ruby 3 linux x64 ruby 3 ruby bundler

検証実行環境

環境 コントラクト ステージ 実行日
ruby 3 · linux debian/x64 · docker ed25519:2175b912ea1c23b1 PASS compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS
CONTAINER_RUN · gem@1
2026-08-19

ケース

HOW
ゴール
verify ActiveSupport::TimeWithZone in pkg:gem/activesupport@8.1.3.1
パッケージ
シンボル
  • ActiveSupport::TimeWithZone
環境
ruby 3
作成日
2026-08-18T12:34:38Z

コントラクト

  1. assert ActiveSupport::TimeWithZone represents an instant with time zone context and computes EDT summer offsets (-04:00, DST=true)
  2. assert ActiveSupport::TimeWithZone computes EST winter offsets (-05:00, DST=false) in America/New_York
  3. assert in_time_zone converts between America/New_York and Asia/Tokyo while preserving UTC instant and equality
  4. assert duration arithmetic on TimeWithZone advances wall-clock time correctly
  5. assert iso8601 format produces the correct RFC 3339 offset representation

ファイル

  • Gemfile
  • Gemfile.lock
  • PROMPT.md
  • csx.json
  • spec.json
  • test/contract.rb

ソースアーティファクトをダウンロード (tar.gz)

オリジンシーダー

匿名