ext_monitor 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ext_monitor.rb +3 -2
- data/lib/ext_monitor/version.rb +1 -1
- 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: 3cb1d0da758f8b65bbddf62957f4ca1a6730e1e88e17d06fe975e6dc45fd4aca
|
4
|
+
data.tar.gz: 6bd1bbbd7762645c0015c6c6f6ca641973d793650ae1b0a7c40b150959f41c57
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f18fb2f8dfb43bec38ec43c13b138ce52e4a9280b6bef0eace0febad69ad7a84d92638ef820953fb82ec920d9dd02d38fed75b31c9e7afb15000a361853d868f
|
7
|
+
data.tar.gz: 9bae890db6a29c6f5012271c394d926c5d8f33aa818105f220af1c227b0bb68bc951f32d6adbe128501d4e7724e24f2f8c49fd7d4c74220c875c9bd158f26ccd
|
data/lib/ext_monitor.rb
CHANGED
@@ -68,11 +68,12 @@ module MonitorMixin
|
|
68
68
|
# +MonitorMixin+.
|
69
69
|
#
|
70
70
|
def mon_synchronize(&b)
|
71
|
-
@mon_data
|
71
|
+
mon_data = defined?(@mon_data) ? @mon_data : use_monitor_core
|
72
|
+
mon_data.enter
|
72
73
|
begin
|
73
74
|
yield
|
74
75
|
ensure
|
75
|
-
|
76
|
+
mon_data.exit
|
76
77
|
end
|
77
78
|
end
|
78
79
|
|
data/lib/ext_monitor/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ext_monitor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- NARUSE, Yui
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-01-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|