myrrha 3.0.0.rc4 → 3.0.0.rc5

Sign up to get free protection for your applications and to get access to all the features.
@@ -10,6 +10,7 @@ module Domain
10
10
  def coerce(arg)
11
11
  coercions.coerce(arg, self)
12
12
  rescue Myrrha::Error => ex
13
+ raise ex.cause if ex.cause
13
14
  domain_error!(arg)
14
15
  end
15
16
  alias_method :[], :coerce
@@ -3,7 +3,7 @@ module Myrrha
3
3
 
4
4
  MAJOR = 3
5
5
  MINOR = 0
6
- TINY = '0.rc4'
6
+ TINY = '0.rc5'
7
7
 
8
8
  def self.to_s
9
9
  [ MAJOR, MINOR, TINY ].join('.')
@@ -10,7 +10,7 @@ variables:
10
10
  upper:
11
11
  Myrrha
12
12
  version:
13
- 3.0.0.rc4
13
+ 3.0.0.rc5
14
14
  summary: |-
15
15
  Myrrha provides the coercion framework which is missing to Ruby.
16
16
  description: |-
@@ -34,14 +34,6 @@ describe Domain, "coerce" do
34
34
  it 'supports Array' do
35
35
  Point[[2, 2]].should eq(point_2_2)
36
36
  end
37
-
38
- it 'supports Array literals' do
39
- Point[2, 2].should eq(point_2_2)
40
- end
41
-
42
- it 'supports empty Array literals' do
43
- Point[].should be(Point::EMPTY)
44
- end
45
37
  end
46
38
 
47
39
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: myrrha
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0.rc4
4
+ version: 3.0.0.rc5
5
5
  prerelease: 6
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-09-28 00:00:00.000000000 Z
12
+ date: 2012-10-01 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake