ultra_config 0.11.1 → 0.11.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
  SHA1:
3
- metadata.gz: 180324ca9ee6455c5373b83152912c0e921d19cc
4
- data.tar.gz: b7d7a216e5ef6bc0f93118ad26c66d94442b7b73
3
+ metadata.gz: cd3774837b3d62bbb7acd6552b69f1dc83f9449b
4
+ data.tar.gz: ebf2f4d7ae03672bfd731717653eaadc16776bc9
5
5
  SHA512:
6
- metadata.gz: b76d192832c109d6b2afd4fc26862bce2e958f9eaa7ada770ab275104bb422dca7e7bce09a7bae8283192f3b6c1021eb963afafac161301b942d7a7df4e2ed35
7
- data.tar.gz: 264887bd4f6801a33506dfd1eb1efd866d88a820dd7e72f48b27e14cb149ffdb9d5290ae3125a7c94f06d9e2097c0c094e19d8cbfa545bced70d31a00c7d57df
6
+ metadata.gz: '00937620283f74a3491ff91769380400119c1096cda51688d848aadc88594154d98ea443ac3c5ef6f6bf3f0cfd9867dedab229c546e27cee800363d5453537b8'
7
+ data.tar.gz: 656c41d900329dec728eb9cc4321a7aa0214f19ee2a478fd08086c18528789600a4114c258e58a0a1088a59540b260c5194e1b59e6a3fbeb96460a30f8ce25af
@@ -21,7 +21,7 @@ module UltraConfig
21
21
  type_safety(Settings.type_safety) unless @type_safety_checked
22
22
  @value = @intermediate_value
23
23
  rescue UltraConfig::Validation::ValidationError
24
- raise UltraConfig::Validation::ValidationError.new(msg: @error_msg)
24
+ raise UltraConfig::Validation::ValidationError, @error_msg
25
25
  ensure
26
26
  @type_safety_checked = false
27
27
  @intermediate_value = nil
@@ -4,12 +4,7 @@ module UltraConfig
4
4
  module Validation
5
5
  include Boolean
6
6
 
7
- class ValidationError < StandardError;
8
- def initialize(msg: nil)
9
- super
10
- end
11
- end
12
-
7
+ class ValidationError < StandardError; end
13
8
  class TypeValidationError < ValidationError; end
14
9
 
15
10
  def type_safety(type)
data/ultra_config.gemspec CHANGED
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = 'ultra_config'
7
- spec.version = '0.11.1'
7
+ spec.version = '0.11.2'
8
8
  spec.authors = ['Gregory Kuruc']
9
9
  spec.email = ['gjk910327@gmail.com']
10
10
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ultra_config
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.1
4
+ version: 0.11.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gregory Kuruc