enju_biblio 0.1.0.pre42 → 0.1.0.pre43
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/creates_controller.rb +11 -11
- data/app/controllers/items_controller.rb +3 -3
- data/app/controllers/manifestations_controller.rb +14 -14
- data/app/controllers/owns_controller.rb +10 -10
- data/app/controllers/patron_import_files_controller.rb +34 -34
- data/app/controllers/patron_import_results_controller.rb +5 -5
- data/app/controllers/patron_relationship_types_controller.rb +3 -3
- data/app/controllers/patron_relationships_controller.rb +7 -7
- data/app/controllers/patron_types_controller.rb +3 -3
- data/app/controllers/patrons_controller.rb +61 -61
- data/app/controllers/picture_files_controller.rb +4 -4
- data/app/controllers/produces_controller.rb +11 -11
- data/app/controllers/realizes_controller.rb +11 -11
- data/app/helpers/{patrons_helper.rb → agents_helper.rb} +5 -5
- data/app/models/{patron.rb → agent.rb} +36 -36
- data/app/models/{patron_import_file.rb → agent_import_file.rb} +77 -77
- data/app/models/agent_import_result.rb +26 -0
- data/app/models/{patron_relationship.rb → agent_relationship.rb} +7 -7
- data/app/models/{patron_relationship_type.rb → agent_relationship_type.rb} +4 -4
- data/app/models/{patron_sweeper.rb → agent_sweeper.rb} +6 -6
- data/app/models/{patron_type.rb → agent_type.rb} +4 -4
- data/app/models/country.rb +1 -1
- data/app/models/create.rb +7 -7
- data/app/models/donate.rb +5 -5
- data/app/models/enju_biblio/ability.rb +24 -24
- data/app/models/item.rb +5 -5
- data/app/models/item_sweeper.rb +2 -2
- data/app/models/manifestation.rb +24 -20
- data/app/models/own.rb +7 -7
- data/app/models/page_sweeper.rb +4 -4
- data/app/models/picture_file.rb +1 -1
- data/app/models/produce.rb +7 -7
- data/app/models/realize.rb +7 -7
- data/app/models/resource_import_file.rb +19 -19
- data/app/views/{patron_import_files → agent_import_files}/edit.html.erb +6 -6
- data/app/views/agent_import_files/index.html.erb +40 -0
- data/app/views/{patron_import_files → agent_import_files}/new.html.erb +3 -3
- data/app/views/agent_import_files/show.html.erb +69 -0
- data/app/views/agent_import_results/index.csv.erb +3 -0
- data/app/views/agent_import_results/index.html.erb +52 -0
- data/app/views/agent_import_results/show.html.erb +38 -0
- data/app/views/{patron_relationship_types → agent_relationship_types}/_form.html.erb +1 -1
- data/app/views/{patron_relationship_types → agent_relationship_types}/edit.html.erb +3 -3
- data/app/views/agent_relationship_types/index.html.erb +43 -0
- data/app/views/{patron_relationship_types → agent_relationship_types}/new.html.erb +2 -2
- data/app/views/agent_relationship_types/show.html.erb +29 -0
- data/app/views/{patron_relationships → agent_relationships}/_form.html.erb +7 -7
- data/app/views/{patron_relationships → agent_relationships}/edit.html.erb +3 -3
- data/app/views/agent_relationships/index.html.erb +34 -0
- data/app/views/{patron_relationships → agent_relationships}/new.html.erb +2 -2
- data/app/views/agent_relationships/show.html.erb +24 -0
- data/app/views/{patron_types → agent_types}/_form.html.erb +1 -1
- data/app/views/{patron_types → agent_types}/edit.html.erb +3 -3
- data/app/views/agent_types/index.html.erb +43 -0
- data/app/views/{patron_types → agent_types}/new.html.erb +2 -2
- data/app/views/agent_types/show.html.erb +29 -0
- data/app/views/{patrons → agents}/_expression_list.html.erb +3 -3
- data/app/views/{patrons → agents}/_form.html.erb +9 -9
- data/app/views/{patrons → agents}/_form_family_name_first.html.erb +0 -0
- data/app/views/{patrons → agents}/_form_family_name_last.html.erb +0 -0
- data/app/views/{patrons → agents}/_history_list.html.erb +2 -2
- data/app/views/{patrons → agents}/_index.html.erb +9 -9
- data/app/views/{patrons → agents}/_index_expression.html.erb +15 -15
- data/app/views/{patrons → agents}/_index_manifestation.html.erb +16 -16
- data/app/views/agents/_index_patron.html.erb +71 -0
- data/app/views/agents/_index_patron_merge_list.html.erb +53 -0
- data/app/views/{patrons → agents}/_index_work.html.erb +17 -17
- data/app/views/{patrons → agents}/_manifestation_list.html.erb +3 -3
- data/app/views/agents/_patron.html.erb +13 -0
- data/app/views/agents/_patron_list.html.erb +18 -0
- data/app/views/{patrons → agents}/_work_list.html.erb +1 -1
- data/app/views/agents/edit.html.erb +16 -0
- data/app/views/agents/index.atom.builder +10 -0
- data/app/views/{patrons → agents}/index.html.erb +4 -4
- data/app/views/{patrons → agents}/index.mobile.erb +5 -5
- data/app/views/{patrons → agents}/index.rss.builder +11 -11
- data/app/views/{patrons → agents}/new.html.erb +2 -2
- data/app/views/agents/show.html.erb +152 -0
- data/app/views/{patrons → agents}/show.js.erb +0 -0
- data/app/views/agents/show.mobile.erb +69 -0
- data/app/views/creates/_form.html.erb +5 -5
- data/app/views/creates/_index.html.erb +2 -2
- data/app/views/creates/_index_patron.html.erb +6 -6
- data/app/views/creates/_index_work.html.erb +2 -2
- data/app/views/creates/index.html.erb +2 -2
- data/app/views/creates/new.html.erb +3 -3
- data/app/views/creates/show.html.erb +4 -4
- data/app/views/donates/edit.html.erb +2 -2
- data/app/views/donates/index.html.erb +2 -2
- data/app/views/donates/new.html.erb +2 -2
- data/app/views/donates/show.html.erb +2 -2
- data/app/views/items/index.html.erb +1 -1
- data/app/views/languages/index.html.erb +1 -1
- data/app/views/layouts/patrons.html.erb +2 -2
- data/app/views/manifestations/_index_form_contributor.html.erb +1 -1
- data/app/views/manifestations/_index_form_creator.html.erb +1 -1
- data/app/views/manifestations/_index_form_publisher.html.erb +1 -1
- data/app/views/manifestations/_manifestation_list.html.erb +6 -6
- data/app/views/manifestations/_show.mods.builder +4 -4
- data/app/views/manifestations/_show.rdf.builder +4 -4
- data/app/views/manifestations/_show_creators.html.erb +4 -4
- data/app/views/manifestations/_show_creators.mobile.erb +4 -4
- data/app/views/manifestations/_title.html.erb +3 -3
- data/app/views/manifestations/_title.mobile.erb +3 -3
- data/app/views/manifestations/edit.html.erb +2 -2
- data/app/views/manifestations/index.atom.builder +2 -2
- data/app/views/manifestations/index.html.erb +3 -3
- data/app/views/manifestations/index.opds.builder +2 -2
- data/app/views/manifestations/index.sru.builder +6 -6
- data/app/views/manifestations/new.html.erb +2 -2
- data/app/views/notifier/manifestation_info.en.text.erb +1 -1
- data/app/views/notifier/manifestation_info.ja.text.erb +1 -1
- data/app/views/owns/_form.html.erb +1 -1
- data/app/views/owns/index.html.erb +2 -2
- data/app/views/owns/show.html.erb +4 -4
- data/app/views/picture_files/_index.html.erb +1 -1
- data/app/views/picture_files/_index_patron.html.erb +2 -2
- data/app/views/picture_files/index.html.erb +2 -2
- data/app/views/picture_files/show.html.erb +2 -2
- data/app/views/produces/_form.html.erb +5 -5
- data/app/views/produces/_index.html.erb +2 -2
- data/app/views/produces/_index_manifestation.html.erb +3 -3
- data/app/views/produces/_index_patron.html.erb +3 -3
- data/app/views/produces/index.html.erb +2 -2
- data/app/views/produces/new.html.erb +3 -3
- data/app/views/produces/show.html.erb +4 -4
- data/app/views/realizes/_form.html.erb +5 -5
- data/app/views/realizes/_index.html.erb +2 -2
- data/app/views/realizes/_index_expression.html.erb +3 -3
- data/app/views/realizes/_index_patron.html.erb +3 -3
- data/app/views/realizes/index.html.erb +2 -2
- data/app/views/realizes/new.html.erb +3 -3
- data/app/views/realizes/show.html.erb +4 -4
- data/app/views/resource_import_results/show.html.erb +1 -1
- data/config/routes.rb +16 -16
- data/db/migrate/{001_create_patrons.rb → 001_create_agents.rb} +8 -8
- data/db/migrate/012_create_owns.rb +2 -2
- data/db/migrate/015_create_creates.rb +2 -2
- data/db/migrate/047_create_produces.rb +2 -2
- data/db/migrate/125_create_donates.rb +2 -2
- data/db/migrate/20080830154109_create_realizes.rb +2 -2
- data/db/migrate/{20080905191442_create_patron_types.rb → 20080905191442_create_agent_types.rb} +2 -2
- data/db/migrate/20081028083142_create_agent_import_files.rb +22 -0
- data/db/migrate/{20090812151902_create_patron_relationship_types.rb → 20090812151902_create_agent_relationship_types.rb} +2 -2
- data/db/migrate/20091012101112_add_dcndl_schema.rb +2 -2
- data/db/migrate/20100606073747_create_agent_relationships.rb +13 -0
- data/db/migrate/20100814091104_add_position_to_agent_relationship.rb +11 -0
- data/db/migrate/20100925074559_create_agent_import_results.rb +12 -0
- data/db/migrate/20110301121550_add_birth_date_and_death_date_to_agent.rb +11 -0
- data/db/migrate/20120413161403_add_fingerprint_to_agent_import_file.rb +5 -0
- data/db/migrate/20120413170720_add_error_message_to_agent_import_file.rb +5 -0
- data/db/migrate/20120511072422_add_agent_identifier_to_agent.rb +6 -0
- data/db/migrate/20120602141129_add_edit_mode_to_agent_import_file.rb +5 -0
- data/lib/enju_biblio/biblio_helper.rb +8 -8
- data/lib/enju_biblio/version.rb +1 -1
- data/lib/enju_biblio.rb +3 -3
- data/lib/generators/enju_biblio/setup/templates/db/fixtures/patron_relationship_types.yml +3 -3
- data/lib/generators/enju_biblio/setup/templates/db/fixtures/patron_types.yml +2 -2
- data/lib/generators/enju_biblio/setup/templates/db/fixtures/patrons.yml +4 -4
- data/spec/controllers/agent_import_files_controller_spec.rb +321 -0
- data/spec/controllers/{patron_import_results_controller_spec.rb → agent_import_results_controller_spec.rb} +17 -17
- data/spec/controllers/agent_relationship_types_controller_spec.rb +445 -0
- data/spec/controllers/agent_relationships_controller_spec.rb +446 -0
- data/spec/controllers/agent_types_controller_spec.rb +447 -0
- data/spec/controllers/agents_controller_spec.rb +644 -0
- data/spec/controllers/countries_controller_spec.rb +1 -1
- data/spec/controllers/items_controller_spec.rb +4 -4
- data/spec/controllers/manifestation_relationship_types_controller_spec.rb +1 -1
- data/spec/controllers/manifestations_controller_spec.rb +4 -4
- data/spec/controllers/owns_controller_spec.rb +2 -2
- data/spec/controllers/resource_import_files_controller_spec.rb +1 -1
- data/spec/dummy/app/helpers/application_helper.rb +5 -222
- data/spec/dummy/app/models/ability.rb +31 -31
- data/spec/dummy/app/models/{local_patron.rb → local_agent.rb} +1 -1
- data/spec/dummy/app/models/user.rb +3 -3
- data/spec/dummy/config/application.rb +0 -1
- data/spec/dummy/config/environments/test.rb +1 -0
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/migrate/035_create_reserves.rb +1 -1
- data/spec/dummy/db/migrate/20090519203307_create_participates.rb +2 -2
- data/spec/dummy/db/schema.rb +132 -132
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/private/system/agent_import_files/agent_imports/000/000/004/original/agent_delete_file.tsv +8 -0
- data/spec/dummy/private/system/agent_import_files/agent_imports/000/000/004/original/agent_import_file_sample1.tsv +5 -0
- data/spec/dummy/private/system/agent_import_files/agent_imports/000/000/004/original/agent_import_file_sample2.tsv +8 -0
- data/spec/dummy/private/system/agent_import_files/agent_imports/000/000/004/original/agent_import_file_sample3.tsv +5 -0
- data/spec/dummy/private/system/agent_import_files/agent_imports/000/000/004/original/agent_update_file.tsv +3 -0
- data/spec/dummy/solr/data/test/index/segments.gen +0 -0
- data/spec/dummy/solr/data/test/index/segments_q76 +0 -0
- data/spec/factories/{patron.rb → agent.rb} +3 -3
- data/spec/factories/create.rb +1 -1
- data/spec/factories/donate.rb +1 -1
- data/spec/factories/own.rb +1 -1
- data/spec/factories/patron_relationship.rb +3 -3
- data/spec/factories/patron_relationship_type.rb +2 -2
- data/spec/factories/patron_type.rb +2 -2
- data/spec/factories/produce.rb +1 -1
- data/spec/factories/realize.rb +1 -1
- data/spec/fixtures/{patron_import_files.yml → agent_import_files.yml} +18 -18
- data/spec/fixtures/{patron_import_results.yml → agent_import_results.yml} +7 -7
- data/spec/fixtures/{patron_relationship_types.yml → agent_relationship_types.yml} +4 -4
- data/spec/fixtures/{patron_relationships.yml → agent_relationships.yml} +4 -4
- data/spec/fixtures/{patron_types.yml → agent_types.yml} +4 -4
- data/spec/fixtures/{patrons.yml → agents.yml} +47 -47
- data/spec/fixtures/creates.yml +8 -8
- data/spec/fixtures/donates.yml +4 -4
- data/spec/fixtures/owns.yml +3 -3
- data/spec/fixtures/picture_files.yml +1 -1
- data/spec/fixtures/produces.yml +20 -20
- data/spec/fixtures/realizes.yml +11 -11
- data/spec/fixtures/reserves.yml +1 -1
- data/spec/models/agent_import_file_spec.rb +96 -0
- data/spec/models/{patron_import_result_spec.rb → agent_import_result_spec.rb} +4 -4
- data/spec/models/{patron_relationship_spec.rb → agent_relationship_spec.rb} +3 -3
- data/spec/models/{patron_relationship_type_spec.rb → agent_relationship_type_spec.rb} +2 -2
- data/spec/models/{patron_spec.rb → agent_spec.rb} +16 -16
- data/spec/models/{patron_type_spec.rb → agent_type_spec.rb} +2 -2
- data/spec/models/create_spec.rb +1 -1
- data/spec/models/donate_spec.rb +1 -1
- data/spec/models/manifestation_spec.rb +1 -1
- data/spec/models/own_spec.rb +1 -1
- data/spec/models/produce_spec.rb +1 -1
- data/spec/models/realize_spec.rb +1 -1
- data/spec/models/resource_import_file_spec.rb +8 -8
- data/spec/requests/agents_spec.rb +9 -0
- data/spec/routing/agent_relationship_types_routing_spec.rb +35 -0
- data/spec/routing/agent_relationships_routing_spec.rb +35 -0
- data/spec/routing/agents_routing_spec.rb +35 -0
- data/spec/views/creates/edit.html.erb_spec.rb +1 -1
- data/spec/views/creates/index.html.erb_spec.rb +2 -2
- data/spec/views/creates/new.html.erb_spec.rb +1 -1
- data/spec/views/creates/show.html.erb_spec.rb +1 -1
- data/spec/views/owns/edit.html.erb_spec.rb +1 -1
- data/spec/views/owns/index.html.erb_spec.rb +2 -2
- data/spec/views/owns/new.html.erb_spec.rb +1 -1
- data/spec/views/owns/show.html.erb_spec.rb +1 -1
- data/spec/views/produces/edit.html.erb_spec.rb +2 -2
- data/spec/views/produces/index.html.erb_spec.rb +2 -2
- data/spec/views/produces/new.html.erb_spec.rb +2 -2
- data/spec/views/produces/show.html.erb_spec.rb +1 -1
- data/spec/views/realizes/edit.html.erb_spec.rb +2 -2
- data/spec/views/realizes/index.html.erb_spec.rb +2 -2
- data/spec/views/realizes/new.html.erb_spec.rb +2 -2
- data/spec/views/realizes/show.html.erb_spec.rb +1 -1
- metadata +131 -187
- data/app/models/patron_import_result.rb +0 -26
- data/app/views/patron_import_files/index.html.erb +0 -40
- data/app/views/patron_import_files/show.html.erb +0 -69
- data/app/views/patron_import_results/index.csv.erb +0 -3
- data/app/views/patron_import_results/index.html.erb +0 -52
- data/app/views/patron_import_results/show.html.erb +0 -38
- data/app/views/patron_relationship_types/index.html.erb +0 -43
- data/app/views/patron_relationship_types/show.html.erb +0 -29
- data/app/views/patron_relationships/index.html.erb +0 -34
- data/app/views/patron_relationships/show.html.erb +0 -24
- data/app/views/patron_types/index.html.erb +0 -43
- data/app/views/patron_types/show.html.erb +0 -29
- data/app/views/patrons/_index_patron.html.erb +0 -71
- data/app/views/patrons/_index_patron_merge_list.html.erb +0 -53
- data/app/views/patrons/_patron.html.erb +0 -13
- data/app/views/patrons/_patron_list.html.erb +0 -18
- data/app/views/patrons/edit.html.erb +0 -16
- data/app/views/patrons/index.atom.builder +0 -10
- data/app/views/patrons/show.html.erb +0 -152
- data/app/views/patrons/show.mobile.erb +0 -69
- data/db/migrate/20081028083142_create_patron_import_files.rb +0 -22
- data/db/migrate/20100606073747_create_patron_relationships.rb +0 -13
- data/db/migrate/20100814091104_add_position_to_patron_relationship.rb +0 -11
- data/db/migrate/20100925074559_create_patron_import_results.rb +0 -12
- data/db/migrate/20110301121550_add_birth_date_and_death_date_to_patron.rb +0 -11
- data/db/migrate/20120413161403_add_fingerprint_to_patron_import_file.rb +0 -5
- data/db/migrate/20120413170720_add_error_message_to_patron_import_file.rb +0 -5
- data/db/migrate/20120511072422_add_patron_identifier_to_patron.rb +0 -6
- data/db/migrate/20120602141129_add_edit_mode_to_patron_import_file.rb +0 -5
- data/spec/controllers/patron_import_files_controller_spec.rb +0 -321
- data/spec/controllers/patron_relationship_types_controller_spec.rb +0 -445
- data/spec/controllers/patron_relationships_controller_spec.rb +0 -446
- data/spec/controllers/patron_types_controller_spec.rb +0 -447
- data/spec/controllers/patrons_controller_spec.rb +0 -644
- data/spec/dummy/app/mailers/notifier.rb +0 -40
- data/spec/dummy/lib/plugins/ext/event-calendar.rb +0 -38
- data/spec/dummy/lib/plugins/ext/sunspot/abstract_search.rb +0 -12
- data/spec/dummy/lib/plugins/ext/sunspot/dismax.rb +0 -41
- data/spec/dummy/lib/plugins/ext/sunspot/start_record.rb +0 -55
- data/spec/dummy/lib/plugins/ext/sunspot.rb +0 -3
- data/spec/dummy/lib/plugins/ext.rb +0 -1
- data/spec/dummy/lib/plugins.rb +0 -2
- data/spec/dummy/solr/data/test/index/_goc.fdt +0 -0
- data/spec/dummy/solr/data/test/index/_goc.fdx +0 -0
- data/spec/dummy/solr/data/test/index/_goc.fnm +0 -7
- data/spec/dummy/solr/data/test/index/_goc.frq +0 -0
- data/spec/dummy/solr/data/test/index/_goc.nrm +0 -1
- data/spec/dummy/solr/data/test/index/_goc.prx +0 -0
- data/spec/dummy/solr/data/test/index/_goc.tii +0 -0
- data/spec/dummy/solr/data/test/index/_goc.tis +0 -0
- data/spec/dummy/solr/data/test/index/_god.fdt +0 -0
- data/spec/dummy/solr/data/test/index/_god.fdx +0 -0
- data/spec/dummy/solr/data/test/index/_god.fnm +0 -7
- data/spec/dummy/solr/data/test/index/_god.frq +0 -0
- data/spec/dummy/solr/data/test/index/_god.nrm +0 -1
- data/spec/dummy/solr/data/test/index/_god.prx +0 -0
- data/spec/dummy/solr/data/test/index/_god.tii +0 -0
- data/spec/dummy/solr/data/test/index/_god.tis +0 -0
- data/spec/dummy/solr/data/test/index/_goe.fdt +0 -0
- data/spec/dummy/solr/data/test/index/_goe.fdx +0 -0
- data/spec/dummy/solr/data/test/index/_goe.fnm +0 -8
- data/spec/dummy/solr/data/test/index/_goe.frq +0 -0
- data/spec/dummy/solr/data/test/index/_goe.nrm +0 -1
- data/spec/dummy/solr/data/test/index/_goe.prx +0 -0
- data/spec/dummy/solr/data/test/index/_goe.tii +0 -0
- data/spec/dummy/solr/data/test/index/_goe.tis +0 -0
- data/spec/dummy/solr/data/test/index/segments_otc +0 -0
- data/spec/dummy/tmp/cache/4AD/470/country_all +0 -0
- data/spec/models/patron_import_file_spec.rb +0 -96
- data/spec/requests/patrons_spec.rb +0 -9
- data/spec/routing/patron_relationship_types_routing_spec.rb +0 -35
- data/spec/routing/patron_relationships_routing_spec.rb +0 -35
- data/spec/routing/patrons_routing_spec.rb +0 -35
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.
|
4
|
+
version: 0.1.0.pre43
|
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-
|
11
|
+
date: 2013-07-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: enju_core
|
@@ -380,14 +380,14 @@ dependencies:
|
|
380
380
|
requirements:
|
381
381
|
- - ~>
|
382
382
|
- !ruby/object:Gem::Version
|
383
|
-
version: 0.1.0.
|
383
|
+
version: 0.1.0.pre29
|
384
384
|
type: :development
|
385
385
|
prerelease: false
|
386
386
|
version_requirements: !ruby/object:Gem::Requirement
|
387
387
|
requirements:
|
388
388
|
- - ~>
|
389
389
|
- !ruby/object:Gem::Version
|
390
|
-
version: 0.1.0.
|
390
|
+
version: 0.1.0.pre29
|
391
391
|
- !ruby/object:Gem::Dependency
|
392
392
|
name: enju_ndl
|
393
393
|
requirement: !ruby/object:Gem::Requirement
|
@@ -490,13 +490,20 @@ files:
|
|
490
490
|
- app/controllers/resource_import_files_controller.rb
|
491
491
|
- app/controllers/resource_import_results_controller.rb
|
492
492
|
- app/controllers/series_statements_controller.rb
|
493
|
+
- app/helpers/agents_helper.rb
|
493
494
|
- app/helpers/identifier_types_helper.rb
|
494
495
|
- app/helpers/identifiers_helper.rb
|
495
496
|
- app/helpers/manifestations_helper.rb
|
496
497
|
- app/helpers/owns_helper.rb
|
497
|
-
- app/helpers/patrons_helper.rb
|
498
498
|
- app/helpers/picture_files_helper.rb
|
499
499
|
- app/helpers/series_statements_helper.rb
|
500
|
+
- app/models/agent.rb
|
501
|
+
- app/models/agent_import_file.rb
|
502
|
+
- app/models/agent_import_result.rb
|
503
|
+
- app/models/agent_relationship.rb
|
504
|
+
- app/models/agent_relationship_type.rb
|
505
|
+
- app/models/agent_sweeper.rb
|
506
|
+
- app/models/agent_type.rb
|
500
507
|
- app/models/carrier_type.rb
|
501
508
|
- app/models/content_type.rb
|
502
509
|
- app/models/country.rb
|
@@ -522,13 +529,6 @@ files:
|
|
522
529
|
- app/models/medium_of_performance.rb
|
523
530
|
- app/models/own.rb
|
524
531
|
- app/models/page_sweeper.rb
|
525
|
-
- app/models/patron.rb
|
526
|
-
- app/models/patron_import_file.rb
|
527
|
-
- app/models/patron_import_result.rb
|
528
|
-
- app/models/patron_relationship.rb
|
529
|
-
- app/models/patron_relationship_type.rb
|
530
|
-
- app/models/patron_sweeper.rb
|
531
|
-
- app/models/patron_type.rb
|
532
532
|
- app/models/picture_file.rb
|
533
533
|
- app/models/produce.rb
|
534
534
|
- app/models/produce_type.rb
|
@@ -537,6 +537,52 @@ files:
|
|
537
537
|
- app/models/resource_import_file.rb
|
538
538
|
- app/models/resource_import_result.rb
|
539
539
|
- app/models/series_statement.rb
|
540
|
+
- app/views/agent_import_files/edit.html.erb
|
541
|
+
- app/views/agent_import_files/index.html.erb
|
542
|
+
- app/views/agent_import_files/new.html.erb
|
543
|
+
- app/views/agent_import_files/show.html.erb
|
544
|
+
- app/views/agent_import_results/index.csv.erb
|
545
|
+
- app/views/agent_import_results/index.html.erb
|
546
|
+
- app/views/agent_import_results/show.html.erb
|
547
|
+
- app/views/agent_relationship_types/_form.html.erb
|
548
|
+
- app/views/agent_relationship_types/edit.html.erb
|
549
|
+
- app/views/agent_relationship_types/index.html.erb
|
550
|
+
- app/views/agent_relationship_types/new.html.erb
|
551
|
+
- app/views/agent_relationship_types/show.html.erb
|
552
|
+
- app/views/agent_relationships/_form.html.erb
|
553
|
+
- app/views/agent_relationships/edit.html.erb
|
554
|
+
- app/views/agent_relationships/index.html.erb
|
555
|
+
- app/views/agent_relationships/new.html.erb
|
556
|
+
- app/views/agent_relationships/show.html.erb
|
557
|
+
- app/views/agent_types/_form.html.erb
|
558
|
+
- app/views/agent_types/edit.html.erb
|
559
|
+
- app/views/agent_types/index.html.erb
|
560
|
+
- app/views/agent_types/new.html.erb
|
561
|
+
- app/views/agent_types/show.html.erb
|
562
|
+
- app/views/agents/_expression_list.html.erb
|
563
|
+
- app/views/agents/_form.html.erb
|
564
|
+
- app/views/agents/_form_family_name_first.html.erb
|
565
|
+
- app/views/agents/_form_family_name_last.html.erb
|
566
|
+
- app/views/agents/_history_list.html.erb
|
567
|
+
- app/views/agents/_index.html.erb
|
568
|
+
- app/views/agents/_index_expression.html.erb
|
569
|
+
- app/views/agents/_index_manifestation.html.erb
|
570
|
+
- app/views/agents/_index_patron.html.erb
|
571
|
+
- app/views/agents/_index_patron_merge_list.html.erb
|
572
|
+
- app/views/agents/_index_work.html.erb
|
573
|
+
- app/views/agents/_manifestation_list.html.erb
|
574
|
+
- app/views/agents/_patron.html.erb
|
575
|
+
- app/views/agents/_patron_list.html.erb
|
576
|
+
- app/views/agents/_work_list.html.erb
|
577
|
+
- app/views/agents/edit.html.erb
|
578
|
+
- app/views/agents/index.atom.builder
|
579
|
+
- app/views/agents/index.html.erb
|
580
|
+
- app/views/agents/index.mobile.erb
|
581
|
+
- app/views/agents/index.rss.builder
|
582
|
+
- app/views/agents/new.html.erb
|
583
|
+
- app/views/agents/show.html.erb
|
584
|
+
- app/views/agents/show.js.erb
|
585
|
+
- app/views/agents/show.mobile.erb
|
540
586
|
- app/views/carrier_types/_form.html.erb
|
541
587
|
- app/views/carrier_types/edit.html.erb
|
542
588
|
- app/views/carrier_types/index.html.erb
|
@@ -708,52 +754,6 @@ files:
|
|
708
754
|
- app/views/owns/index.html.erb
|
709
755
|
- app/views/owns/new.html.erb
|
710
756
|
- app/views/owns/show.html.erb
|
711
|
-
- app/views/patron_import_files/edit.html.erb
|
712
|
-
- app/views/patron_import_files/index.html.erb
|
713
|
-
- app/views/patron_import_files/new.html.erb
|
714
|
-
- app/views/patron_import_files/show.html.erb
|
715
|
-
- app/views/patron_import_results/index.csv.erb
|
716
|
-
- app/views/patron_import_results/index.html.erb
|
717
|
-
- app/views/patron_import_results/show.html.erb
|
718
|
-
- app/views/patron_relationship_types/_form.html.erb
|
719
|
-
- app/views/patron_relationship_types/edit.html.erb
|
720
|
-
- app/views/patron_relationship_types/index.html.erb
|
721
|
-
- app/views/patron_relationship_types/new.html.erb
|
722
|
-
- app/views/patron_relationship_types/show.html.erb
|
723
|
-
- app/views/patron_relationships/_form.html.erb
|
724
|
-
- app/views/patron_relationships/edit.html.erb
|
725
|
-
- app/views/patron_relationships/index.html.erb
|
726
|
-
- app/views/patron_relationships/new.html.erb
|
727
|
-
- app/views/patron_relationships/show.html.erb
|
728
|
-
- app/views/patron_types/_form.html.erb
|
729
|
-
- app/views/patron_types/edit.html.erb
|
730
|
-
- app/views/patron_types/index.html.erb
|
731
|
-
- app/views/patron_types/new.html.erb
|
732
|
-
- app/views/patron_types/show.html.erb
|
733
|
-
- app/views/patrons/_expression_list.html.erb
|
734
|
-
- app/views/patrons/_form.html.erb
|
735
|
-
- app/views/patrons/_form_family_name_first.html.erb
|
736
|
-
- app/views/patrons/_form_family_name_last.html.erb
|
737
|
-
- app/views/patrons/_history_list.html.erb
|
738
|
-
- app/views/patrons/_index.html.erb
|
739
|
-
- app/views/patrons/_index_expression.html.erb
|
740
|
-
- app/views/patrons/_index_manifestation.html.erb
|
741
|
-
- app/views/patrons/_index_patron.html.erb
|
742
|
-
- app/views/patrons/_index_patron_merge_list.html.erb
|
743
|
-
- app/views/patrons/_index_work.html.erb
|
744
|
-
- app/views/patrons/_manifestation_list.html.erb
|
745
|
-
- app/views/patrons/_patron.html.erb
|
746
|
-
- app/views/patrons/_patron_list.html.erb
|
747
|
-
- app/views/patrons/_work_list.html.erb
|
748
|
-
- app/views/patrons/edit.html.erb
|
749
|
-
- app/views/patrons/index.atom.builder
|
750
|
-
- app/views/patrons/index.html.erb
|
751
|
-
- app/views/patrons/index.mobile.erb
|
752
|
-
- app/views/patrons/index.rss.builder
|
753
|
-
- app/views/patrons/new.html.erb
|
754
|
-
- app/views/patrons/show.html.erb
|
755
|
-
- app/views/patrons/show.js.erb
|
756
|
-
- app/views/patrons/show.mobile.erb
|
757
757
|
- app/views/picture_files/_index.html.erb
|
758
758
|
- app/views/picture_files/_index_event.html.erb
|
759
759
|
- app/views/picture_files/_index_manifestation.html.erb
|
@@ -814,7 +814,7 @@ files:
|
|
814
814
|
- config/locales/translation_en.yml
|
815
815
|
- config/locales/translation_ja.yml
|
816
816
|
- config/routes.rb
|
817
|
-
- db/migrate/
|
817
|
+
- db/migrate/001_create_agents.rb
|
818
818
|
- db/migrate/005_create_manifestations.rb
|
819
819
|
- db/migrate/006_create_items.rb
|
820
820
|
- db/migrate/012_create_owns.rb
|
@@ -826,18 +826,18 @@ files:
|
|
826
826
|
- db/migrate/125_create_donates.rb
|
827
827
|
- db/migrate/20080830154109_create_realizes.rb
|
828
828
|
- db/migrate/20080830172106_create_exemplifies.rb
|
829
|
-
- db/migrate/
|
829
|
+
- db/migrate/20080905191442_create_agent_types.rb
|
830
830
|
- db/migrate/20081025083323_create_countries.rb
|
831
831
|
- db/migrate/20081025083905_create_languages.rb
|
832
832
|
- db/migrate/20081027150907_create_picture_files.rb
|
833
|
-
- db/migrate/
|
833
|
+
- db/migrate/20081028083142_create_agent_import_files.rb
|
834
834
|
- db/migrate/20081028083208_create_resource_import_files.rb
|
835
835
|
- db/migrate/20090705133942_add_attachments_picture_to_picture_file.rb
|
836
836
|
- db/migrate/20090705212043_add_attachments_attachment_to_manifestation.rb
|
837
837
|
- db/migrate/20090719201843_create_extents.rb
|
838
838
|
- db/migrate/20090720091106_create_medium_of_performances.rb
|
839
839
|
- db/migrate/20090720091429_create_content_types.rb
|
840
|
-
- db/migrate/
|
840
|
+
- db/migrate/20090812151902_create_agent_relationship_types.rb
|
841
841
|
- db/migrate/20091012101112_add_dcndl_schema.rb
|
842
842
|
- db/migrate/20091025080447_create_licenses.rb
|
843
843
|
- db/migrate/20091214131723_create_series_statements.rb
|
@@ -845,14 +845,14 @@ files:
|
|
845
845
|
- db/migrate/20100223121519_rename_series_statement_title_to_original_title.rb
|
846
846
|
- db/migrate/20100321235924_add_series_statement_identifier_to_series_statement.rb
|
847
847
|
- db/migrate/20100525124311_create_manifestation_relationships.rb
|
848
|
-
- db/migrate/
|
848
|
+
- db/migrate/20100606073747_create_agent_relationships.rb
|
849
849
|
- db/migrate/20100607044753_create_manifestation_relationship_types.rb
|
850
|
-
- db/migrate/
|
850
|
+
- db/migrate/20100814091104_add_position_to_agent_relationship.rb
|
851
851
|
- db/migrate/20100925043847_create_resource_import_results.rb
|
852
|
-
- db/migrate/
|
852
|
+
- db/migrate/20100925074559_create_agent_import_results.rb
|
853
853
|
- db/migrate/20101212070145_add_acquired_at_to_item.rb
|
854
854
|
- db/migrate/20110301035123_add_pub_date_to_manifestation.rb
|
855
|
-
- db/migrate/
|
855
|
+
- db/migrate/20110301121550_add_birth_date_and_death_date_to_agent.rb
|
856
856
|
- db/migrate/20110603184217_add_edit_mode_to_resource_import_file.rb
|
857
857
|
- db/migrate/20110619064807_add_edition_string_to_manifestation.rb
|
858
858
|
- db/migrate/20110620173525_add_bookstore_id_to_item.rb
|
@@ -872,13 +872,13 @@ files:
|
|
872
872
|
- db/migrate/20120413072700_add_picture_meta_to_picture_file.rb
|
873
873
|
- db/migrate/20120413100352_add_fingerprint_to_picture_file.rb
|
874
874
|
- db/migrate/20120413161340_add_fingerprint_to_resource_import_file.rb
|
875
|
-
- db/migrate/
|
875
|
+
- db/migrate/20120413161403_add_fingerprint_to_agent_import_file.rb
|
876
876
|
- db/migrate/20120413170705_add_error_message_to_resource_import_file.rb
|
877
|
-
- db/migrate/
|
877
|
+
- db/migrate/20120413170720_add_error_message_to_agent_import_file.rb
|
878
878
|
- db/migrate/20120415164821_add_attachment_meta_to_manifestation.rb
|
879
879
|
- db/migrate/20120418081407_add_month_of_publication_to_manifestation.rb
|
880
|
-
- db/migrate/
|
881
|
-
- db/migrate/
|
880
|
+
- db/migrate/20120511072422_add_agent_identifier_to_agent.rb
|
881
|
+
- db/migrate/20120602141129_add_edit_mode_to_agent_import_file.rb
|
882
882
|
- db/migrate/20121116031206_add_fulltext_content_to_manifestation.rb
|
883
883
|
- db/migrate/20121116033446_add_doi_to_manifestation.rb
|
884
884
|
- db/migrate/20130421093852_add_periodical_to_manifestation.rb
|
@@ -927,6 +927,12 @@ files:
|
|
927
927
|
- spec/cassette_library/ResourceImportFile/when_its_mode_is_create_/when_it_has_only_isbn/should_be_imported.yml
|
928
928
|
- spec/cassette_library/ResourceImportFile/when_its_mode_is_create_/when_it_is_written_in_shift_jis/should_be_imported.yml
|
929
929
|
- spec/cassette_library/ResourceImportFile/when_its_mode_is_create_/when_it_is_written_in_utf-8/should_be_imported.yml
|
930
|
+
- spec/controllers/agent_import_files_controller_spec.rb
|
931
|
+
- spec/controllers/agent_import_results_controller_spec.rb
|
932
|
+
- spec/controllers/agent_relationship_types_controller_spec.rb
|
933
|
+
- spec/controllers/agent_relationships_controller_spec.rb
|
934
|
+
- spec/controllers/agent_types_controller_spec.rb
|
935
|
+
- spec/controllers/agents_controller_spec.rb
|
930
936
|
- spec/controllers/carrier_types_controller_spec.rb
|
931
937
|
- spec/controllers/content_types_controller_spec.rb
|
932
938
|
- spec/controllers/countries_controller_spec.rb
|
@@ -947,12 +953,6 @@ files:
|
|
947
953
|
- spec/controllers/manifestations_controller_spec.rb
|
948
954
|
- spec/controllers/medium_of_performances_controller_spec.rb
|
949
955
|
- spec/controllers/owns_controller_spec.rb
|
950
|
-
- spec/controllers/patron_import_files_controller_spec.rb
|
951
|
-
- spec/controllers/patron_import_results_controller_spec.rb
|
952
|
-
- spec/controllers/patron_relationship_types_controller_spec.rb
|
953
|
-
- spec/controllers/patron_relationships_controller_spec.rb
|
954
|
-
- spec/controllers/patron_types_controller_spec.rb
|
955
|
-
- spec/controllers/patrons_controller_spec.rb
|
956
956
|
- spec/controllers/picture_files_controller_spec.rb
|
957
957
|
- spec/controllers/produce_types_controller_spec.rb
|
958
958
|
- spec/controllers/produces_controller_spec.rb
|
@@ -965,9 +965,8 @@ files:
|
|
965
965
|
- spec/dummy/app/assets/stylesheets/application.css
|
966
966
|
- spec/dummy/app/controllers/application_controller.rb
|
967
967
|
- spec/dummy/app/helpers/application_helper.rb
|
968
|
-
- spec/dummy/app/mailers/notifier.rb
|
969
968
|
- spec/dummy/app/models/ability.rb
|
970
|
-
- spec/dummy/app/models/
|
969
|
+
- spec/dummy/app/models/local_agent.rb
|
971
970
|
- spec/dummy/app/models/setting.rb
|
972
971
|
- spec/dummy/app/models/user.rb
|
973
972
|
- spec/dummy/app/views/layouts/application.html.erb
|
@@ -1093,13 +1092,11 @@ files:
|
|
1093
1092
|
- spec/dummy/db/migrate/20130504195916_add_subject_heading_type_id_to_subject.rb
|
1094
1093
|
- spec/dummy/db/schema.rb
|
1095
1094
|
- spec/dummy/db/test.sqlite3
|
1096
|
-
- spec/dummy/
|
1097
|
-
- spec/dummy/
|
1098
|
-
- spec/dummy/
|
1099
|
-
- spec/dummy/
|
1100
|
-
- spec/dummy/
|
1101
|
-
- spec/dummy/lib/plugins/ext.rb
|
1102
|
-
- spec/dummy/lib/plugins.rb
|
1095
|
+
- spec/dummy/private/system/agent_import_files/agent_imports/000/000/004/original/agent_delete_file.tsv
|
1096
|
+
- spec/dummy/private/system/agent_import_files/agent_imports/000/000/004/original/agent_import_file_sample1.tsv
|
1097
|
+
- spec/dummy/private/system/agent_import_files/agent_imports/000/000/004/original/agent_import_file_sample2.tsv
|
1098
|
+
- spec/dummy/private/system/agent_import_files/agent_imports/000/000/004/original/agent_import_file_sample3.tsv
|
1099
|
+
- spec/dummy/private/system/agent_import_files/agent_imports/000/000/004/original/agent_update_file.tsv
|
1103
1100
|
- spec/dummy/private/system/patron_import_files/patron_imports/000/000/004/original/patron_delete_file.tsv
|
1104
1101
|
- spec/dummy/private/system/patron_import_files/patron_imports/000/000/004/original/patron_import_file_sample1.tsv
|
1105
1102
|
- spec/dummy/private/system/patron_import_files/patron_imports/000/000/004/original/patron_import_file_sample2.tsv
|
@@ -1134,37 +1131,13 @@ files:
|
|
1134
1131
|
- spec/dummy/solr/conf/spellings.txt
|
1135
1132
|
- spec/dummy/solr/conf/stopwords.txt
|
1136
1133
|
- spec/dummy/solr/conf/synonyms.txt
|
1137
|
-
- spec/dummy/solr/data/test/index/_goc.fdt
|
1138
|
-
- spec/dummy/solr/data/test/index/_goc.fdx
|
1139
|
-
- spec/dummy/solr/data/test/index/_goc.fnm
|
1140
|
-
- spec/dummy/solr/data/test/index/_goc.frq
|
1141
|
-
- spec/dummy/solr/data/test/index/_goc.nrm
|
1142
|
-
- spec/dummy/solr/data/test/index/_goc.prx
|
1143
|
-
- spec/dummy/solr/data/test/index/_goc.tii
|
1144
|
-
- spec/dummy/solr/data/test/index/_goc.tis
|
1145
|
-
- spec/dummy/solr/data/test/index/_god.fdt
|
1146
|
-
- spec/dummy/solr/data/test/index/_god.fdx
|
1147
|
-
- spec/dummy/solr/data/test/index/_god.fnm
|
1148
|
-
- spec/dummy/solr/data/test/index/_god.frq
|
1149
|
-
- spec/dummy/solr/data/test/index/_god.nrm
|
1150
|
-
- spec/dummy/solr/data/test/index/_god.prx
|
1151
|
-
- spec/dummy/solr/data/test/index/_god.tii
|
1152
|
-
- spec/dummy/solr/data/test/index/_god.tis
|
1153
|
-
- spec/dummy/solr/data/test/index/_goe.fdt
|
1154
|
-
- spec/dummy/solr/data/test/index/_goe.fdx
|
1155
|
-
- spec/dummy/solr/data/test/index/_goe.fnm
|
1156
|
-
- spec/dummy/solr/data/test/index/_goe.frq
|
1157
|
-
- spec/dummy/solr/data/test/index/_goe.nrm
|
1158
|
-
- spec/dummy/solr/data/test/index/_goe.prx
|
1159
|
-
- spec/dummy/solr/data/test/index/_goe.tii
|
1160
|
-
- spec/dummy/solr/data/test/index/_goe.tis
|
1161
1134
|
- spec/dummy/solr/data/test/index/segments.gen
|
1162
|
-
- spec/dummy/solr/data/test/index/
|
1135
|
+
- spec/dummy/solr/data/test/index/segments_q76
|
1163
1136
|
- spec/dummy/solr/data/test/spellchecker/segments.gen
|
1164
1137
|
- spec/dummy/solr/data/test/spellchecker/segments_1
|
1165
|
-
- spec/dummy/tmp/cache/4AD/470/country_all
|
1166
1138
|
- spec/dummy/tmp/cache/4F7/F90/default_role
|
1167
1139
|
- spec/dummy/tmp/cache/6E4/420/search_engine_all
|
1140
|
+
- spec/factories/agent.rb
|
1168
1141
|
- spec/factories/basket.rb
|
1169
1142
|
- spec/factories/carrier_type.rb
|
1170
1143
|
- spec/factories/content_type.rb
|
@@ -1187,7 +1160,6 @@ files:
|
|
1187
1160
|
- spec/factories/manifestation_relationship_type.rb
|
1188
1161
|
- spec/factories/medium_of_performance.rb
|
1189
1162
|
- spec/factories/own.rb
|
1190
|
-
- spec/factories/patron.rb
|
1191
1163
|
- spec/factories/patron_relationship.rb
|
1192
1164
|
- spec/factories/patron_relationship_type.rb
|
1193
1165
|
- spec/factories/patron_type.rb
|
@@ -1199,6 +1171,12 @@ files:
|
|
1199
1171
|
- spec/factories/series_statement.rb
|
1200
1172
|
- spec/factories/series_statement_relationship.rb
|
1201
1173
|
- spec/factories/user.rb
|
1174
|
+
- spec/fixtures/agent_import_files.yml
|
1175
|
+
- spec/fixtures/agent_import_results.yml
|
1176
|
+
- spec/fixtures/agent_relationship_types.yml
|
1177
|
+
- spec/fixtures/agent_relationships.yml
|
1178
|
+
- spec/fixtures/agent_types.yml
|
1179
|
+
- spec/fixtures/agents.yml
|
1202
1180
|
- spec/fixtures/baskets.yml
|
1203
1181
|
- spec/fixtures/bookstores.yml
|
1204
1182
|
- spec/fixtures/budget_types.yml
|
@@ -1243,12 +1221,6 @@ files:
|
|
1243
1221
|
- spec/fixtures/message_templates.yml
|
1244
1222
|
- spec/fixtures/messages.yml
|
1245
1223
|
- spec/fixtures/owns.yml
|
1246
|
-
- spec/fixtures/patron_import_files.yml
|
1247
|
-
- spec/fixtures/patron_import_results.yml
|
1248
|
-
- spec/fixtures/patron_relationship_types.yml
|
1249
|
-
- spec/fixtures/patron_relationships.yml
|
1250
|
-
- spec/fixtures/patron_types.yml
|
1251
|
-
- spec/fixtures/patrons.yml
|
1252
1224
|
- spec/fixtures/picture_files.yml
|
1253
1225
|
- spec/fixtures/produce_types.yml
|
1254
1226
|
- spec/fixtures/produces.yml
|
@@ -1273,6 +1245,12 @@ files:
|
|
1273
1245
|
- spec/fixtures/user_has_roles.yml
|
1274
1246
|
- spec/fixtures/user_reserve_stats.yml
|
1275
1247
|
- spec/fixtures/users.yml
|
1248
|
+
- spec/models/agent_import_file_spec.rb
|
1249
|
+
- spec/models/agent_import_result_spec.rb
|
1250
|
+
- spec/models/agent_relationship_spec.rb
|
1251
|
+
- spec/models/agent_relationship_type_spec.rb
|
1252
|
+
- spec/models/agent_spec.rb
|
1253
|
+
- spec/models/agent_type_spec.rb
|
1276
1254
|
- spec/models/carrier_type_spec.rb
|
1277
1255
|
- spec/models/content_type_spec.rb
|
1278
1256
|
- spec/models/country_spec.rb
|
@@ -1294,12 +1272,6 @@ files:
|
|
1294
1272
|
- spec/models/manifestation_spec.rb
|
1295
1273
|
- spec/models/medium_of_performance_spec.rb
|
1296
1274
|
- spec/models/own_spec.rb
|
1297
|
-
- spec/models/patron_import_file_spec.rb
|
1298
|
-
- spec/models/patron_import_result_spec.rb
|
1299
|
-
- spec/models/patron_relationship_spec.rb
|
1300
|
-
- spec/models/patron_relationship_type_spec.rb
|
1301
|
-
- spec/models/patron_spec.rb
|
1302
|
-
- spec/models/patron_type_spec.rb
|
1303
1275
|
- spec/models/picture_file_spec.rb
|
1304
1276
|
- spec/models/produce_spec.rb
|
1305
1277
|
- spec/models/produce_type_spec.rb
|
@@ -1308,12 +1280,15 @@ files:
|
|
1308
1280
|
- spec/models/resource_import_file_spec.rb
|
1309
1281
|
- spec/models/resource_import_result_spec.rb
|
1310
1282
|
- spec/models/series_statement_spec.rb
|
1283
|
+
- spec/requests/agents_spec.rb
|
1311
1284
|
- spec/requests/create_types_spec.rb
|
1312
1285
|
- spec/requests/items_spec.rb
|
1313
1286
|
- spec/requests/manifestations_spec.rb
|
1314
|
-
- spec/requests/patrons_spec.rb
|
1315
1287
|
- spec/requests/produce_types_spec.rb
|
1316
1288
|
- spec/requests/realize_types_spec.rb
|
1289
|
+
- spec/routing/agent_relationship_types_routing_spec.rb
|
1290
|
+
- spec/routing/agent_relationships_routing_spec.rb
|
1291
|
+
- spec/routing/agents_routing_spec.rb
|
1317
1292
|
- spec/routing/content_types_routing_spec.rb
|
1318
1293
|
- spec/routing/create_types_routing_spec.rb
|
1319
1294
|
- spec/routing/creates_routing_spec.rb
|
@@ -1322,9 +1297,6 @@ files:
|
|
1322
1297
|
- spec/routing/manifestation_relationship_types_routing_spec.rb
|
1323
1298
|
- spec/routing/manifestation_relationships_routing_spec.rb
|
1324
1299
|
- spec/routing/manifestations_routing_spec.rb
|
1325
|
-
- spec/routing/patron_relationship_types_routing_spec.rb
|
1326
|
-
- spec/routing/patron_relationships_routing_spec.rb
|
1327
|
-
- spec/routing/patrons_routing_spec.rb
|
1328
1300
|
- spec/routing/produce_types_routing_spec.rb
|
1329
1301
|
- spec/routing/realize_types_routing_spec.rb
|
1330
1302
|
- spec/routing/realizes_routing_spec.rb
|
@@ -1383,7 +1355,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
1383
1355
|
version: 1.3.1
|
1384
1356
|
requirements: []
|
1385
1357
|
rubyforge_project:
|
1386
|
-
rubygems_version: 2.0.
|
1358
|
+
rubygems_version: 2.0.3
|
1387
1359
|
signing_key:
|
1388
1360
|
specification_version: 4
|
1389
1361
|
summary: enju_biblio plugin
|
@@ -1397,6 +1369,12 @@ test_files:
|
|
1397
1369
|
- spec/cassette_library/ResourceImportFile/when_its_mode_is_create_/when_it_has_only_isbn/should_be_imported.yml
|
1398
1370
|
- spec/cassette_library/ResourceImportFile/when_its_mode_is_create_/when_it_is_written_in_shift_jis/should_be_imported.yml
|
1399
1371
|
- spec/cassette_library/ResourceImportFile/when_its_mode_is_create_/when_it_is_written_in_utf-8/should_be_imported.yml
|
1372
|
+
- spec/controllers/agent_import_files_controller_spec.rb
|
1373
|
+
- spec/controllers/agent_import_results_controller_spec.rb
|
1374
|
+
- spec/controllers/agent_relationship_types_controller_spec.rb
|
1375
|
+
- spec/controllers/agent_relationships_controller_spec.rb
|
1376
|
+
- spec/controllers/agent_types_controller_spec.rb
|
1377
|
+
- spec/controllers/agents_controller_spec.rb
|
1400
1378
|
- spec/controllers/carrier_types_controller_spec.rb
|
1401
1379
|
- spec/controllers/content_types_controller_spec.rb
|
1402
1380
|
- spec/controllers/countries_controller_spec.rb
|
@@ -1417,12 +1395,6 @@ test_files:
|
|
1417
1395
|
- spec/controllers/manifestations_controller_spec.rb
|
1418
1396
|
- spec/controllers/medium_of_performances_controller_spec.rb
|
1419
1397
|
- spec/controllers/owns_controller_spec.rb
|
1420
|
-
- spec/controllers/patron_import_files_controller_spec.rb
|
1421
|
-
- spec/controllers/patron_import_results_controller_spec.rb
|
1422
|
-
- spec/controllers/patron_relationship_types_controller_spec.rb
|
1423
|
-
- spec/controllers/patron_relationships_controller_spec.rb
|
1424
|
-
- spec/controllers/patron_types_controller_spec.rb
|
1425
|
-
- spec/controllers/patrons_controller_spec.rb
|
1426
1398
|
- spec/controllers/picture_files_controller_spec.rb
|
1427
1399
|
- spec/controllers/produce_types_controller_spec.rb
|
1428
1400
|
- spec/controllers/produces_controller_spec.rb
|
@@ -1435,9 +1407,8 @@ test_files:
|
|
1435
1407
|
- spec/dummy/app/assets/stylesheets/application.css
|
1436
1408
|
- spec/dummy/app/controllers/application_controller.rb
|
1437
1409
|
- spec/dummy/app/helpers/application_helper.rb
|
1438
|
-
- spec/dummy/app/mailers/notifier.rb
|
1439
1410
|
- spec/dummy/app/models/ability.rb
|
1440
|
-
- spec/dummy/app/models/
|
1411
|
+
- spec/dummy/app/models/local_agent.rb
|
1441
1412
|
- spec/dummy/app/models/setting.rb
|
1442
1413
|
- spec/dummy/app/models/user.rb
|
1443
1414
|
- spec/dummy/app/views/layouts/application.html.erb
|
@@ -1563,13 +1534,11 @@ test_files:
|
|
1563
1534
|
- spec/dummy/db/migrate/20130504195916_add_subject_heading_type_id_to_subject.rb
|
1564
1535
|
- spec/dummy/db/schema.rb
|
1565
1536
|
- spec/dummy/db/test.sqlite3
|
1566
|
-
- spec/dummy/
|
1567
|
-
- spec/dummy/
|
1568
|
-
- spec/dummy/
|
1569
|
-
- spec/dummy/
|
1570
|
-
- spec/dummy/
|
1571
|
-
- spec/dummy/lib/plugins/ext.rb
|
1572
|
-
- spec/dummy/lib/plugins.rb
|
1537
|
+
- spec/dummy/private/system/agent_import_files/agent_imports/000/000/004/original/agent_delete_file.tsv
|
1538
|
+
- spec/dummy/private/system/agent_import_files/agent_imports/000/000/004/original/agent_import_file_sample1.tsv
|
1539
|
+
- spec/dummy/private/system/agent_import_files/agent_imports/000/000/004/original/agent_import_file_sample2.tsv
|
1540
|
+
- spec/dummy/private/system/agent_import_files/agent_imports/000/000/004/original/agent_import_file_sample3.tsv
|
1541
|
+
- spec/dummy/private/system/agent_import_files/agent_imports/000/000/004/original/agent_update_file.tsv
|
1573
1542
|
- spec/dummy/private/system/patron_import_files/patron_imports/000/000/004/original/patron_delete_file.tsv
|
1574
1543
|
- spec/dummy/private/system/patron_import_files/patron_imports/000/000/004/original/patron_import_file_sample1.tsv
|
1575
1544
|
- spec/dummy/private/system/patron_import_files/patron_imports/000/000/004/original/patron_import_file_sample2.tsv
|
@@ -1604,37 +1573,13 @@ test_files:
|
|
1604
1573
|
- spec/dummy/solr/conf/spellings.txt
|
1605
1574
|
- spec/dummy/solr/conf/stopwords.txt
|
1606
1575
|
- spec/dummy/solr/conf/synonyms.txt
|
1607
|
-
- spec/dummy/solr/data/test/index/_goc.fdt
|
1608
|
-
- spec/dummy/solr/data/test/index/_goc.fdx
|
1609
|
-
- spec/dummy/solr/data/test/index/_goc.fnm
|
1610
|
-
- spec/dummy/solr/data/test/index/_goc.frq
|
1611
|
-
- spec/dummy/solr/data/test/index/_goc.nrm
|
1612
|
-
- spec/dummy/solr/data/test/index/_goc.prx
|
1613
|
-
- spec/dummy/solr/data/test/index/_goc.tii
|
1614
|
-
- spec/dummy/solr/data/test/index/_goc.tis
|
1615
|
-
- spec/dummy/solr/data/test/index/_god.fdt
|
1616
|
-
- spec/dummy/solr/data/test/index/_god.fdx
|
1617
|
-
- spec/dummy/solr/data/test/index/_god.fnm
|
1618
|
-
- spec/dummy/solr/data/test/index/_god.frq
|
1619
|
-
- spec/dummy/solr/data/test/index/_god.nrm
|
1620
|
-
- spec/dummy/solr/data/test/index/_god.prx
|
1621
|
-
- spec/dummy/solr/data/test/index/_god.tii
|
1622
|
-
- spec/dummy/solr/data/test/index/_god.tis
|
1623
|
-
- spec/dummy/solr/data/test/index/_goe.fdt
|
1624
|
-
- spec/dummy/solr/data/test/index/_goe.fdx
|
1625
|
-
- spec/dummy/solr/data/test/index/_goe.fnm
|
1626
|
-
- spec/dummy/solr/data/test/index/_goe.frq
|
1627
|
-
- spec/dummy/solr/data/test/index/_goe.nrm
|
1628
|
-
- spec/dummy/solr/data/test/index/_goe.prx
|
1629
|
-
- spec/dummy/solr/data/test/index/_goe.tii
|
1630
|
-
- spec/dummy/solr/data/test/index/_goe.tis
|
1631
1576
|
- spec/dummy/solr/data/test/index/segments.gen
|
1632
|
-
- spec/dummy/solr/data/test/index/
|
1577
|
+
- spec/dummy/solr/data/test/index/segments_q76
|
1633
1578
|
- spec/dummy/solr/data/test/spellchecker/segments.gen
|
1634
1579
|
- spec/dummy/solr/data/test/spellchecker/segments_1
|
1635
|
-
- spec/dummy/tmp/cache/4AD/470/country_all
|
1636
1580
|
- spec/dummy/tmp/cache/4F7/F90/default_role
|
1637
1581
|
- spec/dummy/tmp/cache/6E4/420/search_engine_all
|
1582
|
+
- spec/factories/agent.rb
|
1638
1583
|
- spec/factories/basket.rb
|
1639
1584
|
- spec/factories/carrier_type.rb
|
1640
1585
|
- spec/factories/content_type.rb
|
@@ -1657,7 +1602,6 @@ test_files:
|
|
1657
1602
|
- spec/factories/manifestation_relationship_type.rb
|
1658
1603
|
- spec/factories/medium_of_performance.rb
|
1659
1604
|
- spec/factories/own.rb
|
1660
|
-
- spec/factories/patron.rb
|
1661
1605
|
- spec/factories/patron_relationship.rb
|
1662
1606
|
- spec/factories/patron_relationship_type.rb
|
1663
1607
|
- spec/factories/patron_type.rb
|
@@ -1669,6 +1613,12 @@ test_files:
|
|
1669
1613
|
- spec/factories/series_statement.rb
|
1670
1614
|
- spec/factories/series_statement_relationship.rb
|
1671
1615
|
- spec/factories/user.rb
|
1616
|
+
- spec/fixtures/agent_import_files.yml
|
1617
|
+
- spec/fixtures/agent_import_results.yml
|
1618
|
+
- spec/fixtures/agent_relationship_types.yml
|
1619
|
+
- spec/fixtures/agent_relationships.yml
|
1620
|
+
- spec/fixtures/agent_types.yml
|
1621
|
+
- spec/fixtures/agents.yml
|
1672
1622
|
- spec/fixtures/baskets.yml
|
1673
1623
|
- spec/fixtures/bookstores.yml
|
1674
1624
|
- spec/fixtures/budget_types.yml
|
@@ -1713,12 +1663,6 @@ test_files:
|
|
1713
1663
|
- spec/fixtures/message_templates.yml
|
1714
1664
|
- spec/fixtures/messages.yml
|
1715
1665
|
- spec/fixtures/owns.yml
|
1716
|
-
- spec/fixtures/patron_import_files.yml
|
1717
|
-
- spec/fixtures/patron_import_results.yml
|
1718
|
-
- spec/fixtures/patron_relationship_types.yml
|
1719
|
-
- spec/fixtures/patron_relationships.yml
|
1720
|
-
- spec/fixtures/patron_types.yml
|
1721
|
-
- spec/fixtures/patrons.yml
|
1722
1666
|
- spec/fixtures/picture_files.yml
|
1723
1667
|
- spec/fixtures/produce_types.yml
|
1724
1668
|
- spec/fixtures/produces.yml
|
@@ -1743,6 +1687,12 @@ test_files:
|
|
1743
1687
|
- spec/fixtures/user_has_roles.yml
|
1744
1688
|
- spec/fixtures/user_reserve_stats.yml
|
1745
1689
|
- spec/fixtures/users.yml
|
1690
|
+
- spec/models/agent_import_file_spec.rb
|
1691
|
+
- spec/models/agent_import_result_spec.rb
|
1692
|
+
- spec/models/agent_relationship_spec.rb
|
1693
|
+
- spec/models/agent_relationship_type_spec.rb
|
1694
|
+
- spec/models/agent_spec.rb
|
1695
|
+
- spec/models/agent_type_spec.rb
|
1746
1696
|
- spec/models/carrier_type_spec.rb
|
1747
1697
|
- spec/models/content_type_spec.rb
|
1748
1698
|
- spec/models/country_spec.rb
|
@@ -1764,12 +1714,6 @@ test_files:
|
|
1764
1714
|
- spec/models/manifestation_spec.rb
|
1765
1715
|
- spec/models/medium_of_performance_spec.rb
|
1766
1716
|
- spec/models/own_spec.rb
|
1767
|
-
- spec/models/patron_import_file_spec.rb
|
1768
|
-
- spec/models/patron_import_result_spec.rb
|
1769
|
-
- spec/models/patron_relationship_spec.rb
|
1770
|
-
- spec/models/patron_relationship_type_spec.rb
|
1771
|
-
- spec/models/patron_spec.rb
|
1772
|
-
- spec/models/patron_type_spec.rb
|
1773
1717
|
- spec/models/picture_file_spec.rb
|
1774
1718
|
- spec/models/produce_spec.rb
|
1775
1719
|
- spec/models/produce_type_spec.rb
|
@@ -1778,12 +1722,15 @@ test_files:
|
|
1778
1722
|
- spec/models/resource_import_file_spec.rb
|
1779
1723
|
- spec/models/resource_import_result_spec.rb
|
1780
1724
|
- spec/models/series_statement_spec.rb
|
1725
|
+
- spec/requests/agents_spec.rb
|
1781
1726
|
- spec/requests/create_types_spec.rb
|
1782
1727
|
- spec/requests/items_spec.rb
|
1783
1728
|
- spec/requests/manifestations_spec.rb
|
1784
|
-
- spec/requests/patrons_spec.rb
|
1785
1729
|
- spec/requests/produce_types_spec.rb
|
1786
1730
|
- spec/requests/realize_types_spec.rb
|
1731
|
+
- spec/routing/agent_relationship_types_routing_spec.rb
|
1732
|
+
- spec/routing/agent_relationships_routing_spec.rb
|
1733
|
+
- spec/routing/agents_routing_spec.rb
|
1787
1734
|
- spec/routing/content_types_routing_spec.rb
|
1788
1735
|
- spec/routing/create_types_routing_spec.rb
|
1789
1736
|
- spec/routing/creates_routing_spec.rb
|
@@ -1792,9 +1739,6 @@ test_files:
|
|
1792
1739
|
- spec/routing/manifestation_relationship_types_routing_spec.rb
|
1793
1740
|
- spec/routing/manifestation_relationships_routing_spec.rb
|
1794
1741
|
- spec/routing/manifestations_routing_spec.rb
|
1795
|
-
- spec/routing/patron_relationship_types_routing_spec.rb
|
1796
|
-
- spec/routing/patron_relationships_routing_spec.rb
|
1797
|
-
- spec/routing/patrons_routing_spec.rb
|
1798
1742
|
- spec/routing/produce_types_routing_spec.rb
|
1799
1743
|
- spec/routing/realize_types_routing_spec.rb
|
1800
1744
|
- spec/routing/realizes_routing_spec.rb
|
@@ -1,26 +0,0 @@
|
|
1
|
-
class PatronImportResult < ActiveRecord::Base
|
2
|
-
attr_accessible :patron_import_file_id, :patron_id, :user_id, :body
|
3
|
-
default_scope :order => 'patron_import_results.id'
|
4
|
-
scope :file_id, proc{|file_id| where(:patron_import_file_id => file_id)}
|
5
|
-
scope :failed, where(:patron_id => nil)
|
6
|
-
|
7
|
-
belongs_to :patron_import_file
|
8
|
-
belongs_to :patron
|
9
|
-
belongs_to :user
|
10
|
-
|
11
|
-
validates_presence_of :patron_import_file_id
|
12
|
-
end
|
13
|
-
|
14
|
-
# == Schema Information
|
15
|
-
#
|
16
|
-
# Table name: patron_import_results
|
17
|
-
#
|
18
|
-
# id :integer not null, primary key
|
19
|
-
# patron_import_file_id :integer
|
20
|
-
# patron_id :integer
|
21
|
-
# user_id :integer
|
22
|
-
# body :text
|
23
|
-
# created_at :datetime not null
|
24
|
-
# updated_at :datetime not null
|
25
|
-
#
|
26
|
-
|