summaryrefslogtreecommitdiff
path: root/lib/chef/version_constraint
diff options
context:
space:
mode:
authorXabier de Zuazo <xabier@onddo.com>2013-03-13 12:03:35 +0100
committerBryan McLellan <btm@opscode.com>2013-04-11 13:04:33 -0700
commit7052e7712a6b159626c2077f86e8be551e79bbd4 (patch)
treeef0cb7faba3afcce049d2f8a34076344811625c6 /lib/chef/version_constraint
parentf554a1c0fbc1f308462d3d62544a0fd7ed7df6ec (diff)
downloadchef-7052e7712a6b159626c2077f86e8be551e79bbd4.tar.gz
[CHEF-3919] Removed Chef::Version::Cookbook code and replaced by a Chef::Version::Platform class, reverting Chef::Version class changes
Diffstat (limited to 'lib/chef/version_constraint')
-rw-r--r--lib/chef/version_constraint/platform.rb (renamed from lib/chef/version_constraint/cookbook.rb)6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/chef/version_constraint/cookbook.rb b/lib/chef/version_constraint/platform.rb
index 2ed6ef2872..ada4f29b70 100644
--- a/lib/chef/version_constraint/cookbook.rb
+++ b/lib/chef/version_constraint/platform.rb
@@ -14,12 +14,12 @@
# See the License for the specific language governing permissions and
# limitations under the License.
require 'chef/version_constraint'
-require 'chef/version/cookbook'
+require 'chef/version/platform'
class Chef
class VersionConstraint
- class Cookbook < Chef::VersionConstraint
- VERSION_CLASS = Chef::Version::Cookbook
+ class Platform < Chef::VersionConstraint
+ VERSION_CLASS = Chef::Version::Platform
end
end