alexandria-book-collection-manager 0.7.1 → 0.7.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (210) hide show
  1. checksums.yaml +5 -5
  2. data/.github/dependabot.yml +9 -0
  3. data/.gitignore +5 -2
  4. data/.hound.yml +2 -0
  5. data/.rubocop.yml +113 -45
  6. data/.rubocop_todo.yml +82 -170
  7. data/.simplecov +5 -1
  8. data/.travis.yml +45 -0
  9. data/.yardopts +1 -1
  10. data/CHANGELOG.md +60 -0
  11. data/ChangeLog.0 +33 -35
  12. data/Gemfile +6 -5
  13. data/INSTALL.md +164 -0
  14. data/README.md +52 -42
  15. data/Rakefile +95 -109
  16. data/TODO.md +9 -1
  17. data/alexandria-book-collection-manager.gemspec +52 -45
  18. data/bin/alexandria +31 -53
  19. data/doc/AUTHORS +61 -0
  20. data/doc/BUGS +31 -0
  21. data/doc/FAQ +365 -0
  22. data/doc/HACKING +19 -0
  23. data/doc/NEWS +341 -0
  24. data/doc/alexandria.1 +120 -0
  25. data/doc/cuecat_support.rdoc +67 -0
  26. data/doc/dependency_decisions.yml +80 -0
  27. data/lib/alexandria.rb +29 -37
  28. data/lib/alexandria/about.rb +52 -51
  29. data/lib/alexandria/book_providers.rb +94 -101
  30. data/lib/alexandria/book_providers/adlibris.rb +45 -85
  31. data/lib/alexandria/book_providers/amazon_aws.rb +105 -113
  32. data/lib/alexandria/book_providers/amazon_ecs_util.rb +293 -324
  33. data/lib/alexandria/book_providers/barnes_and_noble.rb +54 -53
  34. data/lib/alexandria/book_providers/douban.rb +29 -51
  35. data/lib/alexandria/book_providers/proxis.rb +42 -59
  36. data/lib/alexandria/book_providers/pseudomarc.rb +79 -99
  37. data/lib/alexandria/book_providers/siciliano.rb +68 -70
  38. data/lib/alexandria/book_providers/thalia.rb +46 -45
  39. data/lib/alexandria/book_providers/web.rb +17 -33
  40. data/lib/alexandria/book_providers/worldcat.rb +74 -102
  41. data/lib/alexandria/book_providers/z3950.rb +170 -174
  42. data/lib/alexandria/config.rb +5 -3
  43. data/lib/alexandria/console.rb +10 -21
  44. data/lib/alexandria/default_preferences.rb +37 -0
  45. data/lib/alexandria/execution_queue.rb +17 -15
  46. data/lib/alexandria/export_format.rb +47 -0
  47. data/lib/alexandria/export_library.rb +188 -302
  48. data/lib/alexandria/import_library.rb +114 -155
  49. data/lib/alexandria/import_library_csv.rb +46 -96
  50. data/lib/alexandria/library_collection.rb +79 -0
  51. data/lib/alexandria/library_sort_order.rb +45 -0
  52. data/lib/alexandria/library_store.rb +233 -0
  53. data/lib/alexandria/logging.rb +15 -19
  54. data/lib/alexandria/models/book.rb +15 -20
  55. data/lib/alexandria/models/library.rb +81 -363
  56. data/lib/alexandria/net.rb +7 -6
  57. data/lib/alexandria/preferences.rb +73 -91
  58. data/lib/alexandria/scanners.rb +4 -2
  59. data/lib/alexandria/scanners/{cuecat.rb → cue_cat.rb} +24 -20
  60. data/lib/alexandria/scanners/keyboard.rb +10 -8
  61. data/lib/alexandria/smart_library.rb +135 -171
  62. data/lib/alexandria/ui.rb +17 -15
  63. data/lib/alexandria/ui/about_dialog.rb +49 -0
  64. data/lib/alexandria/ui/{dialogs/acquire_dialog.rb → acquire_dialog.rb} +129 -152
  65. data/lib/alexandria/ui/alert_dialog.rb +64 -0
  66. data/lib/alexandria/ui/bad_isbns_dialog.rb +41 -0
  67. data/lib/alexandria/ui/{dialogs/barcode_animation.rb → barcode_animation.rb} +18 -15
  68. data/lib/alexandria/ui/{dialogs/book_properties_dialog.rb → book_properties_dialog.rb} +44 -61
  69. data/lib/alexandria/ui/{dialogs/book_properties_dialog_base.rb → book_properties_dialog_base.rb} +84 -89
  70. data/lib/alexandria/ui/builder_base.rb +9 -27
  71. data/lib/alexandria/ui/callbacks.rb +188 -186
  72. data/lib/alexandria/ui/columns.rb +2 -0
  73. data/lib/alexandria/ui/completion_models.rb +12 -23
  74. data/lib/alexandria/ui/confirm_erase_dialog.rb +33 -0
  75. data/lib/alexandria/ui/conflict_while_copying_dialog.rb +34 -0
  76. data/lib/alexandria/ui/dndable.rb +10 -8
  77. data/lib/alexandria/ui/error_dialog.rb +25 -0
  78. data/lib/alexandria/ui/export_dialog.rb +139 -0
  79. data/lib/alexandria/ui/icons.rb +49 -65
  80. data/lib/alexandria/ui/iconview.rb +15 -13
  81. data/lib/alexandria/ui/iconview_tooltips.rb +43 -58
  82. data/lib/alexandria/ui/import_dialog.rb +157 -0
  83. data/lib/alexandria/ui/init.rb +23 -33
  84. data/lib/alexandria/ui/keep_bad_isbn_dialog.rb +36 -0
  85. data/lib/alexandria/ui/libraries_combo.rb +18 -14
  86. data/lib/alexandria/ui/listview.rb +77 -88
  87. data/lib/alexandria/ui/main_app.rb +26 -26
  88. data/lib/alexandria/ui/misc_dialogs.rb +10 -0
  89. data/lib/alexandria/ui/multi_drag_treeview.rb +30 -41
  90. data/lib/alexandria/ui/{dialogs/new_book_dialog.rb → new_book_dialog.rb} +168 -215
  91. data/lib/alexandria/ui/new_book_dialog_manual.rb +139 -0
  92. data/lib/alexandria/ui/new_provider_dialog.rb +100 -0
  93. data/lib/alexandria/ui/new_smart_library_dialog.rb +74 -0
  94. data/lib/alexandria/ui/preferences_dialog.rb +313 -0
  95. data/lib/alexandria/ui/provider_preferences_base_dialog.rb +95 -0
  96. data/lib/alexandria/ui/provider_preferences_dialog.rb +35 -0
  97. data/lib/alexandria/ui/really_delete_dialog.rb +53 -0
  98. data/lib/alexandria/ui/{sidepane.rb → sidepane_manager.rb} +62 -72
  99. data/lib/alexandria/ui/skip_entry_dialog.rb +33 -0
  100. data/lib/alexandria/ui/smart_library_properties_dialog.rb +60 -0
  101. data/lib/alexandria/ui/{dialogs/smart_library_properties_dialog_base.rb → smart_library_properties_dialog_base.rb} +96 -172
  102. data/lib/alexandria/ui/smart_library_rule_box.rb +119 -0
  103. data/lib/alexandria/ui/sound.rb +13 -13
  104. data/lib/alexandria/ui/ui_manager.rb +262 -283
  105. data/lib/alexandria/undo_manager.rb +3 -0
  106. data/lib/alexandria/version.rb +6 -19
  107. data/lib/alexandria/web_themes.rb +24 -21
  108. data/po/Makefile +2 -2
  109. data/po/cs.po +993 -880
  110. data/po/cy.po +957 -874
  111. data/po/de.po +990 -869
  112. data/po/el.po +989 -869
  113. data/po/es.po +985 -865
  114. data/po/fr.po +986 -870
  115. data/po/ga.po +907 -823
  116. data/po/gl.po +981 -865
  117. data/po/it.po +986 -868
  118. data/po/ja.po +969 -853
  119. data/po/mk.po +983 -863
  120. data/po/nb.po +979 -863
  121. data/po/nl.po +983 -864
  122. data/po/pl.po +1020 -969
  123. data/po/pt.po +988 -861
  124. data/po/pt_BR.po +984 -868
  125. data/po/ru.po +992 -873
  126. data/po/sk.po +987 -869
  127. data/po/sv.po +977 -861
  128. data/po/uk.po +975 -865
  129. data/po/zh_TW.po +976 -860
  130. data/schemas/alexandria.schemas +25 -3
  131. data/share/alexandria/glade/acquire_dialog__builder.glade +15 -12
  132. data/share/alexandria/glade/book_properties_dialog__builder.glade +171 -299
  133. data/share/alexandria/glade/main_app__builder.glade +24 -33
  134. data/share/alexandria/glade/new_book_dialog__builder.glade +27 -59
  135. data/share/alexandria/glade/preferences_dialog__builder.glade +250 -290
  136. data/share/gnome/help/alexandria/C/introduction.xml +0 -8
  137. data/share/gnome/help/alexandria/C/searching.xml +1 -1
  138. data/share/gnome/help/alexandria/C/smart-libraries.xml +2 -2
  139. data/share/gnome/help/alexandria/C/working-with-libraries.xml +1 -1
  140. data/share/gnome/help/alexandria/fr/alexandria.xml +1 -1
  141. data/share/gnome/help/alexandria/ja/introduction.xml +0 -8
  142. data/share/gnome/help/alexandria/ja/smart-libraries.xml +1 -1
  143. data/spec/alexandria/book_providers/world_cat_provider_spec.rb +160 -0
  144. data/spec/alexandria/book_providers_spec.rb +77 -210
  145. data/spec/alexandria/book_spec.rb +16 -12
  146. data/spec/alexandria/console_spec.rb +27 -0
  147. data/spec/alexandria/export_library_spec.rb +130 -0
  148. data/spec/alexandria/library_spec.rb +130 -172
  149. data/spec/alexandria/library_store_spec.rb +37 -0
  150. data/spec/alexandria/preferences_spec.rb +46 -17
  151. data/spec/alexandria/scanners/cue_cat_spec.rb +52 -0
  152. data/spec/alexandria/smart_library_spec.rb +32 -25
  153. data/spec/alexandria/ui/about_dialog_spec.rb +14 -0
  154. data/spec/alexandria/ui/acquire_dialog_spec.rb +14 -0
  155. data/spec/alexandria/ui/alert_dialog_spec.rb +16 -0
  156. data/spec/alexandria/ui/bad_isbns_dialog_spec.rb +14 -0
  157. data/spec/alexandria/ui/book_properties_dialog_spec.rb +17 -0
  158. data/spec/alexandria/ui/confirm_erase_dialog_spec.rb +14 -0
  159. data/spec/alexandria/ui/conflict_while_copying_dialog_spec.rb +16 -0
  160. data/spec/alexandria/ui/error_dialog_spec.rb +14 -0
  161. data/spec/alexandria/ui/export_dialog_spec.rb +15 -0
  162. data/spec/alexandria/ui/icons_spec.rb +26 -0
  163. data/spec/alexandria/ui/iconview_spec.rb +9 -21
  164. data/spec/alexandria/ui/import_dialog_spec.rb +41 -0
  165. data/spec/alexandria/ui/keep_bad_isbn_dialog_spec.rb +17 -0
  166. data/spec/alexandria/ui/main_app_spec.rb +8 -33
  167. data/spec/alexandria/ui/new_book_dialog_manual_spec.rb +15 -0
  168. data/spec/alexandria/ui/new_book_dialog_spec.rb +22 -0
  169. data/spec/alexandria/ui/new_provider_dialog_spec.rb +30 -0
  170. data/spec/alexandria/ui/new_smart_library_dialog_spec.rb +39 -0
  171. data/spec/alexandria/ui/preferences_dialog_spec.rb +14 -0
  172. data/spec/alexandria/ui/provider_preferences_dialog_spec.rb +34 -0
  173. data/spec/alexandria/ui/really_delete_dialog_spec.rb +16 -0
  174. data/spec/alexandria/ui/sidepane_manager_spec.rb +15 -0
  175. data/spec/alexandria/ui/skip_entry_dialog_spec.rb +14 -0
  176. data/spec/alexandria/ui/smart_library_properties_dialog_spec.rb +32 -0
  177. data/spec/alexandria/ui/sound_spec.rb +4 -2
  178. data/spec/alexandria/ui/ui_manager_spec.rb +45 -20
  179. data/spec/end_to_end/basic_run_spec.rb +57 -0
  180. data/spec/spec_helper.rb +66 -33
  181. data/tasks/setup.rb +5 -3
  182. data/tasks/spec.rake +18 -3
  183. data/util/rake/fileinstall.rb +38 -40
  184. data/util/rake/gettextgenerate.rb +15 -70
  185. data/util/rake/omfgenerate.rb +10 -10
  186. metadata +176 -60
  187. data/INSTALL.rdoc +0 -148
  188. data/dogtail/basic_run_test.py +0 -9
  189. data/lib/alexandria/book_providers/bol_it.rb +0 -160
  190. data/lib/alexandria/book_providers/deastore.rb +0 -273
  191. data/lib/alexandria/book_providers/ibs_it.rb +0 -147
  192. data/lib/alexandria/book_providers/mcu.rb +0 -169
  193. data/lib/alexandria/book_providers/renaud.rb +0 -140
  194. data/lib/alexandria/book_providers/webster_it.rb +0 -167
  195. data/lib/alexandria/ui/dialogs/about_dialog.rb +0 -59
  196. data/lib/alexandria/ui/dialogs/alert_dialog.rb +0 -70
  197. data/lib/alexandria/ui/dialogs/bad_isbns_dialog.rb +0 -43
  198. data/lib/alexandria/ui/dialogs/export_dialog.rb +0 -171
  199. data/lib/alexandria/ui/dialogs/import_dialog.rb +0 -196
  200. data/lib/alexandria/ui/dialogs/misc_dialogs.rb +0 -85
  201. data/lib/alexandria/ui/dialogs/new_book_dialog_manual.rb +0 -154
  202. data/lib/alexandria/ui/dialogs/new_smart_library_dialog.rb +0 -74
  203. data/lib/alexandria/ui/dialogs/preferences_dialog.rb +0 -578
  204. data/lib/alexandria/ui/dialogs/smart_library_properties_dialog.rb +0 -57
  205. data/spec/alexandria/scanners/cuecat_spec.rb +0 -65
  206. data/spec/alexandria/ui/dialogs_spec.rb +0 -94
  207. data/spec/alexandria/ui/sidepane_spec.rb +0 -27
  208. data/spec/alexandria/ui/ui_utilities_spec.rb +0 -60
  209. data/spec/alexandria/utilities_spec.rb +0 -50
  210. data/tasks/dogtail.rake +0 -4
@@ -1,57 +0,0 @@
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., 51 Franklin Street,
16
- # Fifth Floor, Boston, MA 02110-1301 USA.
17
-
18
- module Alexandria
19
- module UI
20
- class SmartLibraryPropertiesDialog < SmartLibraryPropertiesDialogBase
21
- include GetText
22
- GetText.bindtextdomain(Alexandria::TEXTDOMAIN, charset: 'UTF-8')
23
-
24
- def initialize(parent, smart_library)
25
- super(parent)
26
-
27
- add_buttons([Gtk::Stock::CANCEL, :cancel],
28
- [Gtk::Stock::SAVE, :ok])
29
-
30
- self.title = _("Properties for '%s'") % smart_library.name
31
- # FIXME: Should accept just :cancel
32
- self.default_response = Gtk::ResponseType::CANCEL
33
-
34
- show_all
35
- smart_library.rules.each { |x| insert_new_rule(x) }
36
- update_rules_header_box(smart_library.predicate_operator_rule)
37
-
38
- while (response = run) != :cancel
39
- if response == :help
40
- Alexandria::UI.display_help(self, 'edit-smart-library')
41
- elsif response == :ok
42
- if user_confirms_possible_weirdnesses_before_saving?
43
- smart_library.rules = smart_library_rules
44
- smart_library.predicate_operator_rule =
45
- predicate_operator_rule
46
- smart_library.save
47
- yield(smart_library)
48
- break
49
- end
50
- end
51
- end
52
-
53
- destroy
54
- end
55
- end
56
- end
57
- end
@@ -1,65 +0,0 @@
1
- #-- -*- ruby -*-
2
- # Copyright (C) 2007 Cathal Mc Ginley
3
- # Copyright (C) 2014 Matijs van Zuijlen
4
- #
5
- # Alexandria is free software; you can redistribute it and/or
6
- # modify it under the terms of the GNU General Public License as
7
- # published by the Free Software Foundation; either version 2 of the
8
- # License, or (at your option) any later version.
9
- #
10
- # Alexandria is distributed in the hope that it will be useful,
11
- # but WITHOUT ANY WARRANTY; without even the implied warranty of
12
- # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13
- # General Public License for more details.
14
- #
15
- # You should have received a copy of the GNU General Public
16
- # License along with Alexandria; see the file COPYING. If not,
17
- # write to the Free Software Foundation, Inc., 51 Franklin Street,
18
- # Fifth Floor, Boston, MA 02110-1301 USA.
19
-
20
- $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '../../../lib'))
21
-
22
- require 'alexandria/scanners/cuecat'
23
-
24
- describe Alexandria::Scanners::CueCat do
25
- before :all do
26
- @cuecat = Alexandria::Scanners::CueCat.new
27
- @partials = ['.',
28
- '.C3nZC3nZC3n2ChnWENz7DxnY',
29
- '.C3nZC3nZC3n2ChnWENz7DxnY.',
30
- '.C3nZC3nZC3n2ChnWENz7DxnY.cGen',
31
- '.C3nZC3nZC3n2ChnWENz7DxnY.cGen.',
32
- '.C3nZC3nZC3n2ChnWENz7DxnY.cGen.ENr7C3z0CNj3Dhj1EW']
33
- @scans = {
34
- isbn: '.C3nZC3nZC3n2ChnWENz7DxnY.cGen.ENr7C3z0CNj3Dhj1EW.',
35
- ib5: '.C3nZC3nZC3n2ChnWENz7DxnY.cGf2.ENr7C3z0DNn0ENnWE3nZDhP6.'
36
- }
37
- end
38
-
39
- it 'is called CueCat' do
40
- expect(@cuecat.name).to match(/CueCat/i)
41
- end
42
-
43
- it 'should detect a complete scan only ' do
44
- @partials.each { |scan| expect(@cuecat.match?(scan)).not_to be_truthy }
45
- expect(@cuecat.match?(@scans[:isbn])).to be_truthy
46
- expect(@cuecat.match?(@scans[:ib5])).to be_truthy
47
- end
48
-
49
- it 'should decode ISBN barcodes' do
50
- expect(@cuecat.decode(@scans[:isbn])).to eq('9780571147168')
51
- end
52
-
53
- it 'should decode ISBN+5 barcodes' do
54
- expect(@cuecat.decode(@scans[:ib5])).to eq('9780575079038') # 00799
55
- # TODO are we supposed to keep the +5 bit?
56
- end
57
-
58
- it 'should decode ISSN barcodes' do
59
- skip 'Test scan ISSN'
60
- end
61
-
62
- it 'should decode UPC barcodes' do
63
- skip 'Test scan UPC'
64
- end
65
- end
@@ -1,94 +0,0 @@
1
- # Copyright (C) 2007 Joseph Method
2
- # Copyright (C) 2015, 2016 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::SmartLibraryPropertiesDialog do
22
- it 'should work'
23
- end
24
-
25
- describe Alexandria::UI::ProviderPreferencesBaseDialog do
26
- it 'should work'
27
- end
28
-
29
- describe Alexandria::UI::PreferencesDialog do
30
- it 'should be renamed to ProviderPreferencesDialog'
31
- end
32
-
33
- describe Alexandria::UI::NewSmartLibraryDialog do
34
- it 'should work'
35
- end
36
-
37
- describe Alexandria::UI::NewBookDialogManual do
38
- it 'should work'
39
- end
40
-
41
- describe Alexandria::UI::KeepBadISBNDialog do
42
- it 'should work'
43
- end
44
-
45
- describe Alexandria::UI::NewBookDialog do
46
- it 'should work'
47
- end
48
-
49
- describe Alexandria::UI::ConflictWhileCopyingDialog do
50
- it 'should work'
51
- end
52
-
53
- describe Alexandria::UI::ReallyDeleteDialog do
54
- it 'should work'
55
- end
56
-
57
- describe Alexandria::UI::SkipEntryDialog do
58
- it 'should work'
59
- end
60
-
61
- describe Alexandria::UI::ImportDialog do
62
- it 'should work'
63
- end
64
-
65
- describe Alexandria::UI::ConfirmEraseDialog do
66
- it 'should work'
67
- end
68
-
69
- describe Alexandria::UI::ExportDialog do
70
- it 'should work'
71
- end
72
-
73
- describe Alexandria::UI::BookPropertiesDialog do
74
- it 'should work'
75
- end
76
-
77
- describe Alexandria::UI::BadIsbnsDialog do
78
- it 'should work'
79
- end
80
-
81
- describe Alexandria::UI::AlertDialog do
82
- it 'should work'
83
- end
84
-
85
- describe Alexandria::UI::AcquireDialog do
86
- it 'should work' do
87
- parent = Gtk::Window.new :toplevel
88
- Alexandria::UI::AcquireDialog.new parent
89
- end
90
- end
91
-
92
- describe Alexandria::UI::AboutDialog do
93
- it 'should work'
94
- end
@@ -1,27 +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::SidePaneManager do
22
- it 'should work' do
23
- library_listview = double(Gtk::TreeView).as_null_object
24
- parent = double(Object, main_app: nil, append_library: nil)
25
- Alexandria::UI::SidePaneManager.new library_listview, parent
26
- end
27
- end
@@ -1,60 +0,0 @@
1
- # Copyright (C) 2007 Joseph Method
2
- # Copyright (C) 2011, 2014-2016 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
- # from completion_models
22
- describe Gtk::Entry do
23
- it 'should extend Gtk::Entry'
24
- end
25
-
26
- describe Alexandria::UI::CompletionModels do
27
- it 'should work'
28
- end
29
-
30
- # from glade_base
31
-
32
- describe Alexandria::UI::BuilderBase do
33
- it 'should be revisited'
34
- end
35
-
36
- # from icons
37
-
38
- describe GdkPixbuf::Pixbuf do
39
- it 'should extend GdkPixbuf::PixBuf'
40
- end
41
-
42
- describe Alexandria::UI::Icons do
43
- it 'should aid identification'
44
- end
45
-
46
- # from libraries_combo
47
-
48
- describe Gtk::ComboBox do
49
- it 'should extend Gtk::ComboBox'
50
- end
51
-
52
- # from multi_drag_treeview
53
-
54
- describe Gdk::Event do
55
- it 'should extend Gdk::Event'
56
- end
57
-
58
- describe Gtk::TreeView do
59
- it 'should extend Gtk::TreeView'
60
- end
@@ -1,50 +0,0 @@
1
- # Copyright (C) 2007 Joseph Method
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., 51 Franklin Street,
16
- # Fifth Floor, Boston, MA 02110-1301 USA.
17
-
18
- require File.dirname(__FILE__) + '/../spec_helper'
19
-
20
- describe Alexandria::ExecutionQueue do
21
- it "should not have so many u's and e's"
22
- end
23
-
24
- describe Alexandria::ExportFormat do
25
- it 'should justify its existence'
26
- end
27
-
28
- describe Alexandria::ImportFilter do
29
- it "should justify its 'importance'"
30
- end
31
-
32
- describe Alexandria::Logger do
33
- it 'should fulfill its function'
34
- end
35
-
36
- describe Alexandria::UndoManager do
37
- it 'should make right what is wrong'
38
- end
39
-
40
- describe Time do
41
- it "should clarify what it's doing"
42
- end
43
-
44
- describe String do
45
- it 'should do what it does'
46
- end
47
-
48
- describe Alexandria::WebTheme do
49
- it 'should be themeable'
50
- end
@@ -1,4 +0,0 @@
1
- desc 'run dogtail integration tests'
2
- task :dogtail do
3
- `RUBYOPT='-rbundler/setup -Ilib' python dogtail/*.py`
4
- end