kitchen_hooks 1.3.0

Sign up to get free protection for your applications and to get access to all the features.
data/web/views/app.erb ADDED
@@ -0,0 +1,22 @@
1
+ <section id="cd-timeline" class="cd-container">
2
+ <% database.reverse.each do |entry| %>
3
+ <% timestamp, data = entry %>
4
+ <% timestamp = timestamp.to_f %>
5
+ <% datetime = Time.at(timestamp).iso8601 %>
6
+ <div class="cd-timeline-block">
7
+ <div class="cd-timeline-img">
8
+ <img src="/vendor/img/cd-icon.svg" alt="Picture">
9
+ </div>
10
+ <div class="cd-timeline-content">
11
+ <% if data[:type] == 'kitchen upload' %>
12
+ <h2><%= data[:type] %></h2>
13
+ <p><%= data[:author] %> modified <a href="<%= gitlab_url(data[:raw], :latest_commit) %>"><%= data[:repo] %></a></p>
14
+ <% else %>
15
+ <h2><%= data[:type] %></h2>
16
+ <p><%= data[:author] %> modified <a href="<%= gitlab_url(data[:raw], :tagged_commit) %>"><%= data[:repo] %></a></p>
17
+ <% end %>
18
+ <span class="cd-date">Triggered <time datetime="<%= datetime %>" pubdate="pubdate" class="time-ago" title="<%= datetime %>"><%= datetime %></time></span>
19
+ </div>
20
+ </div>
21
+ <% end %>
22
+ </section>
@@ -0,0 +1,24 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <title>• <%= KitchenHooks::VERSION %> •</title>
5
+ <meta charset="utf-8" />
6
+ <meta http-equiv="X-UA-Compatible" content="IE=edge" />
7
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
8
+ <meta name="description" content="Weave." />
9
+ <meta name="author" content="Sean Clemmer" />
10
+ <link rel="icon" href="/favicon.ico" />
11
+ <link href="//fonts.googleapis.com/css?family=Amatic+SC:400|Lato:300,400,700" rel="stylesheet" />
12
+ <link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
13
+ <link rel="stylesheet" href="/vendor/css/superhero-v3.3.0.css" />
14
+ <link rel="stylesheet" href="/vendor/css/vertical-timeline-v1.0.0.css" />
15
+ <link rel="stylesheet" href="/app/style/kitchen_hooks.css" />
16
+ </head>
17
+ <body>
18
+ <%= yield %>
19
+ <script src="/vendor/js/jquery-v2.1.1.js"></script>
20
+ <script src="/vendor/js/jquery-timeago-v1.4.1.js"></script>
21
+ <script src="/vendor/js/bootstrap-v3.3.0.js"></script>
22
+ <script src="/app/kitchen_hooks.js"></script>
23
+ </body>
24
+ </html>
metadata ADDED
@@ -0,0 +1,197 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: kitchen_hooks
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.3.0
5
+ platform: ruby
6
+ authors:
7
+ - Kelly Wong
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2014-12-04 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: daybreak
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '0.3'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '0.3'
27
+ - !ruby/object:Gem::Dependency
28
+ name: retryable
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '1'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '1'
41
+ - !ruby/object:Gem::Dependency
42
+ name: berkshelf
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '3'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '3'
55
+ - !ruby/object:Gem::Dependency
56
+ name: mime-types
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '1'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '1'
69
+ - !ruby/object:Gem::Dependency
70
+ name: chef
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: 11.16.4
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: 11.16.4
83
+ - !ruby/object:Gem::Dependency
84
+ name: thor
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :runtime
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: git
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: '1.2'
104
+ type: :runtime
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: '1.2'
111
+ - !ruby/object:Gem::Dependency
112
+ name: sinatra
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - "~>"
116
+ - !ruby/object:Gem::Version
117
+ version: '1.4'
118
+ type: :runtime
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - "~>"
123
+ - !ruby/object:Gem::Version
124
+ version: '1.4'
125
+ - !ruby/object:Gem::Dependency
126
+ name: ridley
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - "~>"
130
+ - !ruby/object:Gem::Version
131
+ version: '4.1'
132
+ type: :runtime
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - "~>"
137
+ - !ruby/object:Gem::Version
138
+ version: '4.1'
139
+ description: GitLab WebHoook for automated Chef Server uploads.
140
+ email: kelly@bluejenas.com
141
+ executables:
142
+ - kitchen_hooks
143
+ extensions: []
144
+ extra_rdoc_files: []
145
+ files:
146
+ - ".gitignore"
147
+ - Gemfile
148
+ - Gemfile.lock
149
+ - LICENSE
150
+ - Rakefile
151
+ - Readme.md
152
+ - VERSION
153
+ - bin/kitchen_hooks
154
+ - etc/commit.json
155
+ - etc/config.json
156
+ - kitchen_hooks.gemspec
157
+ - lib/kitchen_hooks.rb
158
+ - lib/kitchen_hooks/app.rb
159
+ - lib/kitchen_hooks/helpers.rb
160
+ - lib/kitchen_hooks/main.rb
161
+ - lib/kitchen_hooks/metadata.rb
162
+ - web/app/kitchen_hooks.js
163
+ - web/app/style/kitchen_hooks.css
164
+ - web/public/favicon.ico
165
+ - web/public/vendor/css/superhero-v3.3.0.css
166
+ - web/public/vendor/css/vertical-timeline-v1.0.0.css
167
+ - web/public/vendor/img/cd-icon.svg
168
+ - web/public/vendor/js/bootstrap-v3.3.0.js
169
+ - web/public/vendor/js/jquery-timeago-v1.4.1.js
170
+ - web/public/vendor/js/jquery-v2.1.1.js
171
+ - web/views/app.erb
172
+ - web/views/layout.erb
173
+ homepage: http://git.ops.bluejeans.com/kitchen-hooks
174
+ licenses:
175
+ - ISC
176
+ metadata: {}
177
+ post_install_message:
178
+ rdoc_options: []
179
+ require_paths:
180
+ - lib
181
+ required_ruby_version: !ruby/object:Gem::Requirement
182
+ requirements:
183
+ - - ">="
184
+ - !ruby/object:Gem::Version
185
+ version: '0'
186
+ required_rubygems_version: !ruby/object:Gem::Requirement
187
+ requirements:
188
+ - - ">="
189
+ - !ruby/object:Gem::Version
190
+ version: '0'
191
+ requirements: []
192
+ rubyforge_project:
193
+ rubygems_version: 2.2.2
194
+ signing_key:
195
+ specification_version: 4
196
+ summary: GitLab WebHoook for automated Chef Server uploads
197
+ test_files: []