enju_flower 0.1.0.pre20 → 0.1.0.pre21

Sign up to get free protection for your applications and to get access to all the features.
Files changed (134) hide show
  1. checksums.yaml +4 -4
  2. data/README.rdoc +3 -0
  3. data/app/views/manifestations/_index_form_series_statement.html.erb +1 -1
  4. data/app/views/manifestations/_manifestation.html.erb +4 -1
  5. data/app/views/manifestations/_show_detail_librarian.html.erb +3 -1
  6. data/app/views/manifestations/_show_holding.html.erb +5 -0
  7. data/app/views/manifestations/index.html.erb +7 -2
  8. data/app/views/manifestations/index.mobile.erb +1 -1
  9. data/app/views/manifestations/index.rdf.builder +1 -1
  10. data/app/views/manifestations/index.rss.builder +3 -3
  11. data/app/views/manifestations/index.sru.builder +1 -1
  12. data/app/views/manifestations/show.html.erb +1 -1
  13. data/app/views/manifestations/show.mobile.erb +1 -1
  14. data/app/views/manifestations/show.mods.builder +1 -1
  15. data/app/views/manifestations/show.rdf.builder +1 -1
  16. data/lib/enju_flower/version.rb +1 -1
  17. data/spec/controllers/manifestations_controller_spec.rb +115 -116
  18. data/spec/dummy/bin/bundle +3 -0
  19. data/spec/dummy/bin/rails +4 -0
  20. data/spec/dummy/bin/rake +4 -0
  21. data/spec/dummy/bin/setup +29 -0
  22. data/spec/dummy/config/application.rb +1 -1
  23. data/spec/dummy/config/database.yml +23 -18
  24. data/spec/dummy/config/environments/test.rb +1 -1
  25. data/spec/dummy/db/migrate/20140518050147_create_reserve_transitions.rb +5 -1
  26. data/spec/dummy/db/migrate/20140519170214_create_resource_import_file_transitions.rb +5 -1
  27. data/spec/dummy/db/migrate/20140519171220_create_import_request_transitions.rb +5 -1
  28. data/spec/dummy/db/migrate/20140524020735_create_agent_import_file_transitions.rb +5 -1
  29. data/spec/dummy/db/migrate/20140524074813_create_user_import_file_transitions.rb +5 -1
  30. data/spec/dummy/db/migrate/20140524135607_create_bookmark_stat_transitions.rb +5 -1
  31. data/spec/dummy/db/migrate/20140528045518_create_user_checkout_stat_transitions.rb +5 -1
  32. data/spec/dummy/db/migrate/20140528045539_create_user_reserve_stat_transitions.rb +5 -1
  33. data/spec/dummy/db/migrate/20140528045600_create_manifestation_checkout_stat_transitions.rb +5 -1
  34. data/spec/dummy/db/migrate/20140528045617_create_manifestation_reserve_stat_transitions.rb +5 -1
  35. data/spec/dummy/db/migrate/20140614141500_create_resource_export_file_transitions.rb +5 -1
  36. data/spec/dummy/db/migrate/20140709113905_create_user_export_file_transitions.rb +5 -1
  37. data/spec/dummy/db/migrate/20141003181336_add_full_name_transcription_to_profile.rb +5 -0
  38. data/spec/dummy/db/migrate/20141003182825_add_date_of_birth_to_profile.rb +5 -0
  39. data/spec/dummy/db/migrate/20141014065831_add_shelf_id_to_checkout.rb +6 -0
  40. data/spec/dummy/db/schema.rb +5 -1
  41. data/spec/factories/agent.rb +1 -1
  42. data/spec/factories/create_types.rb +1 -1
  43. data/spec/factories/item.rb +8 -0
  44. data/spec/factories/produce_types.rb +1 -1
  45. data/spec/factories/realize_types.rb +1 -1
  46. data/spec/factories/series_statement.rb +5 -0
  47. data/spec/fixtures/agent_relationship_types.yml +5 -6
  48. data/spec/fixtures/agent_types.yml +5 -6
  49. data/spec/fixtures/agents.yml +0 -1
  50. data/spec/fixtures/carrier_types.yml +18 -19
  51. data/spec/fixtures/checkout_types.yml +34 -0
  52. data/spec/fixtures/circulation_statuses.yml +136 -0
  53. data/spec/fixtures/content_types.yml +80 -18
  54. data/spec/fixtures/frequencies.yml +34 -51
  55. data/spec/fixtures/identifier_types.yml +9 -3
  56. data/spec/fixtures/identifiers.yml +9 -3
  57. data/spec/fixtures/manifestations.yml +129 -119
  58. data/spec/fixtures/medium_of_performances.yml +4 -5
  59. data/spec/fixtures/profiles.yml +1 -1
  60. data/spec/fixtures/use_restrictions.yml +93 -0
  61. data/spec/fixtures/user_groups.yml +2 -2
  62. data/spec/fixtures/users.yml +4 -1
  63. data/spec/spec_helper.rb +4 -0
  64. data/spec/views/manifestations/index.html.erb_spec.rb +59 -0
  65. metadata +72 -158
  66. data/app/helpers/manifestations_helper.rb +0 -176
  67. data/app/views/manifestations/_submenu_parent.html.erb +0 -8
  68. data/spec/dummy/db/development.sqlite3 +0 -0
  69. data/spec/dummy/db/test.sqlite3 +0 -0
  70. data/spec/dummy/script/rails +0 -6
  71. data/spec/dummy/solr/conf/admin-extra.html +0 -31
  72. data/spec/dummy/solr/conf/elevate.xml +0 -36
  73. data/spec/dummy/solr/conf/mapping-ISOLatin1Accent.txt +0 -246
  74. data/spec/dummy/solr/conf/protwords.txt +0 -21
  75. data/spec/dummy/solr/conf/schema.xml +0 -255
  76. data/spec/dummy/solr/conf/scripts.conf +0 -24
  77. data/spec/dummy/solr/conf/solrconfig.xml +0 -667
  78. data/spec/dummy/solr/conf/spellings.txt +0 -2
  79. data/spec/dummy/solr/conf/stopwords.txt +0 -58
  80. data/spec/dummy/solr/conf/synonyms.txt +0 -31
  81. data/spec/dummy/solr/default/data/index/_d2.fdt +0 -0
  82. data/spec/dummy/solr/default/data/index/_d2.fdx +0 -0
  83. data/spec/dummy/solr/default/data/index/_d2.fnm +0 -0
  84. data/spec/dummy/solr/default/data/index/_d2.nvd +0 -0
  85. data/spec/dummy/solr/default/data/index/_d2.nvm +0 -0
  86. data/spec/dummy/solr/default/data/index/_d2.si +0 -0
  87. data/spec/dummy/solr/default/data/index/_d2_Lucene41_0.doc +0 -0
  88. data/spec/dummy/solr/default/data/index/_d2_Lucene41_0.pos +0 -0
  89. data/spec/dummy/solr/default/data/index/_d2_Lucene41_0.tim +0 -0
  90. data/spec/dummy/solr/default/data/index/_d2_Lucene41_0.tip +0 -0
  91. data/spec/dummy/solr/default/data/index/_d3.fdt +0 -0
  92. data/spec/dummy/solr/default/data/index/_d3.fdx +0 -0
  93. data/spec/dummy/solr/default/data/index/_d3.fnm +0 -0
  94. data/spec/dummy/solr/default/data/index/_d3.nvd +0 -0
  95. data/spec/dummy/solr/default/data/index/_d3.nvm +0 -0
  96. data/spec/dummy/solr/default/data/index/_d3.si +0 -0
  97. data/spec/dummy/solr/default/data/index/_d3_Lucene41_0.doc +0 -0
  98. data/spec/dummy/solr/default/data/index/_d3_Lucene41_0.pos +0 -0
  99. data/spec/dummy/solr/default/data/index/_d3_Lucene41_0.tim +0 -0
  100. data/spec/dummy/solr/default/data/index/_d3_Lucene41_0.tip +0 -0
  101. data/spec/dummy/solr/default/data/index/_d4.fdt +0 -0
  102. data/spec/dummy/solr/default/data/index/_d4.fdx +0 -0
  103. data/spec/dummy/solr/default/data/index/_d4.fnm +0 -0
  104. data/spec/dummy/solr/default/data/index/_d4.nvd +0 -0
  105. data/spec/dummy/solr/default/data/index/_d4.nvm +0 -0
  106. data/spec/dummy/solr/default/data/index/_d4.si +0 -0
  107. data/spec/dummy/solr/default/data/index/_d4_Lucene41_0.doc +0 -0
  108. data/spec/dummy/solr/default/data/index/_d4_Lucene41_0.pos +0 -0
  109. data/spec/dummy/solr/default/data/index/_d4_Lucene41_0.tim +0 -0
  110. data/spec/dummy/solr/default/data/index/_d4_Lucene41_0.tip +0 -0
  111. data/spec/dummy/solr/default/data/index/segments.gen +0 -0
  112. data/spec/dummy/solr/default/data/index/segments_hk +0 -0
  113. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000000628 +0 -0
  114. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000000629 +0 -0
  115. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000000630 +0 -0
  116. data/spec/dummy/solr/development/data/index/segments.gen +0 -0
  117. data/spec/dummy/solr/development/data/index/segments_1 +0 -0
  118. data/spec/dummy/solr/solr.xml +0 -8
  119. data/spec/dummy/solr/test/data/index/segments.gen +0 -0
  120. data/spec/dummy/solr/test/data/index/segments_1 +0 -0
  121. data/spec/dummy/tmp/cache/4F7/F90/default_role +0 -0
  122. data/spec/dummy/tmp/cache/6E4/420/search_engine_all +0 -0
  123. data/spec/dummy/tmp/cache/assets/test/sprockets/006a5adcd278a9c5c9df80a7a2b414e6 +0 -0
  124. data/spec/dummy/tmp/cache/assets/test/sprockets/00a6cf2442f0e06a50f5c5f44d7aff65 +0 -0
  125. data/spec/dummy/tmp/cache/assets/test/sprockets/11f06eac4db4fb45d3bb109e7f97c1c9 +0 -0
  126. data/spec/dummy/tmp/cache/assets/test/sprockets/1f84f73be56154eba5c29f8ef2ac2177 +0 -0
  127. data/spec/dummy/tmp/cache/assets/test/sprockets/5867d1b0ac4e0597324985236c19a68f +0 -0
  128. data/spec/dummy/tmp/cache/assets/test/sprockets/59e554f7bfa724cc56b5d8cb56ef333a +0 -0
  129. data/spec/dummy/tmp/cache/assets/test/sprockets/67565528560062a46655ddd9d226e508 +0 -0
  130. data/spec/dummy/tmp/cache/assets/test/sprockets/6e466646ae89de53fd9397ce2555ca91 +0 -0
  131. data/spec/dummy/tmp/cache/assets/test/sprockets/75a69bb28a2f0aac5401bd0e5f65effc +0 -0
  132. data/spec/dummy/tmp/cache/assets/test/sprockets/bd6a0f9e031203673fda12a83251f03b +0 -0
  133. data/spec/dummy/tmp/cache/assets/test/sprockets/d49e28dc6b072432f42b121b05195488 +0 -0
  134. data/spec/dummy/tmp/cache/assets/test/sprockets/ebc83b1f2325c61a70d933aa7a17df5a +0 -0
@@ -1,2 +0,0 @@
1
- pizza
2
- history
@@ -1,58 +0,0 @@
1
- # Licensed to the Apache Software Foundation (ASF) under one or more
2
- # contributor license agreements. See the NOTICE file distributed with
3
- # this work for additional information regarding copyright ownership.
4
- # The ASF licenses this file to You under the Apache License, Version 2.0
5
- # (the "License"); you may not use this file except in compliance with
6
- # the License. You may obtain a copy of the License at
7
- #
8
- # http://www.apache.org/licenses/LICENSE-2.0
9
- #
10
- # Unless required by applicable law or agreed to in writing, software
11
- # distributed under the License is distributed on an "AS IS" BASIS,
12
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- # See the License for the specific language governing permissions and
14
- # limitations under the License.
15
-
16
- #-----------------------------------------------------------------------
17
- # a couple of test stopwords to test that the words are really being
18
- # configured from this file:
19
- stopworda
20
- stopwordb
21
-
22
- #Standard english stop words taken from Lucene's StopAnalyzer
23
- a
24
- an
25
- and
26
- are
27
- as
28
- at
29
- be
30
- but
31
- by
32
- for
33
- if
34
- in
35
- into
36
- is
37
- it
38
- no
39
- not
40
- of
41
- on
42
- or
43
- s
44
- such
45
- t
46
- that
47
- the
48
- their
49
- then
50
- there
51
- these
52
- they
53
- this
54
- to
55
- was
56
- will
57
- with
58
-
@@ -1,31 +0,0 @@
1
- # The ASF licenses this file to You under the Apache License, Version 2.0
2
- # (the "License"); you may not use this file except in compliance with
3
- # the License. You may obtain a copy of the License at
4
- #
5
- # http://www.apache.org/licenses/LICENSE-2.0
6
- #
7
- # Unless required by applicable law or agreed to in writing, software
8
- # distributed under the License is distributed on an "AS IS" BASIS,
9
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10
- # See the License for the specific language governing permissions and
11
- # limitations under the License.
12
-
13
- #-----------------------------------------------------------------------
14
- #some test synonym mappings unlikely to appear in real input text
15
- aaa => aaaa
16
- bbb => bbbb1 bbbb2
17
- ccc => cccc1,cccc2
18
- a\=>a => b\=>b
19
- a\,a => b\,b
20
- fooaaa,baraaa,bazaaa
21
-
22
- # Some synonym groups specific to this example
23
- GB,gib,gigabyte,gigabytes
24
- MB,mib,megabyte,megabytes
25
- Television, Televisions, TV, TVs
26
- #notice we use "gib" instead of "GiB" so any WordDelimiterFilter coming
27
- #after us won't split it into two words.
28
-
29
- # Synonym mappings can be used for spelling correction too
30
- pixima => pixma
31
-
@@ -1,8 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8" ?>
2
- <solr persistent="false">
3
- <cores adminPath="/admin/cores" host="${host:}" hostPort="${jetty.port:}">
4
- <core name="default" instanceDir="." dataDir="default/data"/>
5
- <core name="development" instanceDir="." dataDir="development/data"/>
6
- <core name="test" instanceDir="." dataDir="test/data"/>
7
- </cores>
8
- </solr>