effective_resources 2.7.6 → 2.7.7
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fd2143cd7b6548e1f54316be079f9767005949166a8ae747181db7c487a0de81
|
4
|
+
data.tar.gz: e32b85cb8d4e9200e1ed6c8405ddfff5a503af801c56f56c912d7e0ab31b9438
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 12ade43eeaee46e8177196c65b2601bdd0d1936a3d5dddf6f55d14fa83fc53cb85b2df3ce251ebed3f6f567495904cef5abda0f64f17319e66798c91b47daf01
|
7
|
+
data.tar.gz: 539d84a100330c1e88e07eac749af89b872955b61426a571d708c7f432edcec5ddb1d185738e355a549e2a97aa2b5321273e562bda8ec47fc7af747b79d1e546
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# Effective Engine concern
|
2
4
|
|
3
5
|
module EffectiveGem
|
@@ -13,12 +15,12 @@ module EffectiveGem
|
|
13
15
|
|
14
16
|
# Define getters
|
15
17
|
(config_keys - EXCLUDED_GETTERS).each do |key|
|
16
|
-
self.singleton_class.
|
18
|
+
self.singleton_class.delegate(key, to: :config)
|
17
19
|
end
|
18
20
|
|
19
21
|
# Define setters
|
20
22
|
config_keys.each do |key|
|
21
|
-
self.singleton_class.
|
23
|
+
self.singleton_class.delegate("#{key}=", to: :config)
|
22
24
|
end
|
23
25
|
|
24
26
|
end
|
data/lib/effective_resources.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: effective_resources
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.7.
|
4
|
+
version: 2.7.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Code and Effect
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-04-
|
11
|
+
date: 2023-04-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|