sidekiq 2.5.1 → 2.5.2

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of sidekiq might be problematic. Click here for more details.

Files changed (39) hide show
  1. data/.rvmrc +0 -1
  2. data/Changes.md +10 -0
  3. data/Gemfile +2 -5
  4. data/examples/sinkiq.rb +2 -2
  5. data/lib/sidekiq/cli.rb +7 -2
  6. data/lib/sidekiq/manager.rb +4 -4
  7. data/lib/sidekiq/middleware/server/retry_jobs.rb +1 -1
  8. data/lib/sidekiq/testing.rb +3 -2
  9. data/lib/sidekiq/version.rb +1 -1
  10. data/lib/sidekiq/web.rb +2 -59
  11. data/sidekiq.gemspec +0 -4
  12. data/test/helper.rb +4 -1
  13. data/test/test_middleware.rb +0 -1
  14. data/test/test_retry.rb +1 -1
  15. data/test/test_stats.rb +6 -8
  16. data/test/test_testing.rb +31 -0
  17. data/web/assets/javascripts/application.js +6 -11
  18. data/web/assets/javascripts/vendor/bootstrap.js +6 -2026
  19. data/web/assets/javascripts/vendor/jquery.js +2 -9265
  20. data/web/assets/stylesheets/application.css +544 -4
  21. data/web/assets/stylesheets/bootstrap.css +20 -0
  22. data/web/views/_workers.slim +1 -1
  23. data/web/views/layout.slim +6 -3
  24. metadata +3 -81
  25. data/web/assets/stylesheets/layout.css +0 -30
  26. data/web/assets/stylesheets/partials/_base.scss +0 -116
  27. data/web/assets/stylesheets/partials/_colors.scss +0 -46
  28. data/web/assets/stylesheets/partials/_fonts.scss +0 -3
  29. data/web/assets/stylesheets/partials/_h5bp.scss +0 -293
  30. data/web/assets/stylesheets/partials/_layout.scss +0 -197
  31. data/web/assets/stylesheets/partials/_navbar.scss +0 -100
  32. data/web/assets/stylesheets/partials/_normalize.scss +0 -504
  33. data/web/assets/stylesheets/partials/_prettify.css +0 -30
  34. data/web/assets/stylesheets/partials/_variables.scss +0 -28
  35. data/web/assets/stylesheets/public.scss +0 -74
  36. data/web/assets/stylesheets/style.scss +0 -69
  37. data/web/assets/stylesheets/vendor/bootstrap-responsive.css +0 -1040
  38. data/web/assets/stylesheets/vendor/bootstrap.css +0 -5624
  39. data/web/assets/stylesheets/vendors.scss +0 -2
@@ -1,46 +0,0 @@
1
- @import "compass";
2
-
3
- // $main : #149D63;
4
-
5
- $off_white : #f3f3f3;
6
- $main : saturate(#B1003E, 10%);
7
- $active : darken($main, 20%);
8
- $dark_gray : lighten(#242222, 20%);
9
- $light_gray : #FAFAFA;
10
- $success : #009300;
11
-
12
-
13
- $gradient : $light_gray;
14
- $gradient_dark : darken($light_gray, 5%);
15
-
16
- $primary_gradient : $main;
17
- $primary_gradient_dark : darken($primary_gradient, 5%);
18
-
19
- $danger_gradient : saturate($main, 20%);
20
- $danger_gradient_dark : darken($danger_gradient, 5%);
21
-
22
-
23
-
24
- $highlight_color : $main;
25
- $text : $dark_gray;
26
- $title_color : $main;
27
- $link_color : $main;
28
- $link_active_color : $active;
29
- $success_color : $success;
30
-
31
- $background : $off_white;
32
-
33
- $btn : $gradient;
34
- $btn_dark : $gradient_dark;
35
- $btn_gradient : linear-gradient($btn, $btn_dark);
36
-
37
- $btn_primary : $primary_gradient;
38
- $btn_primary_dark : $primary_gradient_dark;
39
- $btn_primary_gradient : linear-gradient($primary_gradient,$primary_gradient_dark);
40
-
41
- $btn_danger_dark : $primary_gradient_dark;
42
- $btn_danger_gradient : linear-gradient($danger_gradient,$danger_gradient_dark);
43
-
44
- $title_primary_gradient:linear-gradient($primary_gradient,darken($primary_gradient_dark, 20%));
45
- $smooth_shadow : 0px 0px 2px rgba(0,0,0,0.4);
46
- $highlight : 0px 1px 0px white;
@@ -1,3 +0,0 @@
1
- @import url(http://fonts.googleapis.com/css?family=Gudea:400,700);
2
- @import url(http://fonts.googleapis.com/css?family=Armata);
3
- // @import 'fonts/font_name/stylesheet'
@@ -1,293 +0,0 @@
1
- /*
2
- * HTML5 Boilerplate
3
- *
4
- * What follows is the result of much research on cross-browser styling.
5
- * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
6
- * Kroc Camen, and the H5BP dev community and team.
7
- */
8
-
9
- /* ==========================================================================
10
- Base styles: opinionated defaults
11
- ========================================================================== */
12
-
13
- html,
14
- button,
15
- input,
16
- select,
17
- textarea {
18
- color: #222;
19
- }
20
-
21
- /*
22
- * Remove text-shadow in selection highlight: h5bp.com/i
23
- * These selection declarations have to be separate.
24
- * Customize the background color to match your design.
25
- */
26
-
27
- ::-moz-selection {
28
- background: #b3d4fc;
29
- text-shadow: none;
30
- }
31
-
32
- ::selection {
33
- background: #b3d4fc;
34
- text-shadow: none;
35
- }
36
-
37
- /*
38
- * A better looking default horizontal rule
39
- */
40
-
41
- hr {
42
- display: block;
43
- height: 1px;
44
- border: 0;
45
- border-top: 1px solid #ccc;
46
- margin: 1em 0;
47
- padding: 0;
48
- }
49
-
50
- /*
51
- * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
52
- */
53
-
54
- img {
55
- vertical-align: middle;
56
- }
57
-
58
- /*
59
- * Remove default fieldset styles.
60
- */
61
-
62
- fieldset {
63
- border: 0;
64
- margin: 0;
65
- padding: 0;
66
- }
67
-
68
- /*
69
- * Allow only vertical resizing of textareas.
70
- */
71
-
72
- textarea {
73
- resize: vertical;
74
- }
75
-
76
- /* ==========================================================================
77
- Chrome Frame prompt
78
- ========================================================================== */
79
-
80
- .chromeframe {
81
- margin: 0.2em 0;
82
- background: #ccc;
83
- color: #000;
84
- padding: 0.2em 0;
85
- }
86
-
87
- /* ==========================================================================
88
- Author's custom styles
89
- ========================================================================== */
90
-
91
-
92
-
93
-
94
-
95
-
96
-
97
-
98
-
99
-
100
-
101
-
102
-
103
-
104
-
105
-
106
-
107
- /* ==========================================================================
108
- Helper classes
109
- ========================================================================== */
110
-
111
- /*
112
- * Image replacement
113
- */
114
-
115
- .ir {
116
- background-color: transparent;
117
- border: 0;
118
- overflow: hidden;
119
- /* IE 6/7 fallback */
120
- *text-indent: -9999px;
121
- }
122
-
123
- .ir:before {
124
- content: "";
125
- display: block;
126
- width: 0;
127
- height: 100%;
128
- }
129
-
130
- /*
131
- * Hide from both screenreaders and browsers: h5bp.com/u
132
- */
133
-
134
- .hidden {
135
- display: none !important;
136
- visibility: hidden;
137
- }
138
-
139
- /*
140
- * Hide only visually, but have it available for screenreaders: h5bp.com/v
141
- */
142
-
143
- .visuallyhidden {
144
- border: 0;
145
- clip: rect(0 0 0 0);
146
- height: 1px;
147
- margin: -1px;
148
- overflow: hidden;
149
- padding: 0;
150
- position: absolute;
151
- width: 1px;
152
- }
153
-
154
- /*
155
- * Extends the .visuallyhidden class to allow the element to be focusable
156
- * when navigated to via the keyboard: h5bp.com/p
157
- */
158
-
159
- .visuallyhidden.focusable:active,
160
- .visuallyhidden.focusable:focus {
161
- clip: auto;
162
- height: auto;
163
- margin: 0;
164
- overflow: visible;
165
- position: static;
166
- width: auto;
167
- }
168
-
169
- /*
170
- * Hide visually and from screenreaders, but maintain layout
171
- */
172
-
173
- .invisible {
174
- visibility: hidden;
175
- }
176
-
177
- /*
178
- * Clearfix: contain floats
179
- *
180
- * For modern browsers
181
- * 1. The space content is one way to avoid an Opera bug when the
182
- * `contenteditable` attribute is included anywhere else in the document.
183
- * Otherwise it causes space to appear at the top and bottom of elements
184
- * that receive the `clearfix` class.
185
- * 2. The use of `table` rather than `block` is only necessary if using
186
- * `:before` to contain the top-margins of child elements.
187
- */
188
-
189
- .clearfix:before,
190
- .clearfix:after {
191
- content: " "; /* 1 */
192
- display: table; /* 2 */
193
- }
194
-
195
- .clearfix:after {
196
- clear: both;
197
- }
198
-
199
- /*
200
- * For IE 6/7 only
201
- * Include this rule to trigger hasLayout and contain floats.
202
- */
203
-
204
- .clearfix {
205
- *zoom: 1;
206
- }
207
-
208
- /* ==========================================================================
209
- EXAMPLE Media Queries for Responsive Design.
210
- Theses examples override the primary ('mobile first') styles.
211
- Modify as content requires.
212
- ========================================================================== */
213
-
214
- @media only screen and (min-width: 35em) {
215
- /* Style adjustments for viewports that meet the condition */
216
- }
217
-
218
- @media only screen and (-webkit-min-device-pixel-ratio: 1.5),
219
- only screen and (min-resolution: 144dpi) {
220
- /* Style adjustments for high resolution devices */
221
- }
222
-
223
- /* ==========================================================================
224
- Print styles.
225
- Inlined to avoid required HTTP connection: h5bp.com/r
226
- ========================================================================== */
227
-
228
- @media print {
229
- * {
230
- background: transparent !important;
231
- color: #000 !important; /* Black prints faster: h5bp.com/s */
232
- box-shadow:none !important;
233
- text-shadow: none !important;
234
- }
235
-
236
- a,
237
- a:visited {
238
- text-decoration: underline;
239
- }
240
-
241
- a[href]:after {
242
- content: " (" attr(href) ")";
243
- }
244
-
245
- abbr[title]:after {
246
- content: " (" attr(title) ")";
247
- }
248
-
249
- /*
250
- * Don't show links for images, or javascript/internal links
251
- */
252
-
253
- .ir a:after,
254
- a[href^="javascript:"]:after,
255
- a[href^="#"]:after {
256
- content: "";
257
- }
258
-
259
- pre,
260
- blockquote {
261
- border: 1px solid #999;
262
- page-break-inside: avoid;
263
- }
264
-
265
- thead {
266
- display: table-header-group; /* h5bp.com/t */
267
- }
268
-
269
- tr,
270
- img {
271
- page-break-inside: avoid;
272
- }
273
-
274
- img {
275
- max-width: 100% !important;
276
- }
277
-
278
- @page {
279
- margin: 0.5cm;
280
- }
281
-
282
- p,
283
- h2,
284
- h3 {
285
- orphans: 3;
286
- widows: 3;
287
- }
288
-
289
- h2,
290
- h3 {
291
- page-break-after: avoid;
292
- }
293
- }
@@ -1,197 +0,0 @@
1
- section{
2
- padding-top:10px;
3
- }
4
-
5
- code{
6
- padding:0;
7
- }
8
-
9
- footer{
10
- padding:40px 20px;
11
- text-align:center;
12
- .edits{
13
- margin-right: 40px;
14
- }
15
- }
16
-
17
- body{
18
- padding:0px 20px;
19
- }
20
-
21
- h3{
22
- line-height:45px;
23
- }
24
-
25
- .tagline{
26
- margin-bottom: 40px;
27
- }
28
-
29
- .centered{
30
- text-align:center;
31
- }
32
-
33
- .page-header{
34
- margin-bottom: 10px;
35
- h1, h2, h3, h4, h5, h6{
36
- margin:0;
37
- }
38
- }
39
-
40
- .hero-unit{
41
- margin-bottom:0;
42
- }
43
-
44
-
45
- #call_to_action{
46
- margin-top:1.5em;
47
- }
48
-
49
- pre.prettyprint{
50
- margin-bottom:5px;
51
- }
52
-
53
- .admin{
54
- #page{
55
- padding:60px 0 40px 0;
56
- }
57
- .hero-unit{
58
- padding: 0px 0 0.5em 0;
59
- }
60
- }
61
-
62
-
63
- .row.header{
64
- .actions{
65
- padding-top:0.9em;
66
- }
67
- }
68
-
69
- header.row{
70
- .pagination{
71
- margin:12px 0;
72
- }
73
- }
74
-
75
- .navbar{
76
- .status{
77
- position: relative;
78
- i{
79
- position: absolute;
80
- left:-28px;
81
- }
82
- }
83
- }
84
-
85
- .summary_bar{
86
- .status{
87
- margin-left: 10px;
88
- }
89
- .summary{
90
- margin-top:12px;
91
- background-color: #fff;
92
-
93
- // Box shadow
94
- -webkit-box-shadow: 0px 0px 5px rgba(50, 50, 50, 0.25);
95
- -moz-box-shadow: 0px 0px 5px rgba(50, 50, 50, 0.25);
96
- box-shadow: 0px 0px 5px rgba(50, 50, 50, 0.25);
97
-
98
- // Rounded borders (top only)
99
- -webkit-border-radius: 4px;
100
- -webkit-border-radius: 4px;
101
- -moz-border-radius: 4px;
102
- -moz-border-radius: 4px;
103
- border-radius: 4px;
104
- border-radius: 4px;
105
-
106
- padding: 8px;
107
- margin-bottom: 10px;
108
- border-width: 0px;
109
- }
110
- #live-poll{
111
- line-height: 28px;
112
- &.active {
113
- background-color: $success_color;
114
- }
115
- }
116
- ul{
117
- margin: 0 0 38px 0;
118
- h3{
119
- font-size: 1em;
120
- margin:0;
121
- font-weight:normal;
122
- line-height: 1em;
123
- }
124
- li{
125
- padding:4px 0 2px 0;
126
- }
127
- .desc{
128
- font-size:1.1em;
129
- font-weight:normal;
130
- }
131
- .count{
132
- color: $highlight_color;
133
- font-size: 1.1em;
134
- font-weight:bold;
135
- float:right;
136
- }
137
- }
138
- .poll-status{
139
- height:58px;
140
- text-align: center;
141
- .text {
142
- font-weight: 300;
143
- }
144
- .time {
145
- color: #008800;
146
- font-weight: 320;
147
- }
148
- }
149
- }
150
-
151
- table.table-white {
152
- background-color: #fff;
153
- }
154
-
155
- #tiny-details {
156
- background-color: rgb(220,220,220);
157
- padding: 2px 10px 3px;
158
- color: #666;
159
-
160
- li {
161
- line-height: 1.0em;
162
- text-shadow: 1px 1px 1px #ffffff;
163
- filter: dropshadow(color=#ffffff, offx=1, offy=1);
164
- }
165
-
166
- // Rounded borders (top only)
167
- -webkit-border-radius: 4px;
168
- -webkit-border-radius: 4px;
169
- -moz-border-radius: 4px;
170
- -moz-border-radius: 4px;
171
- border-radius: 4px;
172
- border-radius: 4px;
173
- .desc { font-size: 0.9em; }
174
- .data { font-size: 0.9em; }
175
- }
176
-
177
- .queues{
178
- form{
179
- margin:0;
180
- }
181
- }
182
-
183
-
184
- form{
185
- .btn{
186
- margin-right:5px;
187
- }
188
- }
189
-
190
- @media (max-width: 979px){
191
- .navbar-fixed-top, .navbar-fixed-bottom{
192
- margin: 0 -20px;
193
- }
194
- .admin #page{
195
- padding-top:20px;
196
- }
197
- }
@@ -1,100 +0,0 @@
1
- $kick_time : 0.2s;
2
-
3
- .navbar-container{
4
- height:40px;
5
-
6
- .brand{
7
- @include transition(all $kick_time ease-out);
8
- span{
9
- @include transition(all $kick_time*1.5 ease-in);
10
- display:inline-block;
11
- }
12
- }
13
- }
14
-
15
- .navbar-container{
16
- .brand{
17
- padding:4px 0;
18
- margin-left:-1150px;
19
- @media (min-width: 1450px) {
20
- margin-left:-1250px;
21
- }
22
- @media (min-width: 1650px) {
23
- margin-left:-1350px;
24
- }
25
- @media (min-width: 1850px) {
26
- margin-left:-1450px;
27
- }
28
- @media (min-width: 2050px) {
29
- margin-left:-1550px;
30
- }
31
- @media (min-width: 2250px) {
32
- margin-left:-1650px;
33
- }
34
- @media (min-width: 2450px) {
35
- margin-left:-1750px;
36
- }
37
- @media (min-width: 2650px) {
38
- margin-left:-1850px;
39
- }
40
- span{
41
- margin-left:0;
42
- // padding: 10px 0;
43
- }
44
- }
45
- .affix{
46
- .brand{
47
- // margin-left:60px;
48
- margin-left:0px;
49
- span{
50
- // padding: 10px 20px 10px 5px;
51
- }
52
- }
53
- }
54
- }
55
-
56
- .navbar-footer{
57
- .navbar {
58
- ul.nav{
59
- text-align:center;
60
- float :none;
61
- a{
62
- font-weight: 700;
63
- font-size :16px;
64
- padding: 15px;
65
- @media (max-width: $split_width) {
66
- padding: 15px 5px;
67
- }
68
-
69
- &.brand{
70
- font-weight:400;
71
- padding:0 15px 0 0;
72
- @media (max-width: $split_width) {
73
- padding-right:5px;
74
- }
75
- // color :$btn_primary_dark;
76
- // @include text-shadow(none);
77
- }
78
- }
79
- li{
80
- display:inline-block;
81
- float :none;
82
- }
83
- }
84
- &.affix{
85
- top:0;
86
- width:100%;
87
- z-index: 10;
88
- }
89
- }
90
- }
91
-
92
- img.smallogo{
93
- width:30px;
94
- margin: 0px 0px 6px 0px;
95
- }
96
-
97
- .navbar-fixed-bottom li {
98
- margin-right: 20px;
99
- }
100
-