resque-job_history 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/resque/plugins/version.rb +1 -1
- data/lib/resque/server/views/_job_class_pagination.erb +2 -2
- metadata +1 -16
- data/README.rdoc +0 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 478ee17e82e8a2fcd742c17c56bda6b5586065d9
|
4
|
+
data.tar.gz: 259443101165e95cd9bf685159ae03ce8c266311
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b546a34fa89692e2794f15d2801fa89faad6771a7015d4c778565b1c0241c52a2f5e928aee9a8fc2d6d856c07854d94a334b5355522efd27ec624841c9a932ab
|
7
|
+
data.tar.gz: 883a626bd6d5b813378164c4e8ab2ec397993218e07545cdd88245d5fc7e485af7e2e7696371eb18986cd16c14219a44497e2388c9146e336254fa4a758ed43f
|
@@ -20,7 +20,7 @@
|
|
20
20
|
|
21
21
|
<a href="job%20history?<%= { sort: @sort_by,
|
22
22
|
page_size: page_size,
|
23
|
-
page_num: page_num - 1,
|
23
|
+
page_num: [1, page_num - 1].max,
|
24
24
|
order: @sort_order }.to_param %>"
|
25
25
|
class="job_history_prev_page"
|
26
26
|
disabled="<%= page_num > 1 %>">
|
@@ -47,7 +47,7 @@
|
|
47
47
|
<div class="job_history_next_links">
|
48
48
|
<a href="job%20history?<%= { sort: @sort_by,
|
49
49
|
page_size: page_size,
|
50
|
-
page_num: page_num + 1,
|
50
|
+
page_num: [total_pages, page_num + 1].min,
|
51
51
|
order: @sort_order }.to_param %>"
|
52
52
|
class="job_history_next_page"
|
53
53
|
disabled="<%= page_num < last_page %>">
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: resque-job_history
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- RealNobody
|
@@ -66,20 +66,6 @@ dependencies:
|
|
66
66
|
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0'
|
69
|
-
- !ruby/object:Gem::Dependency
|
70
|
-
name: sqlite3
|
71
|
-
requirement: !ruby/object:Gem::Requirement
|
72
|
-
requirements:
|
73
|
-
- - ">="
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
version: '0'
|
76
|
-
type: :development
|
77
|
-
prerelease: false
|
78
|
-
version_requirements: !ruby/object:Gem::Requirement
|
79
|
-
requirements:
|
80
|
-
- - ">="
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
version: '0'
|
83
69
|
- !ruby/object:Gem::Dependency
|
84
70
|
name: rspec-rails
|
85
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -102,7 +88,6 @@ extensions: []
|
|
102
88
|
extra_rdoc_files: []
|
103
89
|
files:
|
104
90
|
- MIT-LICENSE
|
105
|
-
- README.rdoc
|
106
91
|
- Rakefile
|
107
92
|
- lib/resque-job_history.rb
|
108
93
|
- lib/resque/job_history_server.rb
|
data/README.rdoc
DELETED