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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/clock/clock.rb +3 -2
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e00cc75595398ba26c823c2a4d1738932d747782c5b2cbf917275efc65377472
4
- data.tar.gz: 07c2bc7d4bf4a8628bef1d2817d72d65b25d5ba77b8a44eb2ab6bed60a28511d
3
+ metadata.gz: d69e228997ba6fa95bdb16a7fe5485e4770fa9d2662cf0780ad5654e1172faa9
4
+ data.tar.gz: d53876f94ddac39f68bcc64b9509ea63f7cddccb34c22b2b7d9ab6919396b296
5
5
  SHA512:
6
- metadata.gz: bc0d8af558714d385c9e1dfe777525dd8aa628a25c18c6f25ce8b611dc4022fae5ad8ce1a0233959591e3f1c9dcaa72c98277bd7edc8695f2daba187c5f3a0a9
7
- data.tar.gz: 1636f746fd46ed196aeb395906900e474b0ba8b9e37a6c40e04ee461e8bc0952557bd71fadccbbc0f5b02787b19cb4100887d3963834e7f60556d21978b99d97
6
+ metadata.gz: 7c753c0713df82941407fdf3cdd64f27a031aff8ae58bfd0f4c22ab54238ad51dedac0218dc30b26881b28a097a01fd88c5e6aa7385973d30319ffa158f0ba63
7
+ data.tar.gz: f7ccf68d34534858050f4be5b69d8cc655793d3caa9d6f9950abcb18b9a27a4cb31cc3226ace4c0c3456f405da8fe637a56e14aff74fbd1f66844a7d7b4f1eb7
@@ -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.clock = instance
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.1
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-07-14 00:00:00.000000000 Z
11
+ date: 2019-10-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: evt-mimic