Skip to content

Commit 780af86

Browse files
yahondaclaude
andcommitted
Use =~ operator for Ruby 2.4 compatibility in gemspec
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 32893e3 commit 780af86

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ruby-plsql.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Gem::Specification.new do |s|
2323
s.add_development_dependency "rspec", "~> 3.1"
2424
s.add_development_dependency "rspec_junit_formatter"
2525
s.add_development_dependency "simplecov"
26-
if /java/.match?(RUBY_PLATFORM)
26+
if RUBY_PLATFORM =~ /java/
2727
s.platform = Gem::Platform.new("java")
2828
else
2929
s.add_runtime_dependency "ruby-oci8", "~> 2.1"

0 commit comments

Comments
 (0)