evt-clock 1.3.0.1 → 1.3.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/clock/clock.rb +3 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d69e228997ba6fa95bdb16a7fe5485e4770fa9d2662cf0780ad5654e1172faa9
|
4
|
+
data.tar.gz: d53876f94ddac39f68bcc64b9509ea63f7cddccb34c22b2b7d9ab6919396b296
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7c753c0713df82941407fdf3cdd64f27a031aff8ae58bfd0f4c22ab54238ad51dedac0218dc30b26881b28a097a01fd88c5e6aa7385973d30319ffa158f0ba63
|
7
|
+
data.tar.gz: f7ccf68d34534858050f4be5b69d8cc655793d3caa9d6f9950abcb18b9a27a4cb31cc3226ace4c0c3456f405da8fe637a56e14aff74fbd1f66844a7d7b4f1eb7
|
data/lib/clock/clock.rb
CHANGED
@@ -119,9 +119,10 @@ module Clock
|
|
119
119
|
end
|
120
120
|
|
121
121
|
module Configure
|
122
|
-
def configure(receiver)
|
122
|
+
def configure(receiver, attr_name: nil)
|
123
|
+
attr_name ||= :clock
|
123
124
|
instance = new
|
124
|
-
receiver.
|
125
|
+
receiver.public_send(:"#{attr_name}=", instance)
|
125
126
|
instance
|
126
127
|
end
|
127
128
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: evt-clock
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.0
|
4
|
+
version: 1.3.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- The Eventide Project
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-10-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: evt-mimic
|