dry-configurable 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/dry/configurable/version.rb +1 -1
- data/lib/dry/configurable.rb +6 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9b20ea5937c7b1c83a02afdf412ba0fc3eb7e077
|
4
|
+
data.tar.gz: cfedd990af1c0d00b747078eb13f572c185d8b8e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: db1e85b9f0bd47a78462ffebe7cc8df1f7898a25a29b8c43c167970fe3680ebf2f13172ce6d43c7245deeb7405ac14f6aba5141e7bd9254f3fd8fcd7913f63e3
|
7
|
+
data.tar.gz: da159690b2ffb75304826546f0ce3a9a4a911bebd22ae5addc5bd04726d134300f024eb27b59bddd5d203c0014c6259d7cb44afca22e752e9c2e50f4e7c75400
|
data/lib/dry/configurable.rb
CHANGED
@@ -28,8 +28,6 @@ module Dry
|
|
28
28
|
module Configurable
|
29
29
|
# @private
|
30
30
|
def self.extended(base)
|
31
|
-
attr_reader :_settings
|
32
|
-
|
33
31
|
base.class_eval do
|
34
32
|
@_config_mutex = Mutex.new
|
35
33
|
@_settings = Concurrent::Map.new
|
@@ -86,6 +84,12 @@ module Dry
|
|
86
84
|
_settings[key] = default
|
87
85
|
end
|
88
86
|
|
87
|
+
|
88
|
+
# @private no, really...
|
89
|
+
def _settings
|
90
|
+
@_settings
|
91
|
+
end
|
92
|
+
|
89
93
|
private
|
90
94
|
|
91
95
|
# @private
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dry-configurable
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andy Holland
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-04-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: concurrent-ruby
|