bindings/ruby: Bump minimum requirement to Ruby 2.5.0.
This version is known to work with the current code-base and recent SWIG versions, whereas e.g. Ruby 2.3.x is known to not work (anymore). This "fixes" the remaining parts of bug #1526.
This commit is contained in:
parent
5f8cf332a6
commit
339d12df97
2
README
2
README
|
@ -78,7 +78,7 @@ Requirements for the Python bindings:
|
||||||
Requirements for the Ruby bindings:
|
Requirements for the Ruby bindings:
|
||||||
|
|
||||||
- libsigrokcxx >= 0.4.0 (the libsigrok C++ bindings, see above)
|
- libsigrokcxx >= 0.4.0 (the libsigrok C++ bindings, see above)
|
||||||
- Ruby >= 1.9.3 (including development files!)
|
- Ruby >= 2.5.0 (including development files!)
|
||||||
- SWIG >= 3.0.8
|
- SWIG >= 3.0.8
|
||||||
- YARD (optional, only needed for the Ruby API docs)
|
- YARD (optional, only needed for the Ruby API docs)
|
||||||
|
|
||||||
|
|
|
@ -488,8 +488,8 @@ sr_rbminor=${sr_rbminor%%.*}
|
||||||
|
|
||||||
# The Ruby bindings need Ruby development files.
|
# The Ruby bindings need Ruby development files.
|
||||||
SR_PKG_CHECK([ruby_dev], [SR_PKGLIBS_RUBY],
|
SR_PKG_CHECK([ruby_dev], [SR_PKGLIBS_RUBY],
|
||||||
[ruby],
|
[ruby >= 2.5.0],
|
||||||
[ruby-$sr_rbmajor.$sr_rbminor])
|
[ruby-$sr_rbmajor.$sr_rbminor >= 2.5.0])
|
||||||
|
|
||||||
AS_IF([test "x$sr_have_ruby_dev" != xyes],
|
AS_IF([test "x$sr_have_ruby_dev" != xyes],
|
||||||
[SR_APPEND([sr_ruby_missing], [', '], [Headers])])
|
[SR_APPEND([sr_ruby_missing], [', '], [Headers])])
|
||||||
|
|
Loading…
Reference in New Issue