fagin 1.1.1 → 1.1.2
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 26beff62045a06ff5b1e59d879fe414dbb9df099a54d0126474e97c1fa54aef3
|
4
|
+
data.tar.gz: 785b94eebc7d224438cf6692f7cc10f627e8f68f4ac6cafc959de66a0ac32931
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b9890956cd578cbe58f29f4bc3a96f6690fe2239795cd75456da9b3667ff2206769a0a580c1c7bce00e44713396a8cd0d5abc4aab4ac1e5aaf1f7b61180b67e3
|
7
|
+
data.tar.gz: 49eb85eca76538c1142d1d44809a5ef6cd590c9370b26e233251f1f8f2996cbeb577b0245287f1f39c50275965751be28ac82f28072247974bb798585e52d61d
|
data/lib/fagin.rb
CHANGED
@@ -21,7 +21,7 @@ class Fagin
|
|
21
21
|
end
|
22
22
|
children[clas] = child
|
23
23
|
rescue NameError
|
24
|
-
raise Error::
|
24
|
+
raise Error::UnknownChildClass.new(clas)
|
25
25
|
end
|
26
26
|
end
|
27
27
|
end
|
@@ -49,7 +49,7 @@ class Fagin
|
|
49
49
|
end
|
50
50
|
children[clas] = child
|
51
51
|
rescue NameError
|
52
|
-
raise Error::
|
52
|
+
raise Error::UnknownChildClass.new(clas)
|
53
53
|
end
|
54
54
|
end
|
55
55
|
end
|
data/lib/fagin/error.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fagin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Miles Whittaker
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-03-
|
11
|
+
date: 2018-03-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -39,7 +39,7 @@ extra_rdoc_files: []
|
|
39
39
|
files:
|
40
40
|
- lib/fagin.rb
|
41
41
|
- lib/fagin/error.rb
|
42
|
-
- lib/fagin/error/
|
42
|
+
- lib/fagin/error/unknown_child_class.rb
|
43
43
|
homepage: https://mjwhitta.github.io/fagin
|
44
44
|
licenses:
|
45
45
|
- GPL-3.0
|