log4r-color 1.1.11

Sign up to get free protection for your applications and to get access to all the features.
Files changed (106) hide show
  1. data/INSTALL +11 -0
  2. data/LICENSE +90 -0
  3. data/LICENSE.LGPLv3 +165 -0
  4. data/README +95 -0
  5. data/Rakefile +80 -0
  6. data/TODO +2 -0
  7. data/doc/content/contact.html +22 -0
  8. data/doc/content/contribute.html +21 -0
  9. data/doc/content/index.html +90 -0
  10. data/doc/content/license.html +56 -0
  11. data/doc/content/manual.html +449 -0
  12. data/doc/dev/README.developers +55 -0
  13. data/doc/dev/checklist +23 -0
  14. data/doc/dev/things-to-do +5 -0
  15. data/doc/images/log4r-logo.png +0 -0
  16. data/doc/images/logo2.png +0 -0
  17. data/doc/log4r.css +111 -0
  18. data/doc/rdoc-log4r.css +696 -0
  19. data/doc/templates/main.html +147 -0
  20. data/examples/README +19 -0
  21. data/examples/ancestors.rb +53 -0
  22. data/examples/chainsaw_settings.xml +7 -0
  23. data/examples/color_output.rb +26 -0
  24. data/examples/customlevels.rb +34 -0
  25. data/examples/filelog.rb +25 -0
  26. data/examples/fileroll.rb +40 -0
  27. data/examples/gmail.rb +30 -0
  28. data/examples/gmail.yaml +95 -0
  29. data/examples/log4r_yaml.yaml +0 -0
  30. data/examples/logclient.rb +25 -0
  31. data/examples/logserver.rb +18 -0
  32. data/examples/moderate.xml +29 -0
  33. data/examples/moderateconfig.rb +66 -0
  34. data/examples/myformatter.rb +23 -0
  35. data/examples/outofthebox.rb +21 -0
  36. data/examples/rdoc-gen +2 -0
  37. data/examples/rrconfig.xml +63 -0
  38. data/examples/rrsetup.rb +42 -0
  39. data/examples/simpleconfig.rb +39 -0
  40. data/examples/syslogcustom.rb +52 -0
  41. data/examples/xmlconfig.rb +25 -0
  42. data/examples/yaml.rb +30 -0
  43. data/lib/log4r.rb +20 -0
  44. data/lib/log4r/GDC.rb +41 -0
  45. data/lib/log4r/MDC.rb +59 -0
  46. data/lib/log4r/NDC.rb +86 -0
  47. data/lib/log4r/base.rb +90 -0
  48. data/lib/log4r/config.rb +9 -0
  49. data/lib/log4r/configurator.rb +224 -0
  50. data/lib/log4r/formatter/formatter.rb +105 -0
  51. data/lib/log4r/formatter/log4jxmlformatter.rb +61 -0
  52. data/lib/log4r/formatter/patternformatter.rb +145 -0
  53. data/lib/log4r/lib/drbloader.rb +52 -0
  54. data/lib/log4r/lib/xmlloader.rb +24 -0
  55. data/lib/log4r/logevent.rb +28 -0
  56. data/lib/log4r/logger.rb +199 -0
  57. data/lib/log4r/loggerfactory.rb +89 -0
  58. data/lib/log4r/logserver.rb +28 -0
  59. data/lib/log4r/outputter/consoleoutputters.rb +49 -0
  60. data/lib/log4r/outputter/datefileoutputter.rb +117 -0
  61. data/lib/log4r/outputter/emailoutputter.rb +143 -0
  62. data/lib/log4r/outputter/fileoutputter.rb +56 -0
  63. data/lib/log4r/outputter/iooutputter.rb +55 -0
  64. data/lib/log4r/outputter/outputter.rb +146 -0
  65. data/lib/log4r/outputter/outputterfactory.rb +61 -0
  66. data/lib/log4r/outputter/remoteoutputter.rb +40 -0
  67. data/lib/log4r/outputter/rollingfileoutputter.rb +234 -0
  68. data/lib/log4r/outputter/scribeoutputter.rb +37 -0
  69. data/lib/log4r/outputter/staticoutputter.rb +32 -0
  70. data/lib/log4r/outputter/syslogoutputter.rb +130 -0
  71. data/lib/log4r/outputter/udpoutputter.rb +53 -0
  72. data/lib/log4r/rdoc/GDC +14 -0
  73. data/lib/log4r/rdoc/MDC +16 -0
  74. data/lib/log4r/rdoc/NDC +41 -0
  75. data/lib/log4r/rdoc/configurator +243 -0
  76. data/lib/log4r/rdoc/emailoutputter +103 -0
  77. data/lib/log4r/rdoc/formatter +39 -0
  78. data/lib/log4r/rdoc/log4r +89 -0
  79. data/lib/log4r/rdoc/logger +175 -0
  80. data/lib/log4r/rdoc/logserver +85 -0
  81. data/lib/log4r/rdoc/outputter +108 -0
  82. data/lib/log4r/rdoc/patternformatter +128 -0
  83. data/lib/log4r/rdoc/scribeoutputter +16 -0
  84. data/lib/log4r/rdoc/syslogoutputter +29 -0
  85. data/lib/log4r/rdoc/win32eventoutputter +7 -0
  86. data/lib/log4r/rdoc/yamlconfigurator +20 -0
  87. data/lib/log4r/repository.rb +88 -0
  88. data/lib/log4r/staticlogger.rb +49 -0
  89. data/lib/log4r/yamlconfigurator.rb +196 -0
  90. data/tests/README +10 -0
  91. data/tests/testGDC.rb +26 -0
  92. data/tests/testMDC.rb +42 -0
  93. data/tests/testNDC.rb +27 -0
  94. data/tests/testall.rb +6 -0
  95. data/tests/testbase.rb +49 -0
  96. data/tests/testchainsaw.rb +48 -0
  97. data/tests/testcoloroutput.rb +14 -0
  98. data/tests/testconf.xml +37 -0
  99. data/tests/testcustom.rb +27 -0
  100. data/tests/testformatter.rb +27 -0
  101. data/tests/testlogger.rb +196 -0
  102. data/tests/testoutputter.rb +132 -0
  103. data/tests/testpatternformatter.rb +78 -0
  104. data/tests/testthreads.rb +35 -0
  105. data/tests/testxmlconf.rb +45 -0
  106. metadata +195 -0
data/INSTALL ADDED
@@ -0,0 +1,11 @@
1
+
2
+ For RubyGems Users
3
+ ------------------
4
+
5
+ Log4r is available via the RubyGems online distribution network. To install
6
+ log4r using this method,
7
+
8
+ gem --remote-install log4r
9
+
10
+ The log4r.gemspec file is included with the release, allowing one to build the
11
+ gem file by hand. For more info, see http://rubygems.rubyforge.org/wiki/wiki.pl
data/LICENSE ADDED
@@ -0,0 +1,90 @@
1
+
2
+ This software has evolved through three maintainers and three
3
+ copyright notices. I am an employee of UC Berkeley, which
4
+ therefore makes me an employee of the State of California.
5
+ By law, all works that I create as part of my job are
6
+ owned by the University of California Regents. I am able
7
+ to mark software as being under the Gnu General Lesser Public
8
+ License v3 and have done so for my versions of the Log4r software.
9
+
10
+ See the file LICENSE.LGPLv3 for more information.
11
+
12
+ 18 Sept 2009
13
+ Colby Gutierrez-Kraybill
14
+ colby@astro.berkeley.edu
15
+
16
+ Copyright (c) 2009 University of California Regents, Gnu LGPLv3
17
+ Copyright (c) 2007, 2008 Revolution Health
18
+ Copyright (c) 2002-2004 Leon Torres
19
+
20
+ ---------------------------------------------------------------------
21
+ Copyright (c) 2007, 2008 Revolution Health
22
+ Permission is hereby granted, free of charge, to any person obtaining
23
+ a copy of this software and associated documentation files (the
24
+ "Software"), to deal in the Software without restriction, including
25
+ without limitation the rights to use, copy, modify, merge, publish,
26
+ distribute, sublicense, and/or sell copies of the Software, and to
27
+ permit persons to whom the Software is furnished to do so, subject to
28
+ the following conditions:
29
+
30
+ The above copyright notice and this permission notice shall be
31
+ included in all copies or substantial portions of the Software.
32
+
33
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
34
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
35
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
36
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
37
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
38
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
39
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
40
+ ----------------------------------------------------------------------
41
+
42
+ --------------------------------------------------------------------------
43
+ Copyright (c) 2002, 2004 Leon Torres <leon@ugcs.caltech.edu>
44
+ Log4r is copyrighted free software
45
+ You can redistribute it and/or modify it under either the terms of the GPL,
46
+ or the conditions below::
47
+
48
+ 1. You may make and give away verbatim copies of the source form of the
49
+ software without restriction, provided that you duplicate all of the
50
+ original copyright notices and associated disclaimers.
51
+
52
+ 2. You may modify your copy of the software in any way, provided that
53
+ you do at least ONE of the following:
54
+
55
+ a) place your modifications in the Public Domain or otherwise
56
+ make them Freely Available, such as by posting said
57
+ modifications to Usenet or an equivalent medium, or by allowing
58
+ the author to include your modifications in the software.
59
+
60
+ b) use the modified software only within your corporation or
61
+ organization.
62
+
63
+ c) rename any non-standard executables so the names do not conflict
64
+ with standard executables, which must also be provided.
65
+
66
+ d) make other distribution arrangements with the author.
67
+
68
+ 3. You may distribute the software in object code or executable
69
+ form, provided that you do at least ONE of the following:
70
+
71
+ a) distribute the executables and library files of the software,
72
+ together with instructions (in the manual page or equivalent)
73
+ on where to get the original distribution.
74
+
75
+ b) accompany the distribution with the machine-readable source of
76
+ the software.
77
+
78
+ c) give non-standard executables non-standard names, with
79
+ instructions on where to get the original software distribution.
80
+
81
+ d) make other distribution arrangements with the author.
82
+
83
+ 4. You may modify and include the part of the software into any other
84
+ software (possibly commercial).
85
+
86
+ 5. THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR
87
+ IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
88
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
89
+ PURPOSE.
90
+ ---------------------------------------------------------------------------
data/LICENSE.LGPLv3 ADDED
@@ -0,0 +1,165 @@
1
+ GNU LESSER GENERAL PUBLIC LICENSE
2
+ Version 3, 29 June 2007
3
+
4
+ Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
5
+ Everyone is permitted to copy and distribute verbatim copies
6
+ of this license document, but changing it is not allowed.
7
+
8
+
9
+ This version of the GNU Lesser General Public License incorporates
10
+ the terms and conditions of version 3 of the GNU General Public
11
+ License, supplemented by the additional permissions listed below.
12
+
13
+ 0. Additional Definitions.
14
+
15
+ As used herein, "this License" refers to version 3 of the GNU Lesser
16
+ General Public License, and the "GNU GPL" refers to version 3 of the GNU
17
+ General Public License.
18
+
19
+ "The Library" refers to a covered work governed by this License,
20
+ other than an Application or a Combined Work as defined below.
21
+
22
+ An "Application" is any work that makes use of an interface provided
23
+ by the Library, but which is not otherwise based on the Library.
24
+ Defining a subclass of a class defined by the Library is deemed a mode
25
+ of using an interface provided by the Library.
26
+
27
+ A "Combined Work" is a work produced by combining or linking an
28
+ Application with the Library. The particular version of the Library
29
+ with which the Combined Work was made is also called the "Linked
30
+ Version".
31
+
32
+ The "Minimal Corresponding Source" for a Combined Work means the
33
+ Corresponding Source for the Combined Work, excluding any source code
34
+ for portions of the Combined Work that, considered in isolation, are
35
+ based on the Application, and not on the Linked Version.
36
+
37
+ The "Corresponding Application Code" for a Combined Work means the
38
+ object code and/or source code for the Application, including any data
39
+ and utility programs needed for reproducing the Combined Work from the
40
+ Application, but excluding the System Libraries of the Combined Work.
41
+
42
+ 1. Exception to Section 3 of the GNU GPL.
43
+
44
+ You may convey a covered work under sections 3 and 4 of this License
45
+ without being bound by section 3 of the GNU GPL.
46
+
47
+ 2. Conveying Modified Versions.
48
+
49
+ If you modify a copy of the Library, and, in your modifications, a
50
+ facility refers to a function or data to be supplied by an Application
51
+ that uses the facility (other than as an argument passed when the
52
+ facility is invoked), then you may convey a copy of the modified
53
+ version:
54
+
55
+ a) under this License, provided that you make a good faith effort to
56
+ ensure that, in the event an Application does not supply the
57
+ function or data, the facility still operates, and performs
58
+ whatever part of its purpose remains meaningful, or
59
+
60
+ b) under the GNU GPL, with none of the additional permissions of
61
+ this License applicable to that copy.
62
+
63
+ 3. Object Code Incorporating Material from Library Header Files.
64
+
65
+ The object code form of an Application may incorporate material from
66
+ a header file that is part of the Library. You may convey such object
67
+ code under terms of your choice, provided that, if the incorporated
68
+ material is not limited to numerical parameters, data structure
69
+ layouts and accessors, or small macros, inline functions and templates
70
+ (ten or fewer lines in length), you do both of the following:
71
+
72
+ a) Give prominent notice with each copy of the object code that the
73
+ Library is used in it and that the Library and its use are
74
+ covered by this License.
75
+
76
+ b) Accompany the object code with a copy of the GNU GPL and this license
77
+ document.
78
+
79
+ 4. Combined Works.
80
+
81
+ You may convey a Combined Work under terms of your choice that,
82
+ taken together, effectively do not restrict modification of the
83
+ portions of the Library contained in the Combined Work and reverse
84
+ engineering for debugging such modifications, if you also do each of
85
+ the following:
86
+
87
+ a) Give prominent notice with each copy of the Combined Work that
88
+ the Library is used in it and that the Library and its use are
89
+ covered by this License.
90
+
91
+ b) Accompany the Combined Work with a copy of the GNU GPL and this license
92
+ document.
93
+
94
+ c) For a Combined Work that displays copyright notices during
95
+ execution, include the copyright notice for the Library among
96
+ these notices, as well as a reference directing the user to the
97
+ copies of the GNU GPL and this license document.
98
+
99
+ d) Do one of the following:
100
+
101
+ 0) Convey the Minimal Corresponding Source under the terms of this
102
+ License, and the Corresponding Application Code in a form
103
+ suitable for, and under terms that permit, the user to
104
+ recombine or relink the Application with a modified version of
105
+ the Linked Version to produce a modified Combined Work, in the
106
+ manner specified by section 6 of the GNU GPL for conveying
107
+ Corresponding Source.
108
+
109
+ 1) Use a suitable shared library mechanism for linking with the
110
+ Library. A suitable mechanism is one that (a) uses at run time
111
+ a copy of the Library already present on the user's computer
112
+ system, and (b) will operate properly with a modified version
113
+ of the Library that is interface-compatible with the Linked
114
+ Version.
115
+
116
+ e) Provide Installation Information, but only if you would otherwise
117
+ be required to provide such information under section 6 of the
118
+ GNU GPL, and only to the extent that such information is
119
+ necessary to install and execute a modified version of the
120
+ Combined Work produced by recombining or relinking the
121
+ Application with a modified version of the Linked Version. (If
122
+ you use option 4d0, the Installation Information must accompany
123
+ the Minimal Corresponding Source and Corresponding Application
124
+ Code. If you use option 4d1, you must provide the Installation
125
+ Information in the manner specified by section 6 of the GNU GPL
126
+ for conveying Corresponding Source.)
127
+
128
+ 5. Combined Libraries.
129
+
130
+ You may place library facilities that are a work based on the
131
+ Library side by side in a single library together with other library
132
+ facilities that are not Applications and are not covered by this
133
+ License, and convey such a combined library under terms of your
134
+ choice, if you do both of the following:
135
+
136
+ a) Accompany the combined library with a copy of the same work based
137
+ on the Library, uncombined with any other library facilities,
138
+ conveyed under the terms of this License.
139
+
140
+ b) Give prominent notice with the combined library that part of it
141
+ is a work based on the Library, and explaining where to find the
142
+ accompanying uncombined form of the same work.
143
+
144
+ 6. Revised Versions of the GNU Lesser General Public License.
145
+
146
+ The Free Software Foundation may publish revised and/or new versions
147
+ of the GNU Lesser General Public License from time to time. Such new
148
+ versions will be similar in spirit to the present version, but may
149
+ differ in detail to address new problems or concerns.
150
+
151
+ Each version is given a distinguishing version number. If the
152
+ Library as you received it specifies that a certain numbered version
153
+ of the GNU Lesser General Public License "or any later version"
154
+ applies to it, you have the option of following the terms and
155
+ conditions either of that published version or of any later version
156
+ published by the Free Software Foundation. If the Library as you
157
+ received it does not specify a version number of the GNU Lesser
158
+ General Public License, you may choose any version of the GNU Lesser
159
+ General Public License ever published by the Free Software Foundation.
160
+
161
+ If the Library as you received it specifies that a proxy can decide
162
+ whether future versions of the GNU Lesser General Public License shall
163
+ apply, that proxy's public statement of acceptance of any version is
164
+ permanent authorization for you to choose that version for the
165
+ Library.
data/README ADDED
@@ -0,0 +1,95 @@
1
+ Log4r - A flexible logging library for Ruby
2
+
3
+
4
+ This release: 1.1.9 - ALPHA
5
+ Release date: XX/Jun/2010
6
+ License: LGPLv3
7
+ Maintainer: Colby Gutierrez-Kraybill
8
+ Contributors: Leon Torres Original Maintainer
9
+ Martain Stannard RollingFileOutputter
10
+ Steve Lumos SyslogOutputter
11
+ Mark Lewandowski ScribeOutputter
12
+ Andreas Hund YamlConfigurator
13
+ Jamis Buck log4r.gemspec
14
+ Charles Strahan log4jxml/chainsaw integration
15
+ Nitay Joffe STARTTLS
16
+ David Siegal Smart updates to RollingFileOutputter
17
+ Homepage: http://log4r.rubyforge.org/
18
+ Download: http://rubyforge.org/frs/?group_id=203
19
+
20
+ Summary
21
+ -------
22
+
23
+ Log4r is a comprehensive and flexible logging library written in Ruby for use
24
+ in Ruby programs. It features a hierarchical logging system of any number of
25
+ levels, custom level names, logger inheritance, multiple output destinations
26
+ per log event, execution tracing, custom formatting, thread safteyness, XML
27
+ and YAML configuration, and more.
28
+
29
+
30
+ Requirements
31
+ ------------
32
+
33
+ * (required) Ruby >= 1.7.0 (use log4r 1.0.2 for Ruby 1.6)
34
+ * (optional) RubyGems for installing Log4r as a gem
35
+ * (optional) Ruby syslog library for SyslogOutputter
36
+ * (optional) XML configuration requires REXML
37
+ * (optional) log4j chainsaw integration requires 'builder' >= 2.0
38
+ * (optional) STARTTLS email login, requires 'smtp_tls" if Ruby <= 1.8.6
39
+
40
+
41
+ More Info
42
+ ---------
43
+
44
+ * Installation instructions are in the file INSTALL
45
+
46
+ * Comprehensive examples are provided in examples/ and can be run right away
47
+
48
+ * Log4r homepage: doc/index.html
49
+ Online: http://log4r.rubyforge.org/
50
+
51
+ * Manual: doc/manual.html
52
+ Online: http://log4r.rubyforge.org/manual.html
53
+
54
+ * RDoc API reference: doc/rdoc/index.html
55
+ Online: http://log4r.rubyforge.org/rdoc/index.html
56
+
57
+ * The changelog
58
+
59
+ * Log4r is hosted by RubyForge, which provides news, bug tracking and a forum
60
+
61
+ * Feel free to bug the maintainer with any questions (listed at top of file)
62
+
63
+
64
+ Usability
65
+ ---------
66
+
67
+ Log4r works really well, so please take advantage of it right away! :)
68
+ All versions since 0.9.2 have been stable and backward-compatible. The
69
+ code is stable enough that updates are infrequent and usually only for
70
+ adding features or keeping the code up to date with Ruby.
71
+
72
+
73
+ Platform Issues
74
+ ---------------
75
+
76
+ Log4r is known to work on Linux and WindowsXP. It's safe to assume that Log4r
77
+ will work on any Ruby-supported platform.
78
+
79
+
80
+ When Trouble Strikes
81
+ --------------------
82
+
83
+ Log4r comes with an internal logger. To see its output, create a logger
84
+ named 'log4r' before any others and give it a suitable outputter,
85
+
86
+ trouble = Logger.new['log4r']
87
+ trouble.add Outputter.stdout
88
+
89
+ Try running the unit tests provided (run the file tests/runtest.rb). Let
90
+ the maintainer know what's up and feel free to explore and fix the
91
+ code yourself. It's well documented and written in Ruby. :)
92
+
93
+ Also, try out the bug/request tracking system at
94
+ http://rubyforge.org/tracker/?group_id=203
95
+
data/Rakefile ADDED
@@ -0,0 +1,80 @@
1
+
2
+ # $Id$
3
+
4
+ # incorporated from Revolution Health version of log4r
5
+
6
+ require 'rubygems'
7
+ require 'rake/gempackagetask'
8
+ require 'rubygems/specification'
9
+ require 'date'
10
+ require 'fileutils'
11
+
12
+ GEM = "log4r-color"
13
+ GEM_VERSION = "1.1.11"
14
+ AUTHORS = "Colby Gutierrez-Kraybill, Kristian Mandrup (color outputter)"
15
+ EMAIL = "colby@astro.berkeley.edu, kmandrup@gmail.com"
16
+ HOMEPAGE = %q{http://log4r.rubyforge.org}
17
+ SUMMARY = "Log4r, logging framework for ruby"
18
+ DESCRIPTION = "See also: http://logging.apache.org/log4j"
19
+ DIRS = [ "doc/**/*", "examples/**/*", "lib/**/*", "tests/**/*" ]
20
+
21
+ spec = spec = Gem::Specification.new do |s|
22
+ s.name = GEM
23
+ s.rubyforge_project = s.name
24
+ s.version = GEM_VERSION
25
+ s.platform = Gem::Platform::RUBY
26
+ s.has_rdoc = true
27
+ s.extra_rdoc_files = ["README", "LICENSE", 'TODO']
28
+ s.summary = SUMMARY
29
+ s.description = DESCRIPTION
30
+ s.author = AUTHORS
31
+ s.email = EMAIL
32
+ s.homepage = HOMEPAGE
33
+
34
+ # Uncomment this to add a dependency
35
+ s.add_dependency "scribe"
36
+ s.add_dependency "colorize"
37
+
38
+ s.require_path = 'lib'
39
+ s.files = %w(LICENSE LICENSE.LGPLv3 README INSTALL Rakefile TODO)
40
+ s.files = s.files + DIRS.collect do |dir|
41
+ Dir.glob( dir )
42
+ end.flatten.delete_if { |f| f.include?("CVS") }
43
+ end
44
+
45
+ Rake::GemPackageTask.new(spec) do |pkg|
46
+ pkg.gem_spec = spec
47
+ end
48
+
49
+ desc "sudo install the gem locally"
50
+ task :sudo_install => [:package] do
51
+ sh %{sudo gem install pkg/#{GEM}-#{GEM_VERSION}}
52
+ end
53
+
54
+ desc "install the gem locally"
55
+ task :install => [:package] do
56
+ sh %{gem install pkg/#{GEM}-#{GEM_VERSION}}
57
+ end
58
+
59
+ desc "create a gemspec file"
60
+ task :make_spec do
61
+ File.open("#{GEM}.gemspec", "w") do |file|
62
+ file.puts spec.to_ruby
63
+ end
64
+ end
65
+
66
+ # require 'test/unit'
67
+
68
+ # TODO: integrate unit tests
69
+ #task :test do
70
+ # FileUtils.mkdir(File.join(File.dirname(__FILE__), %w[log])) if !File.exists?(File.join(File.dirname(__FILE__), %w[log]))
71
+ # FileUtils.rm(Dir.glob(File.join(File.dirname(__FILE__), %w[log *])))
72
+ # runner = Test::Unit::AutoRunner.new(true)
73
+ # runner.to_run << 'test'
74
+ # runner.pattern = [/_test.rb$/]
75
+ # exit if !runner.run
76
+ #end
77
+
78
+ task :default => [:package] do
79
+ end
80
+
data/TODO ADDED
@@ -0,0 +1,2 @@
1
+
2
+