enju_ndl 0.2.0.beta.2 → 0.2.0.beta.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (92) hide show
  1. checksums.yaml +4 -4
  2. data/lib/enju_ndl/ndl_search.rb +9 -2
  3. data/lib/enju_ndl/version.rb +1 -1
  4. data/spec/cassette_library/NdlBook/import/should_import_even_with_invalid_url.yml +174 -0
  5. data/spec/controllers/ndl_books_controller_spec.rb +1 -1
  6. data/spec/dummy/app/models/user.rb +2 -0
  7. data/spec/dummy/db/migrate/059_create_libraries.rb +7 -9
  8. data/spec/dummy/db/migrate/069_create_shelves.rb +3 -4
  9. data/spec/dummy/db/migrate/080_create_library_groups.rb +2 -3
  10. data/spec/dummy/db/migrate/120_create_baskets.rb +2 -3
  11. data/spec/dummy/db/migrate/20081006090811_create_subscriptions.rb +4 -7
  12. data/spec/dummy/db/migrate/20081006093246_create_subscribes.rb +4 -5
  13. data/spec/dummy/db/migrate/20120319173203_create_accepts.rb +3 -6
  14. data/spec/dummy/db/migrate/20140110122216_create_user_import_files.rb +1 -1
  15. data/spec/dummy/db/migrate/20140110131010_create_user_import_results.rb +2 -2
  16. data/spec/dummy/db/migrate/20140524074813_create_user_import_file_transitions.rb +1 -2
  17. data/spec/dummy/db/migrate/20140709113413_create_user_export_files.rb +1 -1
  18. data/spec/dummy/db/migrate/20140709113905_create_user_export_file_transitions.rb +1 -1
  19. data/spec/dummy/db/migrate/20140720170714_add_default_library_id_to_user_import_file.rb +1 -1
  20. data/spec/dummy/db/migrate/20140720170735_add_default_user_group_id_to_user_import_file.rb +1 -1
  21. data/spec/dummy/db/migrate/20140821151023_create_colors.rb +1 -3
  22. data/spec/dummy/db/migrate/20150924115059_create_withdraws.rb +3 -5
  23. data/spec/dummy/db/migrate/20151213070943_add_translation_table_to_library_group.rb +19 -6
  24. data/spec/dummy/db/migrate/20151213072705_add_footer_banner_to_library_group.rb +15 -2
  25. data/spec/dummy/db/migrate/20160703185015_add_most_recent_to_message_transitions.rb +9 -0
  26. data/spec/dummy/db/migrate/20160813191647_add_max_number_of_results_to_library_group.rb +5 -0
  27. data/spec/dummy/db/migrate/20160813191733_add_family_name_first_to_library_group.rb +5 -0
  28. data/spec/dummy/db/migrate/20160813192542_add_pub_year_facet_range_interval_to_library_group.rb +5 -0
  29. data/spec/dummy/db/migrate/20160813203039_add_user_id_to_library_group.rb +5 -0
  30. data/spec/dummy/db/migrate/20160814165332_add_most_recent_to_message_request_transitions.rb +9 -0
  31. data/spec/dummy/db/schema.rb +26 -10
  32. data/spec/dummy/db/test.sqlite3 +0 -0
  33. data/spec/dummy/solr/conf/admin-extra.html +31 -0
  34. data/spec/dummy/solr/conf/elevate.xml +36 -0
  35. data/spec/dummy/solr/conf/mapping-ISOLatin1Accent.txt +246 -0
  36. data/spec/dummy/solr/conf/protwords.txt +21 -0
  37. data/spec/dummy/solr/conf/schema.xml +275 -0
  38. data/spec/dummy/solr/conf/scripts.conf +24 -0
  39. data/spec/dummy/solr/conf/solrconfig.xml +680 -0
  40. data/spec/dummy/solr/conf/spellings.txt +2 -0
  41. data/spec/dummy/solr/conf/stopwords.txt +58 -0
  42. data/spec/dummy/solr/conf/synonyms.txt +31 -0
  43. data/spec/dummy/solr/default/data/index/_1j.fdt +0 -0
  44. data/spec/dummy/solr/default/data/index/_1j.fdx +0 -0
  45. data/spec/dummy/solr/default/data/index/_1j.fnm +0 -0
  46. data/spec/dummy/solr/default/data/index/_1j.nvd +0 -0
  47. data/spec/dummy/solr/default/data/index/_1j.nvm +0 -0
  48. data/spec/dummy/solr/default/data/index/_1j.si +0 -0
  49. data/spec/dummy/solr/default/data/index/_1j_2.del +0 -0
  50. data/spec/dummy/solr/default/data/index/_1j_Lucene41_0.doc +0 -0
  51. data/spec/dummy/solr/default/data/index/_1j_Lucene41_0.pos +0 -0
  52. data/spec/dummy/solr/default/data/index/_1j_Lucene41_0.tim +0 -0
  53. data/spec/dummy/solr/default/data/index/_1j_Lucene41_0.tip +0 -0
  54. data/spec/dummy/solr/default/data/index/_1l.fdt +0 -0
  55. data/spec/dummy/solr/default/data/index/_1l.fdx +0 -0
  56. data/spec/dummy/solr/default/data/index/_1l.fnm +0 -0
  57. data/spec/dummy/solr/default/data/index/_1l.nvd +0 -0
  58. data/spec/dummy/solr/default/data/index/_1l.nvm +0 -0
  59. data/spec/dummy/solr/default/data/index/_1l.si +0 -0
  60. data/spec/dummy/solr/default/data/index/_1l_1.del +0 -0
  61. data/spec/dummy/solr/default/data/index/_1l_Lucene41_0.doc +0 -0
  62. data/spec/dummy/solr/default/data/index/_1l_Lucene41_0.pos +0 -0
  63. data/spec/dummy/solr/default/data/index/_1l_Lucene41_0.tim +0 -0
  64. data/spec/dummy/solr/default/data/index/_1l_Lucene41_0.tip +0 -0
  65. data/spec/dummy/solr/default/data/index/segments.gen +0 -0
  66. data/spec/dummy/solr/default/data/index/segments_29 +0 -0
  67. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000000068 +0 -0
  68. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000000070 +0 -0
  69. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000000072 +0 -0
  70. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000000073 +0 -0
  71. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000000074 +0 -0
  72. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000000075 +0 -0
  73. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000000076 +0 -0
  74. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000000077 +0 -0
  75. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000000078 +0 -0
  76. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000000079 +0 -0
  77. data/spec/dummy/solr/development/data/index/segments.gen +0 -0
  78. data/spec/dummy/solr/development/data/index/segments_1 +0 -0
  79. data/spec/dummy/solr/solr.xml +8 -0
  80. data/spec/dummy/solr/test/data/index/segments.gen +0 -0
  81. data/spec/dummy/solr/test/data/index/segments_1 +0 -0
  82. data/spec/fixtures/library_groups.yml +1 -1
  83. data/spec/models/import_request_spec.rb +1 -1
  84. data/spec/models/manifestation_spec.rb +1 -1
  85. data/spec/models/ndl_book_spec.rb +11 -1
  86. data/spec/models/question_spec.rb +1 -1
  87. data/spec/rails_helper.rb +61 -0
  88. data/spec/requests/ndl_books_spec.rb +1 -1
  89. data/spec/spec_helper.rb +83 -52
  90. metadata +415 -303
  91. data/spec/dummy/config/initializers/enju_leaf.rb +0 -1
  92. data/spec/dummy/db/migrate/20160813130535_add_email_to_library_group.rb +0 -5
@@ -1 +0,0 @@
1
- Manifestation.include(EnjuSubject::EnjuManifestation)
@@ -1,5 +0,0 @@
1
- class AddEmailToLibraryGroup < ActiveRecord::Migration
2
- def change
3
- add_column :library_groups, :email, :string
4
- end
5
- end