kitchen_hooks 1.4.4 → 1.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/Readme.md +4 -1
- data/VERSION +1 -1
- data/web/public/vendor/img/book.svg +16 -0
- data/web/public/vendor/img/cutlery.svg +27 -0
- data/web/public/vendor/img/shield.svg +15 -0
- data/web/views/app.erb +8 -1
- metadata +5 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2a997335e993e6cded0cb5dfe84803138e646ddc
|
4
|
+
data.tar.gz: f01a6aa92888bbcc0a74d36a9dc763ed8b409c78
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 073e0b9b0264c27d8fc27ae2db1c94740b2eaf6a89ea9b7834dd67ff081e951f529fc65d63bf4f883c4e4dd533ccd7bc36273d059c5acf27f03708625d6b340d
|
7
|
+
data.tar.gz: b8298d57885f831d7f8edb496b623fb2524bbfaf44896cf97b5f590c3939575355486f205120c00e6f70cf0e277e0d377bc2416958f105dcb98351245f5e25b3
|
data/Gemfile.lock
CHANGED
data/Readme.md
CHANGED
@@ -33,13 +33,16 @@ Use the `server` command to start the WebHook receiver:
|
|
33
33
|
## TODO
|
34
34
|
|
35
35
|
* Add indication of success or failure
|
36
|
-
* Add custom timeline icons to distinguish event types
|
37
36
|
* Use Ridley for data bag, role, and environment uploads to remove Chef dependency
|
38
37
|
* Only make changes on commits to `master` branches
|
39
38
|
|
40
39
|
|
41
40
|
## Changelog
|
42
41
|
|
42
|
+
### 1.5
|
43
|
+
|
44
|
+
* Add custom timeline icons to distinguish event types
|
45
|
+
|
43
46
|
### 1.4
|
44
47
|
|
45
48
|
* Simplified configuration format (breaking!)
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.5.0
|
@@ -0,0 +1,16 @@
|
|
1
|
+
<?xml version="1.0"?>
|
2
|
+
<svg width="500" height="500" xmlns="http://www.w3.org/2000/svg">
|
3
|
+
|
4
|
+
<g>
|
5
|
+
<title>background</title>
|
6
|
+
<rect fill="none" id="canvas_background" height="402" width="582" y="-1" x="-1"/>
|
7
|
+
</g>
|
8
|
+
<g>
|
9
|
+
<title>Layer 1</title>
|
10
|
+
<g id="svg_1">
|
11
|
+
<path fill="#ffffff" id="svg_2" d="m92.026001,353.375c54.602005,1.062988 101.919006,9.227997 136.837006,23.613007c0.596008,0.243988 1.227005,0.365997 1.852005,0.365997c0.949997,0 1.895004,-0.278992 2.705994,-0.821991c1.348999,-0.902008 2.158005,-2.417999 2.158005,-4.041016l0.018997,-261.016998c0,-1.991997 -1.214996,-3.782997 -3.065994,-4.518997l-138.614014,-55.158001c-1.496002,-0.596001 -3.193001,-0.410999 -4.527,0.493999c-1.334,0.905998 -2.132996,2.412998 -2.132996,4.025002l0,292.196999c0,2.648987 2.119995,4.809998 4.767998,4.862z"/>
|
12
|
+
<path fill="#ffffff" id="svg_3" d="m489.143005,98.153999c-1.230988,-0.917 -2.824005,-1.197998 -4.296997,-0.759003l-49.024994,14.657005c-2.060028,0.615997 -3.471008,2.509995 -3.471008,4.658997l0,252.151001c0,0 0.217987,3.977997 -3.970001,3.977997c-4.79599,0 -7.946014,0 -7.946014,0c-39.548981,0 -113.044983,4.105011 -160.929993,31.600006l-9.503998,5.441986l-9.503006,-5.441986c-47.886002,-27.494019 -121.380997,-31.600006 -160.929985,-31.600006c0,0 -8.098999,0 -10.141998,0c-1.890999,0 -1.775002,-2.272003 -1.775002,-2.270996l0,-253.858002c0,-2.149002 -1.410995,-4.042999 -3.470001,-4.658997l-49.025008,-14.657005c-1.473,-0.438995 -3.066,-0.157997 -4.297999,0.759003c-1.232,0.917 -1.958,2.362999 -1.958,3.899002l0,305.069008c0,1.371979 0.580999,2.681 1.597,3.604004c1.017,0.92099 2.375,1.371979 3.741,1.235992c14.571,-1.429016 37.351001,-3.131012 63.124,-3.131012c56.605995,0 102.096992,8.265991 131.575996,23.912994c4.331009,2.272003 29.44101,15.803009 41.065002,15.803009s36.732986,-13.529999 41.063004,-15.803009c29.480011,-15.647003 74.971008,-23.912994 131.576996,-23.912994c25.770996,0 48.553009,1.701996 63.123016,3.131012c1.366974,0.135986 2.724976,-0.315002 3.741974,-1.235992c1.016022,-0.923004 1.596008,-2.231018 1.596008,-3.604004l0,-305.069008c-0.001007,-1.536003 -0.727997,-2.982002 -1.959991,-3.899002z"/>
|
13
|
+
<path fill="#ffffff" id="svg_4" d="m266.578003,376.532013c0.812012,0.542999 1.756989,0.821991 2.705994,0.821991c0.626007,0 1.256012,-0.121979 1.852997,-0.365997c34.916992,-14.385986 82.235016,-22.550995 136.837006,-23.613007c2.64801,-0.052002 4.769012,-2.212982 4.769012,-4.860992l0,-292.198006c0,-1.613003 -0.799011,-3.120003 -2.132996,-4.025002c-1.334015,-0.903999 -3.031006,-1.09 -4.528015,-0.493999l-138.613983,55.158001c-1.851013,0.736 -3.065002,2.527 -3.065002,4.518997l0.018982,261.016998c-0.001984,1.623016 0.808014,3.139008 2.156006,4.041016z"/>
|
14
|
+
</g>
|
15
|
+
</g>
|
16
|
+
</svg>
|
@@ -0,0 +1,27 @@
|
|
1
|
+
<?xml version="1.0"?>
|
2
|
+
<svg width="32" height="29.438" xmlns="http://www.w3.org/2000/svg">
|
3
|
+
|
4
|
+
<g>
|
5
|
+
<title>background</title>
|
6
|
+
<rect fill="none" id="canvas_background" height="402" width="582" y="-1" x="-1"/>
|
7
|
+
</g>
|
8
|
+
<g>
|
9
|
+
<title>Layer 1</title>
|
10
|
+
<path fill="#ffffff" id="svg_1" d="m28.790176,26.237l0.01,-0.004c0,0 -6.967001,-7.071001 -7.65,-7.755001c-0.424002,-0.124001 -2.902,-1.215 -2.946001,-3.263c1.058001,-1.212 2.596001,-2.376 4.867001,-2.399c0.004999,-0.002 0.015999,-0.003 0.021999,-0.003c1.027,0.028 2.064001,-0.313 2.889999,-1.033999c0.058001,-0.051001 0.193001,-0.189 0.193001,-0.189l5.675001,-7.151999l-0.681,-0.684l-6.943001,7.35l-0.819,-0.822001l7.145,-7.145l-0.6,-0.597l-7.188,7.189l-0.68,-0.68l7.188999,-7.189l-0.660999,-0.66l-7.189001,7.188l-0.804998,-0.804l7.42,-6.961l-0.622999,-0.623l-6.839001,5.327c0,0 -0.247999,0.209 -0.334,0.296c-0.938,0.938 -1.341,2.211 -1.207001,3.437c-0.094,1.554999 -0.597,2.71 -1.25,3.587999c-12.746999,-12.471 -17.553999,-11.137 -17.553999,-11.137l-0.381,0.386c0,0 8.572,8.595 13.867999,13.902001c-1.857999,1.86 -10.816999,10.818999 -10.816999,10.818999l0.001,0.002001c-0.008,0.007999 -0.018,0.011 -0.027,0.021c-0.64,0.639999 -0.638,1.677999 0.001,2.316999c0.639,0.639999 1.679,0.639999 2.317,0.001999c0.01,-0.009998 0.013,-0.019999 0.019,-0.025999l0.002,0.002001c0,0 8.97,-8.968 10.817998,-10.815001c0.968,0.969999 1.615002,1.617001 1.742001,1.743999c0.785,0.789 8.690001,8.694002 8.690001,8.694002l0.008999,0c0,0.008999 0.009001,0.018 0.018002,0.021999c0.637999,0.643 1.686998,0.643 2.324999,0c0.647001,-0.638 0.647001,-1.683001 0,-2.325001c-0.007999,-0.01 -0.017,-0.014 -0.027,-0.019001z"/>
|
11
|
+
<g id="svg_2"/>
|
12
|
+
<g id="svg_3"/>
|
13
|
+
<g id="svg_4"/>
|
14
|
+
<g id="svg_5"/>
|
15
|
+
<g id="svg_6"/>
|
16
|
+
<g id="svg_7"/>
|
17
|
+
<g id="svg_8"/>
|
18
|
+
<g id="svg_9"/>
|
19
|
+
<g id="svg_10"/>
|
20
|
+
<g id="svg_11"/>
|
21
|
+
<g id="svg_12"/>
|
22
|
+
<g id="svg_13"/>
|
23
|
+
<g id="svg_14"/>
|
24
|
+
<g id="svg_15"/>
|
25
|
+
<g id="svg_16"/>
|
26
|
+
</g>
|
27
|
+
</svg>
|
@@ -0,0 +1,15 @@
|
|
1
|
+
<?xml version="1.0"?>
|
2
|
+
<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg">
|
3
|
+
|
4
|
+
<g>
|
5
|
+
<title>background</title>
|
6
|
+
<rect fill="none" id="canvas_background" height="402" width="582" y="-1" x="-1"/>
|
7
|
+
</g>
|
8
|
+
<g>
|
9
|
+
<title>Layer 1</title>
|
10
|
+
<g id="svg_1">
|
11
|
+
<path fill="#ffffff" id="svg_2" d="m79.232002,15.801c-0.711998,-0.061999 -1.362999,-0.424 -1.790001,-0.997999c-3.876999,-5.219001 -10.082001,-8.435 -16.681,-8.435c-0.404999,0 -0.812,0.013 -1.216999,0.036c-0.591,0.035 -1.173,-0.141 -1.646,-0.498c-4.021,-3.025 -8.887001,-4.665 -13.987003,-4.665c-9.133999,0 -17.242998,5.284 -21.046999,13.289c-0.360001,0.757 -1.075001,1.282001 -1.903,1.400001c-10.064,1.434999 -17.828001,10.110001 -17.828001,20.563c0,8.424 5.051,15.679001 12.276,18.933002c-0.004001,-0.304001 -0.02,-0.596001 -0.02,-0.903c0,-3.328003 0.222,-6.017002 0.67,-8.204002c-2.886,-2.306999 -4.744,-5.852001 -4.744,-9.827c0,-6.940001 5.647,-12.586 12.587001,-12.586c0.351,0 0.695999,0.028 1.038,0.056999c2,0.154001 3.812,-1.143 4.298,-3.083c1.691999,-6.744999 7.726999,-11.454999 14.671999,-11.454999c3.967999,0 7.723999,1.533 10.576,4.315c0.976002,0.950002 2.358002,1.355 3.692001,1.077001c0.848,-0.177 1.717999,-0.267 2.581997,-0.267c4.857998,0 9.196003,2.731999 11.323002,7.129001c0.747002,1.546 2.380997,2.466 4.091003,2.289999c0.425995,-0.042999 0.849998,-0.063999 1.261993,-0.063999c6.939003,0 12.587006,5.646 12.587006,12.586c0,3.974998 -1.857002,7.519001 -4.744003,9.827c0.447998,2.186001 0.668999,4.875 0.668999,8.202999c0,0.308002 -0.015999,0.600002 -0.019997,0.903c7.225998,-3.253998 12.276001,-10.507 12.276001,-18.932999c0.002998,-10.845001 -8.356003,-19.777 -18.972,-20.690001z"/>
|
12
|
+
<path fill="#ffffff" id="svg_3" d="m50.672001,31.462c-20.531,18.947001 -31.192001,-0.761 -31.192001,23.059999c0,33.217999 23.982998,43.243 31.191002,44.505001c7.203999,-1.261002 31.188,-11.287003 31.188,-44.505001c0,-23.82 -10.658005,-4.112999 -31.187,-23.059999zm17.215,30.512999l-17.960999,17.959999c-0.951,0.953003 -2.199001,1.429001 -3.446003,1.429001c-1.248001,0 -2.494999,-0.476997 -3.446999,-1.429001l-9.579998,-9.579002c-1.903004,-1.903999 -1.903004,-4.988998 0,-6.893997c1.900997,-1.903 4.989998,-1.903 6.891998,0l6.134998,6.134003l14.516003,-14.514004c1.900997,-1.903999 4.990997,-1.903999 6.891998,0c1.903999,1.902004 1.903999,4.988003 -0.000999,6.893002z"/>
|
13
|
+
</g>
|
14
|
+
</g>
|
15
|
+
</svg>
|
data/web/views/app.erb
CHANGED
@@ -6,7 +6,14 @@
|
|
6
6
|
<% datetime = Time.at(timestamp).iso8601 %>
|
7
7
|
<div class="cd-timeline-block">
|
8
8
|
<div class="cd-timeline-img">
|
9
|
-
|
9
|
+
<% case type %>
|
10
|
+
<% when 'kitchen upload' %>
|
11
|
+
<img src="/vendor/img/cutlery.svg" alt="Cutlery">
|
12
|
+
<% when 'cookbook upload' %>
|
13
|
+
<img src="/vendor/img/book.svg" alt="Book">
|
14
|
+
<% when 'constraint application' %>
|
15
|
+
<img src="/vendor/img/shield.svg" alt="Shield">
|
16
|
+
<% end %>
|
10
17
|
</div>
|
11
18
|
<div class="cd-timeline-content">
|
12
19
|
<h2><%= type %></h2>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kitchen_hooks
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kelly Wong
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-12-
|
11
|
+
date: 2014-12-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: hipchat
|
@@ -164,7 +164,10 @@ files:
|
|
164
164
|
- web/public/favicon.ico
|
165
165
|
- web/public/vendor/css/superhero-v3.3.0.css
|
166
166
|
- web/public/vendor/css/vertical-timeline-v1.0.0.css
|
167
|
+
- web/public/vendor/img/book.svg
|
167
168
|
- web/public/vendor/img/cd-icon.svg
|
169
|
+
- web/public/vendor/img/cutlery.svg
|
170
|
+
- web/public/vendor/img/shield.svg
|
168
171
|
- web/public/vendor/js/bootstrap-v3.3.0.js
|
169
172
|
- web/public/vendor/js/jquery-timeago-v1.4.1.js
|
170
173
|
- web/public/vendor/js/jquery-v2.1.1.js
|