lowkiq 1.2.1 → 1.2.3
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 +4 -4
- data/.github/workflows/rspec.yml +34 -0
- data/.gitignore +2 -1
- data/LICENSE.md +2 -2
- data/README.md +9 -1
- data/lib/lowkiq/queue/actions.rb +1 -1
- data/lib/lowkiq/queue/queue.rb +49 -49
- data/lib/lowkiq/queue/queue_metrics.rb +2 -2
- data/lib/lowkiq/version.rb +1 -1
- data/lib/lowkiq/worker.rb +11 -10
- data/lib/lowkiq.rb +12 -3
- data/lowkiq.gemspec +3 -4
- metadata +12 -13
- data/Gemfile.lock +0 -55
- data/assets/app.js +0 -308
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 50333a828506189c2b2adb3d7899e762e1db37e438db6411cd43f185d6973fe6
|
|
4
|
+
data.tar.gz: a72a378c35f727c2556bc175df709b834ed9f82274286397166fb58239a16f3f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 55ec85adda3935b865c309d510b60dd62258a40dc0ebd1db38cd67a26c3845752e2646943d81be77fb752910f9560ce40180f35aa5c398a8a7ae54364608a270
|
|
7
|
+
data.tar.gz: f9c5f352e3175d12f6dc15331971b16bd00471faa300b38e65424965c9afa3c1450a84d0a24cd00fc1ccd01b277e84a195e7d0433d85fef9cc8f56df2c75c95f
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
name: Rspec
|
|
2
|
+
on:
|
|
3
|
+
push:
|
|
4
|
+
branches:
|
|
5
|
+
- master
|
|
6
|
+
pull_request:
|
|
7
|
+
jobs:
|
|
8
|
+
Rspec:
|
|
9
|
+
runs-on: ubuntu-latest
|
|
10
|
+
strategy:
|
|
11
|
+
matrix:
|
|
12
|
+
ruby-version:
|
|
13
|
+
- "2.6"
|
|
14
|
+
- "2.7"
|
|
15
|
+
- "3.0"
|
|
16
|
+
- "3.1"
|
|
17
|
+
- "3.2"
|
|
18
|
+
services:
|
|
19
|
+
redis:
|
|
20
|
+
image: redis:6.0
|
|
21
|
+
ports:
|
|
22
|
+
- 6379:6379
|
|
23
|
+
steps:
|
|
24
|
+
- name: Checkout action
|
|
25
|
+
uses: actions/checkout@v3
|
|
26
|
+
- name: Ruby setup
|
|
27
|
+
uses: ruby/setup-ruby@v1
|
|
28
|
+
with:
|
|
29
|
+
ruby-version: ${{ matrix.ruby-version }}
|
|
30
|
+
bundler-cache: true
|
|
31
|
+
- name: Run Rspec
|
|
32
|
+
run: bundle exec rspec
|
|
33
|
+
env:
|
|
34
|
+
REDIS_URL: redis:6379
|
data/.gitignore
CHANGED
data/LICENSE.md
CHANGED
data/README.md
CHANGED
|
@@ -293,7 +293,8 @@ Options and their default values are:
|
|
|
293
293
|
+ `Lowkiq.redis = ->() { Redis.new url: ENV.fetch('REDIS_URL') }` - redis connection options
|
|
294
294
|
+ `Lowkiq.client_pool_size = 5` - redis pool size for queueing jobs
|
|
295
295
|
+ `Lowkiq.pool_timeout = 5` - client and server redis pool timeout
|
|
296
|
-
+ `Lowkiq.server_middlewares = []` - a middleware list, used
|
|
296
|
+
+ `Lowkiq.server_middlewares = []` - a middleware list, used when job is processed
|
|
297
|
+
+ `Lowkiq.client_middlewares = []` - a middleware list, used when job is enqueued
|
|
297
298
|
+ `Lowkiq.on_server_init = ->() {}` - a lambda is being executed when server inits
|
|
298
299
|
+ `Lowkiq.build_scheduler = ->() { Lowkiq.build_lag_scheduler }` is a scheduler
|
|
299
300
|
+ `Lowkiq.build_splitter = ->() { Lowkiq.build_default_splitter }` is a splitter
|
|
@@ -322,6 +323,13 @@ Lowkiq.server_middlewares << -> (worker, batch, &block) do
|
|
|
322
323
|
raise e
|
|
323
324
|
end
|
|
324
325
|
end
|
|
326
|
+
|
|
327
|
+
Lowkiq.client_middlewares << -> (worker, batch, &block) do
|
|
328
|
+
$logger.info "Enqueueing job for #{worker} #{batch}"
|
|
329
|
+
block.call
|
|
330
|
+
$logger.info "Enqueued job for #{worker} #{batch}"
|
|
331
|
+
end
|
|
332
|
+
|
|
325
333
|
```
|
|
326
334
|
|
|
327
335
|
## Performance
|
data/lib/lowkiq/queue/actions.rb
CHANGED
|
@@ -12,7 +12,7 @@ module Lowkiq
|
|
|
12
12
|
def perform_all_jobs_now
|
|
13
13
|
@pool.with do |redis|
|
|
14
14
|
uredis = Utils::Redis.new redis
|
|
15
|
-
redis.multi do
|
|
15
|
+
redis.multi do |pipeline|
|
|
16
16
|
uredis.zresetscores @keys.all_ids_scored_by_perform_in_zset
|
|
17
17
|
@queue.shards.each do |shard|
|
|
18
18
|
uredis.zresetscores @keys.ids_scored_by_perform_in_zset(shard)
|
data/lib/lowkiq/queue/queue.rb
CHANGED
|
@@ -14,7 +14,7 @@ module Lowkiq
|
|
|
14
14
|
|
|
15
15
|
def push(batch)
|
|
16
16
|
@pool.with do |redis|
|
|
17
|
-
redis.multi do
|
|
17
|
+
redis.multi do |pipeline|
|
|
18
18
|
batch.each do |job|
|
|
19
19
|
id = job.fetch(:id)
|
|
20
20
|
perform_in = job.fetch(:perform_in, @timestamp.call)
|
|
@@ -24,12 +24,12 @@ module Lowkiq
|
|
|
24
24
|
|
|
25
25
|
shard = id_to_shard id
|
|
26
26
|
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
27
|
+
pipeline.zadd @keys.all_ids_lex_zset, 0, id
|
|
28
|
+
pipeline.zadd @keys.all_ids_scored_by_perform_in_zset, perform_in, id, nx: true
|
|
29
|
+
pipeline.zadd @keys.all_ids_scored_by_retry_count_zset, retry_count, id, nx: true
|
|
30
30
|
|
|
31
|
-
|
|
32
|
-
|
|
31
|
+
pipeline.zadd @keys.ids_scored_by_perform_in_zset(shard), perform_in, id, nx: true
|
|
32
|
+
pipeline.zadd @keys.payloads_zset(id), score, Lowkiq.dump_payload.call(payload), nx: true
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
35
|
end
|
|
@@ -42,29 +42,29 @@ module Lowkiq
|
|
|
42
42
|
limit: [0, limit]
|
|
43
43
|
return [] if ids.empty?
|
|
44
44
|
|
|
45
|
-
res = redis.multi do |
|
|
46
|
-
|
|
45
|
+
res = redis.multi do |pipeline|
|
|
46
|
+
pipeline.hset @keys.processing_length_by_shard_hash, shard, ids.length
|
|
47
47
|
|
|
48
48
|
ids.each do |id|
|
|
49
|
-
|
|
50
|
-
|
|
49
|
+
pipeline.zrem @keys.all_ids_lex_zset, id
|
|
50
|
+
pipeline.zrem @keys.ids_scored_by_perform_in_zset(shard), id
|
|
51
51
|
|
|
52
|
-
Script.zremhset
|
|
52
|
+
Script.zremhset pipeline,
|
|
53
53
|
@keys.all_ids_scored_by_perform_in_zset,
|
|
54
54
|
@keys.processing_ids_with_perform_in_hash(shard),
|
|
55
55
|
id
|
|
56
|
-
Script.zremhset
|
|
56
|
+
Script.zremhset pipeline,
|
|
57
57
|
@keys.all_ids_scored_by_retry_count_zset,
|
|
58
58
|
@keys.processing_ids_with_retry_count_hash(shard),
|
|
59
59
|
id
|
|
60
|
-
|
|
60
|
+
pipeline.rename @keys.payloads_zset(id),
|
|
61
61
|
@keys.processing_payloads_zset(id)
|
|
62
|
-
Script.hmove
|
|
62
|
+
Script.hmove pipeline,
|
|
63
63
|
@keys.errors_hash,
|
|
64
64
|
@keys.processing_errors_hash(shard),
|
|
65
65
|
id
|
|
66
66
|
end
|
|
67
|
-
processing_data_pipeline(
|
|
67
|
+
processing_data_pipeline(pipeline, shard, ids)
|
|
68
68
|
end
|
|
69
69
|
|
|
70
70
|
res.shift 1 + ids.length * 6
|
|
@@ -75,7 +75,7 @@ module Lowkiq
|
|
|
75
75
|
def push_back(batch)
|
|
76
76
|
@pool.with do |redis|
|
|
77
77
|
timestamp = @timestamp.call
|
|
78
|
-
redis.multi do |
|
|
78
|
+
redis.multi do |pipeline|
|
|
79
79
|
batch.each do |job|
|
|
80
80
|
id = job.fetch(:id)
|
|
81
81
|
perform_in = job.fetch(:perform_in, timestamp)
|
|
@@ -87,14 +87,14 @@ module Lowkiq
|
|
|
87
87
|
|
|
88
88
|
shard = id_to_shard id
|
|
89
89
|
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
90
|
+
pipeline.zadd @keys.all_ids_lex_zset, 0, id
|
|
91
|
+
pipeline.zadd @keys.all_ids_scored_by_perform_in_zset, perform_in, id
|
|
92
|
+
pipeline.zadd @keys.all_ids_scored_by_retry_count_zset, retry_count, id
|
|
93
93
|
|
|
94
|
-
|
|
95
|
-
|
|
94
|
+
pipeline.zadd @keys.ids_scored_by_perform_in_zset(shard), perform_in, id
|
|
95
|
+
pipeline.zadd @keys.payloads_zset(id), payloads, nx: true
|
|
96
96
|
|
|
97
|
-
|
|
97
|
+
pipeline.hset @keys.errors_hash, id, error unless error.nil?
|
|
98
98
|
end
|
|
99
99
|
end
|
|
100
100
|
end
|
|
@@ -105,16 +105,16 @@ module Lowkiq
|
|
|
105
105
|
length = ids.length
|
|
106
106
|
|
|
107
107
|
@pool.with do |redis|
|
|
108
|
-
redis.multi do
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
108
|
+
redis.multi do |pipeline|
|
|
109
|
+
pipeline.del @keys.processing_ids_with_perform_in_hash(shard)
|
|
110
|
+
pipeline.del @keys.processing_ids_with_retry_count_hash(shard)
|
|
111
|
+
pipeline.del @keys.processing_errors_hash(shard)
|
|
112
112
|
ids.each do |id|
|
|
113
|
-
|
|
113
|
+
pipeline.del @keys.processing_payloads_zset(id)
|
|
114
114
|
end
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
115
|
+
pipeline.hdel @keys.processing_length_by_shard_hash, shard
|
|
116
|
+
pipeline.incrby @keys.processed_key, length if result == :success
|
|
117
|
+
pipeline.incrby @keys.failed_key, length if result == :fail
|
|
118
118
|
end
|
|
119
119
|
end
|
|
120
120
|
end
|
|
@@ -124,8 +124,8 @@ module Lowkiq
|
|
|
124
124
|
ids = redis.hkeys @keys.processing_ids_with_perform_in_hash(shard)
|
|
125
125
|
return [] if ids.empty?
|
|
126
126
|
|
|
127
|
-
res = redis.multi do |
|
|
128
|
-
processing_data_pipeline
|
|
127
|
+
res = redis.multi do |pipeline|
|
|
128
|
+
processing_data_pipeline pipeline, shard, ids
|
|
129
129
|
end
|
|
130
130
|
|
|
131
131
|
processing_data_build res, ids
|
|
@@ -135,7 +135,7 @@ module Lowkiq
|
|
|
135
135
|
def push_to_morgue(batch)
|
|
136
136
|
@pool.with do |redis|
|
|
137
137
|
timestamp = @timestamp.call
|
|
138
|
-
redis.multi do
|
|
138
|
+
redis.multi do |pipeline|
|
|
139
139
|
batch.each do |job|
|
|
140
140
|
id = job.fetch(:id)
|
|
141
141
|
payloads = job.fetch(:payloads).map do |(payload, score)|
|
|
@@ -144,11 +144,11 @@ module Lowkiq
|
|
|
144
144
|
error = Lowkiq.dump_error.call(job.fetch(:error, nil))
|
|
145
145
|
|
|
146
146
|
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
147
|
+
pipeline.zadd @keys.morgue_all_ids_lex_zset, 0, id
|
|
148
|
+
pipeline.zadd @keys.morgue_all_ids_scored_by_updated_at_zset, timestamp, id
|
|
149
|
+
pipeline.zadd @keys.morgue_payloads_zset(id), payloads, nx: true
|
|
150
150
|
|
|
151
|
-
|
|
151
|
+
pipeline.hset @keys.morgue_errors_hash, id, error unless error.nil?
|
|
152
152
|
end
|
|
153
153
|
end
|
|
154
154
|
end
|
|
@@ -156,12 +156,12 @@ module Lowkiq
|
|
|
156
156
|
|
|
157
157
|
def morgue_delete(ids)
|
|
158
158
|
@pool.with do |redis|
|
|
159
|
-
redis.multi do
|
|
159
|
+
redis.multi do |pipeline|
|
|
160
160
|
ids.each do |id|
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
161
|
+
pipeline.zrem @keys.morgue_all_ids_lex_zset, id
|
|
162
|
+
pipeline.zrem @keys.morgue_all_ids_scored_by_updated_at_zset, id
|
|
163
|
+
pipeline.del @keys.morgue_payloads_zset(id)
|
|
164
|
+
pipeline.hdel @keys.morgue_errors_hash, id
|
|
165
165
|
end
|
|
166
166
|
end
|
|
167
167
|
end
|
|
@@ -169,15 +169,15 @@ module Lowkiq
|
|
|
169
169
|
|
|
170
170
|
def delete(ids)
|
|
171
171
|
@pool.with do |redis|
|
|
172
|
-
redis.multi do
|
|
172
|
+
redis.multi do |pipeline|
|
|
173
173
|
ids.each do |id|
|
|
174
174
|
shard = id_to_shard id
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
175
|
+
pipeline.zrem @keys.all_ids_lex_zset, id
|
|
176
|
+
pipeline.zrem @keys.all_ids_scored_by_perform_in_zset, id
|
|
177
|
+
pipeline.zrem @keys.all_ids_scored_by_retry_count_zset, id
|
|
178
|
+
pipeline.zrem @keys.ids_scored_by_perform_in_zset(shard), id
|
|
179
|
+
pipeline.del @keys.payloads_zset(id)
|
|
180
|
+
pipeline.hdel @keys.errors_hash, id
|
|
181
181
|
end
|
|
182
182
|
end
|
|
183
183
|
end
|
data/lib/lowkiq/version.rb
CHANGED
data/lib/lowkiq/worker.rb
CHANGED
|
@@ -3,15 +3,15 @@ module Lowkiq
|
|
|
3
3
|
attr_accessor :shards_count,
|
|
4
4
|
:batch_size,
|
|
5
5
|
:max_retry_count,
|
|
6
|
-
:queue_name
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
6
|
+
:queue_name
|
|
7
|
+
|
|
8
|
+
def self.extended(mod)
|
|
9
|
+
super
|
|
10
|
+
mod.shards_count = 5
|
|
11
|
+
mod.batch_size = 1
|
|
12
|
+
mod.max_retry_count = 25
|
|
13
|
+
mod.queue_name = mod.name
|
|
14
|
+
end
|
|
15
15
|
|
|
16
16
|
# i.e. 15, 16, 31, 96, 271, ... seconds + a random amount of time
|
|
17
17
|
def retry_in(retry_count)
|
|
@@ -39,7 +39,8 @@ module Lowkiq
|
|
|
39
39
|
end
|
|
40
40
|
|
|
41
41
|
def perform_async(batch)
|
|
42
|
-
client_queue.push batch
|
|
42
|
+
Lowkiq.client_wrapper.call(self, batch) {client_queue.push batch}
|
|
43
43
|
end
|
|
44
|
+
|
|
44
45
|
end
|
|
45
46
|
end
|
data/lib/lowkiq.rb
CHANGED
|
@@ -38,7 +38,7 @@ module Lowkiq
|
|
|
38
38
|
class << self
|
|
39
39
|
attr_accessor :poll_interval, :threads_per_node,
|
|
40
40
|
:redis, :client_pool_size, :pool_timeout,
|
|
41
|
-
:server_middlewares, :on_server_init,
|
|
41
|
+
:server_middlewares, :client_middlewares, :on_server_init,
|
|
42
42
|
:build_scheduler, :build_splitter,
|
|
43
43
|
:last_words,
|
|
44
44
|
:dump_payload, :load_payload,
|
|
@@ -53,9 +53,9 @@ module Lowkiq
|
|
|
53
53
|
@client_redis_pool ||= ConnectionPool.new(size: client_pool_size, timeout: pool_timeout, &redis)
|
|
54
54
|
end
|
|
55
55
|
|
|
56
|
-
def
|
|
56
|
+
def middleware_wrapper(middlewares)
|
|
57
57
|
null = -> (worker, batch, &block) { block.call }
|
|
58
|
-
|
|
58
|
+
middlewares.reduce(null) do |wrapper, m|
|
|
59
59
|
-> (worker, batch, &block) do
|
|
60
60
|
wrapper.call worker, batch do
|
|
61
61
|
m.call worker, batch, &block
|
|
@@ -64,6 +64,14 @@ module Lowkiq
|
|
|
64
64
|
end
|
|
65
65
|
end
|
|
66
66
|
|
|
67
|
+
def client_wrapper
|
|
68
|
+
@client_wrapper ||= self.middleware_wrapper(self.client_middlewares)
|
|
69
|
+
end
|
|
70
|
+
|
|
71
|
+
def server_wrapper
|
|
72
|
+
@server_wrapper ||= self.middleware_wrapper(self.server_middlewares)
|
|
73
|
+
end
|
|
74
|
+
|
|
67
75
|
def shard_handlers
|
|
68
76
|
self.workers.flat_map do |w|
|
|
69
77
|
ShardHandler.build_many w, self.server_wrapper
|
|
@@ -103,6 +111,7 @@ module Lowkiq
|
|
|
103
111
|
self.client_pool_size = 5
|
|
104
112
|
self.pool_timeout = 5
|
|
105
113
|
self.server_middlewares = []
|
|
114
|
+
self.client_middlewares = []
|
|
106
115
|
self.on_server_init = ->() {}
|
|
107
116
|
self.build_scheduler = ->() { Lowkiq.build_lag_scheduler }
|
|
108
117
|
self.build_splitter = ->() { Lowkiq.build_default_splitter }
|
data/lowkiq.gemspec
CHANGED
|
@@ -6,7 +6,7 @@ Gem::Specification.new do |spec|
|
|
|
6
6
|
spec.name = "lowkiq"
|
|
7
7
|
spec.version = Lowkiq::VERSION
|
|
8
8
|
spec.authors = ["Mikhail Kuzmin"]
|
|
9
|
-
spec.email = ["
|
|
9
|
+
spec.email = ["m.kuzmin@darkleaf.ru"]
|
|
10
10
|
|
|
11
11
|
spec.summary = %q{Lowkiq}
|
|
12
12
|
spec.description = %q{Lowkiq}
|
|
@@ -19,7 +19,6 @@ Gem::Specification.new do |spec|
|
|
|
19
19
|
`git ls-files -z`
|
|
20
20
|
.split("\x0")
|
|
21
21
|
.reject { |f| f.match(%r{^(spec|frontend|examples|doc)/}) }
|
|
22
|
-
.push('assets/app.js')
|
|
23
22
|
end
|
|
24
23
|
spec.bindir = "exe"
|
|
25
24
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
|
@@ -29,10 +28,10 @@ Gem::Specification.new do |spec|
|
|
|
29
28
|
spec.add_dependency "connection_pool", "~> 2.2", ">= 2.2.2"
|
|
30
29
|
spec.add_dependency "rack", ">= 1.5.0"
|
|
31
30
|
|
|
32
|
-
spec.add_development_dependency "bundler", "~> 2.1
|
|
31
|
+
spec.add_development_dependency "bundler", "~> 2.1"
|
|
33
32
|
spec.add_development_dependency "rake", "~> 12.3.0"
|
|
34
33
|
spec.add_development_dependency "rspec", "~> 3.0"
|
|
35
34
|
spec.add_development_dependency "rspec-mocks", "~> 3.8"
|
|
36
35
|
spec.add_development_dependency "rack-test", "~> 1.1"
|
|
37
|
-
spec.add_development_dependency "pry-byebug", "
|
|
36
|
+
spec.add_development_dependency "pry-byebug", ">= 3.9.0"
|
|
38
37
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: lowkiq
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.2.
|
|
4
|
+
version: 1.2.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Mikhail Kuzmin
|
|
8
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2026-11-02 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: redis
|
|
@@ -70,14 +70,14 @@ dependencies:
|
|
|
70
70
|
requirements:
|
|
71
71
|
- - "~>"
|
|
72
72
|
- !ruby/object:Gem::Version
|
|
73
|
-
version: 2.1
|
|
73
|
+
version: '2.1'
|
|
74
74
|
type: :development
|
|
75
75
|
prerelease: false
|
|
76
76
|
version_requirements: !ruby/object:Gem::Requirement
|
|
77
77
|
requirements:
|
|
78
78
|
- - "~>"
|
|
79
79
|
- !ruby/object:Gem::Version
|
|
80
|
-
version: 2.1
|
|
80
|
+
version: '2.1'
|
|
81
81
|
- !ruby/object:Gem::Dependency
|
|
82
82
|
name: rake
|
|
83
83
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -138,34 +138,33 @@ dependencies:
|
|
|
138
138
|
name: pry-byebug
|
|
139
139
|
requirement: !ruby/object:Gem::Requirement
|
|
140
140
|
requirements:
|
|
141
|
-
- - "
|
|
141
|
+
- - ">="
|
|
142
142
|
- !ruby/object:Gem::Version
|
|
143
143
|
version: 3.9.0
|
|
144
144
|
type: :development
|
|
145
145
|
prerelease: false
|
|
146
146
|
version_requirements: !ruby/object:Gem::Requirement
|
|
147
147
|
requirements:
|
|
148
|
-
- - "
|
|
148
|
+
- - ">="
|
|
149
149
|
- !ruby/object:Gem::Version
|
|
150
150
|
version: 3.9.0
|
|
151
151
|
description: Lowkiq
|
|
152
152
|
email:
|
|
153
|
-
-
|
|
153
|
+
- m.kuzmin@darkleaf.ru
|
|
154
154
|
executables:
|
|
155
155
|
- lowkiq
|
|
156
156
|
extensions: []
|
|
157
157
|
extra_rdoc_files: []
|
|
158
158
|
files:
|
|
159
|
+
- ".github/workflows/rspec.yml"
|
|
159
160
|
- ".gitignore"
|
|
160
161
|
- ".rspec"
|
|
161
162
|
- CHANGELOG.md
|
|
162
163
|
- Gemfile
|
|
163
|
-
- Gemfile.lock
|
|
164
164
|
- LICENSE.md
|
|
165
165
|
- README.md
|
|
166
166
|
- README.ru.md
|
|
167
167
|
- Rakefile
|
|
168
|
-
- assets/app.js
|
|
169
168
|
- bin/console
|
|
170
169
|
- bin/setup
|
|
171
170
|
- deploy.md
|
|
@@ -200,7 +199,7 @@ licenses:
|
|
|
200
199
|
- LGPL
|
|
201
200
|
- EULA
|
|
202
201
|
metadata: {}
|
|
203
|
-
post_install_message:
|
|
202
|
+
post_install_message:
|
|
204
203
|
rdoc_options: []
|
|
205
204
|
require_paths:
|
|
206
205
|
- lib
|
|
@@ -215,8 +214,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
215
214
|
- !ruby/object:Gem::Version
|
|
216
215
|
version: '0'
|
|
217
216
|
requirements: []
|
|
218
|
-
rubygems_version: 3.3.
|
|
219
|
-
signing_key:
|
|
217
|
+
rubygems_version: 3.0.3.1
|
|
218
|
+
signing_key:
|
|
220
219
|
specification_version: 4
|
|
221
220
|
summary: Lowkiq
|
|
222
221
|
test_files: []
|
data/Gemfile.lock
DELETED
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
PATH
|
|
2
|
-
remote: .
|
|
3
|
-
specs:
|
|
4
|
-
lowkiq (1.1.0)
|
|
5
|
-
connection_pool (~> 2.2, >= 2.2.2)
|
|
6
|
-
rack (>= 1.5.0)
|
|
7
|
-
redis (>= 4.0.1, < 5)
|
|
8
|
-
|
|
9
|
-
GEM
|
|
10
|
-
remote: https://rubygems.org/
|
|
11
|
-
specs:
|
|
12
|
-
byebug (11.1.3)
|
|
13
|
-
coderay (1.1.3)
|
|
14
|
-
connection_pool (2.2.3)
|
|
15
|
-
diff-lcs (1.3)
|
|
16
|
-
method_source (1.0.0)
|
|
17
|
-
pry (0.13.1)
|
|
18
|
-
coderay (~> 1.1)
|
|
19
|
-
method_source (~> 1.0)
|
|
20
|
-
pry-byebug (3.9.0)
|
|
21
|
-
byebug (~> 11.0)
|
|
22
|
-
pry (~> 0.13.0)
|
|
23
|
-
rack (2.2.2)
|
|
24
|
-
rack-test (1.1.0)
|
|
25
|
-
rack (>= 1.0, < 3)
|
|
26
|
-
rake (12.3.3)
|
|
27
|
-
redis (4.2.5)
|
|
28
|
-
rspec (3.9.0)
|
|
29
|
-
rspec-core (~> 3.9.0)
|
|
30
|
-
rspec-expectations (~> 3.9.0)
|
|
31
|
-
rspec-mocks (~> 3.9.0)
|
|
32
|
-
rspec-core (3.9.1)
|
|
33
|
-
rspec-support (~> 3.9.1)
|
|
34
|
-
rspec-expectations (3.9.0)
|
|
35
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
|
36
|
-
rspec-support (~> 3.9.0)
|
|
37
|
-
rspec-mocks (3.9.1)
|
|
38
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
|
39
|
-
rspec-support (~> 3.9.0)
|
|
40
|
-
rspec-support (3.9.2)
|
|
41
|
-
|
|
42
|
-
PLATFORMS
|
|
43
|
-
ruby
|
|
44
|
-
|
|
45
|
-
DEPENDENCIES
|
|
46
|
-
bundler (~> 2.1.0)
|
|
47
|
-
lowkiq!
|
|
48
|
-
pry-byebug (~> 3.9.0)
|
|
49
|
-
rack-test (~> 1.1)
|
|
50
|
-
rake (~> 12.3.0)
|
|
51
|
-
rspec (~> 3.0)
|
|
52
|
-
rspec-mocks (~> 3.8)
|
|
53
|
-
|
|
54
|
-
BUNDLED WITH
|
|
55
|
-
2.1.4
|