uncool 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name : uncool
3
- version : 1.0.0
3
+ version : 1.0.1
4
4
  released : 2010-08-05
5
5
 
6
6
  requires:
@@ -29,10 +29,11 @@ module Uncool
29
29
  #
30
30
  def save(logpath)
31
31
  require 'fileutils'
32
- dir = File.join(logpath, 'lemon')
32
+ dir = File.join(logpath, 'uncool')
33
33
  file = File.join(dir, 'index.html')
34
34
  FileUtils.mkdir_p(dir)
35
35
  File.open(file, 'w'){ |w| w << render }
36
+ $stderr.puts "Saved Uncool report at #{dir}."
36
37
  end
37
38
 
38
39
  #
@@ -1,8 +1,8 @@
1
1
  <html>
2
2
  <head>
3
- <title>Lemon Coverage Report</title>
3
+ <title>Uncool Coverage Report</title>
4
4
  <style>
5
- body{background:#221; margin: 0; padding: 0; color: yellow;}
5
+ body{background:#DDDDFF; margin: 0; padding: 0; color: #111133;}
6
6
  #main{
7
7
  width:600px; margin:0 auto;
8
8
  }
@@ -19,18 +19,18 @@
19
19
  </head>
20
20
  <body>
21
21
  <div id="main">
22
- Lemon
22
+ Uncool
23
23
  <div id="list">
24
- <h1>Lemon Coverage Report</h1>
25
- <% chart.sort.each do |(unit, yes)| %>
26
- <% if yes %>
24
+ <h1>Uncool Coverage Report</h1>
25
+ <% coverage.sort.each do |unit| %>
26
+ <% if unit.covered? %>
27
27
  <div class="green"><%= unit.to_s %></div>
28
28
  <% else %>
29
29
  <div class="red"><%= unit.to_s %></div>
30
30
  <% end %>
31
31
  <% end %>
32
32
  </div>
33
- Lemon (c) 2010 Thomas Sawyer
33
+ Produced by <a href="http://proutils.github.com/uncool">Uncool</a> (c) 2010 Thomas Sawyer
34
34
  </div>
35
35
  </body>
36
36
  </html>
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name : uncool
3
- version : 1.0.0
3
+ version : 1.0.1
4
4
  released : 2010-08-05
5
5
 
6
6
  requires:
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: uncool
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 21
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 0
10
- version: 1.0.0
9
+ - 1
10
+ version: 1.0.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Thomas Sawyer
@@ -107,7 +107,6 @@ files:
107
107
  - lib/uncool/generator/ko.rb
108
108
  - lib/uncool/generator/lemon.rb
109
109
  - lib/uncool/generator/qed.rb
110
- - lib/uncool/lemon.svg
111
110
  - lib/uncool/log.rb
112
111
  - lib/uncool/meta/data.rb
113
112
  - lib/uncool/meta/gemfile.yml
@@ -1,39 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
- <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN" "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
3
- <!-- Created with Inkscape (http://www.inkscape.org/) -->
4
- <svg id="svg1" sodipodi:version="0.32" inkscape:version="0.38.1" width="400.00000pt" height="400.00000pt" sodipodi:docbase="/var/www/html/svg_gallery/svg/fruits" sodipodi:docname="lemon.svg" xmlns="http://www.w3.org/2000/svg" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:xlink="http://www.w3.org/1999/xlink">
5
- <defs id="defs3">
6
- <linearGradient id="linearGradient831">
7
- <stop style="stop-color: rgb(255, 255, 0); stop-opacity: 1;" offset="0.0000000" id="stop832"/>
8
- <stop style="stop-color: rgb(255, 227, 0); stop-opacity: 1;" offset="1.0000000" id="stop833"/>
9
- </linearGradient>
10
- <radialGradient xlink:href="#linearGradient831" id="radialGradient834" cx="0.33703703" cy="0.28358209" r="0.38183698" fx="0.33703703" fy="0.28358209"/>
11
- </defs>
12
- <sodipodi:namedview id="base" pagecolor="#ffffff" bordercolor="#666666" borderopacity="1.0" inkscape:pageopacity="0.0" inkscape:pageshadow="2" inkscape:zoom="1.3195079" inkscape:cx="120.13018" inkscape:cy="204.09312" inkscape:window-width="910" inkscape:window-height="775" inkscape:window-x="119" inkscape:window-y="24"/>
13
- <g id="g838">
14
- <path style="fill: url(#radialGradient834) rgb(0, 0, 0); fill-rule: evenodd; stroke: rgb(0, 0, 0); stroke-width: 10; stroke-linejoin: round; stroke-dasharray: none;" d="M 68.708186,148.12939 C 228.69852,9.5810597 474.45687,146.15839 471.15810,289.65487 C 497.54826,315.22034 467.85933,343.25988 451.36548,350.68211 C 309.51838,525.51691 17.577254,382.02043 34.895796,237.69925 C 12.847026,174.32754 32.421718,155.55162 68.708186,148.12939 z " id="path827" sodipodi:nodetypes="ccccc"/>
15
- <path style="fill-opacity: 0.133333; fill-rule: evenodd; stroke-width: 1pt;" d="M 44.330330,267.99099 C 65.580330,246.74099 68.080330,411.74099 378.08033,350.49099 C 371.83033,344.24099 338.08033,201.74099 458.08033,249.24099 C 504.95533,263.61599 358.70533,239.55349 410.58033,339.24099 C 418.62433,352.33698 416.20533,352.36599 438.08033,357.99099 C 305.58033,500.49099 46.830330,390.49099 44.330330,267.99099 z " id="path828" sodipodi:nodetypes="cccccc"/>
16
- <path style="fill: rgb(255, 255, 255); fill-opacity: 0.7; fill-rule: evenodd; stroke-width: 1pt;" d="M 68.080330,155.83295 C 124.36962,90.490990 313.68568,43.977604 438.08033,203.33295 C 395.58033,249.58295 275.58033,49.582958 68.080330,155.83295 z " id="path829" sodipodi:nodetypes="ccc"/>
17
- <path style="fill: rgb(255, 255, 255); fill-opacity: 0.7; fill-rule: evenodd; stroke-width: 1pt;" d="M 469.33033,295.49099 C 483.64639,312.99099 470.58033,332.99099 460.58033,330.49099 C 381.83033,309.24099 424.33033,287.99099 469.33033,295.49099 z " id="path830" sodipodi:nodetypes="ccc"/>
18
- </g>
19
-
20
- <rdf:RDF xmlns="http://web.resource.org/cc/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
21
- <Work rdf:about="">
22
- <dc:title>Clipart by Nicu Buculei - pear</dc:title>
23
- <dc:rights>
24
- <Agent>
25
- <dc:title>Nicu Buculei</dc:title>
26
- </Agent>
27
- </dc:rights>
28
- <dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage"/>
29
- <license rdf:resource="http://web.resource.org/cc/PublicDomain"/>
30
- </Work>
31
-
32
- <License rdf:about="http://web.resource.org/cc/PublicDomain">
33
- <permits rdf:resource="http://web.resource.org/cc/Reproduction"/>
34
- <permits rdf:resource="http://web.resource.org/cc/Distribution"/>
35
- <permits rdf:resource="http://web.resource.org/cc/DerivativeWorks"/>
36
- </License>
37
-
38
- </rdf:RDF>
39
- </svg>