-
Notifications
You must be signed in to change notification settings - Fork 0
Prepare release v1.0.0 #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -40,23 +40,23 @@ jobs: | |
| # Ruby 4.0 | ||
| - ruby: "ruby" | ||
| appraisal: "current" | ||
| exec_cmd: "rake test" | ||
| exec_cmd: "rake magic" | ||
|
||
| gemfile: "Appraisal.root" | ||
| rubygems: latest | ||
| bundler: latest | ||
|
|
||
| # truffleruby-33.0 (targets Ruby 3.3 compatibility) | ||
| - ruby: "truffleruby" | ||
| appraisal: "current" | ||
| exec_cmd: "rake test" | ||
| exec_cmd: "rake magic" | ||
|
||
| gemfile: "Appraisal.root" | ||
| rubygems: default | ||
| bundler: default | ||
|
|
||
| # jruby-10.0 (targets Ruby 3.4 compatibility) | ||
| - ruby: "jruby" | ||
| appraisal: "current" | ||
| exec_cmd: "rake test" | ||
| exec_cmd: "rake magic" | ||
|
||
| gemfile: "Appraisal.root" | ||
| rubygems: default | ||
| bundler: default | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -42,23 +42,23 @@ jobs: | |
| # Ruby 3.4 | ||
| - ruby: "ruby" | ||
| appraisal: "dep-heads" | ||
| exec_cmd: "rake test" | ||
| exec_cmd: "rake magic" | ||
|
||
| gemfile: "Appraisal.root" | ||
| rubygems: latest | ||
| bundler: latest | ||
|
|
||
| # truffleruby-24.1 (targets Ruby 3.3 compatibility) | ||
| - ruby: "truffleruby" | ||
| appraisal: "dep-heads" | ||
| exec_cmd: "rake test" | ||
| exec_cmd: "rake magic" | ||
pboling marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| gemfile: "Appraisal.root" | ||
| rubygems: default | ||
| bundler: default | ||
|
|
||
| # jruby-10.0 (targets Ruby 3.4 compatibility) | ||
| - ruby: "jruby" | ||
| appraisal: "dep-heads" | ||
| exec_cmd: "rake test" | ||
| exec_cmd: "rake magic" | ||
|
||
| gemfile: "Appraisal.root" | ||
| rubygems: default | ||
| bundler: default | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -41,23 +41,23 @@ jobs: | |
| # ruby-head | ||
| - ruby: "ruby-head" | ||
| appraisal: "head" | ||
| exec_cmd: "rake test" | ||
| exec_cmd: "rake magic" | ||
|
||
| gemfile: "Appraisal.root" | ||
| rubygems: default | ||
| bundler: default | ||
|
|
||
| # truffleruby-head | ||
| - ruby: "truffleruby-head" | ||
| appraisal: "head" | ||
| exec_cmd: "rake test" | ||
| exec_cmd: "rake magic" | ||
|
||
| gemfile: "Appraisal.root" | ||
| rubygems: default | ||
| bundler: default | ||
|
|
||
| # jruby-head | ||
| - ruby: "jruby-head" | ||
| appraisal: "head" | ||
| exec_cmd: "rake test" | ||
| exec_cmd: "rake magic" | ||
|
||
| gemfile: "Appraisal.root" | ||
| rubygems: default | ||
| bundler: default | ||
|
|
||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -40,7 +40,7 @@ jobs: | |||||
| # Ruby 3.2 | ||||||
| - ruby: "ruby-3.2" | ||||||
| appraisal: "ruby-3-2" | ||||||
| exec_cmd: "rake test" | ||||||
| exec_cmd: "rake magic" | ||||||
|
||||||
| exec_cmd: "rake magic" | |
| exec_cmd: "rake spec" |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -39,15 +39,15 @@ jobs: | |
| # Ruby 3.4 | ||
| - ruby: "ruby-3.4" | ||
| appraisal: "ruby-3-4" | ||
| exec_cmd: "rake test" | ||
| exec_cmd: "rake magic" | ||
|
||
| gemfile: "Appraisal.root" | ||
| rubygems: latest | ||
| bundler: latest | ||
|
|
||
| # Ruby 3.3 | ||
| - ruby: "ruby-3.3" | ||
| appraisal: "ruby-3-3" | ||
| exec_cmd: "rake test" | ||
| exec_cmd: "rake magic" | ||
|
||
| gemfile: "Appraisal.root" | ||
| rubygems: latest | ||
| bundler: latest | ||
|
|
||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -40,7 +40,7 @@ jobs: | |||||
| # truffleruby-25.0 (targets Ruby 3.2 compatibility) | ||||||
| - ruby: "truffleruby-25.0" | ||||||
| appraisal: "ruby-3-2" | ||||||
| exec_cmd: "rake test" | ||||||
| exec_cmd: "rake magic" | ||||||
|
||||||
| exec_cmd: "rake magic" | |
| exec_cmd: "rake spec" |
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -30,6 +30,19 @@ Please file a bug if you notice a violation of semantic versioning. | |||||||||
|
|
||||||||||
| ### Security | ||||||||||
|
|
||||||||||
| ## [0.1.0] - 2026-02-21 | ||||||||||
| ## [1.0.0] - 2026-02-21 | ||||||||||
|
|
||||||||||
| - TAG: [v1.0.0][1.0.0t] | ||||||||||
| - COVERAGE: 97.67% -- 252/258 lines in 10 files | ||||||||||
| - BRANCH COVERAGE: 89.39% -- 59/66 branches in 10 files | ||||||||||
| - 96.72% documented | ||||||||||
|
|
||||||||||
| ### Added | ||||||||||
|
|
||||||||||
| - Initial release | ||||||||||
|
|
||||||||||
| ### Security | ||||||||||
|
|
||||||||||
| [Unreleased]: https://github.com/kettle-rb/token-resolver/compare/v1.0.0...HEAD | ||||||||||
| [1.0.0]: https://github.com/kettle-rb/ast-merge/compare/e0e299cad6e6914d512845c71df6b7ac8009e5ac...v1.0.0 | ||||||||||
| [1.0.0t]: https://github.com/kettle-rb/ast-merge/tags/v1.0.0 | ||||||||||
|
Comment on lines
+47
to
+48
|
||||||||||
| [1.0.0]: https://github.com/kettle-rb/ast-merge/compare/e0e299cad6e6914d512845c71df6b7ac8009e5ac...v1.0.0 | |
| [1.0.0t]: https://github.com/kettle-rb/ast-merge/tags/v1.0.0 | |
| [1.0.0]: https://github.com/kettle-rb/token-resolver/compare/e0e299cad6e6914d512845c71df6b7ac8009e5ac...v1.0.0 | |
| [1.0.0t]: https://github.com/kettle-rb/token-resolver/tags/v1.0.0 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -56,6 +56,44 @@ end | |
| # External gems that define tasks - add here! | ||
| require "kettle/dev" | ||
|
|
||
| ### SPEC TASKS | ||
| # For coverage aggregation with SimpleCov merging: | ||
| # - Each task uses a unique K_SOUP_COV_COMMAND_NAME so SimpleCov tracks them separately | ||
| # - K_SOUP_COV_USE_MERGING=true must be set in .envrc for results to merge | ||
| # - K_SOUP_COV_MERGE_TIMEOUT should be set long enough for all tasks to complete | ||
| begin | ||
| require "rspec/core/rake_task" | ||
|
|
||
| # kettle-dev creates an RSpec::Core::RakeTask.new(:spec) which has both | ||
| # prerequisites and actions. We will leave that, and the default test task, alone, | ||
| # and use *magic* here. | ||
| Rake::Task[:magic].clear if Rake::Task.task_defined?(:magic) | ||
| desc("Run specs") | ||
| RSpec::Core::RakeTask.new(:magic) do |t| | ||
| t.pattern = "./spec/**/*_spec.rb" | ||
| end | ||
|
|
||
| desc("Set SimpleCov command name for remaining specs") | ||
| task(:set_coverage_command_name) do | ||
| ENV["K_SOUP_COV_COMMAND_NAME"] = "Test Coverage" | ||
| end | ||
| Rake::Task[:magic].enhance([:set_coverage_command_name]) | ||
|
|
||
| Rake::Task[:coverage].clear if Rake::Task.task_defined?(:coverage) | ||
| desc("Slap magic onto the main coverage task") | ||
| task(coverage: [:magic]) | ||
| rescue LoadError | ||
| desc("(stub) spec is unavailable") | ||
| task(:spec) do # rubocop:disable Rake/DuplicateTask | ||
| warn("NOTE: rspec isn't installed, or is disabled for #{RUBY_VERSION} in the current environment") | ||
| end | ||
|
|
||
| desc("(stub) test is unavailable") | ||
| task(:test) do # rubocop:disable Rake/DuplicateTask | ||
| warn("NOTE: rspec isn't installed, or is disabled for #{RUBY_VERSION} in the current environment") | ||
| end | ||
| end | ||
|
Comment on lines
+85
to
+95
|
||
|
|
||
| ### RELEASE TASKS | ||
| # Setup stone_checksums | ||
| begin | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This workflow now runs
rake magic, which is a custom task defined in Rakefile only whenrspec/core/rake_taskloads successfully. If rspec is missing/disabled for this job, CI will fail with an undefined task. Either ensure:magicis always defined (even as a stub) or keep the workflow calling an always-available task (e.g.,rake test/rake spec).