Method: #export_ruby_abi_version
- Defined in:
- ext/pg_query/extconf.rb
#export_ruby_abi_version ⇒ Object
“ruby_abi_version” is a required symbol to be exported on Ruby 3.2+ development releases See github.com/ruby/ruby/pull/5474 and github.com/ruby/ruby/pull/6231
26 27 28 29 30 31 32 33 |
# File 'ext/pg_query/extconf.rb', line 26 def export_ruby_abi_version return false if RUBY_PATCHLEVEL >= 0 # Not a development release m = /(\d+)\.(\d+)/.match(RUBY_VERSION) return false if m.nil? major = m[1].to_i minor = m[2].to_i major >= 3 && minor >= 2 end |