Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bumping version number for update. #179

Merged
merged 1 commit into from
Sep 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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