fedux_org-stdlib 0.6.6 → 0.6.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/fedux_org_stdlib/app_config.rb +2 -2
- data/lib/fedux_org_stdlib/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d3f80fa1083cd772f019321591b3d271f2d01b2b
|
|
4
|
+
data.tar.gz: 2974ed01ed39c5d2813c08e709a1ff45718654f4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fa6da85ec9aa70cb9d4ebf189d88afdf95437ebb663a672547e3764cf0a1c9d62c6119f55b105476dd7660e2686a0a8e243734b281c83aded4bb894e77ceae78
|
|
7
|
+
data.tar.gz: cba56858043efd2bd845aa5554c74e375badb0a7ad6e48ed0172814894574486a1ac98c4a18e9feb141c14ecd49482d1e9cf2a1cc60da587f7e330a1dd86dc6a
|
|
@@ -88,7 +88,7 @@ module FeduxOrgStdlib
|
|
|
88
88
|
# The default value of this option
|
|
89
89
|
def option_reader(option, default_value)
|
|
90
90
|
define_method option.to_sym do
|
|
91
|
-
config.fetch(option.to_sym, default_value)
|
|
91
|
+
instance_variable_get(:'@config').fetch(option.to_sym, default_value)
|
|
92
92
|
end
|
|
93
93
|
|
|
94
94
|
self.options << option
|
|
@@ -110,7 +110,7 @@ module FeduxOrgStdlib
|
|
|
110
110
|
def option_writer(option)
|
|
111
111
|
define_method "#{option}=".to_sym do |value|
|
|
112
112
|
begin
|
|
113
|
-
config[option.to_sym] = value
|
|
113
|
+
instance_variable_get(:'@config')[option.to_sym] = value
|
|
114
114
|
rescue RuntimeError
|
|
115
115
|
raise Exceptions::ConfigLocked
|
|
116
116
|
end
|