CHANGELOG in remarkable-3.0.8 vs CHANGELOG in remarkable-3.0.9
- old
+ new
@@ -1,4 +1,26 @@
+* Added support to blocks configuration. All Remarkable matcher and macros can
+ now be configured using a block:
+
+ should_accept_nested_attributes_for :tasks do |m|
+ m.allow_destroy
+ m.accept(:name => 'cool')
+ m.reject(:name => '')
+ end
+
+* Added support to {{sentence}} as interpolation option in optionals.
+ Previously we had:
+
+ validate_uniqueness_of :id, :scope => [:project_id, :company_id]
+ # Description: "should require unique attributes for id scoped to [:project_id, :company_id]"
+
+ Now with the new sentence option, we can have:
+
+ validate_uniqueness_of :id, :scope => [:project_id, :company_id]
+ # Description: "should require unique attributes for id scoped to project_id and company_id"
+
+* Added support to splat and block to optionals
+
* Added namespace lookup to optionals and expectations. For example, in ActiveRecord
several matchers have :allow_nil and :allow_blank as options. So you can store
the translation at:
remarkable: