diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2020-01-21 13:53:07 -0800 |
---|---|---|
committer | Tim Smith <tsmith84@gmail.com> | 2020-01-22 22:37:37 -0800 |
commit | 4885de277f28459594180935951da50ec063a902 (patch) | |
tree | 200fc4b206d9aef1bc0c346b4649ed3bd74ae0fd | |
parent | 6dc315b2ab7a3263c046e905627d4f0736727b63 (diff) | |
download | chef-4885de277f28459594180935951da50ec063a902.tar.gz |
fix namespacing bugs
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 9985d2acd6..9b04ee3244 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 |