From 7ab1be51a62104b0121dc0c2d3635716fe24d72e Mon Sep 17 00:00:00 2001 From: Kirk Brown Date: Fri, 8 Sep 2023 19:47:55 -0400 Subject: [PATCH] Bumping version number for update. --- CHANGELOG.md | 3 +++ lib/sitediff/cli.rb | 6 +----- sitediff.gemspec | 2 +- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 724ff29..6277a2d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,9 @@ # SiteDiff Change Log Contains noteworthy changes made to SiteDiff. +## Version 1.2.9 +- Fixing bug with version command within the Docker image. + ## Version 1.2.8 - Dependency updates. diff --git a/lib/sitediff/cli.rb b/lib/sitediff/cli.rb index fd57ac0..acd7a2e 100644 --- a/lib/sitediff/cli.rb +++ b/lib/sitediff/cli.rb @@ -42,11 +42,7 @@ def self.check_unknown_options?(_config) # Show version information. def version filename = '../../sitediff.gemspec' - unless File.exist?(File.expand_path(filename, __dir__)) - if File.exist?(File.expand_path('/sitediff/sitediff.gemspec', __dir__)) - filename = '/sitediff/sitediff.gemspec' - end - end + filename = '/sitediff/sitediff.gemspec' if !File.exist?(File.expand_path(filename, __dir__)) && File.exist?(File.expand_path('/sitediff/sitediff.gemspec', __dir__)) gemspec = Bundler.load_gemspec(File.expand_path(filename, __dir__)) diff --git a/sitediff.gemspec b/sitediff.gemspec index c6abad3..d45ac4e 100644 --- a/sitediff.gemspec +++ b/sitediff.gemspec @@ -2,7 +2,7 @@ Gem::Specification.new do |s| s.name = 'sitediff' - s.version = '1.2.8' + s.version = '1.2.9' s.required_ruby_version = '>= 3.1.2' s.summary = 'Compare two versions of a site with ease!' s.description = <