Skip to content
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.

Commit

Permalink
Bump required SVGO version to 1.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
jgarber623 committed Dec 4, 2018
1 parent 7f0cfd3 commit 28741fc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/svgeez/optimizer.rb
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion spec/lib/svgeez/optimizer_optimize_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 28741fc

Please sign in to comment.