C0 code coverage information
Generated on Tue Oct 16 11:40:47 -0400 2007 with rcov 0.8.0
Code reported as executed by Ruby looks like this...
and this: this line is also marked as covered.
Lines considered as run by rcov, but not reported by Ruby, look like this,
and this: these lines were inferred by rcov (using simple heuristics).
Finally, here's a line marked as not executed.
1 # Copyright (C) 2004-2006 Laurent Sansonetti
2 #
3 # Alexandria is free software; you can redistribute it and/or
4 # modify it under the terms of the GNU General Public License as
5 # published by the Free Software Foundation; either version 2 of the
6 # License, or (at your option) any later version.
7 #
8 # Alexandria is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY; without even the implied warranty of
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 # General Public License for more details.
12 #
13 # You should have received a copy of the GNU General Public
14 # License along with Alexandria; see the file COPYING. If not,
15 # write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
16 # Boston, MA 02111-1307, USA.
17
18 require 'gettext'
19
20 module Alexandria
21 TITLE = 'Alexandria'
22 TEXTDOMAIN = 'alexandria'
23 extend GetText
24 bindtextdomain(Alexandria::TEXTDOMAIN, nil, nil, "UTF-8")
25 DESCRIPTION = _('A program to help you manage your book collection.')
26 COPYRIGHT = "Copyright (C) 2004-2006 Laurent Sansonetti\n" +
27 "Copyright (C) 2007 Alexandria Contributors"
28 AUTHORS = [
29 'Alexander McCormmach <alexander@tunicate.org>',
30 'Aymeric Nys <aymeric@nnx.com>',
31 'Cathal Mc Ginley <cathal.alexandria@gnostai.org>',
32 'Claudio Belotti <bel8@lilik.it>',
33 'Constantine Evans <cevans@costinet.org>',
34 'Dafydd Harries <daf@muse.19inch.net>',
35 'Javier Fernandez-Sanguino Pena <jfs@debian.org>',
36 'Kevin Schultz <schultkl@ieee.org>',
37 'Laurent Sansonetti <lrz@gnome.org>',
38 'Marco Costantini <costanti@science.unitn.it>',
39 'Mathieu Leduc-Hamel <arrak@arrak.org>',
40 'Owain Evans <o.evans@gmail.com>',
41 'Pascal Terjan <pterjan@linuxfr.org>',
42 'Rene Samselnig <sandman@sdm-net.org>',
43 'Robby Stephenson <robby@periapsis.org>',
44 'Takayuki Kusano <AE5T-KSN@asahi-net.or.jp>',
45 'Zachary P. Landau <kapheine@hypa.net>',
46 'Joseph Method <tristil@gmail.com>'
47 ]
48 DOCUMENTERS = [
49 'Liam Davison <registrations@liamjdavison.info>'
50 ]
51 TRANSLATORS = [
52 'Dafydd Harries <daf@muse.19inch.net> (cy)',
53 'David Weinehall <tao@debian.org> (sv)',
54 'Jiri Pejchal <jiri.pejchal@gmail.com> (cs)',
55 'Joachim Breitner <mail@joachim-breitner.de> (de)',
56 'Laurent Sansonetti <lrz@gnome.org> (fr)',
57 'Ligia Moreira <ligia.moreira@netvisao.pt> (pt)',
58 'Lucas Rocha <lucasr@im.ufba.br> (pt_BR)',
59 'Marco Costantini <costanti@science.unitn.it>',
60 'Masao Mutoh <mutoh@highway.ne.jp> (ja)',
61 'Miguel Angel Garcia <miguela.garcia3@alu.uclm.es> (es)',
62 'Mirko Maischberger <mirko@lilik.it> (it)'
63 ]
64 ARTISTS = [
65 'Andreas Nilsson <nisses.mail@home.se>',
66 'Stefanie Dijoux <stefanie.dijoux@gmail.com>'
67 ]
68 LIST = 'alexandria-list@rubyforge.org'
69 BUGREPORT_URL = 'http://rubyforge.org/tracker/?func=add&group_id=205&atid=863'
70 WEBSITE_URL = 'http://alexandria.rubyforge.org'
71 DONATE_URL = 'https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=lrz%40rubymonks%2eorg&item_name=Alexandria&no_shipping=0&no_note=1¤cy_code=EUR'
72
73 def self.main
74 $DEBUG = !ENV['DEBUG'].nil?
75 $DEBUG = true if ARGV.include? "--debug"
76 puts "Initializing Alexandria..." if $DEBUG
77
78 ENV['http_proxy'] = nil if !ENV['http_proxy'].nil? \
79 and URI.parse(ENV['http_proxy']).userinfo.nil?
80 Alexandria::UI.main
81 end
82 end
83
84 require 'alexandria/logging'
85
86 unless $MACOSX
87 require 'alexandria/config'
88 require 'alexandria/version'
89 else
90 module Alexandria
91 module Config
92 DATA_DIR = OSX::NSBundle.mainBundle.resourcePath.fileSystemRepresentation
93 end
94 VERSION = OSX::NSBundle.mainBundle.infoDictionary.objectForKey('CFBundleVersion').to_s
95 end
96 end
97
98 require 'alexandria/book'
99 require 'alexandria/utils'
100 require 'alexandria/library'
101 require 'alexandria/smart_library'
102 require 'alexandria/execution_queue'
103 require 'alexandria/import_library'
104 require 'alexandria/export_library'
105 require 'alexandria/book_providers'
106 require 'alexandria/preferences'
107 require 'alexandria/undo_manager'
108 require 'alexandria/web_themes'
109
110 require $MACOSX ? 'alexandria/macui' : 'alexandria/ui'
Generated using the rcov code coverage analysis tool for Ruby version 0.8.0.