enju_biblio 0.1.0.pre30 → 0.1.0.pre31

Sign up to get free protection for your applications and to get access to all the features.
Files changed (44) hide show
  1. checksums.yaml +4 -4
  2. data/app/controllers/items_controller.rb +21 -0
  3. data/app/helpers/manifestations_helper.rb +2 -2
  4. data/app/models/item.rb +1 -0
  5. data/app/views/items/index.html.erb +4 -0
  6. data/app/views/items/show.html.erb +3 -16
  7. data/app/views/manifestations/_call_number.html.erb +3 -1
  8. data/db/migrate/006_create_items.rb +0 -4
  9. data/lib/enju_biblio/version.rb +1 -1
  10. data/spec/dummy/app/helpers/application_helper.rb +0 -1
  11. data/spec/dummy/config/application.rb +0 -1
  12. data/spec/dummy/db/migrate/20130416054135_add_circulation_status_id_to_item.rb +8 -0
  13. data/spec/dummy/db/schema.rb +3 -3
  14. data/spec/dummy/db/test.sqlite3 +0 -0
  15. data/spec/dummy/solr/data/test/index/_4ay.fdt +0 -0
  16. data/spec/dummy/solr/data/test/index/_4ay.fdx +0 -0
  17. data/spec/dummy/solr/data/test/index/_4ay.fnm +7 -0
  18. data/spec/dummy/solr/data/test/index/_4ay.frq +0 -0
  19. data/spec/dummy/solr/data/test/index/_4ay.nrm +1 -0
  20. data/spec/dummy/solr/data/test/index/_4ay.prx +0 -0
  21. data/spec/dummy/solr/data/test/index/_4ay.tii +0 -0
  22. data/spec/dummy/solr/data/test/index/_4ay.tis +0 -0
  23. data/spec/dummy/solr/data/test/index/_4az.fdt +0 -0
  24. data/spec/dummy/solr/data/test/index/_4az.fdx +0 -0
  25. data/spec/dummy/solr/data/test/index/_4az.fnm +7 -0
  26. data/spec/dummy/solr/data/test/index/_4az.frq +0 -0
  27. data/spec/dummy/solr/data/test/index/_4az.nrm +1 -0
  28. data/spec/dummy/solr/data/test/index/_4az.prx +0 -0
  29. data/spec/dummy/solr/data/test/index/_4az.tii +0 -0
  30. data/spec/dummy/solr/data/test/index/_4az.tis +0 -0
  31. data/spec/dummy/solr/data/test/index/_4b0.fdt +0 -0
  32. data/spec/dummy/solr/data/test/index/_4b0.fdx +0 -0
  33. data/spec/dummy/solr/data/test/index/_4b0.fnm +8 -0
  34. data/spec/dummy/solr/data/test/index/_4b0.frq +0 -0
  35. data/spec/dummy/solr/data/test/index/_4b0.nrm +1 -0
  36. data/spec/dummy/solr/data/test/index/_4b0.prx +0 -0
  37. data/spec/dummy/solr/data/test/index/_4b0.tii +0 -0
  38. data/spec/dummy/solr/data/test/index/_4b0.tis +0 -0
  39. data/spec/dummy/solr/data/test/index/segments.gen +0 -0
  40. data/spec/dummy/solr/data/test/index/segments_6d6 +0 -0
  41. metadata +60 -27
  42. data/lib/generators/enju_biblio/views_generator.rb +0 -52
  43. data/spec/dummy/solr/data/test/index/segments_5yb +0 -0
  44. data/spec/dummy/tmp/cache/4AD/470/country_all +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 10a42fa95b934a0fdcb3807606c9726178abeb6a
4
- data.tar.gz: 21f455d947a94a195883b8aa6df638f964bd3623
3
+ metadata.gz: d487618cb4357715c2a4a48863b1bc10e3563f9c
4
+ data.tar.gz: cba332f46b3fb31769c2fb8a82d19e88f5ac96fa
5
5
  SHA512:
6
- metadata.gz: d98d7df7bd014cda1d544c10e81fa8124dc69aec8f44ed731091e843a12b3aecc4dec9e226a10a00b4d61a34ec286efffcfc8856e0ab2fb5ac6d755e03cdc0d2
7
- data.tar.gz: 9947c867a00f3417c6546954ffcaaaafe888748607960858560c732fca9c595ec4ec848c309f44fe1fa9e2aa3776c1990b06f077a6d96267f98ef0480e3144e5
6
+ metadata.gz: 60e63ba39f2ebe775709e251f325906f7b7cf498493f547930c40470fba05c3ddcfb7cf8ee5e20cfee3df7a27c38c1fd9dc50535f43f4acbc86afbf94cdcb5bf
7
+ data.tar.gz: 5a423bef566fb080bc43407901fe4f812f46ef4519adbe14b3d9a173420c68aa78948efe48c6f1b40c7e3407f041990d9de7a198ef59b631e1c0304e70ca4dc4
@@ -83,6 +83,27 @@ class ItemsController < ApplicationController
83
83
  with(:required_role_id).less_than_or_equal_to role.id
84
84
  end
85
85
 
86
+ if params[:acquired_from].present?
87
+ begin
88
+ acquired_from = Time.zone.parse(params[:acquired_from]).beginning_of_day
89
+ @acquired_from = acquired_from.strftime('%Y-%m-%d')
90
+ rescue ArgumentError
91
+ rescue NoMethodError
92
+ end
93
+ end
94
+ if params[:acquired_to].present?
95
+ begin
96
+ acquired_to = @acquired_to = Time.zone.parse(params[:acquired_to]).end_of_day
97
+ @acquired_to = acquired_to.strftime('%Y-%m-%d')
98
+ rescue ArgumentError
99
+ rescue NoMethodError
100
+ end
101
+ end
102
+ search.build do
103
+ with(:acquired_at).greater_than_or_equal_to acquired_from.beginning_of_day if acquired_from
104
+ with(:acquired_at).less_than acquired_to.tomorrow.beginning_of_day if acquired_to
105
+ end
106
+
86
107
  page = params[:page] || 1
87
108
  search.query.paginate(page.to_i, per_page)
88
109
  @items = search.execute!.results
@@ -71,10 +71,10 @@ module ManifestationsHelper
71
71
  current = true if languages.include?(language.name)
72
72
  if current
73
73
  content_tag :strong do
74
- link_to("#{language.display_name.localize} (" + facet.count.to_s + ")", url_for(params.merge(:page => nil, :language => language.name, :carrier_type => nil, :view => nil, :only_path => true)))
74
+ link_to("#{language.display_name.localize} (" + facet.count.to_s + ")", url_for(params.merge(:page => nil, :language => language.name, :view => nil, :only_path => true)))
75
75
  end
76
76
  else
77
- link_to("#{language.display_name.localize} (" + facet.count.to_s + ")", url_for(params.merge(:page => nil, :language => language.name, :carrier_type => nil, :view => nil, :only_path => true)))
77
+ link_to("#{language.display_name.localize} (" + facet.count.to_s + ")", url_for(params.merge(:page => nil, :language => language.name, :view => nil, :only_path => true)))
78
78
  end
79
79
  end
80
80
 
data/app/models/item.rb CHANGED
@@ -47,6 +47,7 @@ class Item < ActiveRecord::Base
47
47
  integer :patron_ids, :multiple => true
48
48
  time :created_at
49
49
  time :updated_at
50
+ time :acquired_at
50
51
  end
51
52
 
52
53
  attr_accessor :library_id, :manifestation_id
@@ -12,6 +12,10 @@
12
12
  <%= hidden_field_tag :manifestation_id, @manifestation.id if @manifestation -%>
13
13
  <%= submit_tag t('page.search') -%>
14
14
  <%= set_focus_on_search_form -%>
15
+ <br />
16
+ <%= t('activerecord.attributes.item.acquired_at') %>:
17
+ <%= text_field_tag 'acquired_from', @acquired_from, {:class => 'date_field', :placeholder => "#{t('page.example')}: 2012-04-12"} -%>
18
+ <%= t('advanced_search.from_to') %> <%= text_field_tag 'acquired_to', @acquired_to, {:class => 'date_field', :placeholder => "#{t('page.example')}: 2012-05-11"} -%>
15
19
  </p>
16
20
  <%- end -%>
17
21
  </div>
@@ -34,11 +34,9 @@
34
34
  <p>
35
35
  <strong><%= t('activerecord.models.circulation_status') -%>:</strong>
36
36
  <%= link_to @item.circulation_status.display_name.localize, @item.circulation_status -%>
37
- <%- if user_signed_in? -%>
38
- <%- if current_user.has_role?('Librarian') -%>
39
- <%- unless @item.checkouts.not_returned.blank? -%>
40
- (<%= link_to t('item.current_checkout'), checkout_path(@item.checkouts.not_returned.first) -%>)
41
- <%- end -%>
37
+ <%- if current_user.try(:has_role?, 'Librarian') -%>
38
+ <%- unless @item.checkouts.not_returned.blank? -%>
39
+ (<%= link_to t('item.current_checkout'), @item.checkouts.not_returned.first -%>)
42
40
  <%- end -%>
43
41
  <%- end -%>
44
42
  </p>
@@ -88,17 +86,6 @@
88
86
  <%= localized_boolean(@item.include_supplements) -%>
89
87
  </p>
90
88
 
91
- <!--
92
- <%- if can? :update, @item -%>
93
- <p>
94
- <strong><%= t('item.donor') -%>:</strong>
95
- <%- @item.donors.each do |patron| -%>
96
- <%= link_to patron.full_name, patron -%>
97
- <%- end -%>
98
- </p>
99
- <%- end -%>
100
- -->
101
-
102
89
  <p>
103
90
  <strong><%= t('activerecord.attributes.item.acquired_at') -%>:</strong>
104
91
  <%= l(@item.acquired_at, :format => :only_date) if @item.acquired_at -%>
@@ -5,7 +5,9 @@
5
5
  <br />
6
6
  <%= link_to item.shelf.display_name.localize, library_shelf_path(item.shelf.library, item.shelf) -%>
7
7
  <br />
8
- <%= item.circulation_status.display_name.localize if item.circulation_status -%>
8
+ <% if defined?(EnjuCirculation) %>
9
+ <%= item.circulation_status.display_name.localize if item.circulation_status -%>
10
+ <% end %>
9
11
 
10
12
  </td>
11
13
  <td class="call_number_table">
@@ -4,8 +4,6 @@ class CreateItems < ActiveRecord::Migration
4
4
  #t.integer :manifestation_id
5
5
  t.string :call_number
6
6
  t.string :item_identifier
7
- t.integer :circulation_status_id, :default => 5, :null => false
8
- t.integer :checkout_type_id, :default => 1, :null => false
9
7
  t.timestamps
10
8
  t.datetime :deleted_at
11
9
  t.integer :shelf_id, :default => 1, :null => false
@@ -19,8 +17,6 @@ class CreateItems < ActiveRecord::Migration
19
17
  t.integer :required_score, :default => 0, :null => false
20
18
  end
21
19
  #add_index :items, :manifestation_id
22
- add_index :items, :circulation_status_id
23
- add_index :items, :checkout_type_id
24
20
  add_index :items, :shelf_id
25
21
  add_index :items, :item_identifier
26
22
  add_index :items, :required_role_id
@@ -1,3 +1,3 @@
1
1
  module EnjuBiblio
2
- VERSION = "0.1.0.pre30"
2
+ VERSION = "0.1.0.pre31"
3
3
  end
@@ -1,7 +1,6 @@
1
1
  # Methods added to this helper will be available to all templates in the application.
2
2
  module ApplicationHelper
3
3
  include PictureFilesHelper if defined?(EnjuLibrary)
4
- include EnjuBookJacket::BookJacketHelper if defined?(EnjuBookJacket)
5
4
  include EnjuManifestationViewer::ManifestationViewerHelper if defined?(EnjuManifestationViewer)
6
5
 
7
6
  def form_icon(carrier_type)
@@ -60,7 +60,6 @@ require 'enju_inventory'
60
60
  require 'enju_bookmark'
61
61
  require 'enju_event'
62
62
  require 'enju_manifestation_viewer'
63
- require 'enju_book_jacket'
64
63
  require 'enju_export'
65
64
  require 'enju_oai'
66
65
  require 'enju_ndl'
@@ -0,0 +1,8 @@
1
+ class AddCirculationStatusIdToItem < ActiveRecord::Migration
2
+ def change
3
+ add_column :items, :circulation_status_id, :integer, :default => 5, :null => false
4
+ add_column :items, :checkout_type_id, :integer, :default => 1, :null => false
5
+ add_index :items, :circulation_status_id
6
+ add_index :items, :checkout_type_id
7
+ end
8
+ end
@@ -11,7 +11,7 @@
11
11
  #
12
12
  # It's strongly recommended to check this file into your version control system.
13
13
 
14
- ActiveRecord::Schema.define(:version => 20130304015019) do
14
+ ActiveRecord::Schema.define(:version => 20130416054135) do
15
15
 
16
16
  create_table "baskets", :force => true do |t|
17
17
  t.integer "user_id"
@@ -412,8 +412,6 @@ ActiveRecord::Schema.define(:version => 20130304015019) do
412
412
  create_table "items", :force => true do |t|
413
413
  t.string "call_number"
414
414
  t.string "item_identifier"
415
- t.integer "circulation_status_id", :default => 5, :null => false
416
- t.integer "checkout_type_id", :default => 1, :null => false
417
415
  t.datetime "created_at", :null => false
418
416
  t.datetime "updated_at", :null => false
419
417
  t.datetime "deleted_at"
@@ -429,6 +427,8 @@ ActiveRecord::Schema.define(:version => 20130304015019) do
429
427
  t.datetime "acquired_at"
430
428
  t.integer "bookstore_id"
431
429
  t.integer "budget_type_id"
430
+ t.integer "circulation_status_id", :default => 5, :null => false
431
+ t.integer "checkout_type_id", :default => 1, :null => false
432
432
  end
433
433
 
434
434
  add_index "items", ["bookstore_id"], :name => "index_items_on_bookstore_id"
Binary file
@@ -0,0 +1,7 @@
1
+ ����+idtype
2
+ class_name reservable_btitle_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
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_name reservable_btitle_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
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_name reservable_btitle_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
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|||||||||||||
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: enju_biblio
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0.pre30
4
+ version: 0.1.0.pre31
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kosuke Tanabe
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-04-11 00:00:00.000000000 Z
11
+ date: 2013-04-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: enju_core
@@ -282,14 +282,14 @@ dependencies:
282
282
  requirements:
283
283
  - - ~>
284
284
  - !ruby/object:Gem::Version
285
- version: 0.1.0.pre17
285
+ version: 0.1.0.pre20
286
286
  type: :development
287
287
  prerelease: false
288
288
  version_requirements: !ruby/object:Gem::Requirement
289
289
  requirements:
290
290
  - - ~>
291
291
  - !ruby/object:Gem::Version
292
- version: 0.1.0.pre17
292
+ version: 0.1.0.pre20
293
293
  - !ruby/object:Gem::Dependency
294
294
  name: enju_subject
295
295
  requirement: !ruby/object:Gem::Requirement
@@ -338,30 +338,16 @@ dependencies:
338
338
  requirements:
339
339
  - - ~>
340
340
  - !ruby/object:Gem::Version
341
- version: 0.1.17.pre10
341
+ version: 0.1.17.pre11
342
342
  type: :development
343
343
  prerelease: false
344
344
  version_requirements: !ruby/object:Gem::Requirement
345
345
  requirements:
346
346
  - - ~>
347
347
  - !ruby/object:Gem::Version
348
- version: 0.1.17.pre10
348
+ version: 0.1.17.pre11
349
349
  - !ruby/object:Gem::Dependency
350
350
  name: enju_manifestation_viewer
351
- requirement: !ruby/object:Gem::Requirement
352
- requirements:
353
- - - ~>
354
- - !ruby/object:Gem::Version
355
- version: 0.1.0.pre5
356
- type: :development
357
- prerelease: false
358
- version_requirements: !ruby/object:Gem::Requirement
359
- requirements:
360
- - - ~>
361
- - !ruby/object:Gem::Version
362
- version: 0.1.0.pre5
363
- - !ruby/object:Gem::Dependency
364
- name: enju_book_jacket
365
351
  requirement: !ruby/object:Gem::Requirement
366
352
  requirements:
367
353
  - - ~>
@@ -394,14 +380,14 @@ dependencies:
394
380
  requirements:
395
381
  - - ~>
396
382
  - !ruby/object:Gem::Version
397
- version: 0.1.0.pre19
383
+ version: 0.1.0.pre20
398
384
  type: :development
399
385
  prerelease: false
400
386
  version_requirements: !ruby/object:Gem::Requirement
401
387
  requirements:
402
388
  - - ~>
403
389
  - !ruby/object:Gem::Version
404
- version: 0.1.0.pre19
390
+ version: 0.1.0.pre20
405
391
  - !ruby/object:Gem::Dependency
406
392
  name: enju_oai
407
393
  requirement: !ruby/object:Gem::Requirement
@@ -941,7 +927,6 @@ files:
941
927
  - lib/generators/enju_biblio/setup/templates/db/fixtures/request_status_types.yml
942
928
  - lib/generators/enju_biblio/setup/templates/db/fixtures/request_types.yml
943
929
  - lib/generators/enju_biblio/setup/USAGE
944
- - lib/generators/enju_biblio/views_generator.rb
945
930
  - lib/tasks/enju_biblio_tasks.rake
946
931
  - MIT-LICENSE
947
932
  - Rakefile
@@ -1101,6 +1086,7 @@ files:
1101
1086
  - spec/dummy/db/migrate/20130303104849_add_state_index_to_reserve.rb
1102
1087
  - spec/dummy/db/migrate/20130303124821_add_retained_at_to_reserve.rb
1103
1088
  - spec/dummy/db/migrate/20130304015019_add_postponed_at_to_reserve.rb
1089
+ - spec/dummy/db/migrate/20130416054135_add_circulation_status_id_to_item.rb
1104
1090
  - spec/dummy/db/schema.rb
1105
1091
  - spec/dummy/db/test.sqlite3
1106
1092
  - spec/dummy/lib/plugins/ext/event-calendar.rb
@@ -1144,11 +1130,34 @@ files:
1144
1130
  - spec/dummy/solr/conf/spellings.txt
1145
1131
  - spec/dummy/solr/conf/stopwords.txt
1146
1132
  - spec/dummy/solr/conf/synonyms.txt
1133
+ - spec/dummy/solr/data/test/index/_4ay.fdt
1134
+ - spec/dummy/solr/data/test/index/_4ay.fdx
1135
+ - spec/dummy/solr/data/test/index/_4ay.fnm
1136
+ - spec/dummy/solr/data/test/index/_4ay.frq
1137
+ - spec/dummy/solr/data/test/index/_4ay.nrm
1138
+ - spec/dummy/solr/data/test/index/_4ay.prx
1139
+ - spec/dummy/solr/data/test/index/_4ay.tii
1140
+ - spec/dummy/solr/data/test/index/_4ay.tis
1141
+ - spec/dummy/solr/data/test/index/_4az.fdt
1142
+ - spec/dummy/solr/data/test/index/_4az.fdx
1143
+ - spec/dummy/solr/data/test/index/_4az.fnm
1144
+ - spec/dummy/solr/data/test/index/_4az.frq
1145
+ - spec/dummy/solr/data/test/index/_4az.nrm
1146
+ - spec/dummy/solr/data/test/index/_4az.prx
1147
+ - spec/dummy/solr/data/test/index/_4az.tii
1148
+ - spec/dummy/solr/data/test/index/_4az.tis
1149
+ - spec/dummy/solr/data/test/index/_4b0.fdt
1150
+ - spec/dummy/solr/data/test/index/_4b0.fdx
1151
+ - spec/dummy/solr/data/test/index/_4b0.fnm
1152
+ - spec/dummy/solr/data/test/index/_4b0.frq
1153
+ - spec/dummy/solr/data/test/index/_4b0.nrm
1154
+ - spec/dummy/solr/data/test/index/_4b0.prx
1155
+ - spec/dummy/solr/data/test/index/_4b0.tii
1156
+ - spec/dummy/solr/data/test/index/_4b0.tis
1147
1157
  - spec/dummy/solr/data/test/index/segments.gen
1148
- - spec/dummy/solr/data/test/index/segments_5yb
1158
+ - spec/dummy/solr/data/test/index/segments_6d6
1149
1159
  - spec/dummy/solr/data/test/spellchecker/segments.gen
1150
1160
  - spec/dummy/solr/data/test/spellchecker/segments_1
1151
- - spec/dummy/tmp/cache/4AD/470/country_all
1152
1161
  - spec/dummy/tmp/cache/4F7/F90/default_role
1153
1162
  - spec/dummy/tmp/cache/6E4/420/search_engine_all
1154
1163
  - spec/factories/basket.rb
@@ -1535,6 +1544,7 @@ test_files:
1535
1544
  - spec/dummy/db/migrate/20130303104849_add_state_index_to_reserve.rb
1536
1545
  - spec/dummy/db/migrate/20130303124821_add_retained_at_to_reserve.rb
1537
1546
  - spec/dummy/db/migrate/20130304015019_add_postponed_at_to_reserve.rb
1547
+ - spec/dummy/db/migrate/20130416054135_add_circulation_status_id_to_item.rb
1538
1548
  - spec/dummy/db/schema.rb
1539
1549
  - spec/dummy/db/test.sqlite3
1540
1550
  - spec/dummy/lib/plugins/ext/event-calendar.rb
@@ -1578,11 +1588,34 @@ test_files:
1578
1588
  - spec/dummy/solr/conf/spellings.txt
1579
1589
  - spec/dummy/solr/conf/stopwords.txt
1580
1590
  - spec/dummy/solr/conf/synonyms.txt
1591
+ - spec/dummy/solr/data/test/index/_4ay.fdt
1592
+ - spec/dummy/solr/data/test/index/_4ay.fdx
1593
+ - spec/dummy/solr/data/test/index/_4ay.fnm
1594
+ - spec/dummy/solr/data/test/index/_4ay.frq
1595
+ - spec/dummy/solr/data/test/index/_4ay.nrm
1596
+ - spec/dummy/solr/data/test/index/_4ay.prx
1597
+ - spec/dummy/solr/data/test/index/_4ay.tii
1598
+ - spec/dummy/solr/data/test/index/_4ay.tis
1599
+ - spec/dummy/solr/data/test/index/_4az.fdt
1600
+ - spec/dummy/solr/data/test/index/_4az.fdx
1601
+ - spec/dummy/solr/data/test/index/_4az.fnm
1602
+ - spec/dummy/solr/data/test/index/_4az.frq
1603
+ - spec/dummy/solr/data/test/index/_4az.nrm
1604
+ - spec/dummy/solr/data/test/index/_4az.prx
1605
+ - spec/dummy/solr/data/test/index/_4az.tii
1606
+ - spec/dummy/solr/data/test/index/_4az.tis
1607
+ - spec/dummy/solr/data/test/index/_4b0.fdt
1608
+ - spec/dummy/solr/data/test/index/_4b0.fdx
1609
+ - spec/dummy/solr/data/test/index/_4b0.fnm
1610
+ - spec/dummy/solr/data/test/index/_4b0.frq
1611
+ - spec/dummy/solr/data/test/index/_4b0.nrm
1612
+ - spec/dummy/solr/data/test/index/_4b0.prx
1613
+ - spec/dummy/solr/data/test/index/_4b0.tii
1614
+ - spec/dummy/solr/data/test/index/_4b0.tis
1581
1615
  - spec/dummy/solr/data/test/index/segments.gen
1582
- - spec/dummy/solr/data/test/index/segments_5yb
1616
+ - spec/dummy/solr/data/test/index/segments_6d6
1583
1617
  - spec/dummy/solr/data/test/spellchecker/segments.gen
1584
1618
  - spec/dummy/solr/data/test/spellchecker/segments_1
1585
- - spec/dummy/tmp/cache/4AD/470/country_all
1586
1619
  - spec/dummy/tmp/cache/4F7/F90/default_role
1587
1620
  - spec/dummy/tmp/cache/6E4/420/search_engine_all
1588
1621
  - spec/factories/basket.rb
@@ -1,52 +0,0 @@
1
- module EnjuBiblio
2
- module Generators
3
- class ViewsGenerator < Rails::Generators::Base
4
- source_root File.expand_path('../../../../app/views', __FILE__)
5
-
6
- def copy_files
7
- directories = %w(
8
- accepts
9
- carrier_types
10
- content_types
11
- countries
12
- create_types
13
- creates
14
- donates
15
- exemplifies
16
- extents
17
- form_of_works
18
- frequencies
19
- import_requests
20
- items
21
- languages
22
- licenses
23
- manifestation_relationship_types
24
- manifestation_relationships
25
- manifestations
26
- medium_of_performances
27
- owns
28
- patron_import_files
29
- patron_import_results
30
- patron_relationship_types
31
- patron_relationships
32
- patron_types
33
- patrons
34
- picture_files
35
- produce_types
36
- produces
37
- realize_types
38
- realizes
39
- resource_import_files
40
- resource_import_results
41
- series_has_manifestations
42
- series_statement_relationships
43
- series_statements
44
- )
45
-
46
- directories.each do |dir|
47
- directory dir, "app/views/#{dir}"
48
- end
49
- end
50
- end
51
- end
52
- end