effective_resources 2.7.7 → 2.7.8

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: fd2143cd7b6548e1f54316be079f9767005949166a8ae747181db7c487a0de81
4
- data.tar.gz: e32b85cb8d4e9200e1ed6c8405ddfff5a503af801c56f56c912d7e0ab31b9438
3
+ metadata.gz: 876509ce690f40009d985ee70ab314d1e7e626528f6314357a6a671803afed11
4
+ data.tar.gz: 7c3f841ef1c7eb55e755acee2ad346352fdfc1df17816ecba720ee6203d4bf90
5
5
  SHA512:
6
- metadata.gz: 12ade43eeaee46e8177196c65b2601bdd0d1936a3d5dddf6f55d14fa83fc53cb85b2df3ce251ebed3f6f567495904cef5abda0f64f17319e66798c91b47daf01
7
- data.tar.gz: 539d84a100330c1e88e07eac749af89b872955b61426a571d708c7f432edcec5ddb1d185738e355a549e2a97aa2b5321273e562bda8ec47fc7af747b79d1e546
6
+ metadata.gz: d22deab3141c5b804a1ce147311cad65c3342ec7c866007cf321b582bb6f9e53bbc6b2cc2bb4e940abfdea2e71dbe8d85879702bedb0c4b6bc9da42f2e2ec8cf
7
+ data.tar.gz: 496e8c8b2cfc6d990f947609afdd661f7b0a24c846886ec6df4396409f18a322a6fa7e76046d2f01d2da76c7bad3616320902c52011b833d4d8c6c8162a5809f
@@ -15,12 +15,12 @@ module EffectiveGem
15
15
 
16
16
  # Define getters
17
17
  (config_keys - EXCLUDED_GETTERS).each do |key|
18
- self.singleton_class.delegate(key, to: :config)
18
+ self.singleton_class.define_method(key) { config()[key] }
19
19
  end
20
20
 
21
21
  # Define setters
22
22
  config_keys.each do |key|
23
- self.singleton_class.delegate("#{key}=", to: :config)
23
+ self.singleton_class.define_method("#{key}=") { |value| config()[key] = value }
24
24
  end
25
25
 
26
26
  end
@@ -1,3 +1,3 @@
1
1
  module EffectiveResources
2
- VERSION = '2.7.7'.freeze
2
+ VERSION = '2.7.8'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: effective_resources
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.7.7
4
+ version: 2.7.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Code and Effect