summaryrefslogtreecommitdiff
path: root/spec/unit/property_spec.rb
Commit message (Expand)AuthorAgeFilesLines
* Fix defaults on property_typeJohn Keiser2016-02-011-0/+15
* Fix nil with properties:John Keiser2016-01-271-46/+42
* Use double quotes by defaultThom May2016-01-141-84/+84
* Make Property.derive create derived properties of the same typejk/custom_propertiesJohn Keiser2015-10-281-0/+48
* Accept coercion as a way to accept nil valuesJohn Keiser2015-10-081-0/+8
* Add ability for default to override name_propertyjk/name-defaultJohn Keiser2015-09-291-0/+12
* Make sure name_attribute works on derived propertiesjk/name-attribute-dupJohn Keiser2015-09-291-2/+46
* If both name_attribute and name_property are specified, raise an error.jk/property-default-nilJohn Keiser2015-09-251-9/+9
* Don't treat name_property/attribute as defaults if they are falseJohn Keiser2015-09-251-0/+41
* Fix up property deprecation textJohn Keiser2015-09-251-4/+4
* Prefer name_property: true over default: nilJohn Keiser2015-09-251-2/+20
* Add deprecation warning for properties that specify default and name_propertyjk/default-ignoringJohn Keiser2015-09-221-6/+19
* Honor the ordering of whichever `name_attribute` or `default` comes firstJohn Keiser2015-09-221-2/+2
* Remove the warning about hashes and arrays as default valuesLamont Granquist2015-09-141-6/+0
* Make file verification deprecation print the proper source locjk/dedup-messagesJohn Keiser2015-09-011-1/+1
* Pass deprecations through formatter instead of logsJohn Keiser2015-09-011-12/+16
* Revert "more warning to debug"Lamont Granquist2015-09-011-2/+2
* more warning to debugLamont Granquist2015-09-011-2/+2
* Remove freeze of defaults, add warning for array/hash constant defaultsJohn Keiser2015-08-031-6/+6
* Add Property.create and Resource.property_type for type system overridingJohn Keiser2015-07-031-0/+5
* Only stick non-frozen values to the resourceJohn Keiser2015-07-031-2/+45
* Make required name attributes workJohn Keiser2015-07-031-46/+164
* Do not validate defaults, for backcompat purposesjk/property-baseJohn Keiser2015-06-231-20/+37
* Freeze default constantsJohn Keiser2015-06-231-2/+6
* Fix set_or_return order: default->coerce->validateJohn Keiser2015-06-231-93/+94
* Evaluate lazy defaults in context of the instanceJohn Keiser2015-06-231-27/+20
* Add coercionJohn Keiser2015-06-231-81/+81
* Add property_is_set?John Keiser2015-06-231-94/+94
* Don't validate `nil` when setting the value to nilJohn Keiser2015-06-231-0/+4
* Allow values to be set to nil (override defaults) if user allows itJohn Keiser2015-06-231-6/+7
* Add lazy to Resource class DSLJohn Keiser2015-06-231-8/+4
* Add property= setter to propertiesJohn Keiser2015-06-231-19/+19
* Add name_propertyJohn Keiser2015-06-231-3/+2
* Add property Type as an alias to isJohn Keiser2015-06-231-11/+6
* Add "is" to propertyJohn Keiser2015-06-231-4/+2
* Create property on resource, alias attribute to itJohn Keiser2015-06-231-0/+794