Skip to content

Commit

Permalink
Merge pull request #179 from evolvingweb/version-bug-fix
Browse files Browse the repository at this point in the history
Bumping version number for update.
  • Loading branch information
kirk-brown-ew authored Sep 9, 2023
2 parents 1dea3c6 + 7ab1be5 commit e9599d1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
6 changes: 1 addition & 5 deletions lib/sitediff/cli.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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__))

Expand Down
2 changes: 1 addition & 1 deletion sitediff.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -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 = <<DESC
Expand Down

0 comments on commit e9599d1

Please sign in to comment.