noticed 2.2.0 → 2.2.1

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: 7df6a0c9d61e67b03bdb4fa83ac6cf3ef46b1b79b23ac98f1b0acdf1b02b336a
4
- data.tar.gz: f457d0616b83add859fb1660cc53f2bf321f3631c25e6d9403bf52d84246be43
3
+ metadata.gz: 205cad1bba9c4d875d180be2f65ba4aaab52a32441ce145c81325c49978058be
4
+ data.tar.gz: 873716a4c09250b3b5fef685f690fb43a9c99e6b754e66355bac46bdaeac120b
5
5
  SHA512:
6
- metadata.gz: cc114600b94adafc1fb4c01034cfd31e70acda183e5734a31f5ea1d5408272b93b5545dad3861394e0af2944aa2f95765a14689130d8f49479925e3a17f35c2b
7
- data.tar.gz: a5e8cc9353874c01f45c286ced403446196be57d241ca1c534b365df1869a560fe08e6c65655e8bb246e672728dd2edb8a394de68111c94b0446513e93b52f9c
6
+ metadata.gz: 6d911291bb8bcf378371e5e3c33eb5e4456a977ce2e9bc19af3301e3fea9d34d85fc9ce0bca71ad1498d041578b858eb1d39bb3b668fcad21da8378a1d7b38e4
7
+ data.tar.gz: 64de0e142c6be7482068830d06f96413391ac38f7dbfd7089c80ee70b957ab1e30edbdf9c70670b52e245a182c69c8a417515aedf5f89e7ad8fcae98c4e072ea
@@ -29,7 +29,7 @@ module Noticed
29
29
 
30
30
  def fetch_constant(name)
31
31
  option = config[name]
32
- option.is_a?(String) ? option.constantize : option
32
+ option.is_a?(String) ? option.constantize : evaluate_option(option)
33
33
  end
34
34
 
35
35
  def evaluate_option(name)
@@ -39,7 +39,7 @@ module Noticed
39
39
 
40
40
  def fetch_constant(name)
41
41
  option = config[name]
42
- option.is_a?(String) ? option.constantize : option
42
+ option.is_a?(String) ? option.constantize : evaluate_option(option)
43
43
  end
44
44
 
45
45
  def evaluate_option(name)
@@ -1,3 +1,3 @@
1
1
  module Noticed
2
- VERSION = "2.2.0"
2
+ VERSION = "2.2.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: noticed
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.0
4
+ version: 2.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Oliver
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-03-19 00:00:00.000000000 Z
11
+ date: 2024-03-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails