summaryrefslogtreecommitdiff
path: root/lib/chef/version_constraint.rb
Commit message (Collapse)AuthorAgeFilesLines
* fixes Style/OpMethod copLamont Granquist2016-08-161-2/+2
| | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* autofixing whitespace copsLamont Granquist2016-02-051-3/+3
| | | | | | | | | | | | | | | | | | | | | | 4174 Style/SpaceInsideHashLiteralBraces 1860 Style/SpaceAroundOperators 1336 Style/SpaceInsideBlockBraces 1292 Style/AlignHash 997 Style/SpaceAfterComma 860 Style/SpaceAroundEqualsInParameterDefault 310 Style/EmptyLines 294 Style/IndentationConsistency 267 Style/TrailingWhitespace 238 Style/ExtraSpacing 212 Style/SpaceBeforeBlockBraces 166 Style/MultilineOperationIndentation 144 Style/TrailingBlankLines 120 Style/EmptyLineBetweenDefs 101 Style/IndentationWidth 82 Style/SpaceAroundBlockParameters 40 Style/EmptyLinesAroundMethodBody 29 Style/EmptyLinesAroundAccessModifier 1 Style/RescueEnsureAlignment
* Update all auth email address from opscode.com and getchef.com to chef.io.Noah Kantrowitz2016-02-021-2/+2
| | | Generated via git ls-files | xargs perl -pi -e "s/(Author.*?<[^@]+@)(?:opscode\\.com|getchef\\.com)(>)/\\1chef.io\\2/gi"
* Replace all Opscode copyrights with Chef Software.Noah Kantrowitz2016-02-021-1/+1
| | | Created via git ls-files | xargs perl -pi -e "s/(Copyright.*?), Opscode(,)? Inc(\.)?/\\1, Chef Software Inc./gi"
* Copyright year update for 2016 and massive cleanup.Noah Kantrowitz2016-02-021-1/+1
| | | Generated via git ls-files | xargs perl -pi -e "s/[Cc]opyright (?:\([Cc]\) )?((?\!$(date +%Y))\\d{4})(-\\d{4})?([, ][ \d]+)*(,|(?= ))/Copyright \\1-$(date +%Y),/g"
* Autofixing Style/PercentLiteralDelimeterslcg/percentliteraldelimetersLamont Granquist2016-01-181-2/+2
| | | | | | See chef/chefstyle#11 for analysis and discussion. We select '{}' since audit of our source code shows that is the most common, and that used to be the dominant learning paradigm (e.g. in ruby 1.9 pickaxe book.
* Use double quotes by defaultThom May2016-01-141-4/+4
| | | | | | | This is an entirely mechanically generated (chefstyle -a) change, to go along with chef/chefstyle#5 . We should pick something and use it consistently, and my opinion is that double quotes are the appropriate thing.
* chefstyle: fix Lint/StringConversionInInterpolationLamont Granquist2016-01-121-1/+1
| | | | useless use of `"#{foo.to_s}"`
* VersionConstraint does not need a raw_version attributeBrian Cobb2014-07-141-2/+2
|
* Version constraints only show patch level if one is givenBrian Cobb2014-07-141-2/+2
|
* [CHEF-4298] Coookbook::Metadata: avoid converting 2 part versions to 3 part ↵Xabier de Zuazo2014-05-251-4/+5
| | | | versions, added #normalize_version_constraint method
* [CHEF-4298] dependencies in metadata.rb require a spaceXabier de Zuazo2013-06-231-1/+1
|
* [CHEF-3919] "~> 1" pessimistic version constraint parsing fixed in ↵Xabier de Zuazo2013-04-111-1/+1
| | | | VersionConstraint class.
* [CHEF-3919] cookbook version specific code factored out from Chef::Version, ↵Xabier de Zuazo2013-04-111-4/+5
| | | | new classes created: Chef::Version::Cookbook and Chef::VersionConstraint::Cookbook
* [OC-3564] move core Chef to the repo root \o/ \m/Seth Chisamore2012-10-301-0/+116
The opscode/chef repository now only contains the core Chef library code used by chef-client, knife and chef-solo!