Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Copyright year update for 2016 and massive cleanup. | Noah Kantrowitz | 2016-02-02 | 1 | -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" | ||||
* | Simplify fix for property_type with defaultsjk/property-type-default-check | John Keiser | 2016-02-01 | 1 | -1/+1 |
| | | | | `property_type(is: [:a, :b], default: :c)` was broken because ParamsValidate requires its input to have a name and property types don't have one. | ||||
* | Fix defaults on property_type | John Keiser | 2016-02-01 | 1 | -2/+7 |
| | |||||
* | Fix nil with properties: | John Keiser | 2016-01-27 | 1 | -34/+95 |
| | | | | | | 1. Warn when default values are invalid. 2. Never validate nil (on set or get) if there is no default. 3. Emit "will be invalid in Chef 13" warning when setting an invalid nil value. | ||||
* | Fix #4334: don't warn about ambiguous property usage | John Keiser | 2016-01-22 | 1 | -1/+2 |
| | | | | unless using properties on the resource | ||||
* | Use double quotes by default | Thom May | 2016-01-14 | 1 | -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. | ||||
* | Only warn about potentially duplicate properties during the resource initializerjk/reduce-property-dup-warning | John Keiser | 2015-12-14 | 1 | -3/+6 |
| | |||||
* | Don't warn when setting a property to nil unless its value wouldjk/updates2 | John Keiser | 2015-12-14 | 1 | -8/+11 |
| | | | | | actually change. Gets rid of cases where we are initializing a resource with values from another resource. | ||||
* | Get rid of ambiguity with `template 'x' do ...`jk/error-on-property-with-block | John Keiser | 2015-12-10 | 1 | -2/+10 |
| | |||||
* | Improve commentsjk/warn-dup-property | John Keiser | 2015-12-10 | 1 | -3/+15 |
| | |||||
* | Warn when user sets a property of an inline resource to itself. | John Keiser | 2015-12-10 | 1 | -0/+10 |
| | | | | (User will expect "x x" to grab the parent property.) | ||||
* | Make Property.derive create derived properties of the same typejk/custom_properties | John Keiser | 2015-10-28 | 1 | -1/+1 |
| | |||||
* | Accept coercion as a way to accept nil values | John Keiser | 2015-10-08 | 1 | -1/+4 |
| | |||||
* | Add ability for default to override name_propertyjk/name-default | John Keiser | 2015-09-29 | 1 | -4/+7 |
| | |||||
* | Make sure name_attribute works on derived propertiesjk/name-attribute-dup | John Keiser | 2015-09-29 | 1 | -1/+7 |
| | |||||
* | Use 2.0-compatible Hash rather than to_h | John Keiser | 2015-09-25 | 1 | -1/+1 |
| | |||||
* | If both name_attribute and name_property are specified, raise an error.jk/property-default-nil | John Keiser | 2015-09-25 | 1 | -19/+20 |
| | |||||
* | Don't treat name_property/attribute as defaults if they are false | John Keiser | 2015-09-25 | 1 | -1/+5 |
| | |||||
* | Fix up property deprecation text | John Keiser | 2015-09-25 | 1 | -1/+1 |
| | |||||
* | Prefer name_property: true over default: nil | John Keiser | 2015-09-25 | 1 | -11/+12 |
| | |||||
* | Add deprecation warning for properties that specify default and name_propertyjk/default-ignoring | John Keiser | 2015-09-22 | 1 | -7/+9 |
| | |||||
* | Honor the ordering of whichever `name_attribute` or `default` comes first | John Keiser | 2015-09-22 | 1 | -0/+15 |
| | |||||
* | Rename log.deprecation to log_deprecation | John Keiser | 2015-09-01 | 1 | -1/+1 |
| | |||||
* | Pass deprecations through formatter instead of logs | John Keiser | 2015-09-01 | 1 | -1/+1 |
| | |||||
* | Remove freeze of defaults, add warning for array/hash constant defaults | John Keiser | 2015-08-03 | 1 | -4/+1 |
| | |||||
* | Don't set keys unless you must (for easier debugging) | John Keiser | 2015-07-27 | 1 | -1/+1 |
| | |||||
* | Move property type derivation from "property_type" to "property" | John Keiser | 2015-07-03 | 1 | -46/+7 |
| | | | | to keep property_type simple | ||||
* | Add Property.create and Resource.property_type for type system overriding | John Keiser | 2015-07-03 | 1 | -9/+83 |
| | |||||
* | Bring set_or_return behavior back in line with what it used to be | John Keiser | 2015-07-03 | 1 | -13/+0 |
| | |||||
* | Only stick non-frozen values to the resource | John Keiser | 2015-07-03 | 1 | -4/+12 |
| | |||||
* | Code review comments | John Keiser | 2015-07-03 | 1 | -6/+24 |
| | |||||
* | Make required name attributes work | John Keiser | 2015-07-03 | 1 | -0/+491 |