diff --git a/lib/svgeez/optimizer.rb b/lib/svgeez/optimizer.rb index 1787fec..f19fe36 100644 --- a/lib/svgeez/optimizer.rb +++ b/lib/svgeez/optimizer.rb @@ -1,6 +1,6 @@ module Svgeez class Optimizer - SVGO_MINIMUM_VERSION = '1.0.4'.freeze + SVGO_MINIMUM_VERSION = '1.1.1'.freeze SVGO_MINIMUM_VERSION_MESSAGE = "svgeez relies on SVGO #{SVGO_MINIMUM_VERSION} or newer. Continuing with standard sprite generation...".freeze SVGO_NOT_INSTALLED = 'Unable to find `svgo` in your PATH. Continuing with standard sprite generation...'.freeze diff --git a/spec/lib/svgeez/optimizer_optimize_spec.rb b/spec/lib/svgeez/optimizer_optimize_spec.rb index 7496aa9..a930665 100644 --- a/spec/lib/svgeez/optimizer_optimize_spec.rb +++ b/spec/lib/svgeez/optimizer_optimize_spec.rb @@ -18,7 +18,7 @@ context 'when SVGO executable is found' do context 'when SVGO version is not supported' do let(:optimizer) { described_class.new } - let(:warning_message) { 'svgeez relies on SVGO 1.0.4 or newer. Continuing with standard sprite generation...' } + let(:warning_message) { 'svgeez relies on SVGO 1.1.1 or newer. Continuing with standard sprite generation...' } before do allow_any_instance_of(described_class).to receive(:supported?).and_return(false)