feat: change microbit receiver naming convention #526
Merged
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.
Summary
microbit_moreからmicrobitに変更(メイン)microbitからmicrobit_v1に変更(obsolete)microbit_moreレシーバーも引き続きサポートImplementation Details
レシーバーマッピング
microbit.xxxmicrobit_more.xxxmicrobit_v1.xxx変更ファイル
Ruby Generator(ブロック → Ruby):
microbit.js: すべてのmicrobit.をmicrobit_v1.に変更microbit_more.js: すべてのmicrobit_more.をmicrobit.に変更Ruby to Blocks Converter(Ruby → ブロック):
microbit.js: レシーバー定数を'microbit_v1'に変更microbit_more.js: レシーバー定数を'microbit'に変更 +microbit_moreの後方互換ハンドラを追加スニペット:
microbit-snippets.json:microbit.→microbit_v1.microbit-more-snippets.json:microbit_more.→microbit.Test Coverage
# テスト実行結果 Test Suites: 17 passed, 17 total Tests: 351 passed, 351 totalUsage Example
新しいレシーバー(microbit more拡張機能)
後方互換(microbit more拡張機能)
旧microbit拡張機能(obsolete)
Fixes smalruby/smalruby3-develop#23
🤖 Generated with Claude Code