ree_lib 1.0.83 → 1.0.84
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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 68d91436860401eb57063022aeafa8fafa3f574ce56fe2e19082cf4c6fc42565
|
|
4
|
+
data.tar.gz: 4e5620b188fd303242cc3943f617b83b9c933ceeacc8dd4e07f43f38d4cdda68
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e7ba357081e00e5d96598a7efe22f17c62fabeafbee66354d02f770f4b3c3f0cf9c337bcf1a52ac94ca60c9706463c163ebfa7b4113dc73e165a62a1f5251d01
|
|
7
|
+
data.tar.gz: 401f407e94dd2f9f540c495ddca201fb762e764d4a5dda6ad130f52211883edd3f3a1ff5b27a84a28ae3ff8e50a73b5ef0152cc86236dd6b84cb92c18f4c1076
|
data/Gemfile.lock
CHANGED
|
@@ -356,19 +356,21 @@ module ReeDao
|
|
|
356
356
|
private
|
|
357
357
|
|
|
358
358
|
def task_proc(&proc)
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
359
|
+
if Sequel.current.is_a?(Fiber)
|
|
360
|
+
Fiber.schedule &proc
|
|
361
|
+
else
|
|
362
362
|
proc.call
|
|
363
|
-
|
|
363
|
+
end
|
|
364
364
|
end
|
|
365
365
|
|
|
366
366
|
def scheduler_proc(&proc)
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
367
|
+
if Sequel.current.is_a?(Fiber)
|
|
368
|
+
FiberScheduler do
|
|
369
|
+
Fiber.schedule(:waiting, &proc)
|
|
370
|
+
end
|
|
371
|
+
else
|
|
370
372
|
proc.call
|
|
371
|
-
|
|
373
|
+
end
|
|
372
374
|
end
|
|
373
375
|
|
|
374
376
|
def foreign_key_from_dao(dao)
|
|
@@ -81,22 +81,20 @@ class ReeDao::Agg
|
|
|
81
81
|
end
|
|
82
82
|
|
|
83
83
|
def task_proc(&proc)
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
# end
|
|
88
|
-
# else
|
|
84
|
+
if Sequel.current.is_a?(Fiber)
|
|
85
|
+
Fiber.schedule(&proc)
|
|
86
|
+
else
|
|
89
87
|
proc.call
|
|
90
|
-
|
|
88
|
+
end
|
|
91
89
|
end
|
|
92
90
|
|
|
93
91
|
def scheduler_proc(&proc)
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
92
|
+
if Sequel.current.is_a?(Fiber)
|
|
93
|
+
FiberScheduler do
|
|
94
|
+
Fiber.schedule(:waiting, &proc)
|
|
95
|
+
end
|
|
96
|
+
else
|
|
99
97
|
proc.call
|
|
100
|
-
|
|
98
|
+
end
|
|
101
99
|
end
|
|
102
100
|
end
|
data/lib/ree_lib/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ree_lib
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.84
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ruslan Gatiyatov
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2023-12-
|
|
11
|
+
date: 2023-12-12 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: ree
|