symbolmatrix 1.1.3 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -112,7 +112,7 @@ class SymbolMatrix < Hash
112
112
  end
113
113
  end
114
114
 
115
- class KeyNotDefinedException < RuntimeError; end
115
+ class KeyNotDefinedException < NoMethodError; end
116
116
  class InvalidKeyException < RuntimeError; end
117
117
  class MergeError < RuntimeError; end
118
118
  end
@@ -1,3 +1,3 @@
1
1
  module Symbolmatrix
2
- VERSION = "1.1.3"
2
+ VERSION = "1.2.0"
3
3
  end
@@ -265,3 +265,10 @@ describe SymbolMatrix do
265
265
  SymbolMatrix argument
266
266
  end
267
267
  end
268
+
269
+ describe SymbolMatrix::KeyNotDefinedException do
270
+ it 'should be a subclass of NoMethodError' do
271
+ SymbolMatrix::KeyNotDefinedException
272
+ .superclass.should == NoMethodError
273
+ end
274
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: symbolmatrix
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.3
4
+ version: 1.2.0
5
5
  prerelease:
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-12-21 00:00:00.000000000 Z
12
+ date: 2012-12-22 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: discoverer