container_broker 1.1.0 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/status_controller.rb +4 -2
- data/lib/constants.rb +1 -1
- data/lib/container_broker.rb +0 -1
- data/lib/container_broker/version.rb +1 -1
- metadata +5 -25
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0c204c11219f22286a9902dca0b26b4cf3ffc41fdc2d6e0c8d9dfee7855e2b5f
|
4
|
+
data.tar.gz: a17d82880a1d2da75a4ca74541fecc8196a0155eb6e42c7750b7afa5b8067839
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 240c3d43b3cef13f701099c8a5302f83c3e6018cd16ef1865828bd5ca7b53833692d3904dd0c21cfa5f99f78f4275b08eba9bf6a7059c6066f5d48a56e27ef67
|
7
|
+
data.tar.gz: c2721d3effc0a20f36fe07cbbfdd43fb161c7d0b18d8205eb4a9d4f55c90e17bca6451a27c67b355f643560c6cfe42e91db5984430d13be1949c334816e417e8
|
@@ -8,12 +8,14 @@ class StatusController < ApplicationController
|
|
8
8
|
end
|
9
9
|
|
10
10
|
def tasks
|
11
|
+
limit = params.fetch(:limit, LIMIT_TASKS).to_i
|
12
|
+
|
11
13
|
@tasks = Task
|
12
14
|
.only(Task.attribute_names - %w[logs])
|
13
15
|
.includes(:slot)
|
14
16
|
.order_by("created_at" => "desc")
|
15
|
-
.batch_size(
|
16
|
-
.limit(
|
17
|
+
.batch_size(limit)
|
18
|
+
.limit(limit)
|
17
19
|
|
18
20
|
@tasks = @tasks.where(status: params[:status]) if params[:status].present?
|
19
21
|
if params[:tags]
|
data/lib/constants.rb
CHANGED
data/lib/container_broker.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: container_broker
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Douglas Lise
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2021-01-
|
13
|
+
date: 2021-01-28 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rails
|
@@ -164,20 +164,14 @@ dependencies:
|
|
164
164
|
requirements:
|
165
165
|
- - ">="
|
166
166
|
- !ruby/object:Gem::Version
|
167
|
-
version:
|
168
|
-
- - "<"
|
169
|
-
- !ruby/object:Gem::Version
|
170
|
-
version: '3.2'
|
167
|
+
version: '0'
|
171
168
|
type: :development
|
172
169
|
prerelease: false
|
173
170
|
version_requirements: !ruby/object:Gem::Requirement
|
174
171
|
requirements:
|
175
172
|
- - ">="
|
176
173
|
- !ruby/object:Gem::Version
|
177
|
-
version:
|
178
|
-
- - "<"
|
179
|
-
- !ruby/object:Gem::Version
|
180
|
-
version: '3.2'
|
174
|
+
version: '0'
|
181
175
|
- !ruby/object:Gem::Dependency
|
182
176
|
name: spring
|
183
177
|
requirement: !ruby/object:Gem::Requirement
|
@@ -332,20 +326,6 @@ dependencies:
|
|
332
326
|
- - ">="
|
333
327
|
- !ruby/object:Gem::Version
|
334
328
|
version: '0'
|
335
|
-
- !ruby/object:Gem::Dependency
|
336
|
-
name: redis-namespace
|
337
|
-
requirement: !ruby/object:Gem::Requirement
|
338
|
-
requirements:
|
339
|
-
- - ">="
|
340
|
-
- !ruby/object:Gem::Version
|
341
|
-
version: '0'
|
342
|
-
type: :runtime
|
343
|
-
prerelease: false
|
344
|
-
version_requirements: !ruby/object:Gem::Requirement
|
345
|
-
requirements:
|
346
|
-
- - ">="
|
347
|
-
- !ruby/object:Gem::Version
|
348
|
-
version: '0'
|
349
329
|
- !ruby/object:Gem::Dependency
|
350
330
|
name: sentry-raven
|
351
331
|
requirement: !ruby/object:Gem::Requirement
|
@@ -583,7 +563,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
583
563
|
- !ruby/object:Gem::Version
|
584
564
|
version: '0'
|
585
565
|
requirements: []
|
586
|
-
rubygems_version: 3.
|
566
|
+
rubygems_version: 3.2.3
|
587
567
|
signing_key:
|
588
568
|
specification_version: 4
|
589
569
|
summary: ContainerBroker
|