Skip to content

Commit

Permalink
Fix NSQ connection version string number
Browse files Browse the repository at this point in the history
  • Loading branch information
chen-anders committed Dec 14, 2023
1 parent 72572fb commit de45f21
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 2.4.1

* Client version connection string should also read from the VERSION file

## 2.4.0

* Remove jeweler gem in favor of using a dynamic gemspec [#66](https://github.com/wistia/nsq-ruby/pull/66)
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.4.0
2.4.1
6 changes: 1 addition & 5 deletions lib/version.rb
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
module Nsq
module Version
MAJOR = 2
MINOR = 3
PATCH = 1
BUILD = nil
STRING = [MAJOR, MINOR, PATCH, BUILD].compact.join('.')
STRING = File.read(File.expand_path('../../VERSION', __FILE__)).strip
end
end
3 changes: 2 additions & 1 deletion nsq-ruby.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ Gem::Specification.new do |s|
s.email = "[email protected]".freeze
s.extra_rdoc_files = [
"LICENSE.txt",
"README.md"
"README.md",
"VERSION"
]
s.files = Dir.glob('lib/**/*.rb') + ['README.md']
s.homepage = "https://github.com/wistia/nsq-ruby".freeze
Expand Down

0 comments on commit de45f21

Please sign in to comment.