patir 0.4 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,8 @@
1
+ == 0.5.0 / 2007-07-13
2
+ * setup_logger now accepts both Logger levels and :mute, :silent, :debug
3
+ * 3 part version number. Version module with MAJOR, MINOR and TINY
1
4
  == 0.4.0 / 2007-05-30
2
- * Configurator#load_from_file method added to alow for configuration file inclusions
5
+ * Configurator#load_from_file method added to allow for configuration file inclusions
3
6
 
4
7
  == 0.3.0 / 2007-05-20
5
8
  * Bugfix for the nesting of CommandSequenceStatus
@@ -10,3 +10,25 @@ test/test_patir_base.rb
10
10
  test/test_patir_command.rb
11
11
  test/test_patir_configuration.rb
12
12
  test/samples/empty.cfg
13
+ docu/style.css
14
+ docu/tie_logo.gif
15
+ docu/welcome.html
16
+ docu/bg_menu.gif
17
+ docu/bg_submenu.gif
18
+ docu/contact.html
19
+ docu/index.html
20
+ docu/patir02.html
21
+ docu/patir03.html
22
+ docu/patir04.html
23
+ docu/patir05.html
24
+ docu/rutema01.html
25
+ docu/rutema02.html
26
+ docu/rutema03.html
27
+ docu/rutema04.html
28
+ docu/rw-intro.png
29
+ docu/rw-run.png
30
+ docu/rw-scenario.png
31
+ docu/screenshots.html
32
+ docu/style.css
33
+ docu/tie_logo.gif
34
+ docu/welcome.html
data/Rakefile CHANGED
@@ -4,7 +4,7 @@ require 'rubygems'
4
4
  require 'hoe'
5
5
  require 'patir/base'
6
6
 
7
- Hoe.new('patir', "#{Patir::VERSION_MAJOR}.#{Patir::VERSION_MINOR}") do |p|
7
+ Hoe.new('patir', Patir::Version::STRING) do |p|
8
8
  p.author = "Vassilis Rizopoulos"
9
9
  p.email = "riva@braveworld.net"
10
10
  p.summary = 'patir (Project Automation Tools in Ruby) provides libraries for use in automation tools'
Binary file
Binary file
@@ -0,0 +1,49 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+ <html xmlns="http://www.w3.org/1999/xhtml">
3
+ <head>
4
+ <meta name="author" content="Vassilis Rizopoulos" />
5
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF8" />
6
+ <link rel="stylesheet" href="style.css" type="text/css" />
7
+ <title>Patir</title>
8
+ </head>
9
+ <body>
10
+ <div id="page" align="center">
11
+ <div id="content" style="width:800px">
12
+ <div id="logo">
13
+ <div style="margin-top:70px" class="whitetitle">patir</div>
14
+ </div>
15
+ <div id="topheader">
16
+ <div align="left" class="bodytext">
17
+ <br />
18
+ </div>
19
+ </div>
20
+ <div id="menu">
21
+ </div>
22
+ <div id="submenu">
23
+ <div align="right" class="smallgraytext" style="padding:9px;">
24
+ <a href="rdoc/index.html">patir</a> | <a href="rutema/index.html">rutema</a> | <a href="rubot/index.html">rubot</a>
25
+ </div>
26
+ </div>
27
+ <div id="contenttextnopanel">
28
+ <div style="padding:10px">
29
+ <span class="titletext">patir contact information</span>
30
+ </div>
31
+
32
+ <div class="bodytext" style="padding:12px;" align="justify">
33
+ <p>There are several ways to contact the patir team:
34
+ <ul>
35
+ <li>Use the <a href="http://rubyforge.org/forum/?group_id=3597">Rubyforge forums</a></li>
36
+ <li>If you have a bug to report use the <a href="http://rubyforge.org/tracker/?group_id=3597">project's tracker</a>.</li>
37
+ <li>Subscribe to one of the <a href="http://rubyforge.org/mail/?group_id=3597">mailing lists</a></li>
38
+ </ul>
39
+ </p>
40
+ </div>
41
+ </div>
42
+ <div id="footernopanel" class="smallgraytext">
43
+ <a href="index.html">Home</a> | <a href="contact.html">Contact</a> | &copy; 2007 Vassilis Rizopoulos</a>
44
+ </div>
45
+ </div>
46
+ </div>
47
+ </div>
48
+ </body>
49
+ </html>
@@ -0,0 +1,83 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+ <html xmlns="http://www.w3.org/1999/xhtml">
3
+ <head>
4
+ <meta name="author" content="Vassilis Rizopoulos" />
5
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF8" />
6
+ <link rel="stylesheet" href="style.css" type="text/css" />
7
+ <title>Patir</title>
8
+ </head>
9
+ <body>
10
+ <div id="page" align="center">
11
+ <div id="content" style="width:800px">
12
+ <div id="logo">
13
+ <div style="margin-top:70px" class="whitetitle">patir</div>
14
+ </div>
15
+ <div id="topheader">
16
+ <div align="left" class="bodytext">
17
+ <br />
18
+ </div>
19
+ </div>
20
+ <div id="menu">
21
+ </div>
22
+ <div id="submenu">
23
+ <div align="right" class="smallgraytext" style="padding:9px;">
24
+ <a href="rdoc/index.html">patir</a> | <a href="rutema/index.html">rutema</a> | <a href="rubot/index.html">rubot</a>
25
+ </div>
26
+ </div>
27
+ <div id="contenttext">
28
+ <div style="padding:10px">
29
+ <span class="titletext">Project Automation Tools in Ruby</span>
30
+ </div>
31
+ <div class="bodytext" style="padding:12px;" align="justify">
32
+ <p>
33
+ patir aims to provide you with tools that make project automation (in Ruby) easier.<br>
34
+ The patir project forms our basis for building project automation tools, an umbrella project housing the common code library and various subprojects.<br>
35
+ Don't expect this library to grow very much, as we aim to keep it simple, stable and above all usable by all the tools under patir.<br>
36
+ </p>
37
+ <p>
38
+ You can browse the <a href="http://viewvc.rubyforge.mmmultiworks.com/cgi/viewvc.cgi/patir/?root=patir">patir subversion repository</a>.
39
+ </p>
40
+ <p>
41
+ Like all self-conscious developers the patir team does not claim infalibility. Neither are we to proud to have our flaws pointed out, so if and when you find a bug, please post a report in our <a href="http://rubyforge.org/tracker/?group_id=3597">Bugtracker</a>
42
+ </p>
43
+ </div>
44
+ </div>
45
+ <div id="leftpanel">
46
+ <div align="justify" class="graypanel">
47
+ <span class="smalltitle">News</span><br /><br />
48
+ <span class="smallredtext">15 August 2007</span><br />
49
+ <span class="bodytext">patir v0.5 is out!</span><br />
50
+ <a href="patir05.html" class="smallgraytext">More...</a><br /><br />
51
+ <span class="smallredtext">05 July 2007</span><br />
52
+ <span class="bodytext">rutema v0.4 is out!</span><br />
53
+ <a href="rutema04.html" class="smallgraytext">More...</a><br /><br />
54
+ <span class="smallredtext">30 May 2007</span><br />
55
+ <span class="bodytext">rutema v0.3 is out!</span><br />
56
+ <a href="rutema03.html" class="smallgraytext">More...</a><br /><br />
57
+ <span class="smallredtext">30 May 2007</span><br />
58
+ <span class="bodytext">patir v0.4 is out!</span><br />
59
+ <a href="patir04.html" class="smallgraytext">More...</a><br /><br />
60
+ <span class="smallredtext">21 May 2007</span><br />
61
+ <span class="bodytext">rutema v0.2 is out!</span><br />
62
+ <a href="rutema02.html" class="smallgraytext">More...</a><br /><br />
63
+ <span class="smallredtext">21 May 2007</span><br />
64
+ <span class="bodytext">rutema v0.1 is out!</span><br />
65
+ <a href="rutema01.html" class="smallgraytext">More...</a><br /><br />
66
+ <span class="smallredtext">21 May 2007</span><br />
67
+ <span class="bodytext">patir v0.3 is out!</span><br />
68
+ <a href="patir03.html" class="smallgraytext">More...</a><br /><br />
69
+ <span class="smallredtext">17 May 2007</span><br />
70
+ <span class="bodytext">patir v0.2 is out!</span><br />
71
+ <a href="patir02.html" class="smallgraytext">More...</a><br /><br />
72
+ <span class="smallredtext">15 May 2007</span><br />
73
+ <span class="bodytext">Welcome to patir.</span><br />
74
+ <a href="welcome.html" class="smallgraytext">More...</a><br /><br />
75
+ </div>
76
+ </div>
77
+ <div id="footer" class="smallgraytext">
78
+ <a href="#">Home</a> | <a href="contact.html">Contact</a> | &copy; 2007 Vassilis Rizopoulos</a>
79
+ </div>
80
+ </div>
81
+ </div>
82
+ </body>
83
+ </html>
@@ -0,0 +1,52 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+ <html xmlns="http://www.w3.org/1999/xhtml">
3
+ <head>
4
+ <meta name="author" content="Vassilis Rizopoulos" />
5
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF8" />
6
+ <link rel="stylesheet" href="style.css" type="text/css" />
7
+ <title>Patir 0.2</title>
8
+ </head>
9
+ <body>
10
+ <div id="page" align="center">
11
+ <div id="content" style="width:800px">
12
+ <div id="logo">
13
+ <div style="margin-top:70px" class="whitetitle">patir</div>
14
+ </div>
15
+ <div id="topheader">
16
+ <div align="left" class="bodytext">
17
+ <br />
18
+ </div>
19
+ </div>
20
+ <div id="menu">
21
+ </div>
22
+ <div id="submenu">
23
+ <div align="right" class="smallgraytext" style="padding:9px;">
24
+ <a href="rdoc/index.html">patir</a> | <a href="rutema/index.html">rutema</a> | <a href="rubot/index.html">rubot</a>
25
+ </div>
26
+ </div>
27
+ <div id="contentnopanel">
28
+ <div style="padding:10px">
29
+ <span class="titletext">patir 0.2 is out!</span>
30
+ </div>
31
+
32
+ <div class="bodytext" style="padding:12px;" align="justify">
33
+ <p>Patir 0.2 has been released!<br>
34
+ This is the first public release of patir giving you a command library for abstracting the execution of "commands" be it Ruby code or external programs and a way to define and load configuration files expressed in Ruby.
35
+ </p><p>
36
+ Take a look at the <a href="rdoc/index.html">rdoc</a> for the library.<br>
37
+ And since you're going to want to play with it...just do a
38
+ </p><p>
39
+ <code>gem install patir</code>
40
+ </p><p>
41
+ You can also get the gem directly <a href="http://rubyforge.org/frs/?group_id=3597">from Rubyforge</a>
42
+ </p>
43
+ </div>
44
+ </div>
45
+ <div id="footernopanel" class="smallgraytext">
46
+ <a href="index.html">Home</a> | <a href="contact.html">Contact</a> | &copy; 2007 Vassilis Rizopoulos</a>
47
+ </div>
48
+ </div>
49
+ </div>
50
+ </div>
51
+ </body>
52
+ </html>
@@ -0,0 +1,56 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+ <html xmlns="http://www.w3.org/1999/xhtml">
3
+ <head>
4
+ <meta name="author" content="Vassilis Rizopoulos" />
5
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF8" />
6
+ <link rel="stylesheet" href="style.css" type="text/css" />
7
+ <title>Patir 0.3</title>
8
+ </head>
9
+ <body>
10
+ <div id="page" align="center">
11
+ <div id="content" style="width:800px">
12
+ <div id="logo">
13
+ <div style="margin-top:70px" class="whitetitle">patir</div>
14
+ </div>
15
+ <div id="topheader">
16
+ <div align="left" class="bodytext">
17
+ <br />
18
+ </div>
19
+ </div>
20
+ <div id="menu">
21
+ </div>
22
+ <div id="submenu">
23
+ <div align="right" class="smallgraytext" style="padding:9px;">
24
+ <a href="rdoc/index.html">patir</a> | <a href="rutema/index.html">rutema</a> | <a href="rubot/index.html">rubot</a>
25
+ </div>
26
+ </div>
27
+ <div id="contentnopanel">
28
+ <div style="padding:10px">
29
+ <span class="titletext">patir 0.3 is out!</span>
30
+ </div>
31
+
32
+ <div class="bodytext" style="padding:12px;" align="justify">
33
+ <p>Patir 0.3 has been released!<br>
34
+ You won't find the bugs unless you use the code.<br>
35
+ And while we are fervently working on a release for <a href="rutema/index.html">rutema</a> we have to realise once more that infalibility is not one of our traits.
36
+ </p><p>
37
+ 0.3 fixes a bug in CommandSequenceStatus (a missing strategy attribute) that produced exceptions when nesting stati.<br>
38
+ There is also a new formatter for the logger so that the output is less verbose than the default.
39
+ </p><p>
40
+ Take a look at the <a href="rdoc/index.html">rdoc</a> for the library.<br>
41
+ And since you're going to want to play with it...just do a
42
+ </p><p>
43
+ <code>gem install patir</code>
44
+ </p><p>
45
+ You can also get the gem directly <a href="http://rubyforge.org/frs/?group_id=3597">from Rubyforge</a>
46
+ </p>
47
+ </div>
48
+ </div>
49
+ <div id="footernopanel" class="smallgraytext">
50
+ <a href="index.html">Home</a> | <a href="contact.html">Contact</a> | &copy; 2007 Vassilis Rizopoulos</a>
51
+ </div>
52
+ </div>
53
+ </div>
54
+ </div>
55
+ </body>
56
+ </html>
@@ -0,0 +1,54 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+ <html xmlns="http://www.w3.org/1999/xhtml">
3
+ <head>
4
+ <meta name="author" content="Vassilis Rizopoulos" />
5
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF8" />
6
+ <link rel="stylesheet" href="style.css" type="text/css" />
7
+ <title>Patir 0.4</title>
8
+ </head>
9
+ <body>
10
+ <div id="page" align="center">
11
+ <div id="content" style="width:800px">
12
+ <div id="logo">
13
+ <div style="margin-top:70px" class="whitetitle">patir</div>
14
+ </div>
15
+ <div id="topheader">
16
+ <div align="left" class="bodytext">
17
+ <br />
18
+ </div>
19
+ </div>
20
+ <div id="menu">
21
+ </div>
22
+ <div id="submenu">
23
+ <div align="right" class="smallgraytext" style="padding:9px;">
24
+ <a href="rdoc/index.html">patir</a> | <a href="rutema/index.html">rutema</a> | <a href="rubot/index.html">rubot</a>
25
+ </div>
26
+ </div>
27
+ <div id="contentnopanel">
28
+ <div style="padding:10px">
29
+ <span class="titletext">patir 0.4 is out!</span>
30
+ </div>
31
+
32
+ <div class="bodytext" style="padding:12px;" align="justify">
33
+ <p>Patir 0.4 has been released!
34
+ </p><p>
35
+ 0.4 adds the Configurator#load_from_file method that allows you to include configuration files within configuration files.<br>
36
+ The initial idea was to use Ruby's own require, but require changes the scope of the code so the configuration object is no longer accessible.
37
+ </p><p>
38
+ Take a look at the <a href="rdoc/index.html">rdoc</a> for the library.<br>
39
+ And since you're going to want to play with it...just do a
40
+ </p><p>
41
+ <code>gem install patir</code>
42
+ </p><p>
43
+ You can also get the gem directly <a href="http://rubyforge.org/frs/?group_id=3597">from Rubyforge</a>
44
+ </p>
45
+ </div>
46
+ </div>
47
+ <div id="footernopanel" class="smallgraytext">
48
+ <a href="index.html">Home</a> | <a href="contact.html">Contact</a> | &copy; 2007 Vassilis Rizopoulos</a>
49
+ </div>
50
+ </div>
51
+ </div>
52
+ </div>
53
+ </body>
54
+ </html>
@@ -0,0 +1,53 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+ <html xmlns="http://www.w3.org/1999/xhtml">
3
+ <head>
4
+ <meta name="author" content="Vassilis Rizopoulos" />
5
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF8" />
6
+ <link rel="stylesheet" href="style.css" type="text/css" />
7
+ <title>Patir 0.5</title>
8
+ </head>
9
+ <body>
10
+ <div id="page" align="center">
11
+ <div id="content" style="width:800px">
12
+ <div id="logo">
13
+ <div style="margin-top:70px" class="whitetitle">patir</div>
14
+ </div>
15
+ <div id="topheader">
16
+ <div align="left" class="bodytext">
17
+ <br />
18
+ </div>
19
+ </div>
20
+ <div id="menu">
21
+ </div>
22
+ <div id="submenu">
23
+ <div align="right" class="smallgraytext" style="padding:9px;">
24
+ <a href="rdoc/index.html">patir</a> | <a href="rutema/index.html">rutema</a> | <a href="rubot/index.html">rubot</a>
25
+ </div>
26
+ </div>
27
+ <div id="contentnopanel">
28
+ <div style="padding:10px">
29
+ <span class="titletext">patir 0.5 is out!</span>
30
+ </div>
31
+
32
+ <div class="bodytext" style="padding:12px;" align="justify">
33
+ <p>Patir 0.5 has been released!
34
+ </p><p>
35
+ 0.5 is a maintenance release that improves slightly the setup_logger method (based on the assumption that we don't want to remove functinality people are familiar with) and cleans up a bit the versioning front (there is now a Version module to comply with gem conventions)
36
+ </p><p>
37
+ Take a look at the <a href="rdoc/index.html">rdoc</a> for the library.<br>
38
+ And since you're going to want to play with it...just do a
39
+ </p><p>
40
+ <code>gem install patir</code>
41
+ </p><p>
42
+ You can also get the gem directly <a href="http://rubyforge.org/frs/?group_id=3597">from Rubyforge</a>
43
+ </p>
44
+ </div>
45
+ </div>
46
+ <div id="footernopanel" class="smallgraytext">
47
+ <a href="index.html">Home</a> | <a href="contact.html">Contact</a> | &copy; 2007 Vassilis Rizopoulos</a>
48
+ </div>
49
+ </div>
50
+ </div>
51
+ </div>
52
+ </body>
53
+ </html>
@@ -0,0 +1,53 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+ <html xmlns="http://www.w3.org/1999/xhtml">
3
+ <head>
4
+ <meta name="author" content="Vassilis Rizopoulos" />
5
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF8" />
6
+ <link rel="stylesheet" href="style.css" type="text/css" />
7
+ <title>Rutema 0.1</title>
8
+ </head>
9
+ <body>
10
+ <div id="page" align="center">
11
+ <div id="content" style="width:800px">
12
+ <div id="logo">
13
+ <div style="margin-top:70px" class="whitetitle">rutema</div>
14
+ </div>
15
+ <div id="topheader">
16
+ <div align="left" class="bodytext">
17
+ <br />
18
+ </div>
19
+ </div>
20
+ <div id="menu">
21
+ </div>
22
+ <div id="submenu">
23
+ <div align="right" class="smallgraytext" style="padding:9px;">
24
+ <a href="rdoc/index.html">patir</a> | <a href="rutema/index.html">rutema</a> | <a href="rubot/index.html">rubot</a>
25
+ </div>
26
+ </div>
27
+ <div id="contentnopanel">
28
+ <div style="padding:10px">
29
+ <span class="titletext">rutema 0.1 is out!</span>
30
+ </div>
31
+
32
+ <div class="bodytext" style="padding:12px;" align="justify">
33
+ <p>rutema 0.1 has been released!<br>
34
+ We are very proud to announce the 0.1 release of rutema.
35
+ </p><p>
36
+ Take a look at the <a href="rutema/rdoc/index.html">rdoc</a> for the library.<br>
37
+ rutema is a bit complex, so you might want to take a look at the <a href="rutema/docu.html">documentation</a> first.<br>
38
+ </p><p>
39
+ To get the gem just do:
40
+ <code>gem install rutema</code>
41
+ </p><p>
42
+ You can also get the gem directly <a href="http://rubyforge.org/frs/?group_id=3597">from Rubyforge</a>
43
+ </p>
44
+ </div>
45
+ </div>
46
+ <div id="footernopanel" class="smallgraytext">
47
+ <a href="index.html">Home</a> | <a href="contact.html">Contact</a> | &copy; 2007 Vassilis Rizopoulos</a>
48
+ </div>
49
+ </div>
50
+ </div>
51
+ </div>
52
+ </body>
53
+ </html>
@@ -0,0 +1,54 @@
1
+
2
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
+ <html xmlns="http://www.w3.org/1999/xhtml">
4
+ <head>
5
+ <meta name="author" content="Vassilis Rizopoulos" />
6
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF8" />
7
+ <link rel="stylesheet" href="style.css" type="text/css" />
8
+ <title>Rutema 0.2</title>
9
+ </head>
10
+ <body>
11
+ <div id="page" align="center">
12
+ <div id="content" style="width:800px">
13
+ <div id="logo">
14
+ <div style="margin-top:70px" class="whitetitle">rutema</div>
15
+ </div>
16
+ <div id="topheader">
17
+ <div align="left" class="bodytext">
18
+ <br />
19
+ </div>
20
+ </div>
21
+ <div id="menu">
22
+ </div>
23
+ <div id="submenu">
24
+ <div align="right" class="smallgraytext" style="padding:9px;">
25
+ <a href="rdoc/index.html">patir</a> | <a href="rutema/index.html">rutema</a> | <a href="rubot/index.html">rubot</a>
26
+ </div>
27
+ </div>
28
+ <div id="contentnopanel">
29
+ <div style="padding:10px">
30
+ <span class="titletext">rutema 0.2 is out!</span>
31
+ </div>
32
+
33
+ <div class="bodytext" style="padding:12px;" align="justify">
34
+ <p>rutema 0.2 has been released!<br>
35
+ Hot on the heels of 0.1 comes 0.2 which fixes a small inconsistency when calling rutemax without a -c parameter and fixes the gemspec to add rutemax as an executable.
36
+ </p><p>
37
+ Take a look at the <a href="rutema/rdoc/index.html">rdoc</a> for the library.<br>
38
+ rutema is a bit complex, so you might want to take a look at the <a href="rutema/docu.html">documentation</a> first.<br>
39
+ </p><p>
40
+ To get the gem just do:
41
+ <code>gem install rutema</code>
42
+ </p><p>
43
+ You can also get the gem directly <a href="http://rubyforge.org/frs/?group_id=3597">from Rubyforge</a>
44
+ </p>
45
+ </div>
46
+ </div>
47
+ <div id="footernopanel" class="smallgraytext">
48
+ <a href="index.html">Home</a> | <a href="contact.html">Contact</a> | &copy; 2007 Vassilis Rizopoulos</a>
49
+ </div>
50
+ </div>
51
+ </div>
52
+ </div>
53
+ </body>
54
+ </html>
@@ -0,0 +1,63 @@
1
+
2
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
+ <html xmlns="http://www.w3.org/1999/xhtml">
4
+ <head>
5
+ <meta name="author" content="Vassilis Rizopoulos" />
6
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF8" />
7
+ <link rel="stylesheet" href="style.css" type="text/css" />
8
+ <title>Rutema 0.3</title>
9
+ </head>
10
+ <body>
11
+ <div id="page" align="center">
12
+ <div id="content" style="width:800px">
13
+ <div id="logo">
14
+ <div style="margin-top:70px" class="whitetitle">rutema</div>
15
+ </div>
16
+ <div id="topheader">
17
+ <div align="left" class="bodytext">
18
+ <br />
19
+ </div>
20
+ </div>
21
+ <div id="menu">
22
+ </div>
23
+ <div id="submenu">
24
+ <div align="right" class="smallgraytext" style="padding:9px;">
25
+ <a href="rdoc/index.html">patir</a> | <a href="rutema/index.html">rutema</a> | <a href="rubot/index.html">rubot</a>
26
+ </div>
27
+ </div>
28
+ <div id="contentnopanel">
29
+ <div style="padding:10px">
30
+ <span class="titletext">rutema 0.3 is out!</span>
31
+ </div>
32
+
33
+ <div class="bodytext" style="padding:12px;" align="justify">
34
+ <p>rutema 0.3 has been released!<br>
35
+ This release adds rutemah to the tools installed plus an ActiveRecord reporter.
36
+ </p>
37
+ <p>The ActiveRecordReporter when used in a rutemax configuration will save all test run results in a SQLite database.<br>
38
+ You can then peek into that database with rutemah. For this first release rutemah has a rather limited set of functionality:<br>
39
+ It can display all the test results in the database or give you the complete history for one specific test</p>
40
+ <p>This new release add three new dependencies to rutema: activerecord, sqlite3 and ruport.</p>
41
+ <h3>Up and coming features</h3>
42
+ <p>One of the goals for rutemah is to enable the re-creation of reports (using the same reporters as in your rutemax configuration)</p>
43
+ <p>ActiveRecordReporter will be extended so that all ActiveRecord adapters are usable (not just SQLite)</p>
44
+ <hr/>
45
+ <p>
46
+ Take a look at the <a href="rutema/rdoc/index.html">rdoc</a> for the library.<br>
47
+ rutema is a bit complex, so you might want to take a look at the <a href="rutema/docu.html">documentation</a> first.<br>
48
+ </p><p>
49
+ To get the gem just do:
50
+ <code>gem install rutema</code>
51
+ </p><p>
52
+ You can also get the gem directly <a href="http://rubyforge.org/frs/?group_id=3597">from Rubyforge</a>
53
+ </p>
54
+ </div>
55
+ </div>
56
+ <div id="footernopanel" class="smallgraytext">
57
+ <a href="index.html">Home</a> | <a href="contact.html">Contact</a> | &copy; 2007 Vassilis Rizopoulos</a>
58
+ </div>
59
+ </div>
60
+ </div>
61
+ </div>
62
+ </body>
63
+ </html>
@@ -0,0 +1,75 @@
1
+
2
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
+ <html xmlns="http://www.w3.org/1999/xhtml">
4
+ <head>
5
+ <meta name="author" content="Vassilis Rizopoulos" />
6
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF8" />
7
+ <link rel="stylesheet" href="style.css" type="text/css" />
8
+ <title>Rutema 0.4</title>
9
+ </head>
10
+ <body>
11
+ <div id="page" align="center">
12
+ <div id="content" style="width:800px">
13
+ <div id="logo">
14
+ <div style="margin-top:70px" class="whitetitle">rutema</div>
15
+ </div>
16
+ <div id="topheader">
17
+ <div align="left" class="bodytext">
18
+ <br />
19
+ </div>
20
+ </div>
21
+ <div id="menu">
22
+ </div>
23
+ <div id="submenu">
24
+ <div align="right" class="smallgraytext" style="padding:9px;">
25
+ <a href="rdoc/index.html">patir</a> | <a href="rutema/index.html">rutema</a> | <a href="rubot/index.html">rubot</a>
26
+ </div>
27
+ </div>
28
+ <div id="contentnopanel">
29
+ <div style="padding:10px">
30
+ <span class="titletext">rutema 0.4 is out!</span>
31
+ </div>
32
+
33
+ <div class="bodytext" style="padding:12px;" align="justify">
34
+ <p>rutema 0.4 has been released!<br>
35
+ This release adds rutemaweb to the tools installed.
36
+ </p>
37
+ <p>rutemaweb is a small Camping-based application that allows you to browse the test results database created by the AR reporter.<br/>
38
+ It's the web-based equivalent of rutemah.
39
+ </p><p>
40
+ rutemah's purpose is more the automatic (re)generation of past or over-time reports using the various Rutema reporters (realistically the target is PDF and .odt/.doc generation).
41
+ </p><p>
42
+ rutemaweb offers you direct access to the results database with a more human-friendly interface. It's a lightweight webserver application and it's functionality does not depend on custom parser implementations (meaning it will run on any rutema installation that uses the AR Reporter).
43
+ </p>
44
+ <p>
45
+ Usage is very simple:
46
+ <pre>
47
+ rutemaweb your_results_database.db
48
+ </pre>
49
+ You can then browse to http://localhost:3301 and start viewing some test results. <br/>
50
+ Check out the <a href="screenshots.html">screenshots</a> using our sample database.
51
+ </p>
52
+ <p>
53
+ If you want to check the functionality of rutemaweb locally, the sample database is included in the gem in the test/samples directory.
54
+ </p>
55
+ <p>This new release adds one new dependency to rutema: camping.</p>
56
+ <hr/>
57
+ <p>
58
+ Take a look at the <a href="rutema/rdoc/index.html">rdoc</a> for the library.<br>
59
+ rutema is a bit complex, so you might want to take a look at the <a href="rutema/docu.html">documentation</a> first.<br>
60
+ </p><p>
61
+ To get the gem just do:
62
+ <code>gem install rutema</code>
63
+ </p><p>
64
+ You can also get the gem directly <a href="http://rubyforge.org/frs/?group_id=3597">from Rubyforge</a>
65
+ </p>
66
+ </div>
67
+ </div>
68
+ <div id="footernopanel" class="smallgraytext">
69
+ <a href="index.html">Home</a> | <a href="contact.html">Contact</a> | &copy; 2007 Vassilis Rizopoulos</a>
70
+ </div>
71
+ </div>
72
+ </div>
73
+ </div>
74
+ </body>
75
+ </html>
Binary file
Binary file
Binary file
@@ -0,0 +1,51 @@
1
+
2
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
+ <html xmlns="http://www.w3.org/1999/xhtml">
4
+ <head>
5
+ <meta name="author" content="Vassilis Rizopoulos" />
6
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF8" />
7
+ <link rel="stylesheet" href="style.css" type="text/css" />
8
+ <title>Rutema 0.4 Screenshots</title>
9
+ </head>
10
+ <body>
11
+ <div id="page" align="center">
12
+ <div id="content" style="width:800px">
13
+ <div id="logo">
14
+ <div style="margin-top:70px" class="whitetitle">rutema</div>
15
+ </div>
16
+ <div id="topheader">
17
+ <div align="left" class="bodytext">
18
+ <br />
19
+ </div>
20
+ </div>
21
+ <div id="menu">
22
+ </div>
23
+ <div id="submenu">
24
+ <div align="right" class="smallgraytext" style="padding:9px;">
25
+ <a href="rdoc/index.html">patir</a> | <a href="rutema/index.html">rutema</a> | <a href="rubot/index.html">rubot</a>
26
+ </div>
27
+ </div>
28
+ <div id="contentnopanel">
29
+ <div style="padding:10px">
30
+ <span class="titletext">rutemaweb 0.4 screenshots</span>
31
+ </div>
32
+
33
+ <div class="bodytext" style="padding:12px;" align="justify">
34
+ <p>
35
+ The introductory page:<br/><br/>
36
+ <img src="rw-intro.png">
37
+ The results, per scenario, for a single run:<br/><br/>
38
+ <img src="rw-run.png">
39
+ The breakdown of a single scenario, per step:<br/><br/>
40
+ <img src="rw-scenario.png">
41
+ </p>
42
+ </div>
43
+ </div>
44
+ <div id="footernopanel" class="smallgraytext">
45
+ <a href="index.html">Home</a> | <a href="contact.html">Contact</a> | &copy; 2007 Vassilis Rizopoulos</a>
46
+ </div>
47
+ </div>
48
+ </div>
49
+ </div>
50
+ </body>
51
+ </html>
@@ -0,0 +1,96 @@
1
+ /* CSS Document */
2
+
3
+ /*PAGE LAYOUT*/
4
+ body {
5
+ margin-left: 0px;
6
+ margin-top: 0px;
7
+ margin-right: 0px;
8
+ margin-bottom: 0px;
9
+ }
10
+ #logo{float:left; background-image:url(tie_logo.gif); width:274px; height:213px;}
11
+ #topheader{float:right; width:526px; height:97px; background-color:#F0F0F0; position:relative}
12
+ #toplinks{position:absolute; right:10px; top:10px;}
13
+ #menu{float:right; width:526px; height:32px; background-image:url(bg_menu.gif); background-repeat:repeat-x;}
14
+ #submenu{float:right; width:526px; height:32px; background-image:url(bg_submenu.gif); background-position:top; background-repeat:repeat-x;}
15
+ #contenttext{float:right; width:526px;}
16
+ #contentnopanel{float:left; width:800px}
17
+ #leftpanel{float:left; width:274px;}
18
+ #footer{float:left; width:800px; background-color:#F0F0F0; padding:10px;}
19
+ #footernopanel{float:left; width:800px; background-color:#F0F0F0; padding:10px;}
20
+ /*GRAY PANEL*/
21
+ .graypanel{
22
+ border:solid 1px #666666; background-color:#F7F7F7; padding:10px; margin:10px;
23
+ }
24
+
25
+ /*TEXT STYLES*/
26
+ .bodytext {
27
+ font: 0.9em Tahoma, sans-serif;
28
+ color: #666666;
29
+ }
30
+
31
+ .titletext {
32
+ font: 0.7em Tahoma, sans-serif;
33
+ font-size:26px;
34
+ font-weight:bold;
35
+ color:#CC0000;
36
+ }
37
+ .whitetitle {
38
+ font: 0.7em Tahoma, sans-serif;
39
+ font-size:36px;
40
+ font-weight:bold;
41
+ color:#FFFFFF;
42
+ }
43
+ .smalltitle {
44
+ font: 0.7em Tahoma, sans-serif;
45
+ font-size:20px;
46
+ font-weight:bold;
47
+ color:#CC0000;
48
+ }
49
+ .smallwhitetext {
50
+ font: 0.7em Tahoma, sans-serif;
51
+ font-size: 11px;
52
+ font-weight:bold;
53
+ color: #FFFFFF;
54
+ }
55
+ .smallwhitetext a{
56
+ font: 0.7em Tahoma, sans-serif;
57
+ font-size: 11px;
58
+ font-weight:bold;
59
+ color: #FFFFFF;
60
+ text-decoration:none;
61
+ }
62
+ .smallwhitetext a:hover{
63
+ text-decoration:underline;
64
+ }
65
+ .smallgraytext {
66
+ font: 0.7em Tahoma, sans-serif;
67
+ font-size: 11px;
68
+ font-weight:bold;
69
+ color:#999999;
70
+ }
71
+ .smallgraytext a{
72
+ font: 0.7em Tahoma, sans-serif;
73
+ font-size: 11px;
74
+ font-weight:bold;
75
+ color:#999999;
76
+ text-decoration:none;
77
+ }
78
+ .smallgraytext a:hover{
79
+ text-decoration:underline;
80
+ }
81
+ .smallredtext {
82
+ font: 0.7em Tahoma, sans-serif;
83
+ font-size: 11px;
84
+ font-weight:bold;
85
+ color:#CC0000;
86
+ }
87
+ .smallredtext a{
88
+ font: 0.7em Tahoma, sans-serif;
89
+ font-size: 11px;
90
+ font-weight:bold;
91
+ color:#CC0000;
92
+ text-decoration:none;
93
+ }
94
+ .smallredtext a:hover{
95
+ text-decoration:underline;
96
+ }
Binary file
@@ -0,0 +1,48 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+ <html xmlns="http://www.w3.org/1999/xhtml">
3
+ <head>
4
+ <meta name="author" content="Vassilis Rizopoulos" />
5
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF8" />
6
+ <link rel="stylesheet" href="style.css" type="text/css" />
7
+ <title>Patir</title>
8
+ </head>
9
+ <body>
10
+ <div id="page" align="center">
11
+ <div id="content" style="width:800px">
12
+ <div id="logo">
13
+ <div style="margin-top:70px" class="whitetitle">patir</div>
14
+ </div>
15
+ <div id="topheader">
16
+ <div align="left" class="bodytext">
17
+ <br />
18
+ </div>
19
+ </div>
20
+ <div id="menu">
21
+ </div>
22
+ <div id="submenu">
23
+ <div align="right" class="smallgraytext" style="padding:9px;">
24
+ <a href="rdoc/index.html">patir</a> | <a href="rutema/index.html">rutema</a> | <a href="rubot/index.html">rubot</a>
25
+ </div>
26
+ </div>
27
+ <div id="contentnopanel">
28
+ <div style="padding:10px">
29
+ <span class="titletext">Welcome to patir</span>
30
+ </div>
31
+
32
+ <div class="bodytext" style="padding:12px;" align="justify">
33
+ <p>We are very proud to welcome you to patir, a project that aims to provide you with a set of tools that will make your software developing life just a little bit easier.<br>
34
+ The way we will organise this project is to use patir as an umbrella project and create a subproject for each of the tools we develop.<br>
35
+ All code found to be used throughout the tools will be maintained in the patir library in good old DRY fashion.
36
+ </p><p>patir (pronounced pat-IR) is not just an acronym (<strong>P</strong>roject <strong>A</strong>utomation <strong>T</strong>ools <strong>i</strong>n <strong>R</strong>uby): It means "father" in greek ("πατήρ").<br>
37
+ So welcome to the father of all our projects :).
38
+ </p>
39
+ </div>
40
+ </div>
41
+ <div id="footernopanel" class="smallgraytext">
42
+ <a href="index.html">Home</a> | <a href="contact.html">Contact</a> | &copy; 2007 Vassilis Rizopoulos</a>
43
+ </div>
44
+ </div>
45
+ </div>
46
+ </div>
47
+ </body>
48
+ </html>
@@ -1,12 +1,14 @@
1
1
  # Copyright (c) 2007 Vassilis Rizopoulos. All rights reserved.
2
-
2
+ require 'logger'
3
3
  #This is the base module of the Patir system. It contains some usefull helper methods used by all child projects.
4
4
  module Patir
5
- require 'logger'
6
- #Version information
7
- VERSION_MAJOR="0"
8
- VERSION_MINOR="4"
9
- VERSION="#{VERSION_MAJOR}.#{VERSION_MINOR}"
5
+ #The Patir version used
6
+ module Version
7
+ MAJOR=0
8
+ MINOR=5
9
+ TINY=0
10
+ STRING=[ MAJOR, MINOR, TINY ].join( "." )
11
+ end
10
12
  #Error thrown usually in initialize methods when missing required parameters
11
13
  #from the initialization hash.
12
14
  class ParameterException<RuntimeError
@@ -49,6 +51,7 @@ module Patir
49
51
  logger=Logger.new(STDOUT)
50
52
  end
51
53
  logger.level=Logger::INFO
54
+ logger.level=mode if [Logger::INFO,Logger::FATAL,Logger::WARN,Logger::DEBUG].member?(mode)
52
55
  logger.level=Logger::FATAL if mode==:mute
53
56
  logger.level=Logger::WARN if mode==:silent
54
57
  logger.level=Logger::DEBUG if mode==:debug || $DEBUG
@@ -49,6 +49,10 @@ module Patir
49
49
  def configuration
50
50
  return self
51
51
  end
52
+
53
+ def logger
54
+ return @logger
55
+ end
52
56
  #Loads the configuration from a file
53
57
  #
54
58
  #Use this to chain configuration files together
@@ -69,7 +73,6 @@ module Patir
69
73
  cfg_txt=File.readlines(File.basename(filename))
70
74
  configuration=self
71
75
  eval(cfg_txt.join(),binding())
72
- #load File.basename(filename)
73
76
  @logger.info("Configuration loaded from #{filename}") if @logger
74
77
  rescue ConfigurationException
75
78
  #pass it on, do not wrap again
metadata CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.1
3
3
  specification_version: 1
4
4
  name: patir
5
5
  version: !ruby/object:Gem::Version
6
- version: "0.4"
7
- date: 2007-05-30 00:00:00 +02:00
6
+ version: 0.5.0
7
+ date: 2007-08-15 00:00:00 +02:00
8
8
  summary: patir (Project Automation Tools in Ruby) provides libraries for use in automation tools
9
9
  require_paths:
10
10
  - lib
@@ -41,6 +41,25 @@ files:
41
41
  - test/test_patir_command.rb
42
42
  - test/test_patir_configuration.rb
43
43
  - test/samples/empty.cfg
44
+ - docu/style.css
45
+ - docu/tie_logo.gif
46
+ - docu/welcome.html
47
+ - docu/bg_menu.gif
48
+ - docu/bg_submenu.gif
49
+ - docu/contact.html
50
+ - docu/index.html
51
+ - docu/patir02.html
52
+ - docu/patir03.html
53
+ - docu/patir04.html
54
+ - docu/patir05.html
55
+ - docu/rutema01.html
56
+ - docu/rutema02.html
57
+ - docu/rutema03.html
58
+ - docu/rutema04.html
59
+ - docu/rw-intro.png
60
+ - docu/rw-run.png
61
+ - docu/rw-scenario.png
62
+ - docu/screenshots.html
44
63
  test_files:
45
64
  - test/test_patir_base.rb
46
65
  - test/test_patir_command.rb