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
Allow pre-compiled binaries for ruby 3.1.0 #9566
Changes from 2 commits
91e7fe1
828b9f8
131c10a
b75b627
cba0a9e
3157dab
f7e2109
b7b20fa
bf81741
345738b
be260b4
4fc8e10
01b0ea2
d78b5d5
c9a22f1
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 |
---|---|---|
|
@@ -17,12 +17,12 @@ Gem::Specification.new do |s| | |
else | ||
s.files += Dir.glob('ext/**/*') | ||
s.extensions= ["ext/google/protobuf_c/extconf.rb"] | ||
s.add_development_dependency "rake-compiler-dock", "= 1.1.0" | ||
s.add_development_dependency "rake-compiler-dock", "= 1.2.0" | ||
end | ||
s.test_files = ["tests/basic.rb", | ||
"tests/stress.rb", | ||
"tests/generated_code_test.rb"] | ||
s.required_ruby_version = '>= 2.3' | ||
s.add_development_dependency "rake-compiler", "~> 1.1.0" | ||
s.add_development_dependency "rake-compiler", "~> 1.2.0" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. rake-compiler does not have a 1.2.0 release yet: https://rubygems.org/gems/rake-compiler. Did you mean to move up to the latest release, 1.1.9? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think I may have just mistakenly changed this. Fixed it back to what it was, as it also should support the latest (not that it's needed I think) |
||
s.add_development_dependency "test-unit", '~> 3.0', '>= 3.0.9' | ||
end |
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.
I notice that the other versions are minor versions with a .0 as the patch, e.g. 3.0.0, 2.7.0... Your Ruby 3.1 version string is written as 3.1.1 instead of 3.1.0.
Is that intentional?
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.
I went for the latest version of ruby. I'm not sure if it would make any difference, I could use 3.1.0 if it also would support 3.1.1 (not sure about this)
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.
I think it's worth a shot, if only for consistency.