izanami 0.14.0

Sign up to get free protection for your applications and to get access to all the features.
data/views/home.erb ADDED
@@ -0,0 +1,44 @@
1
+ <div class="row">
2
+ <form class="form-inline" method="post" action="/commands" role="form">
3
+ <div class="form-group col-lg-10">
4
+ <label class="sr-only" for="tasks">cap tasks</label>
5
+ <input type="text" class="form-control" name="tasks" id="tasks" placeholder="deploy:check">
6
+ <p class="help-block">
7
+ Enter the <code>cap</code> tasks you want to execute. You can add any option and evironment variable you want.
8
+ </p>
9
+ </div>
10
+ <div class="form-group col-lg-2">
11
+ <button type="submit" class="btn btn-primary">Run command</button>
12
+ </div>
13
+ </form>
14
+ </div>
15
+
16
+ <div class="row">
17
+ <div class="col-lg-12">
18
+ <h2>Command history</h2>
19
+ </div>
20
+ </div>
21
+ <div class="row">
22
+ <div class="col-lg-4">
23
+ <%= partial :commands_panel, { type: 'success', title: 'Successful', commands: successful } %>
24
+ </div>
25
+
26
+ <div class="col-lg-4">
27
+ <%= partial :commands_panel, { type: 'warning', title: 'Pending', commands: pending } %>
28
+ </div>
29
+
30
+ <div class="col-lg-4">
31
+ <%= partial :commands_panel, { type: 'danger', title: 'Failed', commands: failed } %>
32
+ </div>
33
+ </div>
34
+
35
+ <div class="row">
36
+ <div class="col-lg-12">
37
+ <form class="form-inline" method="post" action="/commands" role="form">
38
+ <input name="_method" value="delete" type="hidden">
39
+ <div class="form-group">
40
+ <button type="submit" class="btn btn-danger btn-sm">Clear command history</button>
41
+ </div>
42
+ </form>
43
+ </div>
44
+ </div>
data/views/layout.erb ADDED
@@ -0,0 +1,32 @@
1
+ <!doctype html>
2
+ <html lang="en">
3
+ <head>
4
+ <title>Izanami App</title>
5
+ <meta charset="utf-8">
6
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
7
+
8
+ <% stylesheets.each do |stylesheet| %>
9
+ <link href="<%= stylesheet %>" rel="stylesheet" media="screen">
10
+ <% end %>
11
+ </head>
12
+
13
+ <body data-namespace="<%= namespace %>" data-action="<%= action %>">
14
+ <nav class="navbar navbar-fixed-top navbar-default" role="navigation">
15
+ <div class="container">
16
+ <div class="navbar-header">
17
+ <a class="navbar-brand" href="/">Izanami</a>
18
+ </div>
19
+
20
+ <div class="collapse navbar-collapse navbar-ex4-collapse">
21
+ <p class="navbar-text pull-right"><%= version %></p>
22
+ </div>
23
+ </div>
24
+ </nav>
25
+ <div class="container">
26
+ <%= yield %>
27
+ </div>
28
+
29
+ <script src="/js/jquery-2.0.3.min.js"></script>
30
+ <script src="/js/app.js"></script>
31
+ </body>
32
+ </html>
metadata ADDED
@@ -0,0 +1,207 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: izanami
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.14.0
5
+ platform: ruby
6
+ authors:
7
+ - Juan Hernández
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2013-08-21 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ~>
18
+ - !ruby/object:Gem::Version
19
+ version: '1.3'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ~>
25
+ - !ruby/object:Gem::Version
26
+ version: '1.3'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ~>
32
+ - !ruby/object:Gem::Version
33
+ version: '10.1'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ~>
39
+ - !ruby/object:Gem::Version
40
+ version: '10.1'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rack
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ~>
46
+ - !ruby/object:Gem::Version
47
+ version: '1.5'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ~>
53
+ - !ruby/object:Gem::Version
54
+ version: '1.5'
55
+ - !ruby/object:Gem::Dependency
56
+ name: sinatra
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ~>
60
+ - !ruby/object:Gem::Version
61
+ version: '1.4'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ~>
67
+ - !ruby/object:Gem::Version
68
+ version: '1.4'
69
+ - !ruby/object:Gem::Dependency
70
+ name: redis
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ~>
74
+ - !ruby/object:Gem::Version
75
+ version: '3.0'
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ~>
81
+ - !ruby/object:Gem::Version
82
+ version: '3.0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: redis-namespace
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ~>
88
+ - !ruby/object:Gem::Version
89
+ version: '1.3'
90
+ type: :runtime
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ~>
95
+ - !ruby/object:Gem::Version
96
+ version: '1.3'
97
+ - !ruby/object:Gem::Dependency
98
+ name: bcat
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ~>
102
+ - !ruby/object:Gem::Version
103
+ version: '0.6'
104
+ type: :runtime
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ~>
109
+ - !ruby/object:Gem::Version
110
+ version: '0.6'
111
+ - !ruby/object:Gem::Dependency
112
+ name: thin
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ~>
116
+ - !ruby/object:Gem::Version
117
+ version: '1.5'
118
+ type: :runtime
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ~>
123
+ - !ruby/object:Gem::Version
124
+ version: '1.5'
125
+ description: Web app to handle capistrano recipes.
126
+ email:
127
+ - juan.hernandez.babon@gmail.com
128
+ executables:
129
+ - izanami
130
+ - izanami-app
131
+ - izanami-watchdog
132
+ extensions: []
133
+ extra_rdoc_files: []
134
+ files:
135
+ - .env.development
136
+ - .gitignore
137
+ - Gemfile
138
+ - LICENSE
139
+ - README.md
140
+ - Rakefile
141
+ - assets/css/app.css
142
+ - assets/css/bootstrap.css
143
+ - assets/css/bootstrap.min.css
144
+ - assets/js/app.js
145
+ - assets/js/bootstrap.js
146
+ - assets/js/bootstrap.min.js
147
+ - assets/js/jquery-2.0.3.min.js
148
+ - bin/izanami
149
+ - bin/izanami-app
150
+ - bin/izanami-watchdog
151
+ - izanami.gemspec
152
+ - lib/izanami.rb
153
+ - lib/izanami/app.rb
154
+ - lib/izanami/channel.rb
155
+ - lib/izanami/mapper.rb
156
+ - lib/izanami/mappers/command.rb
157
+ - lib/izanami/version.rb
158
+ - lib/izanami/worker.rb
159
+ - lib/izanami/workers/command.rb
160
+ - lib/izanami/workers/watchdog.rb
161
+ - spec/helper.rb
162
+ - spec/izanami/app_spec.rb
163
+ - spec/izanami/channel/input_spec.rb
164
+ - spec/izanami/channel_spec.rb
165
+ - spec/izanami/mapper_spec.rb
166
+ - spec/izanami/mappers/command_spec.rb
167
+ - spec/izanami/workers/command_spec.rb
168
+ - spec/sandbox/Capfile
169
+ - spec/sandbox/Gemfile
170
+ - views/_commands_panel.erb
171
+ - views/command.erb
172
+ - views/home.erb
173
+ - views/layout.erb
174
+ homepage: https://github.com/wuakitv/izanami
175
+ licenses:
176
+ - MIT
177
+ metadata: {}
178
+ post_install_message:
179
+ rdoc_options: []
180
+ require_paths:
181
+ - lib
182
+ required_ruby_version: !ruby/object:Gem::Requirement
183
+ requirements:
184
+ - - ! '>='
185
+ - !ruby/object:Gem::Version
186
+ version: '0'
187
+ required_rubygems_version: !ruby/object:Gem::Requirement
188
+ requirements:
189
+ - - ! '>='
190
+ - !ruby/object:Gem::Version
191
+ version: '0'
192
+ requirements: []
193
+ rubyforge_project:
194
+ rubygems_version: 2.0.7
195
+ signing_key:
196
+ specification_version: 4
197
+ summary: Web app to handle capistrano recipes stored in a git repo.
198
+ test_files:
199
+ - spec/helper.rb
200
+ - spec/izanami/app_spec.rb
201
+ - spec/izanami/channel/input_spec.rb
202
+ - spec/izanami/channel_spec.rb
203
+ - spec/izanami/mapper_spec.rb
204
+ - spec/izanami/mappers/command_spec.rb
205
+ - spec/izanami/workers/command_spec.rb
206
+ - spec/sandbox/Capfile
207
+ - spec/sandbox/Gemfile