| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
These both return version objects which means they can be compared without creating version objects first or .to_i / .to_f messes. Much simpler for users.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
|
|
| |
A copy and tweak of the architecture specs
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
| |
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
|
|
|
|
|
|
|
|
| |
while it checks against the RUBY_PLATFORM to see if it is windows,
and so therefore the old name sort of makes sense, it does not make
sense in the context of all the rest of the chef platform helpers
that have the `_platform?` suffix.
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
|
This is the implementation of [RFC-087](https://github.com/chef-boneyard/chef-rfc/blob/master/rfc087-distro-sugar-helpers.md)
although some of the specifics have been iterated on and changed.
The documentation will be in the [README.md](https://github.com/chef/chef/tree/master/chef-utils/README.md) once this is merged.
While this PR mostly moves chef-sugar utilities into core-chef via this chef-utils gem, the scope of the chef-utils gem
should be considered larger than just that. As an example this PR moves the Mash class into this gem for reuse in ohai
as well.
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|