CHANGELOG.md in myrrha-2.0.0 vs CHANGELOG.md in myrrha-3.0.0.rc1
- old
+ new
@@ -1,5 +1,10 @@
+# 3.0.0 / FIX ME
+
+* Implementation of domains has been moved to the domain gem. The syntax to create domains
+ has therefore changed. Myrrha::Domain does no longer exists.
+
# 2.0.0 / 2012-09-26
* Removed support for ruby 1.8.7
* Coercions#subdomain? and Coercions#belongs_to? are now protected
* In case of coercion failure, Myrrha::Error keeps the first coercion error under `cause`
@@ -22,10 +27,10 @@
domains have a default constructor taking components as parameters, an attribute reader
for each component as well as hash and equality methods properly defined. They also have
a Coercions instance under `coercions`.
class Point
- include Domain::Impl.new(:x, :y)
+ include Domain::Impl.new([:x, :y])
coercions do |c|
c.coercion(String){|v,t| ...}
end
end