Skip to content

feat: support Gemfile and .gemspec that do not live at the root of the workspace #249

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

Merged
merged 21 commits into from
Aug 3, 2025

Conversation

cgrindel
Copy link
Member

  • Shape the output for the bundle repo to match the referenced source files.
  • Add failure message if the binary for an rb_{binary|test} cannot be found.

@cgrindel cgrindel self-assigned this Jul 31, 2025
@cgrindel cgrindel marked this pull request as ready for review July 31, 2025 21:36
@cgrindel cgrindel requested a review from p0deje July 31, 2025 21:36
cgrindel and others added 11 commits August 2, 2025 11:55
- Add hello_world gem example using JRuby 10.0.0.0
- Remove standard gem dependency to avoid prism compilation issues
- Use require_relative for local file dependencies
- Update gem checksums to match simplified dependency tree

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
- Extract Speaker-specific tests from hello_world_spec.rb to speaker_spec.rb
- Add corresponding rb_test target in BUILD.bazel for the new spec file
- Keep version-related tests in the main HelloWorld spec file

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
- Add structured context blocks for better test organization
- Use describe "#name" to clearly identify method being tested
- Separate contexts for different scenarios (no name vs provided name)
- Improve test readability following RSpec best practices

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
- Add project-level README.md explaining deep gem structure and purpose
- Document how to reference files using standard Bazel package notation
- Remove default gem README.md template from hello_world subdirectory
- Include examples of MODULE.bazel configuration with deep gem references
- Provide testing instructions and project structure overview
- Format all lines to stay within 100 character limit

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
- Remove ruby-build version specification and related comments
- Keep only essential version_file configuration for Ruby toolchain
- Streamline configuration to focus on core functionality

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
Code cleanup:
- Remove commented require statements from hello_world.rb for cleaner code

Enhanced test coverage:
- Add comprehensive tests for Speaker#message method (default and custom name)
- Add comprehensive tests for Speaker#hi method with stdout output verification
- Improve test description consistency ("returns" vs "uses")
- Achieve 100% test coverage for Speaker class (6 test examples)

All tests pass successfully with complete method coverage.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
@p0deje
Copy link
Member

p0deje commented Aug 2, 2025

@cgrindel Just for the record, you don't have to support all Ruby versions for this example.

@cgrindel
Copy link
Member Author

cgrindel commented Aug 3, 2025

@p0deje I reduced the list of Ruby versions to just jruby. I can work on getteing the other versions working, just let me know which ones you would like to see.

Copy link
Member

@p0deje p0deje left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks for working on this!
Do you mind if I squash all commits before merge?

@cgrindel
Copy link
Member Author

cgrindel commented Aug 3, 2025

LGTM, thanks for working on this!

Do you mind if I squash all commits before merge?

Please. No one needs to see how the sausage is made. Thanks!

@p0deje p0deje merged commit 017b0d4 into main Aug 3, 2025
49 checks passed
@p0deje p0deje deleted the chuck_debug branch August 3, 2025 19:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants