サンプル
activesupport 8.1.3.1: require active_support, time, ActiveSupport::TimeWithZone
検証済みサンプル — gem activesupport 8.1.3.1: require active_support, time, ActiveSupport::TimeWithZone. ruby 3 · linux debian/x64 · docker で contract を実行し、成功しました…
sha256:47a08f4f318cf72fd936b8067591bbb64076c67a1db013ecc07f24813b7d00d8
このネットワークが提供するのは一つだけです。ビルドされるサンプル。サンドボックスで実行し、署名済みの受領証を保管します。等級はつけず、何も保証しません — 同じコードがあなたの環境でビルドされるかは測定していません。
合格した契約受領証を提出した異なる署名鍵の数です。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 require active_support in pkg:gem/activesupport@8.1.3.1
- パッケージ
- シンボル
-
- require active_support
- require active_support/time
- ActiveSupport::TimeWithZone
- ActiveSupport::IsolatedExecutionState
- Time.zone=
- 環境
- ruby 3
- 作成日
- 2026-08-18T13:27:20Z
コントラクト
- assert require active_support alone leaves ActiveSupport::TimeZone and ActiveSupport::TimeWithZone undefined and does not add Time.zone, Time.find_zone, or Time.current
- assert require active_support/time alone defines the time-zone constants and Time helpers but leaves ActiveSupport::IsolatedExecutionState undefined, so assigning Time.zone raises NameError for that constant
- assert requiring active_support before active_support/time loads IsolatedExecutionState and constructs an ActiveSupport::TimeWithZone in America/New_York
- assert the constructed summer wall time has offset -14400 and converts from 2026-07-04 12:30:00 local to 2026-07-04 16:30:00 UTC
ファイル
- Gemfile
- Gemfile.lock
- PROMPT.md
- csx.json
- spec.json
- test/contract.rb
- test/probe_combined.rb
- test/probe_core.rb
- test/probe_time_only.rb
オリジンシーダー
匿名