Repository navigation
docs: 新增 CHANGELOG、重寫 README、CLAUDE.md 加入文件更新規則 - #9
Merged
Merged
Conversation
… in CLAUDE.md Docs only, no version bump.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
內容(僅文件,不跳版號)
CHANGELOG.md(Keep a Changelog 格式,Unreleased 在最上方)。版本與日期對照 rubygems.org 上xdelivery實際發佈的 0.1.0 ~ 2.1.0(2.0.2 沒有發佈,已註明),並依 git 紀錄重建內容。README.md(英文,與原本一致;原本只有 gem 範本與 TODO):簡介、需求、安裝、設定(timeout / env)、各 API 用法(訂單、銷貨、商品、店鋪、ping、callback 驗證)、history_id、錯誤處理、開發與測試、發版流程。CLAUDE.md新增規則:每個 PR 都必須同步更新README.md(行為/用法/需求有變時)與CHANGELOG.md。驗證
bundle exec rake t:63 runs, 0 failures。沒有改lib/。備註
xdelivery(README 原本寫xdelivery-ruby,已更正)。Callback#created_at需要先require "time"(程式只呼叫Time.parse),README 已註明;未改程式。