enju_biblio 0.1.0.pre23 → 0.1.0.pre24

Sign up to get free protection for your applications and to get access to all the features.
Files changed (83) hide show
  1. checksums.yaml +4 -4
  2. data/app/models/enju_biblio/ability.rb +13 -9
  3. data/app/views/carrier_types/index.html.erb +2 -2
  4. data/app/views/content_types/index.html.erb +1 -1
  5. data/app/views/create_types/index.html.erb +1 -1
  6. data/app/views/creates/_index.html.erb +1 -1
  7. data/app/views/creates/_index_patron.html.erb +2 -2
  8. data/app/views/creates/_index_work.html.erb +1 -1
  9. data/app/views/donates/index.html.erb +1 -1
  10. data/app/views/exemplifies/index.html.erb +1 -1
  11. data/app/views/extents/index.html.erb +1 -1
  12. data/app/views/form_of_works/index.html.erb +1 -1
  13. data/app/views/frequencies/index.html.erb +1 -1
  14. data/app/views/import_requests/index.html.erb +1 -1
  15. data/app/views/items/edit.html.erb +1 -1
  16. data/app/views/items/index.mobile.erb +1 -1
  17. data/app/views/items/show.html.erb +1 -1
  18. data/app/views/licenses/index.html.erb +1 -1
  19. data/app/views/manifestation_relationship_types/index.html.erb +1 -1
  20. data/app/views/manifestations/edit.html.erb +1 -1
  21. data/app/views/manifestations/show.html.erb +1 -1
  22. data/app/views/medium_of_performances/index.html.erb +1 -1
  23. data/app/views/owns/index.html.erb +1 -1
  24. data/app/views/patron_relationship_types/index.html.erb +1 -1
  25. data/app/views/patron_types/index.html.erb +1 -1
  26. data/app/views/patrons/_index_expression.html.erb +1 -1
  27. data/app/views/patrons/_index_manifestation.html.erb +1 -1
  28. data/app/views/patrons/_index_patron.html.erb +2 -2
  29. data/app/views/patrons/_index_patron_merge_list.html.erb +1 -1
  30. data/app/views/patrons/_index_work.html.erb +1 -1
  31. data/app/views/patrons/_patron.html.erb +1 -1
  32. data/app/views/patrons/edit.html.erb +1 -1
  33. data/app/views/patrons/show.html.erb +2 -2
  34. data/app/views/patrons/show.mobile.erb +1 -1
  35. data/app/views/picture_files/_index.html.erb +1 -1
  36. data/app/views/picture_files/_index_event.html.erb +1 -1
  37. data/app/views/picture_files/_index_manifestation.html.erb +1 -1
  38. data/app/views/picture_files/_index_patron.html.erb +1 -1
  39. data/app/views/picture_files/_index_shelf.html.erb +1 -1
  40. data/app/views/produce_types/index.html.erb +1 -1
  41. data/app/views/produces/_index.html.erb +1 -1
  42. data/app/views/produces/_index_manifestation.html.erb +1 -1
  43. data/app/views/produces/_index_patron.html.erb +1 -1
  44. data/app/views/realize_types/index.html.erb +1 -1
  45. data/app/views/realizes/_index.html.erb +1 -1
  46. data/app/views/realizes/_index_expression.html.erb +1 -1
  47. data/app/views/realizes/_index_patron.html.erb +1 -1
  48. data/app/views/series_statements/_index.html.erb +1 -1
  49. data/app/views/series_statements/_index_series_statement_merge_list.html.erb +1 -1
  50. data/lib/enju_biblio/version.rb +1 -1
  51. data/spec/dummy/app/models/ability.rb +13 -8
  52. data/spec/dummy/db/test.sqlite3 +0 -0
  53. data/spec/dummy/solr/data/test/index/_2fh.fdt +0 -0
  54. data/spec/dummy/solr/data/test/index/_2fh.fdx +0 -0
  55. data/spec/dummy/solr/data/test/index/_2fh.fnm +7 -0
  56. data/spec/dummy/solr/data/test/index/_2fh.frq +0 -0
  57. data/spec/dummy/solr/data/test/index/_2fh.nrm +1 -0
  58. data/spec/dummy/solr/data/test/index/_2fh.prx +0 -0
  59. data/spec/dummy/solr/data/test/index/_2fh.tii +0 -0
  60. data/spec/dummy/solr/data/test/index/_2fh.tis +0 -0
  61. data/spec/dummy/solr/data/test/index/_2fi.fdt +0 -0
  62. data/spec/dummy/solr/data/test/index/_2fi.fdx +0 -0
  63. data/spec/dummy/solr/data/test/index/_2fi.fnm +7 -0
  64. data/spec/dummy/solr/data/test/index/_2fi.frq +0 -0
  65. data/spec/dummy/solr/data/test/index/_2fi.nrm +1 -0
  66. data/spec/dummy/solr/data/test/index/_2fi.prx +0 -0
  67. data/spec/dummy/solr/data/test/index/_2fi.tii +0 -0
  68. data/spec/dummy/solr/data/test/index/_2fi.tis +0 -0
  69. data/spec/dummy/solr/data/test/index/_2fj.fdt +0 -0
  70. data/spec/dummy/solr/data/test/index/_2fj.fdx +0 -0
  71. data/spec/dummy/solr/data/test/index/_2fj.fnm +8 -0
  72. data/spec/dummy/solr/data/test/index/_2fj.frq +0 -0
  73. data/spec/dummy/solr/data/test/index/_2fj.nrm +1 -0
  74. data/spec/dummy/solr/data/test/index/_2fj.prx +0 -0
  75. data/spec/dummy/solr/data/test/index/_2fj.tii +0 -0
  76. data/spec/dummy/solr/data/test/index/_2fj.tis +0 -0
  77. data/spec/dummy/solr/data/test/index/segments.gen +0 -0
  78. data/spec/dummy/solr/data/test/index/segments_3hm +0 -0
  79. data/spec/dummy/tmp/cache/4F7/F90/default_role +0 -0
  80. data/spec/dummy/tmp/cache/6E4/420/search_engine_all +0 -0
  81. data/spec/dummy/tmp/cache/ACB/B20/manifestation_search_total +2 -0
  82. metadata +57 -7
  83. data/spec/dummy/solr/data/test/index/segments_36o +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 851b384f2c1744c595dfcbb4fd82bb8cd4d00576
4
- data.tar.gz: 6bb9b6d4286ebff9e25fcd3afde173539ee3f713
3
+ metadata.gz: 9c7e8c426db79659c9a4c685afc0ca3181ed949a
4
+ data.tar.gz: 1ba4bdfcc16a10619c3e97b89dd333177c804531
5
5
  SHA512:
6
- metadata.gz: 4b6158f5e071dae93770850c337a636a6afdd32bcdc1104ce3fefc1c99cc98824ba6947e98ae6b4c3dc754dbf57b8073caa6b7f735a59bf2faab61f2fde29162
7
- data.tar.gz: 52d1c943f40c811ad864a93981066d737e325f2cdd5576210aefa8e33102a2ed13f057451fba42f177ed0752119275909e038becbc436be01578dab1419a5567
6
+ metadata.gz: 27b1ae7e5f792cbdfe8efdd41fb45398a732460cda2ecb7f7c3d43e03d275a0e40b88d6534d9388badd4d363cda5f9ddb75fb98f861cfda19ae6144d3945e104
7
+ data.tar.gz: 0e4a32e06c0e4127fa7f1d5177b7ba5326e3fc486ad5f701c257e26122a22e66e52cbe54a41aed4e4b4316743f53e67e7be6d3d8030da4692a35b0efbcc9c1a8
@@ -6,15 +6,15 @@ module EnjuBiblio
6
6
  case user.try(:role).try(:name)
7
7
  when 'Administrator'
8
8
  can [:read, :create, :update], CarrierType
9
- can :destroy, CarrierType do |carrier_type|
9
+ can [:destroy, :delete], CarrierType do |carrier_type|
10
10
  true unless carrier_type.manifestations.exists?
11
11
  end if LibraryGroup.site_config.network_access_allowed?(ip_address)
12
12
  can [:read, :create, :update], Item
13
- can :destroy, Item do |item|
13
+ can [:destroy, :delete], Item do |item|
14
14
  item.deletable?
15
15
  end
16
16
  can [:read, :create, :update], Manifestation
17
- can :destroy, Manifestation do |manifestation|
17
+ can [:destroy, :delete], Manifestation do |manifestation|
18
18
  manifestation.items.empty? and !manifestation.periodical_master?
19
19
  end
20
20
  can :manage, [
@@ -41,7 +41,6 @@ module EnjuBiblio
41
41
  SeriesHasManifestation
42
42
  ]
43
43
  can :update, [
44
- CarrierType,
45
44
  ContentType,
46
45
  Country,
47
46
  Extent,
@@ -72,15 +71,16 @@ module EnjuBiblio
72
71
  ]
73
72
  when 'Librarian'
74
73
  can :manage, Item
75
- can [:read, :create, :update], Manifestation
76
- can :destroy, Manifestation do |manifestation|
74
+ can :index, Manifestation
75
+ can [:show, :create, :update], Manifestation
76
+ can [:destroy, :delete], Manifestation do |manifestation|
77
77
  manifestation.items.empty? and !manifestation.periodical_master?
78
78
  end
79
79
  can [:index, :create], Patron
80
80
  can :show, Patron do |patron|
81
81
  patron.required_role_id <= 3
82
82
  end
83
- can [:update, :destroy], Patron do |patron|
83
+ can [:update, :destroy, :delete], Patron do |patron|
84
84
  !patron.user.try(:has_role?, 'Librarian') and patron.required_role_id <= 3
85
85
  end
86
86
  can :manage, [
@@ -123,7 +123,8 @@ module EnjuBiblio
123
123
  can :show, Item do |item|
124
124
  item.required_role_id <= 2
125
125
  end
126
- can [:read, :edit], Manifestation do |manifestation|
126
+ can :index, Manifestation
127
+ can [:show, :edit], Manifestation do |manifestation|
127
128
  manifestation.required_role_id <= 2
128
129
  end
129
130
  can :index, Patron
@@ -168,6 +169,10 @@ module EnjuBiblio
168
169
  SeriesHasManifestation
169
170
  ]
170
171
  else
172
+ can :index, Manifestation
173
+ can :show, Manifestation do |manifestation|
174
+ manifestation.required_role_id == 1
175
+ end
171
176
  can :index, Patron
172
177
  can :show, Patron do |patron|
173
178
  patron.required_role_id == 1 #name == 'Guest'
@@ -184,7 +189,6 @@ module EnjuBiblio
184
189
  Item,
185
190
  Language,
186
191
  License,
187
- Manifestation,
188
192
  ManifestationRelationship,
189
193
  ManifestationRelationshipType,
190
194
  MediumOfPerformance,
@@ -14,7 +14,7 @@
14
14
  <%- @carrier_types.each do |carrier_type| -%>
15
15
  <tr class="line<%= cycle("0", "1") -%>">
16
16
  <td>
17
- <%- if can? :destroy, carrier_type -%>
17
+ <%- if can? :delete, carrier_type -%>
18
18
  <%= move_position(carrier_type) -%>
19
19
  <%- end -%>
20
20
  </td>
@@ -25,7 +25,7 @@
25
25
  <%- if can? :update, carrier_type -%>
26
26
  <%= link_to t('page.edit'), edit_carrier_type_path(carrier_type) -%>
27
27
  <% end %>
28
- <%- if can? :destroy, carrier_type -%>
28
+ <%- if can? :delete, carrier_type -%>
29
29
  <%= link_to t('page.destroy'), carrier_type_path(carrier_type), :data => {:confirm => t('page.are_you_sure')}, :method => :delete -%>
30
30
  <%- end -%>
31
31
  </td>
@@ -25,7 +25,7 @@
25
25
  <%- if can? :update, content_type -%>
26
26
  <%= link_to t('page.edit'), edit_content_type_path(content_type) -%>
27
27
  <% end %>
28
- <%- if can? :destroy, content_type -%>
28
+ <%- if can? :delete, content_type -%>
29
29
  <%= link_to t('page.destroy'), content_type_path(content_type), :data => {:confirm => t('page.are_you_sure')}, :method => :delete -%>
30
30
  <%- end -%>
31
31
  </td>
@@ -25,7 +25,7 @@
25
25
  <%- if can? :update, create_type -%>
26
26
  <%= link_to t('page.edit'), edit_create_type_path(create_type) -%>
27
27
  <% end %>
28
- <%- if can? :destroy, create_type -%>
28
+ <%- if can? :delete, create_type -%>
29
29
  <%= link_to t('page.destroy'), create_type, :data => {:confirm => t('page.are_you_sure')}, :method => :delete -%>
30
30
  <% end %>
31
31
  </td>
@@ -14,7 +14,7 @@
14
14
  <td><%= link_to create.patron.full_name, create.patron -%></td>
15
15
  <td><%= link_to create.work.original_title, create.work -%></td>
16
16
  <td>
17
- <%- if can? :destroy, create -%>
17
+ <%- if can? :delete, create -%>
18
18
  <%= link_to t('page.show'), create -%>
19
19
  <%= link_to t('page.destroy'), create, :data => {:confirm => t('page.are_you_sure')}, :method => :delete -%>
20
20
  <%- end -%>
@@ -17,7 +17,7 @@
17
17
  <%- @creates.each do |create| -%>
18
18
  <tr class="line<%= cycle("0", "1") -%>">
19
19
  <td>
20
- <%- if can? :destroy, create -%>
20
+ <%- if can? :delete, create -%>
21
21
  <%= create.first? ? image_tag('icons/stop.png', :size => '16x16') : link_to(image_tag('icons/arrow_up.png', :size => '16x16', :alt => t('page.asc')), {:action => 'update', :move => 'higher', :id => create.id, :patron_id => patron.id}, :method => :put) -%>
22
22
  <%= create.last? ? image_tag('icons/stop.png', :size => '16x16') : link_to(image_tag('icons/arrow_down.png', :size => '16x16', :alt => t('page.desc')), {:action => 'update', :move => 'lower', :id => create.id, :patron_id => patron.id}, :method => :put) -%>
23
23
  <%- end -%>
@@ -26,7 +26,7 @@
26
26
  <td><%= l(create.created_at) -%></td>
27
27
  <td><%= l(create.updated_at) -%></td>
28
28
  <td>
29
- <%- if can? :destroy, create -%>
29
+ <%- if can? :delete, create -%>
30
30
  <%= link_to t('page.show'), patron_create_path(patron, create) -%>
31
31
  <%= link_to t('page.destroy'), patron_create_path(patron, create), :data => {:confirm => t('page.are_you_sure')}, :method => :delete -%>
32
32
  <%- end -%>
@@ -16,7 +16,7 @@
16
16
  <%- @creates.each do |create| -%>
17
17
  <tr class="line<%= cycle("0", "1") -%>">
18
18
  <td>
19
- <%- if can? :destroy, create -%>
19
+ <%- if can? :delete, create -%>
20
20
  <%= create.first? ? image_tag('icons/stop.png') : link_to(image_tag('icons/arrow_up.png', :size => '16x16', :alt => t('page.asc')), work_create_path(create.work, create, :move => 'higher'), :method => :put) -%>
21
21
  <%= create.last? ? image_tag('icons/stop.png') : link_to(image_tag('icons/arrow_down.png', :size => '16x16', :alt => t('page.desc')), work_create_path(create.work, create, :move => 'lower'), :method => :put) -%>
22
22
  <%- end-%>
@@ -22,7 +22,7 @@
22
22
  </td>
23
23
  <td><%= link_to t('page.show'), donate -%></td>
24
24
  <td>
25
- <%- if can? :destroy, donate -%>
25
+ <%- if can? :delete, donate -%>
26
26
  <%= link_to t('page.edit'), edit_donate_path(donate) -%>
27
27
  <%= link_to t('page.destroy'), donate, :data => {:confirm => t('page.are_you_sure')}, :method => :delete -%>
28
28
  <%- end -%>
@@ -15,7 +15,7 @@
15
15
  <tr class="line<%= cycle("0", "1") -%>">
16
16
  <td><%= link_to exemplify.manifestation.original_title, exemplify.manifestation -%></td>
17
17
  <td><%= link_to exemplify.item.item_identifier, exemplify.item -%></td>
18
- <%- if can? :destroy, exemplify -%>
18
+ <%- if can? :delete, exemplify -%>
19
19
  <td>
20
20
  <%= link_to t('page.show'), exemplify -%>
21
21
  <%= link_to t('page.destroy'), exemplify, :data => {:confirm => t('page.are_you_sure')}, :method => :delete -%>
@@ -28,7 +28,7 @@
28
28
  <%- if can? :update, extent -%>
29
29
  <%= link_to t('page.edit'), edit_extent_path(extent) -%>
30
30
  <% end %>
31
- <%- if can? :destroy, extent -%>
31
+ <%- if can? :delete, extent -%>
32
32
  <%= link_to t('page.destroy'), extent, :data => {:confirm => t('page.are_you_sure')}, :method => :delete -%>
33
33
  <%- end -%>
34
34
  </td>
@@ -25,7 +25,7 @@
25
25
  <%- if can? :update, form_of_work -%>
26
26
  <%= link_to t('page.edit'), edit_form_of_work_path(form_of_work) -%>
27
27
  <% end %>
28
- <%- if can? :destroy, form_of_work -%>
28
+ <%- if can? :delete, form_of_work -%>
29
29
  <%= link_to t('page.destroy'), form_of_work, :data => {:confirm => t('page.are_you_sure')}, :method => :delete -%>
30
30
  <%- end -%>
31
31
  </td>
@@ -23,7 +23,7 @@
23
23
  <%- if can? :update, frequency -%>
24
24
  <%= link_to t('page.edit'), edit_frequency_path(frequency) -%>
25
25
  <% end %>
26
- <%- if can? :destroy, frequency -%>
26
+ <%- if can? :delete, frequency -%>
27
27
  <%= link_to t('page.destroy'), frequency, :data => {:confirm => t('page.are_you_sure')}, :method => :delete -%>
28
28
  <%- end -%>
29
29
  </td>
@@ -22,7 +22,7 @@
22
22
  <td><%= localized_state(import_request.state) -%></td>
23
23
  <td><%= link_to import_request.manifestation.original_title, import_request.manifestation if import_request.manifestation -%></td>
24
24
  <td>
25
- <%- if can? :destroy, import_request -%>
25
+ <%- if can? :delete, import_request -%>
26
26
  <%= link_to image_tag('icons/delete.png', :size => '16x16', :alt => t('page.destroy')), import_request, :data => {:confirm => t('page.are_you_sure')}, :method => :delete -%>
27
27
  <%- end -%>
28
28
  </td>
@@ -10,7 +10,7 @@
10
10
  <%= render 'manifestations/book_jacket', :manifestation => @item.manifestation -%>
11
11
  <ul>
12
12
  <li><%= link_to t('page.show'), @item -%></li>
13
- <% if can? :destroy, @item %>
13
+ <% if can? :delete, @item %>
14
14
  <li><%= link_to t('page.destroy'), @item, :data => {:confirm => t('page.are_you_sure')}, :method => :delete -%></li>
15
15
  <% end %>
16
16
  <li><%= link_to t('page.back'), manifestation_items_path(@item.manifestation) -%></li>
@@ -41,7 +41,7 @@
41
41
  <td><%= link_to item.shelf.library.display_name.localize, item.shelf.library -%></td>
42
42
  <td><%= link_to item.shelf_display_name.localize, item.shelf -%></td>
43
43
  <td><%= item.circulation_status.display_name.localize -%></td>
44
- <%- if can? :destroy, item -%>
44
+ <%- if can? :delete, item -%>
45
45
  <td><%= link_to t('page.edit'), edit_item_path(item) -%></td>
46
46
  <%- end -%>
47
47
  </tr>
@@ -141,7 +141,7 @@
141
141
  <% if defined?(EnjuInterLibraryLoan) %>
142
142
  <li><%= link_to t('page.listing', :model => t('activerecord.models.inter_library_loan')), item_inter_library_loans_path(@item) -%></li>
143
143
  <% end %>
144
- <% if can? :destroy, @item %>
144
+ <% if can? :delete, @item %>
145
145
  <li><%= link_to t('page.destroy'), @item, :data => {:confirm => t('page.are_you_sure')}, :method => :delete -%></li>
146
146
  <% end %>
147
147
  <% if defined?(EnjuInterLibraryLoan) %>
@@ -27,7 +27,7 @@
27
27
  <%- if can? :update, license -%>
28
28
  <%= link_to t('page.edit'), edit_license_path(license) -%>
29
29
  <% end %>
30
- <%- if can? :destroy, license -%>
30
+ <%- if can? :delete, license -%>
31
31
  <%= link_to t('page.destroy'), license, :data => {:confirm => t('page.are_you_sure')}, :method => :delete -%>
32
32
  <%- end -%>
33
33
  </td>
@@ -25,7 +25,7 @@
25
25
  <%- if can? :update, manifestation_relationship_type -%>
26
26
  <%= link_to t('page.edit'), edit_manifestation_relationship_type_path(manifestation_relationship_type) -%>
27
27
  <% end %>
28
- <%- if can? :destroy, manifestation_relationship_type -%>
28
+ <%- if can? :delete, manifestation_relationship_type -%>
29
29
  <%= link_to t('page.destroy'), manifestation_relationship_type, :data => {:confirm => t('page.are_you_sure')}, :method => :delete -%>
30
30
  <% end %>
31
31
  </td>
@@ -9,7 +9,7 @@
9
9
  <%= render 'manifestations/book_jacket', :manifestation => @manifestation -%>
10
10
  <ul>
11
11
  <li><%= link_to t('page.show'), @manifestation -%></li>
12
- <% if can? :destroy, @manifestation %>
12
+ <% if can? :delete, @manifestation %>
13
13
  <li><%= link_to t('page.destroy'), @manifestation, :data => {:confirm => t('page.are_you_sure')}, :method => :delete -%></li>
14
14
  <% end %>
15
15
  <%- case when @patron -%>
@@ -91,7 +91,7 @@
91
91
  <%- end -%>
92
92
  </ul>
93
93
  </li>
94
- <% if can? :destroy, @manifestation %>
94
+ <% if can? :delete, @manifestation %>
95
95
  <li><%= link_to t('page.destroy'), @manifestation, :data => {:confirm => t('page.are_you_sure')}, :method => :delete -%></li>
96
96
  <% end %>
97
97
  <li><%= link_to t('manifestation.add_derivation'), manifestation_manifestations_path(@manifestation, :mode => 'add') -%></li>
@@ -25,7 +25,7 @@
25
25
  <%- if can? :update, medium_of_performance -%>
26
26
  <%= link_to t('page.edit'), edit_medium_of_performance_path(medium_of_performance) -%>
27
27
  <% end %>
28
- <%- if can? :destroy, medium_of_performance -%>
28
+ <%- if can? :delete, medium_of_performance -%>
29
29
  <%= link_to t('page.destroy'), medium_of_performance, :data => {:confirm => t('page.are_you_sure')}, :method => :delete -%>
30
30
  <%- end -%>
31
31
  </td>
@@ -24,7 +24,7 @@
24
24
  <%= render 'manifestations/show_index', :manifestation => own.item.manifestation -%>
25
25
  </td>
26
26
  <td>
27
- <%- if can? :destroy, own -%>
27
+ <%- if can? :delete, own -%>
28
28
  <%= link_to t('page.show'), own -%>
29
29
  <%= link_to t('page.destroy'), own, :data => {:confirm => t('page.are_you_sure')}, :method => :delete -%>
30
30
  <%- end -%>
@@ -25,7 +25,7 @@
25
25
  <%- if can? :update, patron_relationship_type -%>
26
26
  <%= link_to t('page.edit'), edit_patron_relationship_type_path(patron_relationship_type) -%>
27
27
  <% end %>
28
- <%- if can? :destroy, patron_relationship_type -%>
28
+ <%- if can? :delete, patron_relationship_type -%>
29
29
  <%= link_to t('page.destroy'), patron_relationship_type, :data => {:confirm => t('page.are_you_sure')}, :method => :delete -%>
30
30
  <% end %>
31
31
  </td>
@@ -25,7 +25,7 @@
25
25
  <%- if can? :update, patron_type -%>
26
26
  <%= link_to t('page.edit'), edit_patron_type_path(patron_type) -%>
27
27
  <% end %>
28
- <%- if can? :destroy, patron_type -%>
28
+ <%- if can? :delete, patron_type -%>
29
29
  <%= link_to t('page.destroy'), patron_type, :data => {:confirm => t('page.are_you_sure')}, :method => :delete -%>
30
30
  <%- end -%>
31
31
  </td>
@@ -33,7 +33,7 @@
33
33
  <td><%= expression.realized(patron).realize_type.display_name.localize if params[:mode] != 'add' and expression.realized(patron).try(:realize_type) -%></td>
34
34
  <td><%= patron.patron_type.display_name.localize -%></td>
35
35
  <td>
36
- <%- if can? :destroy, patron -%>
36
+ <%- if can? :delete, patron -%>
37
37
  <%- if params[:mode] == 'add' -%>
38
38
  <%= link_to t('page.add'), new_expression_realize_path(expression, :patron_id => patron.id) unless expression.contributors.include?(patron) -%>
39
39
  <%- else -%>
@@ -29,7 +29,7 @@
29
29
  <td><%= manifestation.produced(patron).produce_type.display_name.localize if params[:mode] != 'add' and manifestation.produced(patron).try(:produce_type) -%></td>
30
30
  <td><%= patron.patron_type.display_name.localize -%></td>
31
31
  <td>
32
- <%- if can? :destroy, patron -%>
32
+ <%- if can? :delete, patron -%>
33
33
  <%- if params[:mode] == 'add' -%>
34
34
  <%= link_to t('page.add'), new_manifestation_produce_path(manifestation, :patron_id => patron.id) unless manifestation.publishers.include?(patron) -%>
35
35
  <%- else -%>
@@ -39,12 +39,12 @@
39
39
  <td><%= patron.patron_type.display_name.localize -%></td>
40
40
  <td><%=l patron.date_of_birth if patron.date_of_birth -%></td>
41
41
  <td>
42
- <%- if can? :destroy, patron -%>
42
+ <%- if can? :delete, patron -%>
43
43
  <%= link_to t('page.edit'), edit_patron_path(patron) -%>
44
44
  <% end %>
45
45
  </td>
46
46
  <td>
47
- <%- if can? :destroy, patron -%>
47
+ <%- if can? :delete, patron -%>
48
48
  <%- if params[:mode] == "add" -%>
49
49
  <%= link_to t('page.add'), new_patron_patron_relationship_path(patron, :child_id => patron.id) unless patron.derived_patrons.include?(patron) or patron == patron -%>
50
50
  <%- else -%>
@@ -29,7 +29,7 @@
29
29
  <td><%= patron.patron_type.display_name.localize -%></td>
30
30
  <td><%=l patron.date_of_birth if patron.date_of_birth -%></td>
31
31
  <td>
32
- <%- if can? :destroy, patron -%>
32
+ <%- if can? :delete, patron -%>
33
33
  <%- if params[:mode] == 'add' -%>
34
34
  <%= link_to t('page.add'), new_patron_merge_list_patron_merge_path(@patron_merge_list, :patron_id => patron.id) unless @patron_merge_list.patrons.include?(patron) -%>
35
35
  <%- else -%>
@@ -37,7 +37,7 @@
37
37
  <td><%= work.created(patron).create_type.display_name.localize if params[:mode] != 'add' and work.created(patron).try(:create_type) -%></td>
38
38
  <td><%= patron.patron_type.display_name.localize -%></td>
39
39
  <td>
40
- <%- if can? :destroy, patron -%>
40
+ <%- if can? :delete, patron -%>
41
41
  <%- if params[:mode] == 'add' -%>
42
42
  <%= link_to t('page.add'), new_work_create_path(work, :patron_id => patron.id) unless work.creators.include?(patron) -%>
43
43
  <%- else -%>
@@ -5,7 +5,7 @@
5
5
  </td>
6
6
  <td><%= patron.patron_type.display_name.localize -%></td>
7
7
  <td>
8
- <%- if can? :destroy, patron -%>
8
+ <%- if can? :delete, patron -%>
9
9
  <%= link_to image_tag('icons/page_white_edit.png', :size => '16x16', :alt => t('page.edit')), edit_patron_path(patron) -%>
10
10
  <%= link_to image_tag('icons/arrow_divide.png', :size => '16x16', :alt => t('patron.add_derivation')), patron_patrons_path(patron, :mode => 'add') -%>
11
11
  <%- end -%>
@@ -8,7 +8,7 @@
8
8
  <div id="submenu" class="ui-corner-all">
9
9
  <ul>
10
10
  <li><%= link_to t('page.show'), @patron -%></li>
11
- <%- if can? :destroy, @patron -%>
11
+ <%- if can? :delete, @patron -%>
12
12
  <li><%= link_to t('page.destroy'), @patron, :data => {:confirm => t('page.are_you_sure')}, :method => :delete -%></li>
13
13
  <%- end -%>
14
14
  <li><%= link_to t('page.back'), patrons_path -%></li>
@@ -78,7 +78,7 @@
78
78
  <td><strong><%= t('activerecord.models.language') -%>:</strong></td>
79
79
  <td><%= @patron.language.display_name.localize -%></td>
80
80
  </tr>
81
- <%- if can? :destroy, @patron -%>
81
+ <%- if can? :delete, @patron -%>
82
82
  <tr>
83
83
  <td><strong><%= t('activerecord.attributes.patron.zip_code_1') -%>:</strong></td>
84
84
  <td><%= @patron.zip_code_1 -%></td>
@@ -191,7 +191,7 @@
191
191
  <li><%= link_to t('page.edit'), edit_patron_path(@patron) -%></li>
192
192
  <li><%= link_to t('patron.add_derivation'), patron_patrons_path(@patron, :mode => 'add') -%></li>
193
193
  <%- end -%>
194
- <%- if can? :destroy, @patron -%>
194
+ <%- if can? :delete, @patron -%>
195
195
  <li><%= link_to t('page.new', :model => t('activerecord.models.patron')), new_patron_path -%></li>
196
196
  <li><%= link_to t('page.destroy'), @patron, :data => {:confirm => t('page.are_you_sure')}, :method => :delete -%></li>
197
197
  <%- end -%>
@@ -52,7 +52,7 @@
52
52
  <td><strong><%= t('activerecord.models.language') -%>:</strong></td>
53
53
  <td><%= @patron.language.display_name.localize -%></td>
54
54
  </tr>
55
- <%- if can? :destroy, @patron -%>
55
+ <%- if can? :delete, @patron -%>
56
56
  <tr>
57
57
  <td><strong><%= t('activerecord.attributes.patron.zip_code_1') -%>:</strong></td>
58
58
  <td><%= @patron.zip_code_1 -%></td>
@@ -26,7 +26,7 @@
26
26
  <%- if can? :update, picture_file -%>
27
27
  <%= link_to t('page.edit'), edit_picture_file_path(picture_file) -%>
28
28
  <% end %>
29
- <%- if can? :destroy, picture_file -%>
29
+ <%- if can? :delete, picture_file -%>
30
30
  <%= link_to t('page.destroy'), picture_file, :data => {:confirm => t('page.are_you_sure')}, :method => :delete -%>
31
31
  <%- end -%>
32
32
  </td>
@@ -31,7 +31,7 @@
31
31
  <%- if can? :update, picture_file -%>
32
32
  <%= link_to t('page.edit'), edit_picture_file_path(picture_file) -%>
33
33
  <% end %>
34
- <%- if can? :destroy, picture_file -%>
34
+ <%- if can? :delete, picture_file -%>
35
35
  <%= link_to t('page.destroy'), picture_file, :data => {:confirm => t('page.are_you_sure')}, :method => :delete -%>
36
36
  <%- end -%>
37
37
  </td>
@@ -33,7 +33,7 @@
33
33
  <%- if can? :update, picture_file -%>
34
34
  <%= link_to t('page.edit'), edit_picture_file_path(picture_file) -%>
35
35
  <% end %>
36
- <%- if can? :destroy, picture_file -%>
36
+ <%- if can? :delete, picture_file -%>
37
37
  <%= link_to t('page.destroy'), picture_file, :data => {:confirm => t('page.are_you_sure')}, :method => :delete -%>
38
38
  <%- end -%>
39
39
  </td>
@@ -33,7 +33,7 @@
33
33
  <%- if can? :update, picture_file -%>
34
34
  <%= link_to t('page.edit'), edit_picture_file_path(picture_file) -%>
35
35
  <% end %>
36
- <%- if can? :destroy, picture_file -%>
36
+ <%- if can? :delete, picture_file -%>
37
37
  <%= link_to t('page.destroy'), picture_file, :data => {:confirm => t('page.are_you_sure')}, :method => :delete -%>
38
38
  <%- end -%>
39
39
  </td>
@@ -31,7 +31,7 @@
31
31
  <%- if can? :update, picture_file -%>
32
32
  <%= link_to t('page.edit'), edit_picture_file_path(picture_file) -%>
33
33
  <% end %>
34
- <%- if can? :destroy, picture_file -%>
34
+ <%- if can? :delete, picture_file -%>
35
35
  <%= link_to t('page.destroy'), picture_file, :data => {:confirm => t('page.are_you_sure')}, :method => :delete -%>
36
36
  <%- end -%>
37
37
  </td>
@@ -25,7 +25,7 @@
25
25
  <%- if can? :update, produce_type -%>
26
26
  <%= link_to t('page.edit'), edit_produce_type_path(produce_type) -%>
27
27
  <% end %>
28
- <%- if can? :destroy, produce_type -%>
28
+ <%- if can? :delete, produce_type -%>
29
29
  <%= link_to t('page.destroy'), produce_type, :data => {:confirm => t('page.are_you_sure')}, :method => :delete -%>
30
30
  <% end %>
31
31
  </td>
@@ -14,7 +14,7 @@
14
14
  <td><%= link_to produce.patron.full_name, produce.patron -%></td>
15
15
  <td><%= link_to produce.manifestation_original_title, produce.manifestation -%></td>
16
16
  <td>
17
- <%- if can? :destroy, produce -%>
17
+ <%- if can? :delete, produce -%>
18
18
  <%= link_to t('page.show'), produce -%>
19
19
  <%= link_to t('page.destroy'), produce, :data => {:confirm => t('page.are_you_sure')}, :method => :delete -%>
20
20
  <%- end -%>
@@ -16,7 +16,7 @@
16
16
  <%- @produces.each do |produce| -%>
17
17
  <tr class="line<%= cycle("0", "1") -%>">
18
18
  <td>
19
- <%- if can? :destroy, produce -%>
19
+ <%- if can? :delete, produce -%>
20
20
  <%= produce.first? ? image_tag('icons/stop.png', :size => '16x16') : link_to(image_tag('icons/arrow_up.png', :size => '16x16', :alt => t('page.asc')), manifestation_produce_path(produce.manifestation, produce, :move => 'higher'), :method => :put) -%>
21
21
  <%= produce.last? ? image_tag('icons/stop.png', :size => '16x16') : link_to(image_tag('icons/arrow_down.png', :size => '16x16', :alt => t('page.desc')), manifestation_produce_path(produce.manifestation, produce, :move => 'lower'), :method => :put) -%>
22
22
  <%- end -%>
@@ -18,7 +18,7 @@
18
18
  <td><%= l(produce.created_at) -%></td>
19
19
  <td><%= l(produce.updated_at) -%></td>
20
20
  <td>
21
- <%- if can? :destroy, produce -%>
21
+ <%- if can? :delete, produce -%>
22
22
  <%= link_to t('page.destroy'), patron_produce_path(patron, produce), :data => {:confirm => t('page.are_you_sure')}, :method => :delete -%>
23
23
  <%- end -%>
24
24
  </td>
@@ -25,7 +25,7 @@
25
25
  <%- if can? :update, realize_type -%>
26
26
  <%= link_to t('page.edit'), edit_realize_type_path(realize_type) -%>
27
27
  <% end %>
28
- <%- if can? :destroy, realize_type -%>
28
+ <%- if can? :delete, realize_type -%>
29
29
  <%= link_to t('page.destroy'), realize_type, :data => {:confirm => t('page.are_you_sure')}, :method => :delete -%>
30
30
  <% end %>
31
31
  </td>
@@ -14,7 +14,7 @@
14
14
  <td><%= link_to realize.patron.full_name, realize.patron -%></td>
15
15
  <td><%= link_to realize.expression.original_title, realize.expression -%></td>
16
16
  <td>
17
- <%- if can? :destroy, realize -%>
17
+ <%- if can? :delete, realize -%>
18
18
  <%= link_to t('page.show'), realize -%>
19
19
  <%= link_to t('page.destroy'), realize, :data => {:confirm => t('page.are_you_sure')}, :method => :delete -%>
20
20
  <%- end -%>
@@ -16,7 +16,7 @@
16
16
  <%- @realizes.each do |realize| -%>
17
17
  <tr class="line<%= cycle("0", "1") -%>">
18
18
  <td>
19
- <%- if can? :destroy, realize -%>
19
+ <%- if can? :delete, realize -%>
20
20
  <%= realize.first? ? image_tag('icons/stop.png', :size => '16x16') : link_to(image_tag('icons/arrow_up.png', :size => '16x16', :alt => t('page.asc')), expression_realize_path(realize.expression, realize, :move => 'higher'), :method => :put) -%>
21
21
  <%= realize.last? ? image_tag('icons/stop.png', :size => '16x16') : link_to(image_tag('icons/arrow_down.png', :size => '16x16', :alt => t('page.desc')), expression_realize_path(realize.expression, realize, :move => 'lower'), :method => :put) -%>
22
22
  <%- end -%>
@@ -18,7 +18,7 @@
18
18
  <td><%= l(realize.created_at) -%></td>
19
19
  <td><%= l(realize.updated_at) -%></td>
20
20
  <td>
21
- <%- if can? :destroy, realize -%>
21
+ <%- if can? :delete, realize -%>
22
22
  <%= link_to t('page.destroy'), patron_realize_path(patron, realize), :data => {:confirm => t('page.are_you_sure')}, :method => :delete -%>
23
23
  <%- end -%>
24
24
  </td>
@@ -51,7 +51,7 @@
51
51
  </td>
52
52
  <td>
53
53
  <%= link_to t('page.edit'), edit_series_statement_path(series_statement) if can? :update, series_statement -%>
54
- <%= link_to t('page.destroy'), series_statement, :data => {:confirm => t('page.are_you_sure')}, :method => :delete if can? :destroy, series_statement -%>
54
+ <%= link_to t('page.destroy'), series_statement, :data => {:confirm => t('page.are_you_sure')}, :method => :delete if can? :delete, series_statement -%>
55
55
  </td>
56
56
  </tr>
57
57
  <% end %>
@@ -29,7 +29,7 @@
29
29
  <td><%= series_statement.issn -%></td>
30
30
  <td><%= series_statement.series_statement_identifier -%></td>
31
31
  <td>
32
- <%- if can? :destroy, series_statement -%>
32
+ <%- if can? :delete, series_statement -%>
33
33
  <%- if params[:mode] == 'add' -%>
34
34
  <%= link_to t('page.add'), new_series_statement_merge_list_series_statement_merge_path(@series_statement_merge_list, :series_statement_id => series_statement.id) unless @series_statement_merge_list.series_statements.include?(series_statement) -%>
35
35
  <%- else -%>
@@ -1,3 +1,3 @@
1
1
  module EnjuBiblio
2
- VERSION = "0.1.0.pre23"
2
+ VERSION = "0.1.0.pre24"
3
3
  end
@@ -6,15 +6,15 @@
6
6
  case user.try(:role).try(:name)
7
7
  when 'Administrator'
8
8
  can [:read, :create, :update], CarrierType
9
- can :destroy, CarrierType do |carrier_type|
9
+ can [:destroy, :delete], CarrierType do |carrier_type|
10
10
  true unless carrier_type.manifestations.exists?
11
11
  end if LibraryGroup.site_config.network_access_allowed?(ip_address)
12
12
  can [:read, :create, :update], Item
13
- can :destroy, Item do |item|
13
+ can [:destroy, :delete], Item do |item|
14
14
  item.deletable?
15
15
  end
16
16
  can [:read, :create, :update], Manifestation
17
- can :destroy, Manifestation do |manifestation|
17
+ can [:destroy, :delete], Manifestation do |manifestation|
18
18
  manifestation.items.empty? and !manifestation.periodical_master?
19
19
  end
20
20
  can :manage, [
@@ -71,15 +71,16 @@
71
71
  ]
72
72
  when 'Librarian'
73
73
  can :manage, Item
74
- can [:read, :create, :update], Manifestation
75
- can :destroy, Manifestation do |manifestation|
74
+ can :index, Manifestation
75
+ can [:show, :create, :update], Manifestation
76
+ can [:destroy, :delete], Manifestation do |manifestation|
76
77
  manifestation.items.empty? and !manifestation.periodical_master?
77
78
  end
78
79
  can [:index, :create], Patron
79
80
  can :show, Patron do |patron|
80
81
  patron.required_role_id <= 3
81
82
  end
82
- can [:update, :destroy], Patron do |patron|
83
+ can [:update, :destroy, :delete], Patron do |patron|
83
84
  !patron.user.try(:has_role?, 'Librarian') and patron.required_role_id <= 3
84
85
  end
85
86
  can :manage, [
@@ -122,7 +123,8 @@
122
123
  can :show, Item do |item|
123
124
  item.required_role_id <= 2
124
125
  end
125
- can [:read, :edit], Manifestation do |manifestation|
126
+ can :index, Manifestation
127
+ can [:show, :edit], Manifestation do |manifestation|
126
128
  manifestation.required_role_id <= 2
127
129
  end
128
130
  can :index, Patron
@@ -167,6 +169,10 @@
167
169
  SeriesHasManifestation
168
170
  ]
169
171
  else
172
+ can :index, Manifestation
173
+ can :show, Manifestation do |manifestation|
174
+ manifestation.required_role_id == 1
175
+ end
170
176
  can :index, Patron
171
177
  can :show, Patron do |patron|
172
178
  patron.required_role_id == 1 #name == 'Guest'
@@ -183,7 +189,6 @@
183
189
  Item,
184
190
  Language,
185
191
  License,
186
- Manifestation,
187
192
  ManifestationRelationship,
188
193
  ManifestationRelationshipType,
189
194
  MediumOfPerformance,
Binary file
@@ -0,0 +1,7 @@
1
+ ����+idtype
2
+ class_nametitle_smconnect_title_sconnect_creator_sconnect_publisher_sisbn_smcarrier_type_s
3
+ library_sm
4
+ language_sitem_identifier_smshelf_sm created_at_d updated_at_dcreator_ids_imcontributor_ids_impublisher_ids_im item_ids_imrequired_role_id_i start_page_i
5
+ end_page_inumber_of_pages_iseries_statement_id_irepository_content_b
6
+ creator_sm sort_title_s periodical_bperiodical_master_b reservable_b
7
+ title_text creator_textcontributor_textpublisher_textitem_identifier_text aulast_text aufirst_textau_text btitle_text isbn_textoriginal_manifestation_ids_im jtitle_text pub_date_dm
@@ -0,0 +1 @@
1
+ NRM�turxtuxutrtwsssuuvyrttrvrrtxtxswuywtrtyvywtuwwttptxy|||||||||||tuuu|||||||||||||||||||||||||||||||||wxwwx|||||||||||||||||||||||||||||||||||||||||||||wxwwx|||||||||||||||||||||||||||u|||||||||||||||||uvw|||||||x|||||||||||||||||||||||||||||||||||||||y||||||||||||w���|||||||||||||||||||||||||||||||||��|||||||||||w���|||||||||||||||||||||||||||||||||xy|||||||||||tuuu|||||||||||||||||||||||||||||||||turxtuxutrtwsssuuvyrttrvrrtxtxswuywtrtyvywtuwwttpt||||��|||||��||||||||||||||||||||||||||||||||||||||tu|||||||||||||||||||||||||||||||||||||||||||||||
@@ -0,0 +1,7 @@
1
+ ����+idtype
2
+ class_nametitle_smconnect_title_sconnect_creator_sconnect_publisher_sisbn_smcarrier_type_s
3
+ library_sm
4
+ language_sitem_identifier_smshelf_sm created_at_d updated_at_dcreator_ids_imcontributor_ids_impublisher_ids_im item_ids_imrequired_role_id_i start_page_i
5
+ end_page_inumber_of_pages_iseries_statement_id_irepository_content_b
6
+ creator_sm sort_title_s periodical_bperiodical_master_b reservable_b
7
+ title_text creator_textcontributor_textpublisher_textitem_identifier_text aulast_text aufirst_textau_text btitle_text isbn_textoriginal_manifestation_ids_im jtitle_text pub_date_dm
@@ -0,0 +1 @@
1
+ NRM�xuuwuyutxxvxvxwtyvxwxxxvvtwwxvytwxwrwvxxyxuyxyuysx||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||xuuwuyutxxvxvxwtyvxwxxxvvtwwxvytwxwrwvxxyxuyxyuysx||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
@@ -0,0 +1,8 @@
1
+ ����3idtype
2
+ class_nametitle_smconnect_title_sconnect_creator_sconnect_publisher_sisbn_smcarrier_type_s
3
+ library_sm
4
+ language_sitem_identifier_smshelf_sm created_at_d updated_at_dcreator_ids_imcontributor_ids_impublisher_ids_im item_ids_imrequired_role_id_i start_page_i
5
+ end_page_inumber_of_pages_iseries_statement_id_irepository_content_b
6
+ creator_sm sort_title_s periodical_bperiodical_master_b reservable_b
7
+ title_text creator_textcontributor_textpublisher_textitem_identifier_text aulast_text aufirst_textau_text btitle_text isbn_textoriginal_manifestation_ids_im jtitle_text pub_date_dmissn_sm issn_textvolume_number_iissue_number_iserial_number_i atitle_textdate_of_publication_d
8
+ pub_year_i
@@ -0,0 +1 @@
1
+ NRM�vruwvvuur|xutttttwwuuuuuuxx||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||xtt|uuutt||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||vruwvvuur|xu||tttwwuuuuuuxx|||||y|||��|||||||���������||||||||||||xw|||||||||||||||||||||||||y||||||||||||||||||||||||||tt|||||||||||||
@@ -0,0 +1,2 @@
1
+ o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1363198258.055524: @value"
2
+ i
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: enju_biblio
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0.pre23
4
+ version: 0.1.0.pre24
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kosuke Tanabe
@@ -324,14 +324,14 @@ dependencies:
324
324
  requirements:
325
325
  - - ~>
326
326
  - !ruby/object:Gem::Version
327
- version: 0.1.0.pre12
327
+ version: 0.1.0.pre13
328
328
  type: :development
329
329
  prerelease: false
330
330
  version_requirements: !ruby/object:Gem::Requirement
331
331
  requirements:
332
332
  - - ~>
333
333
  - !ruby/object:Gem::Version
334
- version: 0.1.0.pre12
334
+ version: 0.1.0.pre13
335
335
  - !ruby/object:Gem::Dependency
336
336
  name: enju_inventory
337
337
  requirement: !ruby/object:Gem::Requirement
@@ -422,14 +422,14 @@ dependencies:
422
422
  requirements:
423
423
  - - ~>
424
424
  - !ruby/object:Gem::Version
425
- version: 0.1.0.pre14
425
+ version: 0.1.0.pre15
426
426
  type: :development
427
427
  prerelease: false
428
428
  version_requirements: !ruby/object:Gem::Requirement
429
429
  requirements:
430
430
  - - ~>
431
431
  - !ruby/object:Gem::Version
432
- version: 0.1.0.pre14
432
+ version: 0.1.0.pre15
433
433
  - !ruby/object:Gem::Dependency
434
434
  name: enju_oai
435
435
  requirement: !ruby/object:Gem::Requirement
@@ -1142,12 +1142,37 @@ files:
1142
1142
  - spec/dummy/solr/conf/spellings.txt
1143
1143
  - spec/dummy/solr/conf/stopwords.txt
1144
1144
  - spec/dummy/solr/conf/synonyms.txt
1145
+ - spec/dummy/solr/data/test/index/_2fh.fdt
1146
+ - spec/dummy/solr/data/test/index/_2fh.fdx
1147
+ - spec/dummy/solr/data/test/index/_2fh.fnm
1148
+ - spec/dummy/solr/data/test/index/_2fh.frq
1149
+ - spec/dummy/solr/data/test/index/_2fh.nrm
1150
+ - spec/dummy/solr/data/test/index/_2fh.prx
1151
+ - spec/dummy/solr/data/test/index/_2fh.tii
1152
+ - spec/dummy/solr/data/test/index/_2fh.tis
1153
+ - spec/dummy/solr/data/test/index/_2fi.fdt
1154
+ - spec/dummy/solr/data/test/index/_2fi.fdx
1155
+ - spec/dummy/solr/data/test/index/_2fi.fnm
1156
+ - spec/dummy/solr/data/test/index/_2fi.frq
1157
+ - spec/dummy/solr/data/test/index/_2fi.nrm
1158
+ - spec/dummy/solr/data/test/index/_2fi.prx
1159
+ - spec/dummy/solr/data/test/index/_2fi.tii
1160
+ - spec/dummy/solr/data/test/index/_2fi.tis
1161
+ - spec/dummy/solr/data/test/index/_2fj.fdt
1162
+ - spec/dummy/solr/data/test/index/_2fj.fdx
1163
+ - spec/dummy/solr/data/test/index/_2fj.fnm
1164
+ - spec/dummy/solr/data/test/index/_2fj.frq
1165
+ - spec/dummy/solr/data/test/index/_2fj.nrm
1166
+ - spec/dummy/solr/data/test/index/_2fj.prx
1167
+ - spec/dummy/solr/data/test/index/_2fj.tii
1168
+ - spec/dummy/solr/data/test/index/_2fj.tis
1145
1169
  - spec/dummy/solr/data/test/index/segments.gen
1146
- - spec/dummy/solr/data/test/index/segments_36o
1170
+ - spec/dummy/solr/data/test/index/segments_3hm
1147
1171
  - spec/dummy/solr/data/test/spellchecker/segments.gen
1148
1172
  - spec/dummy/solr/data/test/spellchecker/segments_1
1149
1173
  - spec/dummy/tmp/cache/4F7/F90/default_role
1150
1174
  - spec/dummy/tmp/cache/6E4/420/search_engine_all
1175
+ - spec/dummy/tmp/cache/ACB/B20/manifestation_search_total
1151
1176
  - spec/factories/basket.rb
1152
1177
  - spec/factories/carrier_type.rb
1153
1178
  - spec/factories/content_type.rb
@@ -1575,12 +1600,37 @@ test_files:
1575
1600
  - spec/dummy/solr/conf/spellings.txt
1576
1601
  - spec/dummy/solr/conf/stopwords.txt
1577
1602
  - spec/dummy/solr/conf/synonyms.txt
1603
+ - spec/dummy/solr/data/test/index/_2fh.fdt
1604
+ - spec/dummy/solr/data/test/index/_2fh.fdx
1605
+ - spec/dummy/solr/data/test/index/_2fh.fnm
1606
+ - spec/dummy/solr/data/test/index/_2fh.frq
1607
+ - spec/dummy/solr/data/test/index/_2fh.nrm
1608
+ - spec/dummy/solr/data/test/index/_2fh.prx
1609
+ - spec/dummy/solr/data/test/index/_2fh.tii
1610
+ - spec/dummy/solr/data/test/index/_2fh.tis
1611
+ - spec/dummy/solr/data/test/index/_2fi.fdt
1612
+ - spec/dummy/solr/data/test/index/_2fi.fdx
1613
+ - spec/dummy/solr/data/test/index/_2fi.fnm
1614
+ - spec/dummy/solr/data/test/index/_2fi.frq
1615
+ - spec/dummy/solr/data/test/index/_2fi.nrm
1616
+ - spec/dummy/solr/data/test/index/_2fi.prx
1617
+ - spec/dummy/solr/data/test/index/_2fi.tii
1618
+ - spec/dummy/solr/data/test/index/_2fi.tis
1619
+ - spec/dummy/solr/data/test/index/_2fj.fdt
1620
+ - spec/dummy/solr/data/test/index/_2fj.fdx
1621
+ - spec/dummy/solr/data/test/index/_2fj.fnm
1622
+ - spec/dummy/solr/data/test/index/_2fj.frq
1623
+ - spec/dummy/solr/data/test/index/_2fj.nrm
1624
+ - spec/dummy/solr/data/test/index/_2fj.prx
1625
+ - spec/dummy/solr/data/test/index/_2fj.tii
1626
+ - spec/dummy/solr/data/test/index/_2fj.tis
1578
1627
  - spec/dummy/solr/data/test/index/segments.gen
1579
- - spec/dummy/solr/data/test/index/segments_36o
1628
+ - spec/dummy/solr/data/test/index/segments_3hm
1580
1629
  - spec/dummy/solr/data/test/spellchecker/segments.gen
1581
1630
  - spec/dummy/solr/data/test/spellchecker/segments_1
1582
1631
  - spec/dummy/tmp/cache/4F7/F90/default_role
1583
1632
  - spec/dummy/tmp/cache/6E4/420/search_engine_all
1633
+ - spec/dummy/tmp/cache/ACB/B20/manifestation_search_total
1584
1634
  - spec/factories/basket.rb
1585
1635
  - spec/factories/carrier_type.rb
1586
1636
  - spec/factories/content_type.rb