mutx 0.1.15 → 0.1.16
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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2dfe4f2fc2a3e4483eed44f8f91cf7d594cfa159
|
|
4
|
+
data.tar.gz: 8851b5805e2d265f9122a6d0ee8097db28fce6fb
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 90e2586de24dbf381ab1886b9970b4e4f446c6341e5a7f08096cc1d17ddc9e75fc9a8f04bbce3b7d350a69e3d54ac7a71e965bdaa7dd34580ee6e4a504d1d44a
|
|
7
|
+
data.tar.gz: be8292794e05d09019d7bbf98ae6316646905b761f61a5f7689b61be79f050c91d28a165e9eab62011eae1e65e8301a93d83013904456f546b97b7c70f28c1bb
|
data/bin/mutx
CHANGED
data/lib/generators/task_rack.rb
CHANGED
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
# encoding: utf-8
|
|
2
|
+
require 'erb'
|
|
3
|
+
require 'zip'
|
|
4
|
+
require 'fileutils'
|
|
5
|
+
|
|
2
6
|
module Mutx
|
|
3
7
|
class TaskRack < Thor::Group
|
|
4
8
|
|
|
@@ -123,7 +127,12 @@ module Mutx
|
|
|
123
127
|
end
|
|
124
128
|
|
|
125
129
|
def copy_mutx_templates
|
|
126
|
-
|
|
130
|
+
dir = "#{Dir.pwd}"
|
|
131
|
+
template "mutx_template.html.erb.zip", "#{Dir.pwd}/mutx/templates/mutx_template.html.erb.zip" unless File.exist? "#{Dir.pwd}/mutx/templates/mutx_template.html.erb.zip"
|
|
132
|
+
FileUtils.cd("#{Dir.pwd}/mutx/templates/")
|
|
133
|
+
`unzip mutx_template.html.erb.zip`
|
|
134
|
+
`rm mutx_template.html.erb.zip`
|
|
135
|
+
FileUtils.cd(dir)
|
|
127
136
|
end
|
|
128
137
|
|
|
129
138
|
def copy_mutx_cronned_task
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
<html style='background-color: lightgrey'>
|
|
2
|
+
<tbody>
|
|
3
|
+
<img src="https://ci5.googleusercontent.com/proxy/A-quKChfId5qpYvXm_zcW-GEnolJEGQ4PeGkq50pBYmi5QHH-uoN22ysfGajMcE2lKvhMLJTemZwYYnh3MbzlR1IHzu6sZHu5VNS0pjR455lwdKxhgI8Og=s0-d-e1-ft#http://app2.dopplerfiles.net/Users/3778/Campaigns/8930766/logo.png" alt="Garbarino - Pensamos en vos" border="0" width="100%" style="display:block;margin:0 auto;border:0;max-width:300px;min-height:auto;outline:0" class="CToWUd"></a></td></tr>
|
|
4
|
+
<tr>
|
|
5
|
+
<td align="left" style="font-size:10px;border-bottom:1px solid #e5e5e5"> </td>
|
|
6
|
+
</tr>
|
|
7
|
+
</tbody>
|
|
8
|
+
<tr>
|
|
9
|
+
<td height="1" align="center" bgcolor="#ffffff" style="font-size:1px"><img src="https://ci4.googleusercontent.com/proxy/mX95orir-khAa9968ZvaEUFjay-YQnjjfRzI5YJXNG30xvJECdmEqqDPUE4KChEE5CsA-0xr-URW-1rIGpQFhhTosSDZj4LQ_ktxrrYjsrJXrntn8L8oOIU=s0-d-e1-ft#http://app2.dopplerfiles.net/Users/3778/Campaigns/8930766/520x1.png" width="100%" height="1" alt="" style="display:block" border="0" class="CToWUd"></td>
|
|
10
|
+
</tr>
|
|
11
|
+
<div class='container'>
|
|
12
|
+
<br>
|
|
13
|
+
<div class='well'>
|
|
14
|
+
<h3 style='color:Black; font-size: 12px;'>Result for:<b style='color:Red; font-size: 13px;'>' <%= task_name %>'</b> execution </h3>
|
|
15
|
+
<h6 style='color:Black; font-size: 12px;'><b>Result ID:</b><b style='color:Red; font-size: 13px;'> '<%= id %>'</b></h6>
|
|
16
|
+
<h6 style='color:Black; font-size: 12px;'><b>Status:</b><b style='color:Red; font-size: 13px;'> '<%= status %></b></b>'</h6>
|
|
17
|
+
<h6 style='color:Black; font-size: 12px;'><b>Duration:</b><b style='color:Red; font-size: 13px;'> '<%= time %>'</b> seconds</h6>
|
|
18
|
+
<h6> </h6>
|
|
19
|
+
</div>
|
|
20
|
+
<h3>
|
|
21
|
+
<medium>
|
|
22
|
+
<pre style="height:400px; white-space:pre; word-wrap:normal;">
|
|
23
|
+
<b style='color:Black; font-size: 15px;'><%= output %></b>
|
|
24
|
+
</pre>
|
|
25
|
+
</medium>
|
|
26
|
+
</h3>
|
|
27
|
+
</html>
|
|
Binary file
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: mutx
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.16
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Roman Rodriguez
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-08-
|
|
11
|
+
date: 2016-08-16 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: thor
|
|
@@ -342,7 +342,8 @@ files:
|
|
|
342
342
|
- lib/generators/templates/cronned_task.rb.tt
|
|
343
343
|
- lib/generators/templates/mutx.conf.tt
|
|
344
344
|
- lib/generators/templates/mutx.log.tt
|
|
345
|
-
- lib/generators/templates/mutx_template.html.erb
|
|
345
|
+
- lib/generators/templates/mutx_template.html.erb
|
|
346
|
+
- lib/generators/templates/mutx_template.html.erb.zip
|
|
346
347
|
- lib/generators/templates/sidekiq.log.tt
|
|
347
348
|
- lib/generators/templates/tasks.mutx.tt
|
|
348
349
|
- lib/generators/templates/unicorn.rb.tt
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
<html style='background-color: lightgrey'>
|
|
2
|
-
<tbody>
|
|
3
|
-
<img src="https://ci5.googleusercontent.com/proxy/A-quKChfId5qpYvXm_zcW-GEnolJEGQ4PeGkq50pBYmi5QHH-uoN22ysfGajMcE2lKvhMLJTemZwYYnh3MbzlR1IHzu6sZHu5VNS0pjR455lwdKxhgI8Og=s0-d-e1-ft#http://app2.dopplerfiles.net/Users/3778/Campaigns/8930766/logo.png" alt="Garbarino - Pensamos en vos" border="0" width="100%" style="display:block;margin:0 auto;border:0;max-width:300px;min-height:auto;outline:0" class="CToWUd"></a></td></tr>
|
|
4
|
-
<tr>
|
|
5
|
-
<td align="left" style="font-size:10px;border-bottom:1px solid #e5e5e5"> </td>
|
|
6
|
-
</tr>
|
|
7
|
-
</tbody>
|
|
8
|
-
<tr>
|
|
9
|
-
<td height="1" align="center" bgcolor="#ffffff" style="font-size:1px"><img src="https://ci4.googleusercontent.com/proxy/mX95orir-khAa9968ZvaEUFjay-YQnjjfRzI5YJXNG30xvJECdmEqqDPUE4KChEE5CsA-0xr-URW-1rIGpQFhhTosSDZj4LQ_ktxrrYjsrJXrntn8L8oOIU=s0-d-e1-ft#http://app2.dopplerfiles.net/Users/3778/Campaigns/8930766/520x1.png" width="100%" height="1" alt="" style="display:block" border="0" class="CToWUd"></td>
|
|
10
|
-
</tr>
|
|
11
|
-
<div class='container'>
|
|
12
|
-
<br>
|
|
13
|
-
<div class='well'>
|
|
14
|
-
<h3 style='color:Black; font-size: 12px;'>Result for:<b style='color:Red; font-size: 13px;'>' <%= task_name %>'</b> execution </h3>
|
|
15
|
-
<h6 style='color:Black; font-size: 12px;'><b>Result ID:</b><b style='color:Red; font-size: 13px;'> '<%= id %>'</b></h6>
|
|
16
|
-
<h6 style='color:Black; font-size: 12px;'><b>Status:</b><b style='color:Red; font-size: 13px;'> '<%= status %></b></b>'</h6>
|
|
17
|
-
<h6 style='color:Black; font-size: 12px;'><b>Duration:</b><b style='color:Red; font-size: 13px;'> '<%= time %>'</b> seconds</h6>
|
|
18
|
-
<h6> </h6>
|
|
19
|
-
</div>
|
|
20
|
-
<h3>
|
|
21
|
-
<medium>
|
|
22
|
-
<pre style="height:400px; white-space:pre; word-wrap:normal;">
|
|
23
|
-
<b style='color:Black; font-size: 15px;'><%= output %></b>
|
|
24
|
-
</pre>
|
|
25
|
-
</medium>
|
|
26
|
-
</h3>
|
|
27
|
-
<!-- Beggin Legacy -->
|
|
28
|
-
<tr>
|
|
29
|
-
<td class="legacy-container-width" height="100" valign="top" align="left" bgcolor="#FFFFFF">
|
|
30
|
-
<table width="580" cellspacing="0" cellpadding="0" border="0" align="center" bgcolor="#FFFFFF" class="legacy-container legacy-container-width">
|
|
31
|
-
<tr>
|
|
32
|
-
<td width="0%" height="100" valign="top" align="left" bgcolor="#FFFFFF"></td>
|
|
33
|
-
<td width="100%" height="100" valign="top" align="left" bgcolor="#FFFFFF">
|
|
34
|
-
<!-- Beggin Legacy Content -->
|
|
35
|
-
<table width="100%" cellspacing="0" cellpadding="0" border="0" align="center" bgcolor="#FFFFFF">
|
|
36
|
-
<tr><td width="100%" height="10" valign="top"></td></tr>
|
|
37
|
-
<tr>
|
|
38
|
-
<td width="100%" valign="top" bgcolor="#FFFFFF" style="font-family: sans-serif; font-size: 17px; line-height: 16px; color: #d22222; text-align: center;">
|
|
39
|
-
GRACIAS POR UTILIZAR MUTX
|
|
40
|
-
</td>
|
|
41
|
-
</tr>
|
|
42
|
-
<br>
|
|
43
|
-
<tr>
|
|
44
|
-
<td width="100%" valign="top" bgcolor="#FFFFFF" style="font-family: sans-serif; font-size: 15px; line-height: 16px; color: #d22222; text-align: center;">
|
|
45
|
-
Este email es enviado desde una casilla automática. Por favor, no lo responda.
|
|
46
|
-
</td>
|
|
47
|
-
</tr>
|
|
48
|
-
<tr><td width="100%" height="10" valign="top"></td></tr>
|
|
49
|
-
</table>
|
|
50
|
-
<!-- End Legacy Content -->
|
|
51
|
-
</td>
|
|
52
|
-
<td width="0%" height="100" valign="top" align="left" bgcolor="#FFFFFF"></td>
|
|
53
|
-
</tr>
|
|
54
|
-
</table>
|
|
55
|
-
</td>
|
|
56
|
-
</tr>
|
|
57
|
-
<!-- End Legacy -->
|
|
58
|
-
</html>
|