summaryrefslogtreecommitdiff
path: root/lib/chef/version.rb
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2014-07-17 15:13:10 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2014-07-17 15:16:57 -0700
commitfa117a8ba978533e0bb1f4cfe6915d956623476a (patch)
tree3ce52c0e6d3716b42980599c6b6782f5fafbdbfc /lib/chef/version.rb
parent743be2103ab993a38d0c54380602feb301d49af5 (diff)
downloadchef-fa117a8ba978533e0bb1f4cfe6915d956623476a.tar.gz
bump version to 12.0.0.alpha.0
also include warning about the use of Chef::Version on Chef::VERSION's people keep stumbling across this bug all the time and i think i just figured out how some of them are getting the idea...
Diffstat (limited to 'lib/chef/version.rb')
-rw-r--r--lib/chef/version.rb10
1 files changed, 9 insertions, 1 deletions
diff --git a/lib/chef/version.rb b/lib/chef/version.rb
index 05b57b0301..dd9fe264aa 100644
--- a/lib/chef/version.rb
+++ b/lib/chef/version.rb
@@ -17,7 +17,15 @@
class Chef
CHEF_ROOT = File.dirname(File.expand_path(File.dirname(__FILE__)))
- VERSION = '11.16.0.alpha.0'
+ VERSION = '12.0.0.alpha.0'
end
+#
# NOTE: the Chef::Version class is defined in version_class.rb
+#
+# NOTE: to further confuse things, *NEVER* use the Chef::Version class
+# on a Chef::VERSION -- the class only applies to cookbook versions which
+# only have "X.Y.Z" versions with no alpha/rc/prerelease tags. A
+# simple Chef::VERSION.to_f coercion will likely work better, or else
+# you need to coerce the Chef::VERSION into exactly "X.Y.Z" yourself.
+#