From 3a7dc2359fd833e5f920818f67f6d0474bfb9042 Mon Sep 17 00:00:00 2001 From: Lamont Granquist Date: Tue, 21 Jan 2020 13:53:07 -0800 Subject: fix namespacing bugs Signed-off-by: Lamont Granquist --- chef-utils/lib/chef-utils/version_string.rb | 2 +- lib/chef/version.rb | 2 +- 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 d3e2dd86f8..3f17821fe0 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 -- cgit v1.2.1