-
Notifications
You must be signed in to change notification settings - Fork 28
Upgrade async gem fix specs 5.0 #236
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
klobuczek
merged 13 commits into
neo4jrb:5.0
from
Profinda:upgrade-async-gem-fix-specs-5.0
Oct 23, 2025
Merged
Changes from 10 commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
550d170
Dockerize instalation
petergebala 32b15db
Support Ruby 3.4
petergebala 91243f6
Add pry dev dependency for debugging
petergebala cec7d63
Reuse ENV variables
petergebala ac83046
Improve debugging messages
petergebala f012f1f
Remove Async restrictions and update codebase
petergebala ed86aaa
Fix some specs for dockerize env
petergebala d85c39b
Remove not needed line
petergebala ded81a9
Update README, ENV usage, make specs green again
petergebala e1fbf3a
Add support for jruby driver docker container
petergebala a09e19f
Update Rakefile and docker compose
petergebala 0d1eb33
Merge remote-tracking branch 'upstream/5.0' into upgrade-async-gem-fi…
petergebala d4549c9
Fix async version
petergebala File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| ARG JAVA_VERSION | ||
|
|
||
| FROM jruby:9.4-jdk${JAVA_VERSION} | ||
|
|
||
| ENV JAVA_VERSION=$JAVA_VERSION | ||
|
|
||
| # Installing packages | ||
| RUN apt-get update && apt-get upgrade -y && apt-get install -y git python3-pip | ||
|
|
||
| # Installing boltkit | ||
| RUN pip3 install --user git+https://github.com/klobuczek/[email protected]#egg=boltkit | ||
| RUN echo "export PATH=/root/.local/bin:$PATH" >> ~/.bashrc | ||
|
|
||
| WORKDIR /app | ||
| COPY . . | ||
| RUN ./bin/setup | ||
|
|
||
| CMD ["bundle exec rspec spec"] |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,24 @@ | ||
| ARG JAVA_VERSION | ||
|
|
||
| FROM ruby:3.4 | ||
|
|
||
| ENV JAVA_VERSION=$JAVA_VERSION | ||
|
|
||
| # Adding Java package | ||
| RUN apt install -y wget apt-transport-https gpg | ||
| RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | gpg --dearmor | tee /etc/apt/trusted.gpg.d/adoptium.gpg > /dev/null | ||
| RUN echo "deb https://packages.adoptium.net/artifactory/deb $(awk -F= '/^VERSION_CODENAME/{print$2}' /etc/os-release) main" | tee /etc/apt/sources.list.d/adoptium.list | ||
|
|
||
| # Installing packages | ||
| RUN echo "Installing Java $JAVA_VERSION" | ||
| RUN apt-get update && apt-get upgrade -y && apt-get install -y python3-pip temurin-$JAVA_VERSION-jdk | ||
|
|
||
| # Installing boltkit | ||
| RUN pip3 install --user git+https://github.com/klobuczek/[email protected]#egg=boltkit --break-system-packages | ||
| RUN echo "export PATH=/root/.local/bin:$PATH" >> ~/.bashrc | ||
|
|
||
| WORKDIR /app | ||
| COPY . . | ||
| RUN ./bin/setup | ||
|
|
||
| CMD ["bundle exec rspec spec"] |
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,43 @@ | ||
| version: '3' | ||
| x-environment: &environment | ||
| TEST_NEO4J_HOST: neo4j | ||
| TEST_NEO4J_PORT: 7687 | ||
| TEST_NEO4J_USER: neo4j | ||
| TEST_NEO4J_PASS: pass | ||
| TEST_NEO4J_SCHEME: bolt | ||
| TEST_NEO4J_DATABASE: neo4j | ||
| NEO4J_VERSION: 5.26.0 | ||
|
|
||
| services: | ||
| ruby-driver: | ||
| build: | ||
| context: . | ||
| dockerfile: Dockerfile-ruby | ||
| args: | ||
| JAVA_VERSION: 21 | ||
| volumes: | ||
| - .:/app | ||
| links: | ||
| - neo4j | ||
| environment: | ||
| <<: *environment | ||
| jruby-driver: | ||
| build: | ||
| context: . | ||
| dockerfile: Dockerfile-jruby | ||
| args: | ||
| JAVA_VERSION: 21 | ||
| volumes: | ||
| - .:/app | ||
| links: | ||
| - neo4j | ||
| environment: | ||
| <<: *environment | ||
| neo4j: | ||
| image: neo4j:4.4.5-enterprise | ||
| ports: | ||
| - 7474:7474 | ||
| - 7687:7687 | ||
| environment: | ||
| - NEO4J_AUTH=neo4j/pass | ||
| - NEO4J_ACCEPT_LICENSE_AGREEMENT=yes |
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
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
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
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
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
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
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
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
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
Oops, something went wrong.
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.
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.
do your changes work with async < 2.13?
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.
Probably not. I will adjust PR.