1
0
Fork 0
mirror of https://github.com/rubyjs/libv8 synced 2023-03-27 23:21:48 -04:00

Raise the minimum supported version of GCC to 4.8

See https://code.google.com/p/v8-wiki/wiki/BuildingWithGYP#GCC_+_make
for more info
This commit is contained in:
Petko Bordjukov 2015-07-05 19:21:05 +03:00
parent 2a545e9ba0
commit 4192cb6704
2 changed files with 2 additions and 2 deletions

View file

@ -8,7 +8,7 @@ module Libv8
end end
def compatible? def compatible?
version > '4.3' unless version.nil? version > '4.7' unless version.nil?
end end
private private

View file

@ -19,7 +19,7 @@ module Libv8::Compiler
end end
describe '#compatible?' do 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 it 'returns true' do
stub_as_available 'c++', :gcc, '4.9.0' stub_as_available 'c++', :gcc, '4.9.0'
expect(subject).to be_compatible expect(subject).to be_compatible