diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2020-01-21 13:53:07 -0800 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2020-01-21 13:53:07 -0800 |
commit | a36370e912549ddf00615853dc50181c2290e281 (patch) | |
tree | 9e75dedc8050ecaced790d43d127423b141c5473 | |
parent | dc6db3be09a8ee32241653c0026dc3ddafdea42b (diff) | |
download | chef-lcg/move-versionstring.tar.gz |
fix namespacing bugslcg/move-versionstring
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
-rw-r--r-- | chef-utils/lib/chef-utils/version_string.rb | 2 | ||||
-rw-r--r-- | lib/chef/version.rb | 2 | ||||
-rw-r--r-- | lib/chef/version_string.rb | 4 |
3 files changed, 5 insertions, 3 deletions
diff --git a/chef-utils/lib/chef-utils/version_string.rb b/chef-utils/lib/chef-utils/version_string.rb index d4843263b8..5b3780e618 100644 --- a/chef-utils/lib/chef-utils/version_string.rb +++ b/chef-utils/lib/chef-utils/version_string.rb @@ -13,7 +13,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -class ChefUtils +module ChefUtils # String-like object for version strings. # # @since 13.2 diff --git a/lib/chef/version.rb b/lib/chef/version.rb index 3ac3227e3a..0097a917c7 100644 --- a/lib/chef/version.rb +++ b/lib/chef/version.rb @@ -1,4 +1,4 @@ -# Copyright:: Copyright 2010-2018, Chef Software, Inc. +# Copyright:: Copyright 2010-2020, Chef Software Inc. # License:: Apache License, Version 2.0 # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/lib/chef/version_string.rb b/lib/chef/version_string.rb index d02eceacc0..8da5df570a 100644 --- a/lib/chef/version_string.rb +++ b/lib/chef/version_string.rb @@ -15,4 +15,6 @@ require "chef-utils/version_string" -Chef::VersionString == ChefUtils::VersionString +class Chef + VersionString = ChefUtils::VersionString +end |