noticed 2.2.0 → 2.2.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: 7df6a0c9d61e67b03bdb4fa83ac6cf3ef46b1b79b23ac98f1b0acdf1b02b336a
4
- data.tar.gz: f457d0616b83add859fb1660cc53f2bf321f3631c25e6d9403bf52d84246be43
3
+ metadata.gz: e6dd4d8e1bcf68fd2d318b58a7048c8635ac898207c938a61183f9a4cf8ef750
4
+ data.tar.gz: e6b9a3d5b383c2313f16250f3324e52e6065eaf4b5c0992bc6c06449c0cf4a9a
5
5
  SHA512:
6
- metadata.gz: cc114600b94adafc1fb4c01034cfd31e70acda183e5734a31f5ea1d5408272b93b5545dad3861394e0af2944aa2f95765a14689130d8f49479925e3a17f35c2b
7
- data.tar.gz: a5e8cc9353874c01f45c286ced403446196be57d241ca1c534b365df1869a560fe08e6c65655e8bb246e672728dd2edb8a394de68111c94b0446513e93b52f9c
6
+ metadata.gz: 782c9a4004e93a1866fba3c011c505f2c2e9a123901e4fdb01f438df7c795842dd44a5541768bd91b26526207ae8fee9314bb45c498f3aeedcc25f095e1f550f
7
+ data.tar.gz: c39725666136a726c3d0d1bf3d21f615b6d12ee354acaf524553544bf2d9235996b9a3bdd4ae3a06e0e5180124afe22637029a6b933915b40a6fac24e1e77765
@@ -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)
@@ -38,7 +38,7 @@ module Noticed
38
38
  end
39
39
 
40
40
  def fetch_constant(name)
41
- option = config[name]
41
+ option = evaluate_option(name)
42
42
  option.is_a?(String) ? option.constantize : option
43
43
  end
44
44
 
@@ -1,3 +1,3 @@
1
1
  module Noticed
2
- VERSION = "2.2.0"
2
+ VERSION = "2.2.2"
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.2
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-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -100,7 +100,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
100
100
  - !ruby/object:Gem::Version
101
101
  version: '0'
102
102
  requirements: []
103
- rubygems_version: 3.5.4
103
+ rubygems_version: 3.5.6
104
104
  signing_key:
105
105
  specification_version: 4
106
106
  summary: Notifications for Ruby on Rails applications