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: 2f1aca3358735598f0ab92cfd300cef33388cbfb270da2697793d89bbb85b4b7
4
- data.tar.gz: f0e3dfd4ba73e37ff06399e43765dcdb2f23c401d8867e07ecc8705cc60bfca2
3
+ metadata.gz: 26beff62045a06ff5b1e59d879fe414dbb9df099a54d0126474e97c1fa54aef3
4
+ data.tar.gz: 785b94eebc7d224438cf6692f7cc10f627e8f68f4ac6cafc959de66a0ac32931
5
5
  SHA512:
6
- metadata.gz: b4fa83afccb891d13ebe4050b8791bed7ef504b17e21353b780696f6830ac7501a1ea4e6b1028df4a84ef1c409747dad7a76301ad9c282f7a40acda16a2a781f
7
- data.tar.gz: c2caf479c844d08978c5f04e4261c38665aecce5f65b89fdd863a189f0a0f1032aa9b617fb580adf2b083eaccc61ee11170662b68895d732aecc99d220fd61e9
6
+ metadata.gz: b9890956cd578cbe58f29f4bc3a96f6690fe2239795cd75456da9b3667ff2206769a0a580c1c7bce00e44713396a8cd0d5abc4aab4ac1e5aaf1f7b61180b67e3
7
+ data.tar.gz: 49eb85eca76538c1142d1d44809a5ef6cd590c9370b26e233251f1f8f2996cbeb577b0245287f1f39c50275965751be28ac82f28072247974bb798585e52d61d
@@ -21,7 +21,7 @@ class Fagin
21
21
  end
22
22
  children[clas] = child
23
23
  rescue NameError
24
- raise Error::UnknownChildClassError.new(clas)
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::UnknownChildClassError.new(clas)
52
+ raise Error::UnknownChildClass.new(clas)
53
53
  end
54
54
  end
55
55
  end
@@ -1,4 +1,4 @@
1
1
  class Fagin::Error < RuntimeError
2
2
  end
3
3
 
4
- require "fagin/error/unknown_child_class_error"
4
+ require "fagin/error/unknown_child_class"
@@ -1,4 +1,4 @@
1
- class Fagin::Error::UnknownChildClassError < Fagin::Error
1
+ class Fagin::Error::UnknownChildClass < Fagin::Error
2
2
  def initialize(clas = "")
3
3
  super("Unknown child class #{clas}!")
4
4
  end
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.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-01 00:00:00.000000000 Z
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/unknown_child_class_error.rb
42
+ - lib/fagin/error/unknown_child_class.rb
43
43
  homepage: https://mjwhitta.github.io/fagin
44
44
  licenses:
45
45
  - GPL-3.0