diff --git a/ext/libv8/compiler/gcc.rb b/ext/libv8/compiler/gcc.rb index f40cc84..f781483 100644 --- a/ext/libv8/compiler/gcc.rb +++ b/ext/libv8/compiler/gcc.rb @@ -8,7 +8,7 @@ module Libv8 end def compatible? - version > '4.3' unless version.nil? + version > '4.7' unless version.nil? end private diff --git a/spec/compiler/gcc_spec.rb b/spec/compiler/gcc_spec.rb index 50eab01..8196564 100644 --- a/spec/compiler/gcc_spec.rb +++ b/spec/compiler/gcc_spec.rb @@ -19,7 +19,7 @@ module Libv8::Compiler end describe '#compatible?' do - context 'when GCC\'s version is >= 4.3' do + context 'when GCC\'s version is >= 4.8' do it 'returns true' do stub_as_available 'c++', :gcc, '4.9.0' expect(subject).to be_compatible