sidetiq 0.4.1 → 0.4.2
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/CHANGELOG.md +5 -0
- data/lib/sidetiq/version.rb +1 -1
- data/lib/sidetiq/views/_home_nav.erb +11 -15
- data/lib/sidetiq/views/_worker_nav.erb +15 -21
- data/lib/sidetiq/views/assets/styles.css +0 -36
- data/lib/sidetiq/views/history.erb +4 -4
- data/lib/sidetiq/views/locks.erb +4 -4
- data/lib/sidetiq/views/schedule.erb +4 -4
- data/lib/sidetiq/views/sidetiq.erb +4 -4
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ef77874172fe6f9ad6b577266ff0e7fe73644d44
|
|
4
|
+
data.tar.gz: a5b99636f9ac197725e1394d562d3d8caa19af56
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f7710c8ca9a95dec02c31edace09241d826e15ded33dfc0c7dda5bfa4b5e7fc1d198bb4ad6f3599db114cc1243f60e8c8de8ab8759fa319dc37b079c8a3baa77
|
|
7
|
+
data.tar.gz: 6661bb21dff46d626be00e099dd5a7a91c820a34394dcb93e208cc4f0c24bcbf654e167c599b98b0238c425152757cf52a686e487e9b41ed27534add71634a48
|
data/CHANGELOG.md
CHANGED
data/lib/sidetiq/version.rb
CHANGED
|
@@ -1,16 +1,12 @@
|
|
|
1
|
-
<div class="
|
|
2
|
-
<
|
|
3
|
-
<
|
|
4
|
-
<
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
Locks
|
|
13
|
-
</a>
|
|
14
|
-
</li>
|
|
15
|
-
</ul>
|
|
1
|
+
<div class="col-md-3">
|
|
2
|
+
<div class="list-group sidetiq-sidenav">
|
|
3
|
+
<a href="<%= root_path %>sidetiq" class="list-group-item<%= current_path == 'sidetiq' ? ' active' : nil %>">
|
|
4
|
+
<i class="icon-chevron-right"></i>
|
|
5
|
+
Home
|
|
6
|
+
</a>
|
|
7
|
+
<a href="<%= root_path %>sidetiq/locks" class="list-group-item<%= current_path == 'sidetiq/locks' ? ' active' : nil %>">
|
|
8
|
+
<i class="icon-chevron-right"></i>
|
|
9
|
+
Locks
|
|
10
|
+
</a>
|
|
11
|
+
</div>
|
|
16
12
|
</div>
|
|
@@ -1,22 +1,16 @@
|
|
|
1
|
-
<div class="
|
|
2
|
-
<
|
|
3
|
-
<
|
|
4
|
-
<
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
</
|
|
15
|
-
|
|
16
|
-
<a href="<%= "#{root_path}sidetiq/#{@worker.name}/history" %>">
|
|
17
|
-
<i class="icon-chevron-right"></i>
|
|
18
|
-
Job History
|
|
19
|
-
</a>
|
|
20
|
-
</li>
|
|
21
|
-
</ul>
|
|
1
|
+
<div class="col-md-3">
|
|
2
|
+
<div class="list-group sidetiq-sidenav">
|
|
3
|
+
<a href="<%= root_path %>sidetiq" class="list-group-item<%= current_path == 'sidetiq' ? ' active' : nil %>">
|
|
4
|
+
<i class="icon-chevron-right"></i>
|
|
5
|
+
Home
|
|
6
|
+
</a>
|
|
7
|
+
<a href="<%= root_path %>sidetiq/#{@worker.name}/schedule" class="list-group-item<%= current_path == "sidetiq/#{@worker.name}/schedule" ? ' active' : nil %>">
|
|
8
|
+
<i class="icon-chevron-right"></i>
|
|
9
|
+
Job Schedule
|
|
10
|
+
</a>
|
|
11
|
+
<a href="<%= root_path %>sidetiq/#{@worker.name}/history" class="list-group-item<%= current_path == "#{@worker.name}/history" ? ' active' : nil %>">
|
|
12
|
+
<i class="icon-chevron-right"></i>
|
|
13
|
+
Job History
|
|
14
|
+
</a>
|
|
15
|
+
</div>
|
|
22
16
|
</div>
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
<style>
|
|
2
|
-
.sidetiq-container {
|
|
3
|
-
padding-left: 0;
|
|
4
|
-
padding-right: 0;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
.sidetiq-sidenav {
|
|
8
|
-
width: 228px;
|
|
9
|
-
padding: 0;
|
|
10
|
-
background-color: #fff;
|
|
11
|
-
-webkit-border-radius: 6px;
|
|
12
|
-
-moz-border-radius: 6px;
|
|
13
|
-
border-radius: 6px;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.sidetiq-sidenav > li > a {
|
|
17
|
-
display: block;
|
|
18
|
-
width: 190px \9;
|
|
19
|
-
margin: 0 0 -1px;
|
|
20
|
-
padding: 8px 14px;
|
|
21
|
-
border: 1px solid #e5e5e5;
|
|
22
|
-
}
|
|
23
|
-
j
|
|
24
|
-
.sidetiq-sidenav > li:first-child > a {
|
|
25
|
-
-webkit-border-radius: 6px 6px 0 0;
|
|
26
|
-
-moz-border-radius: 6px 6px 0 0;
|
|
27
|
-
border-radius: 6px 6px 0 0;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
.sidetiq-sidenav > li:last-child > a {
|
|
31
|
-
-webkit-border-radius: 0 0 6px 6px;
|
|
32
|
-
-moz-border-radius: 0 0 6px 6px;
|
|
33
|
-
border-radius: 0 0 6px 6px;
|
|
34
|
-
}
|
|
35
|
-
</style>
|
|
36
|
-
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
<%= File.read(File.join(File.dirname(__FILE__), 'views', 'assets', 'styles.css')) %>
|
|
2
2
|
|
|
3
3
|
<header class="row">
|
|
4
|
-
<div class="
|
|
4
|
+
<div class="col-md-5">
|
|
5
5
|
<h3>Recurring Job: <%= @worker.name %></h3>
|
|
6
6
|
</div>
|
|
7
7
|
</header>
|
|
8
8
|
|
|
9
|
-
<div class="container
|
|
10
|
-
<div class="row
|
|
9
|
+
<div class="container">
|
|
10
|
+
<div class="row">
|
|
11
11
|
<%= erb File.read(File.join(File.dirname(__FILE__), 'views', '_worker_nav.erb')) %>
|
|
12
12
|
|
|
13
|
-
<div class="
|
|
13
|
+
<div class="col-md-9">
|
|
14
14
|
<table class="table table-striped table-bordered table-hover table-white" style="width: 100%; margin: 0; table-layout:fixed;">
|
|
15
15
|
<thead>
|
|
16
16
|
<th style="width: 10%">Status</th>
|
data/lib/sidetiq/views/locks.erb
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
<%= File.read(File.join(File.dirname(__FILE__), 'views', 'assets', 'styles.css')) %>
|
|
2
2
|
|
|
3
3
|
<header class="row">
|
|
4
|
-
<div class="
|
|
4
|
+
<div class="col-md-5">
|
|
5
5
|
<h3>Active Locks</h3>
|
|
6
6
|
</div>
|
|
7
7
|
</header>
|
|
8
8
|
|
|
9
|
-
<div class="container
|
|
10
|
-
<div class="row
|
|
9
|
+
<div class="container">
|
|
10
|
+
<div class="row">
|
|
11
11
|
<%= erb File.read(File.join(File.dirname(__FILE__), 'views', '_home_nav.erb')) %>
|
|
12
12
|
|
|
13
|
-
<div class="
|
|
13
|
+
<div class="col-md-9">
|
|
14
14
|
<% if @locks.length > 0 %>
|
|
15
15
|
<table class="table table-striped table-bordered table-white" style="width: 100%; margin: 0; table-layout:fixed;">
|
|
16
16
|
<thead>
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
<%= File.read(File.join(File.dirname(__FILE__), 'views', 'assets', 'styles.css')) %>
|
|
2
2
|
|
|
3
3
|
<header class="row">
|
|
4
|
-
<div class="
|
|
4
|
+
<div class="col-md-5">
|
|
5
5
|
<h3>Recurring Job: <%= @worker.name %></h3>
|
|
6
6
|
</div>
|
|
7
7
|
</header>
|
|
8
8
|
|
|
9
|
-
<div class="container
|
|
10
|
-
<div class="row
|
|
9
|
+
<div class="container">
|
|
10
|
+
<div class="row">
|
|
11
11
|
<%= erb File.read(File.join(File.dirname(__FILE__), 'views', '_worker_nav.erb')) %>
|
|
12
12
|
|
|
13
|
-
<div class="
|
|
13
|
+
<div class="col-md-9">
|
|
14
14
|
<% if (recurrences = @schedule.recurrence_rules).length > 0 %>
|
|
15
15
|
<table class="table table-striped table-bordered table-hover table-white" style="width: 100%; margin: 0; table-layout:fixed;">
|
|
16
16
|
<thead>
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
<%= File.read(File.join(File.dirname(__FILE__), 'views', 'assets', 'styles.css')) %>
|
|
2
2
|
|
|
3
3
|
<header class="row">
|
|
4
|
-
<div class="
|
|
4
|
+
<div class="col-sm-5">
|
|
5
5
|
<h3>Recurring Jobs</h3>
|
|
6
6
|
</div>
|
|
7
7
|
</header>
|
|
8
8
|
|
|
9
|
-
<div class="container
|
|
10
|
-
<div class="row
|
|
9
|
+
<div class="container">
|
|
10
|
+
<div class="row">
|
|
11
11
|
<%= erb File.read(File.join(File.dirname(__FILE__), 'views', '_home_nav.erb')) %>
|
|
12
12
|
|
|
13
|
-
<div class="
|
|
13
|
+
<div class="col-md-9">
|
|
14
14
|
<% if @workers.length > 0 %>
|
|
15
15
|
<table class="table table-striped table-bordered table-white" style="width: 100%; margin: 0; table-layout:fixed;">
|
|
16
16
|
<thead>
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: sidetiq
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.4.
|
|
4
|
+
version: 0.4.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tobias Svensson
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2013-10-
|
|
11
|
+
date: 2013-10-07 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: sidekiq
|