-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move the Version module to SignalFx::Version
While convenient for referencing elsewhere in the code, the non-namespaced Version collides with generated Thrift code in the rbhive gem. While both of these gems could be fixed, this version module being scoped under a namespace felt more correct than fixing generated code. The conflicting code can be found here: https://github.com/forward3d/rbhive/blob/master/lib/thrift/hive_metastore_types.rb#L29 This should be a simple enough fix though
- Loading branch information
Grier Johnson
committed
Aug 15, 2018
1 parent
9ef90e0
commit 6dcff76
Showing
5 changed files
with
26 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
# Copyright (C) 2015-2016 SignalFx, Inc. All rights reserved. | ||
|
||
module Version | ||
VERSION = '2.0.4' | ||
NAME = 'signalfx-ruby-client' | ||
end | ||
module SignalFx | ||
module Version | ||
VERSION = '2.0.5' | ||
NAME = 'signalfx-ruby-client' | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ require_relative 'lib/signalfx/version' | |
|
||
Gem::Specification.new do |spec| | ||
spec.name = "signalfx" | ||
spec.version = Version::VERSION | ||
spec.version = SignalFx::Version::VERSION | ||
spec.authors = ["SignalFx, Inc"] | ||
spec.email = ["[email protected]"] | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters