enju_biblio 0.3.13 → 0.3.16
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/agent_import_results_controller.rb +1 -1
- data/app/controllers/items_controller.rb +2 -2
- data/app/controllers/manifestations_controller.rb +4 -4
- data/app/controllers/resource_import_results_controller.rb +2 -2
- data/app/models/identifier.rb +4 -0
- data/app/models/item.rb +3 -2
- data/app/models/manifestation.rb +5 -4
- data/app/models/picture_file.rb +1 -1
- data/app/models/resource_import_file.rb +8 -4
- data/app/views/agent_import_results/{index.txt.ruby → index.text.ruby} +0 -0
- data/app/views/agent_relationship_types/index.html.erb +3 -3
- data/app/views/items/index.text.ruby +13 -0
- data/app/views/manifestations/_title.html.erb +1 -1
- data/app/views/manifestations/index.text.ruby +13 -0
- data/app/views/manifestations/{show.txt.ruby → show.text.ruby} +0 -0
- data/app/views/resource_import_results/{index.txt.ruby → index.text.ruby} +0 -0
- data/lib/enju_biblio/version.rb +1 -1
- data/spec/controllers/items_controller_spec.rb +5 -0
- data/spec/controllers/manifestations_controller_spec.rb +2 -2
- data/spec/fixtures/items.yml +1 -0
- data/spec/fixtures/manifestations.yml +2 -1
- data/spec/models/manifestation_spec.rb +15 -1
- data/spec/models/picture_file_spec.rb +7 -1
- data/spec/models/resource_import_file_spec.rb +18 -0
- data/spec/views/agent_import_results/{index.txt.ruby_spec.rb → index.text.ruby_spec.rb} +1 -1
- data/spec/views/manifestations/{index.txt.ruby_spec.rb → index.text.ruby_spec.rb} +1 -1
- data/spec/views/manifestations/{show.txt.ruby_spec.rb → show.text.ruby_spec.rb} +1 -1
- data/spec/views/resource_import_results/{index.txt.ruby_spec.rb → index.text.ruby_spec.rb} +1 -1
- metadata +525 -525
- data/app/views/items/index.txt.erb +0 -4
- data/app/views/manifestations/index.txt.ruby +0 -7
@@ -1,4 +0,0 @@
|
|
1
|
-
title,isbn item_identifier call_number created_at
|
2
|
-
<%- @items.each do |item| -%>
|
3
|
-
"<%=h item.manifestation.original_title.gsub(/"/, '""') if item.manifestation -%>" <%=h item.manifestation.identifier_contents(:isbn).join("; ") %> <%=h item.item_identifier -%> <%=h item.call_number -%> <%=h item.created_at %><%= "\n" -%>
|
4
|
-
<%- end -%>
|