cucumber_monitor 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/MIT-LICENSE +1 -1
- data/app/assets/stylesheets/cucumber_monitor/application.css +13 -0
- data/app/assets/stylesheets/cucumber_monitor/cucumber_monitor.css +48 -0
- data/app/controllers/cucumber_monitor_controller.rb +2 -0
- data/app/views/cucumber_monitor/features.html.erb +1 -1
- data/app/views/layouts/cucumber_monitor.html.erb +17 -0
- data/lib/cucumber_monitor/version.rb +1 -1
- metadata +20 -2
data/MIT-LICENSE
CHANGED
@@ -0,0 +1,13 @@
|
|
1
|
+
/*
|
2
|
+
* This is a manifest file that'll be compiled into application.css, which will include all the files
|
3
|
+
* listed below.
|
4
|
+
*
|
5
|
+
* Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
|
6
|
+
* or vendor/assets/stylesheets of plugins, if any, can be referenced here using a relative path.
|
7
|
+
*
|
8
|
+
* You're free to add application-wide styles to this file and they'll appear at the top of the
|
9
|
+
* compiled file, but it's generally better to create a new file per style scope.
|
10
|
+
*
|
11
|
+
*= require_self
|
12
|
+
*= cucumber_monitor
|
13
|
+
*/
|
@@ -1,3 +1,51 @@
|
|
1
|
+
body {
|
2
|
+
font-family: "Lucida Console";
|
3
|
+
}
|
4
|
+
|
5
|
+
hr {
|
6
|
+
border: 0;
|
7
|
+
height: 1px;
|
8
|
+
color: #ebebeb;
|
9
|
+
background-color: #ebebeb;
|
10
|
+
}
|
11
|
+
|
12
|
+
#main {
|
13
|
+
width: 90%;
|
14
|
+
margin-left: auto;
|
15
|
+
margin-right: auto;
|
16
|
+
padding: 10px;
|
17
|
+
}
|
18
|
+
|
19
|
+
#main table {
|
20
|
+
border: solid 1px #ebebeb;
|
21
|
+
border-radius: 5px;
|
22
|
+
font-size: 12px;
|
23
|
+
margin: 0;
|
24
|
+
padding: 0;
|
25
|
+
margin-top: 20px;
|
26
|
+
width: 90%;
|
27
|
+
}
|
28
|
+
|
29
|
+
#main table th {
|
30
|
+
background: #aaa;
|
31
|
+
color: #fff;
|
32
|
+
padding: 5px;
|
33
|
+
}
|
34
|
+
|
35
|
+
#main table td {
|
36
|
+
padding: 3px;
|
37
|
+
border-bottom: solid 1px #ebebeb;
|
38
|
+
border-right: solid 1px #ebebeb;
|
39
|
+
}
|
40
|
+
|
41
|
+
#main table tr.even {
|
42
|
+
background: #ebebeb;
|
43
|
+
}
|
44
|
+
|
45
|
+
#main tabl tr.odd {
|
46
|
+
background: #fff;
|
47
|
+
}
|
48
|
+
|
1
49
|
div.feature_container {
|
2
50
|
padding: 20px;
|
3
51
|
background: #eeeeee;
|
@@ -14,7 +14,7 @@ Você tem <%= @features.size %> features do Cucumber.
|
|
14
14
|
<th class="col25">Arquivo</th>
|
15
15
|
</tr>
|
16
16
|
<% @features.each_with_index do |feature, i|%>
|
17
|
-
<tr>
|
17
|
+
<tr class="<%= cycle('even','odd') %>">
|
18
18
|
<td><%= i+1 %></td>
|
19
19
|
<td><%= link_to feature.name, show_feature_cucumber_monitor_path(feature.name) %></td>
|
20
20
|
<td><%= feature.description %></td>
|
@@ -0,0 +1,17 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>Cucumber Monitor</title>
|
5
|
+
<%= stylesheet_link_tag "cucumber_monitor/cucumber_monitor", :media => "all" %>
|
6
|
+
<%= csrf_meta_tags %>
|
7
|
+
</head>
|
8
|
+
<body>
|
9
|
+
|
10
|
+
<div id="main">
|
11
|
+
|
12
|
+
<%= yield %>
|
13
|
+
|
14
|
+
</div>
|
15
|
+
|
16
|
+
</body>
|
17
|
+
</html>
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cucumber_monitor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-09-
|
12
|
+
date: 2012-09-11 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -27,18 +27,36 @@ dependencies:
|
|
27
27
|
- - ~>
|
28
28
|
- !ruby/object:Gem::Version
|
29
29
|
version: 3.2.3
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
name: cucumber-rails
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
34
|
+
requirements:
|
35
|
+
- - ! '>='
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: 1.1.1
|
38
|
+
type: :runtime
|
39
|
+
prerelease: false
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ! '>='
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: 1.1.1
|
30
46
|
description: Visualization and manipulation of cucumber features.
|
31
47
|
email: david@webhall.com.br
|
32
48
|
executables: []
|
33
49
|
extensions: []
|
34
50
|
extra_rdoc_files: []
|
35
51
|
files:
|
52
|
+
- app/assets/stylesheets/cucumber_monitor/application.css
|
36
53
|
- app/assets/stylesheets/cucumber_monitor/cucumber_monitor.css
|
37
54
|
- app/controllers/cucumber_monitor_controller.rb
|
38
55
|
- app/views/cucumber_monitor/_search_form.html.erb
|
39
56
|
- app/views/cucumber_monitor/features.html.erb
|
40
57
|
- app/views/cucumber_monitor/search.html.erb
|
41
58
|
- app/views/cucumber_monitor/show_feature.html.erb
|
59
|
+
- app/views/layouts/cucumber_monitor.html.erb
|
42
60
|
- config/locales/cucumber_monitor.yml
|
43
61
|
- config/routes.rb
|
44
62
|
- lib/cucumber_monitor/array.rb
|