alexandria-book-collection-manager 0.7.0 → 0.7.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (52) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +4 -0
  3. data/.reek +3 -0
  4. data/.rubocop.yml +8 -0
  5. data/.rubocop_todo.yml +20 -23
  6. data/.simplecov +3 -0
  7. data/.yardopts +1 -0
  8. data/CHANGELOG.md +6 -0
  9. data/Gemfile +3 -2
  10. data/INSTALL.rdoc +0 -8
  11. data/README.md +72 -0
  12. data/Rakefile +4 -2
  13. data/TODO.md +26 -0
  14. data/alexandria-book-collection-manager.gemspec +6 -3
  15. data/bin/alexandria +1 -6
  16. data/dogtail/basic_run_test.py +9 -0
  17. data/lib/alexandria/book_providers.rb +2 -6
  18. data/lib/alexandria/book_providers/proxis.rb +1 -1
  19. data/lib/alexandria/book_providers/web.rb +1 -1
  20. data/lib/alexandria/book_providers/z3950.rb +4 -4
  21. data/lib/alexandria/export_library.rb +20 -27
  22. data/lib/alexandria/import_library.rb +7 -5
  23. data/lib/alexandria/models/book.rb +11 -1
  24. data/lib/alexandria/models/library.rb +4 -17
  25. data/lib/alexandria/preferences.rb +5 -5
  26. data/lib/alexandria/smart_library.rb +2 -8
  27. data/lib/alexandria/ui/callbacks.rb +1 -1
  28. data/lib/alexandria/ui/columns.rb +9 -0
  29. data/lib/alexandria/ui/completion_models.rb +1 -29
  30. data/lib/alexandria/ui/dialogs/acquire_dialog.rb +2 -3
  31. data/lib/alexandria/ui/dialogs/book_properties_dialog_base.rb +1 -2
  32. data/lib/alexandria/ui/dialogs/new_book_dialog_manual.rb +3 -2
  33. data/lib/alexandria/ui/iconview.rb +1 -6
  34. data/lib/alexandria/ui/libraries_combo.rb +1 -0
  35. data/lib/alexandria/ui/listview.rb +5 -10
  36. data/lib/alexandria/ui/main_app.rb +0 -1
  37. data/lib/alexandria/ui/sidepane.rb +1 -1
  38. data/lib/alexandria/ui/sound.rb +3 -3
  39. data/lib/alexandria/ui/ui_manager.rb +5 -13
  40. data/lib/alexandria/version.rb +2 -2
  41. data/spec/alexandria/book_providers_spec.rb +0 -17
  42. data/spec/alexandria/book_spec.rb +23 -0
  43. data/spec/alexandria/library_spec.rb +26 -0
  44. data/spec/alexandria/smart_library_spec.rb +11 -1
  45. data/spec/alexandria/ui/main_app_spec.rb +0 -11
  46. data/spec/spec_helper.rb +0 -1
  47. data/tasks/dogtail.rake +4 -0
  48. data/tasks/spec.rake +3 -3
  49. metadata +58 -12
  50. data/TODO +0 -24
  51. data/spec/alexandria/ui/listview_spec.rb +0 -28
  52. data/tasks/rdoc.rake +0 -6
@@ -1,28 +0,0 @@
1
- # Copyright (C) 2008 Joseph Method
2
- # Copyright (C) 2014 Matijs van Zuijlen
3
- #
4
- # Alexandria is free software; you can redistribute it and/or
5
- # modify it under the terms of the GNU General Public License as
6
- # published by the Free Software Foundation; either version 2 of the
7
- # License, or (at your option) any later version.
8
- #
9
- # Alexandria is distributed in the hope that it will be useful,
10
- # but WITHOUT ANY WARRANTY; without even the implied warranty of
11
- # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12
- # General Public License for more details.
13
- #
14
- # You should have received a copy of the GNU General Public
15
- # License along with Alexandria; see the file COPYING. If not,
16
- # write to the Free Software Foundation, Inc., 51 Franklin Street,
17
- # Fifth Floor, Boston, MA 02110-1301 USA.
18
-
19
- require File.dirname(__FILE__) + '/../../spec_helper'
20
-
21
- describe Alexandria::UI::ListViewManager do
22
- it 'should work' do
23
- listview = double(Gtk::TreeView).as_null_object
24
- parent = double(Object, listview: listview).as_null_object
25
- expect(listview).to receive(:enable_model_drag_source)
26
- Alexandria::UI::ListViewManager.new(listview, parent)
27
- end
28
- end
@@ -1,6 +0,0 @@
1
- require 'rdoc/task'
2
-
3
- RDoc::Task.new do |rdoc|
4
- rdoc.main = 'README.rdoc'
5
- rdoc.rdoc_files.include 'README.rdoc', 'INSTALL.rdoc', 'lib/**/*.rb'
6
- end