que-web 0.9.3 → 0.9.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ebaed73a196599d197e408d743f11878983bd41946128b414a761f41212f798b
4
- data.tar.gz: cbf8d59327853afaea14ffc79d6b6633bd56c046b64b8b2200ca29251bc4b2ae
3
+ metadata.gz: 53df036811b3eda332469ccbb064fa0ce0ef6115a5c1e4be7bea8dae18adf612
4
+ data.tar.gz: 6e8855009352f7b0199fdbaf167ac38ad36655dce35f02aba95f1198ef1a4fba
5
5
  SHA512:
6
- metadata.gz: 6674c985452e1bf8c7aaf159b6efd1d0ef3008bb0020abe7625799a422e76246443c953ff5d4eb7676f8bf0cf4a39e1bee71fcdf3ac97bafafd8f9aa292f6c96
7
- data.tar.gz: 39c94ab7f64cb5bf20c2e978aa369fd675dde28b058f52ffb4e2af4fec7c91f8d4d14b904b86d0e2f5c35ef02053be68e3b3d1a8edc02aa4d8a1e8941733436f
6
+ metadata.gz: a6e848926b6f28e94f119ecf888ba1b1cf10d895b77a196f68caa9f9823766eaa426bc68892b84dfd3ab42364b8f3b6ea10f897b6fb72a82b403fcc6d0897bbf
7
+ data.tar.gz: 847907469ccc57d2873b72de4d7c0af552358242757cb47c9187d3ca506feb00721c1f475f3c5f6648e373a9ed2b525ec206d87942fa15a844d3c0665bf48332
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ### Unreleased
2
+ #### Fixed:
3
+ - Fixed inconsistent pagination when several jobs have the same `run_at`
4
+
1
5
  ### 0.9.3 - 2020-06-17
2
6
  #### Added:
3
7
  - Set expired_at=NULL when rescheduling job
data/docker/Gemfile.lock CHANGED
@@ -4,13 +4,13 @@ GEM
4
4
  erubis (2.7.0)
5
5
  mustermann (1.0.3)
6
6
  pg (1.0.0)
7
- puma (3.12.3)
7
+ puma (3.12.6)
8
8
  que (0.14.2)
9
9
  que-web (0.7.0)
10
10
  erubis
11
11
  que (~> 0.8)
12
12
  sinatra
13
- rack (2.0.8)
13
+ rack (2.2.3)
14
14
  rack-protection (2.0.7)
15
15
  rack
16
16
  sequel (5.5.0)
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ../..
3
3
  specs:
4
- que-web (0.9.2)
4
+ que-web (0.9.3)
5
5
  que (~> 1.0.0.beta3)
6
6
  sinatra
7
7
 
@@ -12,7 +12,7 @@ GEM
12
12
  ruby2_keywords (~> 0.0.1)
13
13
  pg (1.2.3)
14
14
  que (1.0.0.beta4)
15
- rack (2.2.2)
15
+ rack (2.2.3)
16
16
  rack-protection (2.0.8.1)
17
17
  rack
18
18
  ruby2_keywords (0.0.2)
data/lib/que/web/sql.rb CHANGED
@@ -70,7 +70,7 @@ Que::Web::SQL = {
70
70
  job_class ILIKE ($3)
71
71
  OR que_jobs.args #>> '{0, job_class}' ILIKE ($3)
72
72
  )
73
- ORDER BY run_at
73
+ ORDER BY run_at, id
74
74
  LIMIT $1::int
75
75
  OFFSET $2::int
76
76
  SQL
@@ -88,7 +88,7 @@ Que::Web::SQL = {
88
88
  job_class ILIKE ($3)
89
89
  OR que_jobs.args #>> '{0, job_class}' ILIKE ($3)
90
90
  )
91
- ORDER BY run_at
91
+ ORDER BY run_at, id
92
92
  LIMIT $1::int
93
93
  OFFSET $2::int
94
94
  SQL
data/que-web.gemspec CHANGED
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = "que-web"
7
- spec.version = "0.9.3"
7
+ spec.version = "0.9.4"
8
8
  spec.authors = ["Jason Staten", "Bruno Porto"]
9
9
  spec.email = ["jstaten07@gmail.com", "brunotporto@gmail.com"]
10
10
  spec.summary = %q{A web interface for the que queue}
@@ -17,7 +17,7 @@ Gem::Specification.new do |spec|
17
17
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
18
18
  spec.require_paths = ["lib"]
19
19
 
20
- spec.add_dependency "que", "~> 1.0.0.beta3"
20
+ spec.add_dependency "que", "~> 1"
21
21
  spec.add_dependency "sinatra"
22
22
 
23
23
  spec.add_development_dependency "bundler", ">= 1.6"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: que-web
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.3
4
+ version: 0.9.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jason Staten
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2020-06-17 00:00:00.000000000 Z
12
+ date: 2022-03-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: que
@@ -17,14 +17,14 @@ dependencies:
17
17
  requirements:
18
18
  - - "~>"
19
19
  - !ruby/object:Gem::Version
20
- version: 1.0.0.beta3
20
+ version: '1'
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
25
  - - "~>"
26
26
  - !ruby/object:Gem::Version
27
- version: 1.0.0.beta3
27
+ version: '1'
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: sinatra
30
30
  requirement: !ruby/object:Gem::Requirement
@@ -161,7 +161,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
161
161
  - !ruby/object:Gem::Version
162
162
  version: '0'
163
163
  requirements: []
164
- rubygems_version: 3.1.2
164
+ rubygems_version: 3.0.3
165
165
  signing_key:
166
166
  specification_version: 4
167
167
  summary: A web interface for the que queue