Sha256: 2963fbbe9d5a4f5271f37dd76d967d4652280ebd0c049adacbe8fa73ed03350f
Contents?: true
Size: 1.5 KB
Versions: 2
Compression:
Stored size: 1.5 KB
Contents
# Copyright (C) 2007 Joseph Method # Copyright (C) 2014 Matijs van Zuijlen # # Alexandria is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License as # published by the Free Software Foundation; either version 2 of the # License, or (at your option) any later version. # # Alexandria 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 # General Public License for more details. # # You should have received a copy of the GNU General Public # License along with Alexandria; see the file COPYING. If not, # write to the Free Software Foundation, Inc., 51 Franklin Street, # Fifth Floor, Boston, MA 02110-1301 USA. $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '/../lib')) require 'alexandria' LIBDIR = File.expand_path(File.join(File.dirname(__FILE__), '/data/libraries')) TESTDIR = File.join(LIBDIR, 'test') # def useTestLibrary(version) # libVersion = File.join(LIBDIR, version) # FileUtils.cp_r(libVersion, TESTDIR) # end def an_artist_of_the_floating_world Alexandria::Book.new('An Artist of the Floating World', 'Kazuo Ishiguro', '9780571147168', 'Faber and Faber', 1999, 'Paperback') end Thread.new { Alexandria::UI.start_gnome_program } Alexandria::UI::Icons.init module Alexandria class Library DIR.replace TESTDIR end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
alexandria-book-collection-manager-0.6.9 | spec/spec_helper.rb |
alexandria-book-collection-manager-0.6.9.pre1 | spec/spec_helper.rb |