arbiter-commits Mailing List for Arbiter
Status: Pre-Alpha
Brought to you by:
lastcraft
You can subscribe to this list here.
| 2005 |
Jan
|
Feb
|
Mar
(40) |
Apr
(17) |
May
|
Jun
|
Jul
(6) |
Aug
(4) |
Sep
(1) |
Oct
|
Nov
|
Dec
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2006 |
Jan
(4) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2007 |
Jan
|
Feb
|
Mar
(89) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: Marcus B. <las...@us...> - 2007-03-12 00:51:24
|
Update of /cvsroot/arbiter/arbiter In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv11763 Modified Files: LICENSE TODO Log Message: Changing license to LGPL Index: TODO =================================================================== RCS file: /cvsroot/arbiter/arbiter/TODO,v retrieving revision 1.61 retrieving revision 1.62 diff -C2 -d -r1.61 -r1.62 *** TODO 11 Mar 2007 15:19:12 -0000 1.61 --- TODO 12 Mar 2007 00:51:22 -0000 1.62 *************** *** 2,6 **** ==== This is immediate stuff only for this iteration ( 30/4/2005 ) of ? hours. - Last iteration 22 task hours was achieved in 40 Document Server --- 2,5 ---- Index: LICENSE =================================================================== RCS file: /cvsroot/arbiter/arbiter/LICENSE,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** LICENSE 12 Sep 2004 05:15:28 -0000 1.1 --- LICENSE 12 Mar 2007 00:51:22 -0000 1.2 *************** *** 1,49 **** ! The Open Group Test Suite License ! Preamble ! The intent of this document is to state the conditions under which a Package may be copied, such that the Copyright Holder maintains some semblance of artistic control over the development of the package, while giving the users of the package the right to use and distribute the Package in a more-or-less customary fashion, plus the right to make reasonable modifications. ! Testing is essential for proper development and maintenance of standards-based products. ! For buyers: adequate conformance testing leads to reduced integration costs and protection of investments in applications, software and people. ! For software developers: conformance testing of platforms and middleware greatly reduces the cost of developing and maintaining multi-platform application software. ! For suppliers: In-depth testing increases customer satisfaction and keeps development and support costs in check. API conformance is highly measurable and suppliers who claim it must be able to substantiate that claim. ! As such, since these are benchmark measures of conformance, we feel the integrity of test tools is of importance. In order to preserve the integrity of the existing conformance modes of this test package and to permit recipients of modified versions of this package to run the original test modes, this license requires that the original test modes be preserved. ! If you find a bug in one of the standards mode test cases, please let us know so we can feed this back into the original, and also raise any specification issues with the appropriate bodies (for example the POSIX committees). ! Definitions: ! * "Package" refers to the collection of files distributed by the Copyright Holder, and derivatives of that collection of files created through textual modification. ! * "Standard Version" refers to such a Package if it has not been modified, or has been modified in accordance with the wishes of the Copyright Holder. ! * "Copyright Holder" is whoever is named in the copyright or copyrights for the package. "You" is you, if you're thinking about copying or distributing this Package. ! * "Reasonable copying fee" is whatever you can justify on the basis of media cost, duplication charges, time of people involved, and so on. (You will not be required to justify it to the Copyright Holder, but only to the computing community at large as a market that must bear the fee.) ! * "Freely Available" means that no fee is charged for the item itself, though there may be fees involved in handling the item. It also means that recipients of the item may redistribute it under the same conditions they received it. ! 1. You may make and give away verbatim copies of the source form of the Standard Version of this Package without restriction, provided that you duplicate all of the original copyright notices and associated disclaimers. ! 2. You may apply bug fixes, portability fixes and other modifications derived from the Public Domain or from the Copyright Holder. A Package modified in such a way shall still be considered the Standard Version. ! 3. You may otherwise modify your copy of this Package in any way, provided that you insert a prominent notice in each changed file stating how and when you changed that file, and provided that you do at least the following: ! rename any non-standard executables and testcases so the names do not conflict with standard executables and testcases, which must also be provided, and provide a separate manual page for each non-standard executable and testcase that clearly documents how it differs from the Standard Version. ! 4. You may distribute the programs of this Package in object code or executable form, provided that you do at least the following: ! accompany any non-standard executables and testcases with their corresponding Standard Version executables and testcases, giving the non-standard executables and testcases non-standard names, and clearly documenting the differences in manual pages (or equivalent), together with instructions on where to get the Standard Version. ! 5. You may charge a reasonable copying fee for any distribution of this Package. You may charge any fee you choose for support of this Package. You may not charge a fee for this Package itself. However, you may distribute this Package in aggregate with other (possibly commercial) programs as part of a larger (possibly commercial) software distribution provided that you do not advertise this Package as a product of your own. ! 6. The scripts and library files supplied as input to or produced as output from the programs of this Package do not automatically fall under the copyright of this Package, but belong to whomever generated them, and may be sold commercially, and may be aggregated with this Package. ! 7.Subroutines supplied by you and linked into this Package shall not be considered part of this Package. ! 8. The name of the Copyright Holder may not be used to endorse or promote products derived from this software without specific prior written permission. ! 9. THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. ! The End --- 1,502 ---- ! GNU LESSER GENERAL PUBLIC LICENSE ! Version 2.1, February 1999 ! Copyright (C) 1991, 1999 Free Software Foundation, Inc. ! 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA ! Everyone is permitted to copy and distribute verbatim copies ! of this license document, but changing it is not allowed. ! [This is the first released version of the Lesser GPL. It also counts ! as the successor of the GNU Library Public License, version 2, hence ! the version number 2.1.] ! Preamble ! The licenses for most software are designed to take away your ! freedom to share and change it. By contrast, the GNU General Public ! Licenses are intended to guarantee your freedom to share and change ! free software--to make sure the software is free for all its users. ! This license, the Lesser General Public License, applies to some ! specially designated software packages--typically libraries--of the ! Free Software Foundation and other authors who decide to use it. You ! can use it too, but we suggest you first think carefully about whether ! this license or the ordinary General Public License is the better ! strategy to use in any particular case, based on the explanations below. ! When we speak of free software, we are referring to freedom of use, ! not price. Our General Public Licenses are designed to make sure that ! you have the freedom to distribute copies of free software (and charge ! for this service if you wish); that you receive source code or can get ! it if you want it; that you can change the software and use pieces of ! it in new free programs; and that you are informed that you can do ! these things. ! To protect your rights, we need to make restrictions that forbid ! distributors to deny you these rights or to ask you to surrender these ! rights. These restrictions translate to certain responsibilities for ! you if you distribute copies of the library or if you modify it. ! For example, if you distribute copies of the library, whether gratis ! or for a fee, you must give the recipients all the rights that we gave ! you. You must make sure that they, too, receive or can get the source ! code. If you link other code with the library, you must provide ! complete object files to the recipients, so that they can relink them ! with the library after making changes to the library and recompiling ! it. And you must show them these terms so they know their rights. ! We protect your rights with a two-step method: (1) we copyright the ! library, and (2) we offer you this license, which gives you legal ! permission to copy, distribute and/or modify the library. ! To protect each distributor, we want to make it very clear that ! there is no warranty for the free library. Also, if the library is ! modified by someone else and passed on, the recipients should know ! that what they have is not the original version, so that the original ! author's reputation will not be affected by problems that might be ! introduced by others. ! Finally, software patents pose a constant threat to the existence of ! any free program. We wish to make sure that a company cannot ! effectively restrict the users of a free program by obtaining a ! restrictive license from a patent holder. Therefore, we insist that ! any patent license obtained for a version of the library must be ! consistent with the full freedom of use specified in this license. ! Most GNU software, including some libraries, is covered by the ! ordinary GNU General Public License. This license, the GNU Lesser ! General Public License, applies to certain designated libraries, and ! is quite different from the ordinary General Public License. We use ! this license for certain libraries in order to permit linking those ! libraries into non-free programs. ! When a program is linked with a library, whether statically or using ! a shared library, the combination of the two is legally speaking a ! combined work, a derivative of the original library. The ordinary ! General Public License therefore permits such linking only if the ! entire combination fits its criteria of freedom. The Lesser General ! Public License permits more lax criteria for linking other code with ! the library. ! We call this license the "Lesser" General Public License because it ! does Less to protect the user's freedom than the ordinary General ! Public License. It also provides other free software developers Less ! of an advantage over competing non-free programs. These disadvantages ! are the reason we use the ordinary General Public License for many ! libraries. However, the Lesser license provides advantages in certain ! special circumstances. ! For example, on rare occasions, there may be a special need to ! encourage the widest possible use of a certain library, so that it becomes ! a de-facto standard. To achieve this, non-free programs must be ! allowed to use the library. A more frequent case is that a free ! library does the same job as widely used non-free libraries. In this ! case, there is little to gain by limiting the free library to free ! software only, so we use the Lesser General Public License. ! In other cases, permission to use a particular library in non-free ! programs enables a greater number of people to use a large body of ! free software. For example, permission to use the GNU C Library in ! non-free programs enables many more people to use the whole GNU ! operating system, as well as its variant, the GNU/Linux operating ! system. ! Although the Lesser General Public License is Less protective of the ! users' freedom, it does ensure that the user of a program that is ! linked with the Library has the freedom and the wherewithal to run ! that program using a modified version of the Library. ! The precise terms and conditions for copying, distribution and ! modification follow. Pay close attention to the difference between a ! "work based on the library" and a "work that uses the library". The ! former contains code derived from the library, whereas the latter must ! be combined with the library in order to run. ! GNU LESSER GENERAL PUBLIC LICENSE ! TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION ! 0. This License Agreement applies to any software library or other ! program which contains a notice placed by the copyright holder or ! other authorized party saying it may be distributed under the terms of ! this Lesser General Public License (also called "this License"). ! Each licensee is addressed as "you". ! A "library" means a collection of software functions and/or data ! prepared so as to be conveniently linked with application programs ! (which use some of those functions and data) to form executables. ! The "Library", below, refers to any such software library or work ! which has been distributed under these terms. A "work based on the ! Library" means either the Library or any derivative work under ! copyright law: that is to say, a work containing the Library or a ! portion of it, either verbatim or with modifications and/or translated ! straightforwardly into another language. (Hereinafter, translation is ! included without limitation in the term "modification".) ! ! "Source code" for a work means the preferred form of the work for ! making modifications to it. For a library, complete source code means ! all the source code for all modules it contains, plus any associated ! interface definition files, plus the scripts used to control compilation ! and installation of the library. ! ! Activities other than copying, distribution and modification are not ! covered by this License; they are outside its scope. The act of ! running a program using the Library is not restricted, and output from ! such a program is covered only if its contents constitute a work based ! on the Library (independent of the use of the Library in a tool for ! writing it). Whether that is true depends on what the Library does ! and what the program that uses the Library does. ! ! 1. You may copy and distribute verbatim copies of the Library's ! complete source code as you receive it, in any medium, provided that ! you conspicuously and appropriately publish on each copy an ! appropriate copyright notice and disclaimer of warranty; keep intact ! all the notices that refer to this License and to the absence of any ! warranty; and distribute a copy of this License along with the ! Library. ! ! You may charge a fee for the physical act of transferring a copy, ! and you may at your option offer warranty protection in exchange for a ! fee. ! ! 2. You may modify your copy or copies of the Library or any portion ! of it, thus forming a work based on the Library, and copy and ! distribute such modifications or work under the terms of Section 1 ! above, provided that you also meet all of these conditions: ! ! a) The modified work must itself be a software library. ! ! b) You must cause the files modified to carry prominent notices ! stating that you changed the files and the date of any change. ! ! c) You must cause the whole of the work to be licensed at no ! charge to all third parties under the terms of this License. ! ! d) If a facility in the modified Library refers to a function or a ! table of data to be supplied by an application program that uses ! the facility, other than as an argument passed when the facility ! is invoked, then you must make a good faith effort to ensure that, ! in the event an application does not supply such function or ! table, the facility still operates, and performs whatever part of ! its purpose remains meaningful. ! ! (For example, a function in a library to compute square roots has ! a purpose that is entirely well-defined independent of the ! application. Therefore, Subsection 2d requires that any ! application-supplied function or table used by this function must ! be optional: if the application does not supply it, the square ! root function must still compute square roots.) ! ! These requirements apply to the modified work as a whole. If ! identifiable sections of that work are not derived from the Library, ! and can be reasonably considered independent and separate works in ! themselves, then this License, and its terms, do not apply to those ! sections when you distribute them as separate works. But when you ! distribute the same sections as part of a whole which is a work based ! on the Library, the distribution of the whole must be on the terms of ! this License, whose permissions for other licensees extend to the ! entire whole, and thus to each and every part regardless of who wrote ! it. ! ! Thus, it is not the intent of this section to claim rights or contest ! your rights to work written entirely by you; rather, the intent is to ! exercise the right to control the distribution of derivative or ! collective works based on the Library. ! ! In addition, mere aggregation of another work not based on the Library ! with the Library (or with a work based on the Library) on a volume of ! a storage or distribution medium does not bring the other work under ! the scope of this License. ! ! 3. You may opt to apply the terms of the ordinary GNU General Public ! License instead of this License to a given copy of the Library. To do ! this, you must alter all the notices that refer to this License, so ! that they refer to the ordinary GNU General Public License, version 2, ! instead of to this License. (If a newer version than version 2 of the ! ordinary GNU General Public License has appeared, then you can specify ! that version instead if you wish.) Do not make any other change in ! these notices. ! ! Once this change is made in a given copy, it is irreversible for ! that copy, so the ordinary GNU General Public License applies to all ! subsequent copies and derivative works made from that copy. ! ! This option is useful when you wish to copy part of the code of ! the Library into a program that is not a library. ! ! 4. You may copy and distribute the Library (or a portion or ! derivative of it, under Section 2) in object code or executable form ! under the terms of Sections 1 and 2 above provided that you accompany ! it with the complete corresponding machine-readable source code, which ! must be distributed under the terms of Sections 1 and 2 above on a ! medium customarily used for software interchange. ! ! If distribution of object code is made by offering access to copy ! from a designated place, then offering equivalent access to copy the ! source code from the same place satisfies the requirement to ! distribute the source code, even though third parties are not ! compelled to copy the source along with the object code. ! ! 5. A program that contains no derivative of any portion of the ! Library, but is designed to work with the Library by being compiled or ! linked with it, is called a "work that uses the Library". Such a ! work, in isolation, is not a derivative work of the Library, and ! therefore falls outside the scope of this License. ! ! However, linking a "work that uses the Library" with the Library ! creates an executable that is a derivative of the Library (because it ! contains portions of the Library), rather than a "work that uses the ! library". The executable is therefore covered by this License. ! Section 6 states terms for distribution of such executables. ! ! When a "work that uses the Library" uses material from a header file ! that is part of the Library, the object code for the work may be a ! derivative work of the Library even though the source code is not. ! Whether this is true is especially significant if the work can be ! linked without the Library, or if the work is itself a library. The ! threshold for this to be true is not precisely defined by law. ! ! If such an object file uses only numerical parameters, data ! structure layouts and accessors, and small macros and small inline ! functions (ten lines or less in length), then the use of the object ! file is unrestricted, regardless of whether it is legally a derivative ! work. (Executables containing this object code plus portions of the ! Library will still fall under Section 6.) ! ! Otherwise, if the work is a derivative of the Library, you may ! distribute the object code for the work under the terms of Section 6. ! Any executables containing that work also fall under Section 6, ! whether or not they are linked directly with the Library itself. ! ! 6. As an exception to the Sections above, you may also combine or ! link a "work that uses the Library" with the Library to produce a ! work containing portions of the Library, and distribute that work ! under terms of your choice, provided that the terms permit ! modification of the work for the customer's own use and reverse ! engineering for debugging such modifications. ! ! You must give prominent notice with each copy of the work that the ! Library is used in it and that the Library and its use are covered by ! this License. You must supply a copy of this License. If the work ! during execution displays copyright notices, you must include the ! copyright notice for the Library among them, as well as a reference ! directing the user to the copy of this License. Also, you must do one ! of these things: ! ! a) Accompany the work with the complete corresponding ! machine-readable source code for the Library including whatever ! changes were used in the work (which must be distributed under ! Sections 1 and 2 above); and, if the work is an executable linked ! with the Library, with the complete machine-readable "work that ! uses the Library", as object code and/or source code, so that the ! user can modify the Library and then relink to produce a modified ! executable containing the modified Library. (It is understood ! that the user who changes the contents of definitions files in the ! Library will not necessarily be able to recompile the application ! to use the modified definitions.) ! ! b) Use a suitable shared library mechanism for linking with the ! Library. A suitable mechanism is one that (1) uses at run time a ! copy of the library already present on the user's computer system, ! rather than copying library functions into the executable, and (2) ! will operate properly with a modified version of the library, if ! the user installs one, as long as the modified version is ! interface-compatible with the version that the work was made with. ! ! c) Accompany the work with a written offer, valid for at ! least three years, to give the same user the materials ! specified in Subsection 6a, above, for a charge no more ! than the cost of performing this distribution. ! ! d) If distribution of the work is made by offering access to copy ! from a designated place, offer equivalent access to copy the above ! specified materials from the same place. ! ! e) Verify that the user has already received a copy of these ! materials or that you have already sent this user a copy. ! ! For an executable, the required form of the "work that uses the ! Library" must include any data and utility programs needed for ! reproducing the executable from it. However, as a special exception, ! the materials to be distributed need not include anything that is ! normally distributed (in either source or binary form) with the major ! components (compiler, kernel, and so on) of the operating system on ! which the executable runs, unless that component itself accompanies ! the executable. ! ! It may happen that this requirement contradicts the license ! restrictions of other proprietary libraries that do not normally ! accompany the operating system. Such a contradiction means you cannot ! use both them and the Library together in an executable that you ! distribute. ! ! 7. You may place library facilities that are a work based on the ! Library side-by-side in a single library together with other library ! facilities not covered by this License, and distribute such a combined ! library, provided that the separate distribution of the work based on ! the Library and of the other library facilities is otherwise ! permitted, and provided that you do these two things: ! ! a) Accompany the combined library with a copy of the same work ! based on the Library, uncombined with any other library ! facilities. This must be distributed under the terms of the ! Sections above. ! ! b) Give prominent notice with the combined library of the fact ! that part of it is a work based on the Library, and explaining ! where to find the accompanying uncombined form of the same work. ! ! 8. You may not copy, modify, sublicense, link with, or distribute ! the Library except as expressly provided under this License. Any ! attempt otherwise to copy, modify, sublicense, link with, or ! distribute the Library is void, and will automatically terminate your ! rights under this License. However, parties who have received copies, ! or rights, from you under this License will not have their licenses ! terminated so long as such parties remain in full compliance. ! ! 9. You are not required to accept this License, since you have not ! signed it. However, nothing else grants you permission to modify or ! distribute the Library or its derivative works. These actions are ! prohibited by law if you do not accept this License. Therefore, by ! modifying or distributing the Library (or any work based on the ! Library), you indicate your acceptance of this License to do so, and ! all its terms and conditions for copying, distributing or modifying ! the Library or works based on it. ! ! 10. Each time you redistribute the Library (or any work based on the ! Library), the recipient automatically receives a license from the ! original licensor to copy, distribute, link with or modify the Library ! subject to these terms and conditions. You may not impose any further ! restrictions on the recipients' exercise of the rights granted herein. ! You are not responsible for enforcing compliance by third parties with ! this License. ! ! 11. If, as a consequence of a court judgment or allegation of patent ! infringement or for any other reason (not limited to patent issues), ! conditions are imposed on you (whether by court order, agreement or ! otherwise) that contradict the conditions of this License, they do not ! excuse you from the conditions of this License. If you cannot ! distribute so as to satisfy simultaneously your obligations under this ! License and any other pertinent obligations, then as a consequence you ! may not distribute the Library at all. For example, if a patent ! license would not permit royalty-free redistribution of the Library by ! all those who receive copies directly or indirectly through you, then ! the only way you could satisfy both it and this License would be to ! refrain entirely from distribution of the Library. ! ! If any portion of this section is held invalid or unenforceable under any ! particular circumstance, the balance of the section is intended to apply, ! and the section as a whole is intended to apply in other circumstances. ! ! It is not the purpose of this section to induce you to infringe any ! patents or other property right claims or to contest validity of any ! such claims; this section has the sole purpose of protecting the ! integrity of the free software distribution system which is ! implemented by public license practices. Many people have made ! generous contributions to the wide range of software distributed ! through that system in reliance on consistent application of that ! system; it is up to the author/donor to decide if he or she is willing ! to distribute software through any other system and a licensee cannot ! impose that choice. ! ! This section is intended to make thoroughly clear what is believed to ! be a consequence of the rest of this License. ! ! 12. If the distribution and/or use of the Library is restricted in ! certain countries either by patents or by copyrighted interfaces, the ! original copyright holder who places the Library under this License may add ! an explicit geographical distribution limitation excluding those countries, ! so that distribution is permitted only in or among countries not thus ! excluded. In such case, this License incorporates the limitation as if ! written in the body of this License. ! ! 13. The Free Software Foundation may publish revised and/or new ! versions of the Lesser General Public License from time to time. ! Such new versions will be similar in spirit to the present version, ! but may differ in detail to address new problems or concerns. ! ! Each version is given a distinguishing version number. If the Library ! specifies a version number of this License which applies to it and ! "any later version", you have the option of following the terms and ! conditions either of that version or of any later version published by ! the Free Software Foundation. If the Library does not specify a ! license version number, you may choose any version ever published by ! the Free Software Foundation. ! ! 14. If you wish to incorporate parts of the Library into other free ! programs whose distribution conditions are incompatible with these, ! write to the author to ask for permission. For software which is ! copyrighted by the Free Software Foundation, write to the Free ! Software Foundation; we sometimes make exceptions for this. Our ! decision will be guided by the two goals of preserving the free status ! of all derivatives of our free software and of promoting the sharing ! and reuse of software generally. ! ! NO WARRANTY ! ! 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO ! WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. ! EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR ! OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY ! KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE ! IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR ! PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE ! LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME ! THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. ! ! 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN ! WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY ! AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU ! FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR ! CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE ! LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING ! RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A ! FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF ! SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH ! DAMAGES. ! ! END OF TERMS AND CONDITIONS ! ! How to Apply These Terms to Your New Libraries ! ! If you develop a new library, and you want it to be of the greatest ! possible use to the public, we recommend making it free software that ! everyone can redistribute and change. You can do so by permitting ! redistribution under these terms (or, alternatively, under the terms of the ! ordinary General Public License). ! ! To apply these terms, attach the following notices to the library. It is ! safest to attach them to the start of each source file to most effectively ! convey the exclusion of warranty; and each file should have at least the ! "copyright" line and a pointer to where the full notice is found. ! ! <one line to give the library's name and a brief idea of what it does.> ! Copyright (C) <year> <name of author> ! ! This library is free software; you can redistribute it and/or ! modify it under the terms of the GNU Lesser General Public ! License as published by the Free Software Foundation; either ! version 2.1 of the License, or (at your option) any later version. ! ! This library is distributed in the hope that it will be useful, ! but WITHOUT ANY WARRANTY; without even the implied warranty of ! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! Lesser General Public License for more details. ! ! You should have received a copy of the GNU Lesser General Public ! License along with this library; if not, write to the Free Software ! Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA ! ! Also add information on how to contact you by electronic and paper mail. ! ! You should also get your employer (if you work as a programmer) or your ! school, if any, to sign a "copyright disclaimer" for the library, if ! necessary. Here is a sample; alter the names: ! ! Yoyodyne, Inc., hereby disclaims all copyright interest in the ! library `Frob' (a library for tweaking knobs) written by James Random Hacker. ! ! <signature of Ty Coon>, 1 April 1990 ! Ty Coon, President of Vice ! ! That's all there is to it! |
|
From: Marcus B. <las...@us...> - 2007-03-12 00:14:17
|
Update of /cvsroot/arbiter/arbiter/arbiter/app/controllers In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv30036/arbiter/app/controllers Added Files: repository_controller.rb Log Message: Starting repository controller --- NEW FILE: repository_controller.rb --- class RepositoryController < ApplicationController def show end end |
|
From: Marcus B. <las...@us...> - 2007-03-12 00:14:17
|
Update of /cvsroot/arbiter/arbiter/arbiter/test/functional In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv30036/arbiter/test/functional Added Files: repository_controller_test.rb Log Message: Starting repository controller --- NEW FILE: repository_controller_test.rb --- require File.dirname(__FILE__) + '/../test_helper' require 'repository_controller' # Re-raise errors caught by the controller. class RepositoryController; def rescue_action(e) raise e end; end class RepositoryControllerTest < Test::Unit::TestCase def setup @controller = RepositoryController.new @request = ActionController::TestRequest.new @response = ActionController::TestResponse.new end # Replace this with your real tests. def test_truth assert true end end |
|
From: Marcus B. <las...@us...> - 2007-03-11 22:27:34
|
Update of /cvsroot/arbiter/arbiter/arbiter/app/views/repository In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv21611/repository Log Message: Directory /cvsroot/arbiter/arbiter/arbiter/app/views/repository added to the repository |
|
From: Marcus B. <las...@us...> - 2007-03-11 19:33:12
|
Update of /cvsroot/arbiter/arbiter/use_cases In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv23253/use_cases Added Files: all_tests.php repository_use_case.php use_case.php Log Message: Copying over previous work on the PHP version --- NEW FILE: all_tests.php --- <?php require_once('simpletest/web_tester.php'); // Need a symlink to SimpleTest. require_once('simpletest/reporter.php'); require_once('simpletest/autorun.php'); class AllTests extends GroupTest { function AllTests() { $this->GroupTest('All tests for Arbiter ' . implode('', file('../VERSION'))); $this->addTestFile('repository_use_case.php'); } } ?> --- NEW FILE: repository_use_case.php --- <?php require_once(dirname(__FILE__) . '/use_case.php'); class RepositoryManagement extends UseCase { function getSampleFile($sample_name) { return dirname(__FILE__) . "/samples/$sample_name"; } function testServerStartsEmpty() { $this->get($this->getServerUri()); $this->assertWantedPattern('/Waiting for first document/i'); } function testServerDisallowsBadMimeType() { $this->get($this->getServerUri()); $this->setField('document', $this->getSampleFile('requirements.ini')); $this->clickSubmitByName('action'); $this->assertWantedPattern('/document is not a valid .rtf file/'); } function testServerAllowsTitleOnlyUpload() { $this->get($this->getServerUri()); $this->setField('document', $this->getSampleFile('title_only.openoffice1.rtf')); $this->clickSubmitByName('action'); $this->assertWantedPattern('/Title Only/'); $this->clickLink('Title Only'); $this->assertMime(array('application/octet-stream', 'application/msword')); $this->assertWantedPattern('/This is an empty requirements document/'); } } ?> --- NEW FILE: use_case.php --- <?php class UseCase extends WebTestCase { function setUp() { $this->deleteConfiguration(); $this->install(); } function tearDown() { $this->uninstall(); } function deleteConfiguration() { } function install() { } function uninstall() { } function getSelfUri() { if (isset($_SERVER['SCRIPT_URI'])) { return $_SERVER['SCRIPT_URI']; } if (isset($_SERVER['HTTP_HOST']) && isset($_SERVER['PHP_SELF'])) { return 'http://'. $_SERVER['HTTP_HOST'] . $_SERVER['PHP_SELF']; } return false; } function getServerUri() { static $has_warned = false; if (isset($argv[1])) { return $argv[1]; } if ($self = $this->getSelfUri()) { return preg_replace('|arbiter/test/.*|', 'arbiter/server/index.php', $self); } if (! $has_warned) { $has_warned = true; trigger_error('Must have server URL as argument'); } } } ?> |
|
From: Marcus B. <las...@us...> - 2007-03-11 19:33:11
|
Update of /cvsroot/arbiter/arbiter/mockups/icons In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv23253/mockups/icons Added Files: doc.gif rtf.gif Log Message: Copying over previous work on the PHP version --- NEW FILE: rtf.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: doc.gif --- (This appears to be a binary file; contents omitted.) |
Update of /cvsroot/arbiter/arbiter/mockups In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv23253/mockups Added Files: document_repository.html document_view.html glossary_terms.html test_browser.html upload_form.html website.css wireframe.css Log Message: Copying over previous work on the PHP version --- NEW FILE: document_repository.html --- <html> <head> <title>Arbiter - Document Repository</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <link rel="stylesheet" href="wireframe.css" type="text/css"> </head> <body> <div id="content"> <div class="document"> <table cellpadding="6" cellspacing="0"> <tr> <th colspan="4" class="doc"><a href="#">Functional Requirements for Online Store</a></th> </tr> <tr> <td class="type">File Type</td> <td class="type">File Size</td> <td class="type">Date Modified</td> <td class="type">Description</td> </tr> <tr> <td>Word</td> <td>50 KB</td> <td>12th October 2004</td> <td class="description">Shopping catalog and checkout process</td> </tr> <tr> <td class="related" colspan="4"><em><a href="#">Acceptance Tests (3) »</a></em></td> </tr> </table> </div> <div class="document"> <table cellpadding="6" cellspacing="0"> <tr> <th colspan="4" class="rtf"><a href="#">User Login</a></th> </tr> <tr> <td class="type">File Type</td> <td class="type">File Size</td> <td class="type">Date Modified</td> <td class="type">Description</td> </tr> <tr> <td>RTF</td> <td>6 KB</td> <td>12th October 2004</td> <td class="description">A simple user story for user account logins</td> </tr> <tr> <td class="related" colspan="4"><em><a href="#">Acceptance Tests (1) »</a></em></td> </tr> </table> </div> </div> </body> </html> --- NEW FILE: document_view.html --- <html> <head> <title>Arbiter - Document Repository</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <link rel="stylesheet" href="wireframe.css" type="text/css"> </head> <body> <div id="content"> <div class="document"> <table cellpadding="6" cellspacing="0"> <tr> <th class="title"><h1>Requirements for Acceptance Testing Tool</h1></th> </tr> <tr> <td class="content"> <h2>Overview</h2> <p> Arbiter is a requirements gathering and verification tool for web projects. It's aim is to sharpen the communication between stakeholders and developers. </p> <p> Arbiter itself runs as a simple document repository on a web server. When requirements documents are added or updated, they are scraped of test cases and these tests are run. Tests are just examples of how someone would use a web browser to get information from the site. </p> <h2>Consectetur adipisicing elit</h2> <p>Lorem ipsum dolor sit amet, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.</p> <div class="example"> <h3>Showing a share price (<span class="fail">incomplete</span>)</h3> <ol> <li>Go to home page (<span class="pass">pass</span>)</li> <li>Click on find shares (<span class="pass">pass</span>)</li> <li>Set search to IBM (<span class="pass">pass</span>)</li> <li>Click search (<span class="pass">pass</span>)</li> <li>Expect to see "IBM share price" (<span class="fail">fail</span>)</li> </ol> </div> <h2>How is the glossary built?</h2> <p> If a highlighted phrase <strong>such as this</strong> appears anywhere in the repository, it is marked as a glossary term. It simply has to be highlighted with respect to the surrounding text. If no definition is available then it will be marked as unavailable in the text like so: <strong>such as this</strong>(<span class="fail">?</span>). Also an empty entry will be placed in the master index. This master index is available online and further requests for definitions can be added or deleted there. </p> <h3>This is a third level heading</h3> <p>Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur?</p> <h4>This is a fourth level heading</h4> <h5>This is a fifth level heading</h5> <h6>This is a sixth level heading</h6> </td> </tr> </table> </div> </div> </body> </html> --- NEW FILE: website.css --- body { background-color:#F3F3F3; font:normal 13px Arial,Sans-serif; } a { color:#3F7A1C; } h1 { color:#494949; font-size:24px; font-weight:normal; margin-left:15%; } h3 { color:#90A784; } /* Layout Column */ #content { width:70%; margin:auto; } .message { width:70%; padding:6px 10px 4px 3px; background-color:#90A784; } /* Form Interface */ #upload-form { border:1px dotted #90A784; width:70%; margin-top:22px; padding:0 0 6px 12px; background-color:#eee; } form .message { width:80%; background-color:#a50; } form .message em { color:#fff; } .message p { margin:0; color:#fff; } /* Glossary Definition List */ .glossary .term dt { margin:0; padding:3px; font-weight:bold; background-color:#eaeaea; color:#333; } .glossary .term dd { margin:0; padding-left:3px; } /* Inline File Icons */ p em { font-style:normal; font-weight:bold; color:#5B6B54; padding-left:16px; } p em.rtf { background:1px 0 no-repeat url(icons/rtf.gif); } p em.doc { background:0 0 no-repeat url(icons/doc.gif); } /* Document Table */ .document { border:1px solid #507A37; background-color:#eaeaea; margin:0 0 10px 0; } .document table { border:1px dotted #3F7A1C; width:100%; } .document th { border-bottom:1px dotted #3F7A1C; font:bold 13px Arial,Sans-serif; text-align:left; padding:2px 0 3px 24px; } .document th.doc { background:#B1D391 3px 2px no-repeat url(icons/doc.gif); } .document th.rtf { background:#B1D391 3px 2px no-repeat url(icons/rtf.gif); } .document td { font:normal 13px Arial,Sans-serif; } .document td.type { font-size:11px; } .document td.description { width:60%; } .document td.related { font-style:normal; } .document td.related a { color:#3F7A1C; } /* Temporary project homepage */ .project-detail { float:left; margin-right:30%; } .code { background-color: #eeeeee; margin: 1em; padding: 0.5em } .example { border: thin solid black; margin: 1em; padding: 0.5em } table { border: medium outset gray; margin: 1em; } --- NEW FILE: glossary_terms.html --- <html> <head> <title>Arbiter - Glossary</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <link rel="stylesheet" href="wireframe.css" type="text/css"> </head> <body> <div id="content"> <div class="glossary"> <h3>Arbiter Project Glossary</h3> <div class="term"><dl> <dt>Glossary term:</dt> <dd>Any emboldened phrases within the requirements documents. If there is a matching description then it's defined.</dd> </dl></div> <div class="term"><dl> <dt>Defined term:</dt> <dd>A glossary entry with a matching explanation.</dd> </dl></div> <div class="term"><dl> <dt>Missing term:</dt> <dd>A glossary entry, with no explanation.</dd> </dl></div> <div class="term"><dl> <dt>Server:</dt> <dd>The application itself.</dd> </dl></div> <div class="term"><dl> <dt>Requirements document:</dt> <dd>Abstract document held in the repository. Includes the ability to parse itself. This is an interface.</dd> </dl></div> <div class="term"><dl> <dt>Encoded document:</dt> <dd>The document in it's word processor form.</dd> </dl></div> <div class="term"><dl> <dt>Repository:</dt> <dd>Abstract document store. Could include versioning, etc, one day. An interface internal to the project.</dd> </dl></div> <div class="term"><dl> <dt>Storage:</dt> <dd>The file system to start with, but could be any documents server. This is a visible interface because users will need to select their storage. Can include aspects like compression and recovery later.</dd> </dl></div> <div class="term"><dl> <dt>Test:</dt> <dd>A bulleted list with the nearest a title. If several lists come below a title then teh title is shared. Creates a single browser instance for the test unless macros are involved. Tests are regenerated when a document is updated.</dd> </dl></div> <div class="term"><dl> <dt>Macro:</dt> <dd>A sequence of browser actions without any testing. Means that tests can be factored to avoid duplication. "Macro" should mean something to a Word power user.</dd> </dl></div> <div class="term"><dl> <dt>Test suite:</dt> <dd>All the tests held in the server and currently generated somewhere in file storage.</dd> </dl></div> <div class="term"><dl> <dt>Test runner:</dt> <dd>Created by the test suite to run the tests and extract the results.</dd> </dl></div> </div> </div> </body> </html> --- NEW FILE: test_browser.html --- <html> <head> <title>Arbiter - Test Browser</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <link rel="stylesheet" href="wireframe.css" type="text/css"> <link rel="stylesheet" type="text/css" href="../../spikes/test_tabs.css"> <script language="javascript" src="../../spikes/test_tabs.js"></script> <body> <div id="main"> <div class="testTab" id="acceptancetesttestTab"><h2>acceptancetesttest</h2></div> <div class="testResult" id="acceptancetesttestResult"><div class="testMethod" id="testgettitleMethod"><h3>› testgettitle</h3></div><div class="testResults" id="testgettitleResults"><div class="expectation" id="testgettitleExpectation"><strong class="pass">pass ›</strong> Equal expectation [String: title1] at line [19]</div></div> <div class="testMethod" id="testgetlinesMethod"><h3>› testgetlines</h3></div><div class="testResults" id="testgetlinesResults"><div class="expectation" id="testgetlinesExpectation"><strong class="pass">pass ›</strong> Equal expectation [String: title1] at line [23]</div></div> </div> <div class="testTab" id="rtftokenizertestTab"><h2>rtftokenizertest</h2></div> <div class="testResult" id="rtftokenizertestResult"><div class="testMethod" id="testemptydocumentMethod"><h3>› testemptydocument</h3></div><div class="testResults" id="testemptydocumentResults"><div class="expectation" id="testemptydocumentExpectation"><strong class="pass">pass ›</strong> False assertion got False at line [12]</div></div> <div class="testMethod" id="testnotemptydocumentMethod"><h3>› testnotemptydocument</h3></div><div class="testResults" id="testnotemptydocumentResults"><div class="expectation" id="testnotemptydocumentExpectation"><strong class="pass">pass ›</strong> True assertion got True at line [19]</div></div> <div class="testMethod" id="testcontrolwordMethod"><h3>› testcontrolword</h3></div><div class="testResults" id="testcontrolwordResults"><div class="expectation" id="testcontrolwordExpectation"><strong class="pass">pass ›</strong> Equal expectation [Integer: 1] at line [29]</div><div class="expectation" id="testcontrolwordExpectation"><strong class="pass">pass ›</strong> Equal expectation [String: cword] at line [30]</div><div class="expectation" id="testcontrolwordExpectation"><strong class="pass">pass ›</strong> Equal expectation [Integer: 1] at line [35]</div><div class="expectation" id="testcontrolwordExpectation"><strong class="pass">pass ›</strong> Equal expectation [String: cword] at line [36]</div><div class="expectation" id="testcontrolwordExpectation"><strong class="pass">pass ›</strong> Equal expectation [Integer: 1] at line [41]</div><div class="expectation" id="testcontrolwordExpectation"><strong class="pass">pass ›</strong> Equal expectation [String: cword] at line [42]</div><div class="expectation" id="testcontrolwordExpectation"><strong class="pass">pass ›</strong> Equal expectation [Integer: 1] at line [48]</div><div class="expectation" id="testcontrolwordExpectation"><strong class="pass">pass ›</strong> Equal expectation [String: cword] at line [49]</div><div class="expectation" id="testcontrolwordExpectation"><strong class="pass">pass ›</strong> Equal expectation [Integer: 1] at line [50]</div><div class="expectation" id="testcontrolwordExpectation"><strong class="pass">pass ›</strong> Equal expectation [Integer: 1] at line [53]</div><div class="expectation" id="testcontrolwordExpectation"><strong class="pass">pass ›</strong> Equal expectation [String: name] at line [54]</div><div class="expectation" id="testcontrolwordExpectation"><strong class="pass">pass ›</strong> Equal expectation [Integer: 1] at line [55]</div><div class="expectation" id="testcontrolwordExpectation"><strong class="pass">pass ›</strong> Equal expectation [Integer: 1] at line [58]</div><div class="expectation" id="testcontrolwordExpectation"><strong class="pass">pass ›</strong> Equal expectation [String: cword2] at line [59]</div><div class="expectation" id="testcontrolwordExpectation"><strong class="pass">pass ›</strong> Equal expectation [Integer: 2] at line [60]</div></div> <div class="testMethod" id="testtextMethod"><h3>› testtext</h3></div><div class="testResults" id="testtextResults"><div class="expectation" id="testtextExpectation"><strong class="pass">pass ›</strong> Equal expectation [Integer: 2] at line [70]</div><div class="expectation" id="testtextExpectation"><strong class="pass">pass ›</strong> Equal expectation [String: text] at line [71]</div><div class="expectation" id="testtextExpectation"><strong class="pass">pass ›</strong> Equal expectation [Integer: 2] at line [77]</div><div class="expectation" id="testtextExpectation"><strong class="pass">pass ›</strong> Equal expectation [String: text] at line [78]</div><div class="expectation" id="testtextExpectation"><strong class="pass">pass ›</strong> Equal expectation [Integer: 2] at line [84]</div><div class="expectation" id="testtextExpectation"><strong class="pass">pass ›</strong> Equal expectation [String: text] at line [85]</div><div class="expectation" id="testtextExpectation"><strong class="pass">pass ›</strong> Equal expectation [Integer: 2] at line [91]</div><div class="expectation" id="testtextExpectation"><strong class="pass">pass ›</strong> Equal expectation [String: text] at line [92]</div></div> </div> </div><script language="javascript"> window.onload = function() { setTestTab('acceptancetesttestTab','acceptancetesttestResult', 0) setTestTab('testgettitleMethod','testgettitleResults', 0) setTestTab('testgetlinesMethod','testgetlinesResults', 0) setTestTab('rtftokenizertestTab','rtftokenizertestResult', 0) setTestTab('testemptydocumentMethod','testemptydocumentResults', 0) setTestTab('testnotemptydocumentMethod','testnotemptydocumentResults', 0) setTestTab('testcontrolwordMethod','testcontrolwordResults', 0) setTestTab('testtextMethod','testtextResults', 0) } </script> </body> </html> --- NEW FILE: wireframe.css --- body { background-color:#F3F3F3; font:normal 13px Arial,Sans-serif; } a { color:#3F7A1C; } h1 { color:#494949; font-size:24px; font-weight:normal; } h2 { color:#444; font-size:18px; font-weight:normal; } h3 { color:#90A784; } /* Layout Column */ #content { width:70%; margin:auto; } .message { width:70%; padding:6px 10px 4px 3px; background-color:#90A784; } /* Form Interface */ #upload-form { border:1px dotted #90A784; width:70%; margin-top:22px; padding:0 0 6px 12px; background-color:#eee; } form .message { width:80%; background-color:#a50; } form .message em { color:#fff; } .message p { margin:0; color:#fff; } /* Glossary Definition List */ .glossary .term dt { margin:0; padding:3px; font-weight:bold; background-color:#eaeaea; color:#333; } .glossary .term dd { margin:0; padding-left:3px; } /* Inline File Icons */ p em { font-style:normal; font-weight:bold; color:#5B6B54; padding-left:16px; } p em.rtf { background:1px 0 no-repeat url(icons/rtf.gif); } p em.doc { background:0 0 no-repeat url(icons/doc.gif); } /* Document Table */ .document { border:1px solid #507A37; background-color:#eaeaea; margin:0 0 10px 0; } .document table { border:1px dotted #3F7A1C; width:100%; } .document th { border-bottom:1px dotted #3F7A1C; font:bold 13px Arial,Sans-serif; text-align:left; padding:2px 0 3px 24px; } .document th.title { background-color:#B1D391; padding-left:5px; } .document th.title h1 { margin:0px; } .document th.doc { background:#B1D391 3px 2px no-repeat url(icons/doc.gif); } .document th.rtf { background:#B1D391 3px 2px no-repeat url(icons/rtf.gif); } .document td { font:normal 13px Arial,Sans-serif; } .document td.type { font-size:11px; } .document td.description { width:60%; } .document td.related { font-style:normal; } .document td.related a { color:#3F7A1C; } .document td.content h3 { color:#444; } .pass { color: green; } .fail { color: red; } .code { background-color: #eeeeee; margin: 1em; padding: 0.5em } .example { border: medium outset gray; margin:9px; padding:0px; width:75%; } .example h3 { margin:0.3em; } --- NEW FILE: upload_form.html --- <html> <head> <title>Arbiter - Mockup</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <link rel="stylesheet" href="wireframe.css" type="text/css"> </head> <body> <div id="content"> <h3>Upload A Requirements Document:</h3> <form id="upload" enctype="multipart/form-data" method="post"> <input type="hidden" name="MAX_FILE_SIZE" value="30000"> <input type="file" name="document" size="50"> <p>The document must be saved in <em class="rtf">.rtf</em> or <em class="doc">.doc</em> format</p> <input type="submit" class="submit" value="Upload Document »"> </form> </div> </body> </html> |
|
From: Marcus B. <las...@us...> - 2007-03-11 19:32:09
|
Update of /cvsroot/arbiter/arbiter/mockups/icons In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv22626/icons Log Message: Directory /cvsroot/arbiter/arbiter/mockups/icons added to the repository |
|
From: Marcus B. <las...@us...> - 2007-03-11 19:24:06
|
Update of /cvsroot/arbiter/arbiter/use_cases In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv20678/use_cases Log Message: Directory /cvsroot/arbiter/arbiter/use_cases added to the repository |
|
From: Marcus B. <las...@us...> - 2007-03-11 19:23:54
|
Update of /cvsroot/arbiter/arbiter/mockups In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv20596/mockups Log Message: Directory /cvsroot/arbiter/arbiter/mockups added to the repository |
|
From: Marcus B. <las...@us...> - 2007-03-11 19:04:42
|
Update of /cvsroot/arbiter/arbiter/arbiter In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv13466/arbiter Added Files: README Rakefile Log Message: Initial rails build --- NEW FILE: README --- == Welcome to Rails Rails is a web-application and persistence framework that includes everything needed to create database-backed web-applications according to the Model-View-Control pattern of separation. This pattern splits the view (also called the presentation) into "dumb" templates that are primarily responsible for inserting pre-built data in between HTML tags. The model contains the "smart" domain objects (such as Account, Product, Person, Post) that holds all the business logic and knows how to persist themselves to a database. The controller handles the incoming requests (such as Save New Account, Update Product, Show Post) by manipulating the model and directing data to the view. In Rails, the model is handled by what's called an object-relational mapping layer entitled Active Record. This layer allows you to present the data from database rows as objects and embellish these data objects with business logic methods. You can read more about Active Record in link:files/vendor/rails/activerecord/README.html. The controller and view are handled by the Action Pack, which handles both layers by its two parts: Action View and Action Controller. These two layers are bundled in a single package due to their heavy interdependence. This is unlike the relationship between the Active Record and Action Pack that is much more separate. Each of these packages can be used independently outside of Rails. You can read more about Action Pack in link:files/vendor/rails/actionpack/README.html. == Getting started 1. At the command prompt, start a new rails application using the rails command and your application name. Ex: rails myapp (If you've downloaded rails in a complete tgz or zip, this step is already done) 2. Change directory into myapp and start the web server: <tt>script/server</tt> (run with --help for options) 3. Go to http://localhost:3000/ and get "Welcome aboard: Youâre riding the Rails!" 4. Follow the guidelines to start developing your application == Web Servers By default, Rails will try to use Mongrel and lighttpd if they are installed, otherwise Rails will use the WEBrick, the webserver that ships with Ruby. When you run script/server, Rails will check if Mongrel exists, then lighttpd and finally fall back to WEBrick. This ensures that you can always get up and running quickly. Mongrel is a Ruby-based webserver with a C-component (which requires compilation) that is suitable for development and deployment of Rails applications. If you have Ruby Gems installed, getting up and running with mongrel is as easy as: <tt>gem install mongrel</tt>. More info at: http://mongrel.rubyforge.org If Mongrel is not installed, Rails will look for lighttpd. It's considerably faster than Mongrel and WEBrick and also suited for production use, but requires additional installation and currently only works well on OS X/Unix (Windows users are encouraged to start with Mongrel). We recommend version 1.4.11 and higher. You can download it from http://www.lighttpd.net. And finally, if neither Mongrel or lighttpd are installed, Rails will use the built-in Ruby web server, WEBrick. WEBrick is a small Ruby web server suitable for development, but not for production. But of course its also possible to run Rails on any platform that supports FCGI. Apache, LiteSpeed, IIS are just a few. For more information on FCGI, please visit: http://wiki.rubyonrails.com/rails/pages/FastCGI == Debugging Rails Have "tail -f" commands running on the server.log and development.log. Rails will automatically display debugging and runtime information to these files. Debugging info will also be shown in the browser on requests from 127.0.0.1. == Breakpoints Breakpoint support is available through the script/breakpointer client. This means that you can break out of execution at any point in the code, investigate and change the model, AND then resume execution! Example: class WeblogController < ActionController::Base def index @posts = Post.find(:all) breakpoint "Breaking out from the list" end end So the controller will accept the action, run the first line, then present you with a IRB prompt in the breakpointer window. Here you can do things like: Executing breakpoint "Breaking out from the list" at .../webrick_server.rb:16 in 'breakpoint' >> @posts.inspect => "[#<Post:0x14a6be8 @attributes={\"title\"=>nil, \"body\"=>nil, \"id\"=>\"1\"}>, #<Post:0x14a6620 @attributes={\"title\"=>\"Rails you know!\", \"body\"=>\"Only ten..\", \"id\"=>\"2\"}>]" >> @posts.first.title = "hello from a breakpoint" => "hello from a breakpoint" ...and even better is that you can examine how your runtime objects actually work: >> f = @posts.first => #<Post:0x13630c4 @attributes={"title"=>nil, "body"=>nil, "id"=>"1"}> >> f. Display all 152 possibilities? (y or n) Finally, when you're ready to resume execution, you press CTRL-D == Console You can interact with the domain model by starting the console through <tt>script/console</tt>. Here you'll have all parts of the application configured, just like it is when the application is running. You can inspect domain models, change values, and save to the database. Starting the script without arguments will launch it in the development environment. Passing an argument will specify a different environment, like <tt>script/console production</tt>. To reload your controllers and models after launching the console run <tt>reload!</tt> To reload your controllers and models after launching the console run <tt>reload!</tt> == Description of contents app Holds all the code that's specific to this particular application. app/controllers Holds controllers that should be named like weblogs_controller.rb for automated URL mapping. All controllers should descend from ApplicationController which itself descends from ActionController::Base. app/models Holds models that should be named like post.rb. Most models will descend from ActiveRecord::Base. app/views Holds the template files for the view that should be named like weblogs/index.rhtml for the WeblogsController#index action. All views use eRuby syntax. app/views/layouts Holds the template files for layouts to be used with views. This models the common header/footer method of wrapping views. In your views, define a layout using the <tt>layout :default</tt> and create a file named default.rhtml. Inside default.rhtml, call <% yield %> to render the view using this layout. app/helpers Holds view helpers that should be named like weblogs_helper.rb. These are generated for you automatically when using script/generate for controllers. Helpers can be used to wrap functionality for your views into methods. config Configuration files for the Rails environment, the routing map, the database, and other dependencies. components Self-contained mini-applications that can bundle together controllers, models, and views. db Contains the database schema in schema.rb. db/migrate contains all the sequence of Migrations for your schema. doc This directory is where your application documentation will be stored when generated using <tt>rake doc:app</tt> lib Application specific libraries. Basically, any kind of custom code that doesn't belong under controllers, models, or helpers. This directory is in the load path. public The directory available for the web server. Contains subdirectories for images, stylesheets, and javascripts. Also contains the dispatchers and the default HTML files. This should be set as the DOCUMENT_ROOT of your web server. script Helper scripts for automation and generation. test Unit and functional tests along with fixtures. When using the script/generate scripts, template test files will be generated for you and placed in this directory. vendor External libraries that the application depends on. Also includes the plugins subdirectory. This directory is in the load path. --- NEW FILE: Rakefile --- # Add your own tasks in files placed in lib/tasks ending in .rake, # for example lib/tasks/capistrano.rake, and they will automatically be available to Rake. require(File.join(File.dirname(__FILE__), 'config', 'boot')) require 'rake' require 'rake/testtask' require 'rake/rdoctask' require 'tasks/rails' |
Update of /cvsroot/arbiter/arbiter/arbiter/public In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv13466/arbiter/public Added Files: 404.html 500.html dispatch.cgi dispatch.fcgi dispatch.rb favicon.ico index.html robots.txt Log Message: Initial rails build --- NEW FILE: favicon.ico --- --- NEW FILE: dispatch.cgi --- #!/usr/local/bin/ruby require File.dirname(__FILE__) + "/../config/environment" unless defined?(RAILS_ROOT) # If you're using RubyGems and mod_ruby, this require should be changed to an absolute path one, like: # "/usr/local/lib/ruby/gems/1.8/gems/rails-0.8.0/lib/dispatcher" -- otherwise performance is severely impaired require "dispatcher" ADDITIONAL_LOAD_PATHS.reverse.each { |dir| $:.unshift(dir) if File.directory?(dir) } if defined?(Apache::RubyRun) Dispatcher.dispatch --- NEW FILE: 404.html --- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> <title>The page you were looking for doesn't exist (404)</title> <style type="text/css"> body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; } div.dialog { width: 25em; padding: 0 4em; margin: 4em auto 0 auto; border: 1px solid #ccc; border-right-color: #999; border-bottom-color: #999; } h1 { font-size: 100%; color: #f00; line-height: 1.5em; } </style> </head> <body> <!-- This file lives in public/404.html --> <div class="dialog"> <h1>The page you were looking for doesn't exist.</h1> <p>You may have mistyped the address or the page may have moved.</p> </div> </body> </html> --- NEW FILE: robots.txt --- # See http://www.robotstxt.org/wc/norobots.html for documentation on how to use the robots.txt file --- NEW FILE: 500.html --- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> <title>We're sorry, but something went wrong</title> <style type="text/css"> body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; } div.dialog { width: 25em; padding: 0 4em; margin: 4em auto 0 auto; border: 1px solid #ccc; border-right-color: #999; border-bottom-color: #999; } h1 { font-size: 100%; color: #f00; line-height: 1.5em; } </style> </head> <body> <!-- This file lives in public/500.html --> <div class="dialog"> <h1>We're sorry, but something went wrong.</h1> <p>We've been notified about this issue and we'll take a look at it shortly.</p> </div> </body> </html> --- NEW FILE: dispatch.fcgi --- #!/usr/local/bin/ruby # # You may specify the path to the FastCGI crash log (a log of unhandled # exceptions which forced the FastCGI instance to exit, great for debugging) # and the number of requests to process before running garbage collection. # # By default, the FastCGI crash log is RAILS_ROOT/log/fastcgi.crash.log # and the GC period is nil (turned off). A reasonable number of requests # could range from 10-100 depending on the memory footprint of your app. # # Example: # # Default log path, normal GC behavior. # RailsFCGIHandler.process! # # # Default log path, 50 requests between GC. # RailsFCGIHandler.process! nil, 50 # # # Custom log path, normal GC behavior. # RailsFCGIHandler.process! '/var/log/myapp_fcgi_crash.log' # require File.dirname(__FILE__) + "/../config/environment" require 'fcgi_handler' RailsFCGIHandler.process! --- NEW FILE: index.html --- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <meta http-equiv="Content-type" content="text/html; charset=utf-8" /> <title>Ruby on Rails: Welcome aboard</title> <style type="text/css" media="screen"> body { margin: 0; margin-bottom: 25px; padding: 0; background-color: #f0f0f0; font-family: "Lucida Grande", "Bitstream Vera Sans", "Verdana"; font-size: 13px; color: #333; } h1 { font-size: 28px; color: #000; } a {color: #03c} a:hover { background-color: #03c; color: white; text-decoration: none; } #page { background-color: #f0f0f0; width: 750px; margin: 0; margin-left: auto; margin-right: auto; } #content { float: left; background-color: white; border: 3px solid #aaa; border-top: none; padding: 25px; width: 500px; } #sidebar { float: right; width: 175px; } #footer { clear: both; } #header, #about, #getting-started { padding-left: 75px; padding-right: 30px; } #header { background-image: url("images/rails.png"); background-repeat: no-repeat; background-position: top left; height: 64px; } #header h1, #header h2 {margin: 0} #header h2 { color: #888; font-weight: normal; font-size: 16px; } #about h3 { margin: 0; margin-bottom: 10px; font-size: 14px; } #about-content { background-color: #ffd; border: 1px solid #fc0; margin-left: -11px; } #about-content table { margin-top: 10px; margin-bottom: 10px; font-size: 11px; border-collapse: collapse; } #about-content td { padding: 10px; padding-top: 3px; padding-bottom: 3px; } #about-content td.name {color: #555} #about-content td.value {color: #000} #about-content.failure { background-color: #fcc; border: 1px solid #f00; } #about-content.failure p { margin: 0; padding: 10px; } #getting-started { border-top: 1px solid #ccc; margin-top: 25px; padding-top: 15px; } #getting-started h1 { margin: 0; font-size: 20px; } #getting-started h2 { margin: 0; font-size: 14px; font-weight: normal; color: #333; margin-bottom: 25px; } #getting-started ol { margin-left: 0; padding-left: 0; } #getting-started li { font-size: 18px; color: #888; margin-bottom: 25px; } #getting-started li h2 { margin: 0; font-weight: normal; font-size: 18px; color: #333; } #getting-started li p { color: #555; font-size: 13px; } #search { margin: 0; padding-top: 10px; padding-bottom: 10px; font-size: 11px; } #search input { font-size: 11px; margin: 2px; } #search-text {width: 170px} #sidebar ul { margin-left: 0; padding-left: 0; } #sidebar ul h3 { margin-top: 25px; font-size: 16px; padding-bottom: 10px; border-bottom: 1px solid #ccc; } #sidebar li { list-style-type: none; } #sidebar ul.links li { margin-bottom: 5px; } </style> <script type="text/javascript" src="javascripts/prototype.js"></script> <script type="text/javascript" src="javascripts/effects.js"></script> <script type="text/javascript"> function about() { if (Element.empty('about-content')) { new Ajax.Updater('about-content', 'rails/info/properties', { method: 'get', onFailure: function() {Element.classNames('about-content').add('failure')}, onComplete: function() {new Effect.BlindDown('about-content', {duration: 0.25})} }); } else { new Effect[Element.visible('about-content') ? 'BlindUp' : 'BlindDown']('about-content', {duration: 0.25}); } } window.onload = function() { $('search-text').value = ''; $('search').onsubmit = function() { $('search-text').value = 'site:rubyonrails.org ' + $F('search-text'); } } </script> </head> <body> <div id="page"> <div id="sidebar"> <ul id="sidebar-items"> <li> <form id="search" action="http://www.google.com/search" method="get"> <input type="hidden" name="hl" value="en" /> <input type="text" id="search-text" name="q" value="site:rubyonrails.org " /> <input type="submit" value="Search" /> the Rails site </form> </li> <li> <h3>Join the community</h3> <ul class="links"> <li><a href="http://www.rubyonrails.org/">Ruby on Rails</a></li> <li><a href="http://weblog.rubyonrails.org/">Official weblog</a></li> <li><a href="http://lists.rubyonrails.org/">Mailing lists</a></li> <li><a href="http://wiki.rubyonrails.org/rails/pages/IRC">IRC channel</a></li> <li><a href="http://wiki.rubyonrails.org/">Wiki</a></li> <li><a href="http://dev.rubyonrails.org/">Bug tracker</a></li> </ul> </li> <li> <h3>Browse the documentation</h3> <ul class="links"> <li><a href="http://api.rubyonrails.org/">Rails API</a></li> <li><a href="http://stdlib.rubyonrails.org/">Ruby standard library</a></li> <li><a href="http://corelib.rubyonrails.org/">Ruby core</a></li> </ul> </li> </ul> </div> <div id="content"> <div id="header"> <h1>Welcome aboard</h1> <h2>You’re riding the Rails!</h2> </div> <div id="about"> <h3><a href="rails/info/properties" onclick="about(); return false">About your application’s environment</a></h3> <div id="about-content" style="display: none"></div> </div> <div id="getting-started"> <h1>Getting started</h1> <h2>Here’s how to get rolling:</h2> <ol> <li> <h2>Create your databases and edit <tt>config/database.yml</tt></h2> <p>Rails needs to know your login and password.</p> </li> <li> <h2>Use <tt>script/generate</tt> to create your models and controllers</h2> <p>To see all available options, run it without parameters.</p> </li> <li> <h2>Set up a default route and remove or rename this file</h2> <p>Routes are setup in config/routes.rb.</p> </li> </ol> </div> </div> <div id="footer"> </div> </div> </body> </html> --- NEW FILE: dispatch.rb --- #!/usr/local/bin/ruby require File.dirname(__FILE__) + "/../config/environment" unless defined?(RAILS_ROOT) # If you're using RubyGems and mod_ruby, this require should be changed to an absolute path one, like: # "/usr/local/lib/ruby/gems/1.8/gems/rails-0.8.0/lib/dispatcher" -- otherwise performance is severely impaired require "dispatcher" ADDITIONAL_LOAD_PATHS.reverse.each { |dir| $:.unshift(dir) if File.directory?(dir) } if defined?(Apache::RubyRun) Dispatcher.dispatch |
|
From: Marcus B. <las...@us...> - 2007-03-11 19:04:42
|
Update of /cvsroot/arbiter/arbiter/arbiter/script/process In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv13466/arbiter/script/process Added Files: inspector reaper spawner Log Message: Initial rails build --- NEW FILE: inspector --- #!/usr/bin/env ruby require File.dirname(__FILE__) + '/../../config/boot' require 'commands/process/inspector' --- NEW FILE: spawner --- #!/usr/bin/env ruby require File.dirname(__FILE__) + '/../../config/boot' require 'commands/process/spawner' --- NEW FILE: reaper --- #!/usr/bin/env ruby require File.dirname(__FILE__) + '/../../config/boot' require 'commands/process/reaper' |
|
From: Marcus B. <las...@us...> - 2007-03-11 19:04:42
|
Update of /cvsroot/arbiter/arbiter/arbiter/app/helpers In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv13466/arbiter/app/helpers Added Files: application_helper.rb Log Message: Initial rails build --- NEW FILE: application_helper.rb --- # Methods added to this helper will be available to all templates in the application. module ApplicationHelper end |
|
From: Marcus B. <las...@us...> - 2007-03-11 19:04:42
|
Update of /cvsroot/arbiter/arbiter/arbiter/app/controllers In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv13466/arbiter/app/controllers Added Files: application.rb Log Message: Initial rails build --- NEW FILE: application.rb --- # Filters added to this controller apply to all controllers in the application. # Likewise, all the methods added will be available for all controllers. class ApplicationController < ActionController::Base # Pick a unique cookie name to distinguish our session data from others' session :session_key => '_arbiter_session_id' end |
|
From: Marcus B. <las...@us...> - 2007-03-11 19:04:42
|
Update of /cvsroot/arbiter/arbiter/arbiter/doc In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv13466/arbiter/doc Added Files: README_FOR_APP Log Message: Initial rails build --- NEW FILE: README_FOR_APP --- Use this README file to introduce your application and point to useful places in the API for learning more. Run "rake appdoc" to generate API documentation for your models and controllers. |
|
From: Marcus B. <las...@us...> - 2007-03-11 19:04:42
|
Update of /cvsroot/arbiter/arbiter/arbiter/test In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv13466/arbiter/test Added Files: test_helper.rb Log Message: Initial rails build --- NEW FILE: test_helper.rb --- ENV["RAILS_ENV"] = "test" require File.expand_path(File.dirname(__FILE__) + "/../config/environment") require 'test_help' class Test::Unit::TestCase # Transactional fixtures accelerate your tests by wrapping each test method # in a transaction that's rolled back on completion. This ensures that the # test database remains unchanged so your fixtures don't have to be reloaded # between every test method. Fewer database queries means faster tests. # # Read Mike Clark's excellent walkthrough at # http://clarkware.com/cgi/blosxom/2005/10/24#Rails10FastTesting # # Every Active Record database supports transactions except MyISAM tables # in MySQL. Turn off transactional fixtures in this case; however, if you # don't care one way or the other, switching from MyISAM to InnoDB tables # is recommended. self.use_transactional_fixtures = true # Instantiated fixtures are slow, but give you @david where otherwise you # would need people(:david). If you don't want to migrate your existing # test cases which use the @david style and don't mind the speed hit (each # instantiated fixtures translates to a database query per test method), # then set this back to true. self.use_instantiated_fixtures = false # Add more helper methods to be used by all tests here... end |
|
From: Marcus B. <las...@us...> - 2007-03-11 19:04:42
|
Update of /cvsroot/arbiter/arbiter/arbiter/config In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv13466/arbiter/config Added Files: boot.rb database.yml environment.rb routes.rb Log Message: Initial rails build --- NEW FILE: routes.rb --- ActionController::Routing::Routes.draw do |map| # The priority is based upon order of creation: first created -> highest priority. # Sample of regular route: # map.connect 'products/:id', :controller => 'catalog', :action => 'view' # Keep in mind you can assign values other than :controller and :action # Sample of named route: # map.purchase 'products/:id/purchase', :controller => 'catalog', :action => 'purchase' # This route can be invoked with purchase_url(:id => product.id) # You can have the root of your site routed by hooking up '' # -- just remember to delete public/index.html. # map.connect '', :controller => "welcome" # Allow downloading Web Service WSDL as a file with an extension # instead of a file named 'wsdl' map.connect ':controller/service.wsdl', :action => 'wsdl' # Install the default route as the lowest priority. map.connect ':controller/:action/:id.:format' map.connect ':controller/:action/:id' end --- NEW FILE: database.yml --- # MySQL (default setup). Versions 4.1 and 5.0 are recommended. # # Install the MySQL driver: # gem install mysql # On MacOS X: # gem install mysql -- --include=/usr/local/lib # On Windows: # gem install mysql # Choose the win32 build. # Install MySQL and put its /bin directory on your path. # # And be sure to use new-style password hashing: # http://dev.mysql.com/doc/refman/5.0/en/old-client.html development: adapter: mysql database: arbiter_development username: root password: host: localhost # Warning: The database defined as 'test' will be erased and # re-generated from your development database when you run 'rake'. # Do not set this db to the same as development or production. test: adapter: mysql database: arbiter_test username: root password: host: localhost production: adapter: mysql database: arbiter_production username: root password: host: localhost --- NEW FILE: boot.rb --- # Don't change this file. Configuration is done in config/environment.rb and config/environments/*.rb unless defined?(RAILS_ROOT) root_path = File.join(File.dirname(__FILE__), '..') unless RUBY_PLATFORM =~ /mswin32/ require 'pathname' root_path = Pathname.new(root_path).cleanpath(true).to_s end RAILS_ROOT = root_path end unless defined?(Rails::Initializer) if File.directory?("#{RAILS_ROOT}/vendor/rails") require "#{RAILS_ROOT}/vendor/rails/railties/lib/initializer" else require 'rubygems' environment_without_comments = IO.readlines(File.dirname(__FILE__) + '/environment.rb').reject { |l| l =~ /^#/ }.join environment_without_comments =~ /[^#]RAILS_GEM_VERSION = '([\d.]+)'/ rails_gem_version = $1 if version = defined?(RAILS_GEM_VERSION) ? RAILS_GEM_VERSION : rails_gem_version # Asking for 1.1.6 will give you 1.1.6.5206, if available -- makes it easier to use beta gems rails_gem = Gem.cache.search('rails', "~>#{version}.0").sort_by { |g| g.version.version }.last if rails_gem gem "rails", "=#{rails_gem.version.version}" require rails_gem.full_gem_path + '/lib/initializer' else STDERR.puts %(Cannot find gem for Rails ~>#{version}.0: Install the missing gem with 'gem install -v=#{version} rails', or change environment.rb to define RAILS_GEM_VERSION with your desired version. ) exit 1 end else gem "rails" require 'initializer' end end Rails::Initializer.run(:set_load_path) end --- NEW FILE: environment.rb --- # Be sure to restart your web server when you modify this file. # Uncomment below to force Rails into production mode when # you don't control web/app server and can't set it the proper way # ENV['RAILS_ENV'] ||= 'production' # Specifies gem version of Rails to use when vendor/rails is not present RAILS_GEM_VERSION = '1.2.2' unless defined? RAILS_GEM_VERSION # Bootstrap the Rails environment, frameworks, and default configuration require File.join(File.dirname(__FILE__), 'boot') Rails::Initializer.run do |config| # Settings in config/environments/* take precedence over those specified here # Skip frameworks you're not going to use (only works if using vendor/rails) # config.frameworks -= [ :action_web_service, :action_mailer ] # Only load the plugins named here, by default all plugins in vendor/plugins are loaded # config.plugins = %W( exception_notification ssl_requirement ) # Add additional load paths for your own custom dirs # config.load_paths += %W( #{RAILS_ROOT}/extras ) # Force all environments to use the same logger level # (by default production uses :info, the others :debug) # config.log_level = :debug # Use the database for sessions instead of the file system # (create the session table with 'rake db:sessions:create') # config.action_controller.session_store = :active_record_store # Use SQL instead of Active Record's schema dumper when creating the test database. # This is necessary if your schema can't be completely dumped by the schema dumper, # like if you have constraints or database-specific column types # config.active_record.schema_format = :sql # Activate observers that should always be running # config.active_record.observers = :cacher, :garbage_collector # Make Active Record use UTC-base instead of local time # config.active_record.default_timezone = :utc # See Rails::Configuration for more options end # Add new inflection rules using the following format # (all these examples are active by default): # Inflector.inflections do |inflect| # inflect.plural /^(ox)$/i, '\1en' # inflect.singular /^(ox)en/i, '\1' # inflect.irregular 'person', 'people' # inflect.uncountable %w( fish sheep ) # end # Add new mime types for use in respond_to blocks: # Mime::Type.register "text/richtext", :rtf # Mime::Type.register "application/x-mobile", :mobile # Include your application configuration below |
|
From: Marcus B. <las...@us...> - 2007-03-11 19:04:42
|
Update of /cvsroot/arbiter/arbiter/arbiter/public/images In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv13466/arbiter/public/images Added Files: rails.png Log Message: Initial rails build --- NEW FILE: rails.png --- (This appears to be a binary file; contents omitted.) |
|
From: Marcus B. <las...@us...> - 2007-03-11 19:04:41
|
Update of /cvsroot/arbiter/arbiter/arbiter/log In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv13466/arbiter/log Added Files: development.log production.log server.log test.log Log Message: Initial rails build --- NEW FILE: development.log --- --- NEW FILE: production.log --- --- NEW FILE: test.log --- --- NEW FILE: server.log --- |
|
From: Marcus B. <las...@us...> - 2007-03-11 19:04:41
|
Update of /cvsroot/arbiter/arbiter/arbiter/script In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv13466/arbiter/script Added Files: about breakpointer console destroy generate plugin runner server Log Message: Initial rails build --- NEW FILE: about --- #!/usr/bin/env ruby require File.dirname(__FILE__) + '/../config/boot' require 'commands/about' --- NEW FILE: console --- #!/usr/bin/env ruby require File.dirname(__FILE__) + '/../config/boot' require 'commands/console' --- NEW FILE: plugin --- #!/usr/bin/env ruby require File.dirname(__FILE__) + '/../config/boot' require 'commands/plugin' --- NEW FILE: runner --- #!/usr/bin/env ruby require File.dirname(__FILE__) + '/../config/boot' require 'commands/runner' --- NEW FILE: server --- #!/usr/bin/env ruby require File.dirname(__FILE__) + '/../config/boot' require 'commands/server' --- NEW FILE: breakpointer --- #!/usr/bin/env ruby require File.dirname(__FILE__) + '/../config/boot' require 'commands/breakpointer' --- NEW FILE: destroy --- #!/usr/bin/env ruby require File.dirname(__FILE__) + '/../config/boot' require 'commands/destroy' --- NEW FILE: generate --- #!/usr/bin/env ruby require File.dirname(__FILE__) + '/../config/boot' require 'commands/generate' |
|
From: Marcus B. <las...@us...> - 2007-03-11 19:04:41
|
Update of /cvsroot/arbiter/arbiter/arbiter/config/environments In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv13466/arbiter/config/environments Added Files: development.rb production.rb test.rb Log Message: Initial rails build --- NEW FILE: production.rb --- # Settings specified here will take precedence over those in config/environment.rb # The production environment is meant for finished, "live" apps. # Code is not reloaded between requests config.cache_classes = true # Use a different logger for distributed setups # config.logger = SyslogLogger.new # Full error reports are disabled and caching is turned on config.action_controller.consider_all_requests_local = false config.action_controller.perform_caching = true # Enable serving of images, stylesheets, and javascripts from an asset server # config.action_controller.asset_host = "http://assets.example.com" # Disable delivery errors, bad email addresses will be ignored # config.action_mailer.raise_delivery_errors = false --- NEW FILE: test.rb --- # Settings specified here will take precedence over those in config/environment.rb # The test environment is used exclusively to run your application's # test suite. You never need to work with it otherwise. Remember that # your test database is "scratch space" for the test suite and is wiped # and recreated between test runs. Don't rely on the data there! config.cache_classes = true # Log error messages when you accidentally call methods on nil. config.whiny_nils = true # Show full error reports and disable caching config.action_controller.consider_all_requests_local = true config.action_controller.perform_caching = false # Tell ActionMailer not to deliver emails to the real world. # The :test delivery method accumulates sent emails in the # ActionMailer::Base.deliveries array. config.action_mailer.delivery_method = :test --- NEW FILE: development.rb --- # Settings specified here will take precedence over those in config/environment.rb # In the development environment your application's code is reloaded on # every request. This slows down response time but is perfect for development # since you don't have to restart the webserver when you make code changes. config.cache_classes = false # Log error messages when you accidentally call methods on nil. config.whiny_nils = true # Enable the breakpoint server that script/breakpointer connects to config.breakpoint_server = true # Show full error reports and disable caching config.action_controller.consider_all_requests_local = true config.action_controller.perform_caching = false config.action_view.cache_template_extensions = false config.action_view.debug_rjs = true # Don't care if the mailer can't send config.action_mailer.raise_delivery_errors = false |
|
From: Marcus B. <las...@us...> - 2007-03-11 19:04:41
|
Update of /cvsroot/arbiter/arbiter/arbiter/script/performance In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv13466/arbiter/script/performance Added Files: benchmarker profiler Log Message: Initial rails build --- NEW FILE: benchmarker --- #!/usr/bin/env ruby require File.dirname(__FILE__) + '/../../config/boot' require 'commands/performance/benchmarker' --- NEW FILE: profiler --- #!/usr/bin/env ruby require File.dirname(__FILE__) + '/../../config/boot' require 'commands/performance/profiler' |
|
From: Marcus B. <las...@us...> - 2007-03-11 19:03:29
|
Update of /cvsroot/arbiter/arbiter/arbiter/tmp/sessions In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv13056/arbiter/tmp/sessions Log Message: Directory /cvsroot/arbiter/arbiter/arbiter/tmp/sessions added to the repository |
|
From: Marcus B. <las...@us...> - 2007-03-11 19:03:27
|
Update of /cvsroot/arbiter/arbiter/arbiter/tmp/sockets In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv13056/arbiter/tmp/sockets Log Message: Directory /cvsroot/arbiter/arbiter/arbiter/tmp/sockets added to the repository |