noticed 2.2.1 → 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: 205cad1bba9c4d875d180be2f65ba4aaab52a32441ce145c81325c49978058be
4
- data.tar.gz: 873716a4c09250b3b5fef685f690fb43a9c99e6b754e66355bac46bdaeac120b
3
+ metadata.gz: e6dd4d8e1bcf68fd2d318b58a7048c8635ac898207c938a61183f9a4cf8ef750
4
+ data.tar.gz: e6b9a3d5b383c2313f16250f3324e52e6065eaf4b5c0992bc6c06449c0cf4a9a
5
5
  SHA512:
6
- metadata.gz: 6d911291bb8bcf378371e5e3c33eb5e4456a977ce2e9bc19af3301e3fea9d34d85fc9ce0bca71ad1498d041578b858eb1d39bb3b668fcad21da8378a1d7b38e4
7
- data.tar.gz: 64de0e142c6be7482068830d06f96413391ac38f7dbfd7089c80ee70b957ab1e30edbdf9c70670b52e245a182c69c8a417515aedf5f89e7ad8fcae98c4e072ea
6
+ metadata.gz: 782c9a4004e93a1866fba3c011c505f2c2e9a123901e4fdb01f438df7c795842dd44a5541768bd91b26526207ae8fee9314bb45c498f3aeedcc25f095e1f550f
7
+ data.tar.gz: c39725666136a726c3d0d1bf3d21f615b6d12ee354acaf524553544bf2d9235996b9a3bdd4ae3a06e0e5180124afe22637029a6b933915b40a6fac24e1e77765
@@ -38,8 +38,8 @@ module Noticed
38
38
  end
39
39
 
40
40
  def fetch_constant(name)
41
- option = config[name]
42
- option.is_a?(String) ? option.constantize : evaluate_option(option)
41
+ option = evaluate_option(name)
42
+ option.is_a?(String) ? option.constantize : option
43
43
  end
44
44
 
45
45
  def evaluate_option(name)
@@ -1,3 +1,3 @@
1
1
  module Noticed
2
- VERSION = "2.2.1"
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.1
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-20 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