enju_loc 0.2.0 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/MIT-LICENSE +0 -0
- data/README.md +15 -0
- data/Rakefile +1 -1
- data/app/assets/config/enju_loc_manifest.js +0 -0
- data/app/controllers/loc_search_controller.rb +8 -9
- data/app/helpers/loc_search_helper.rb +2 -2
- data/app/models/loc_search.rb +23 -23
- data/lib/enju_loc/loc_search.rb +344 -330
- data/lib/enju_loc/version.rb +1 -1
- data/spec/cassette_library/LocSearch/_ModsRecord/should_parse_MODS_metadata.yml +7 -7
- data/spec/cassette_library/LocSearch/_import_from_sru_response/should_create_a_valid_manifestation.yml +7 -7
- data/spec/cassette_library/LocSearch/_import_from_sru_response/should_create_lcsh_subjects_only.yml +17 -16
- data/spec/cassette_library/LocSearch/_import_from_sru_response/should_create_multiple_series_statements.yml +10 -10
- data/spec/cassette_library/LocSearch/_import_from_sru_response/should_distinguish_title_information_with_subject.yml +7 -7
- data/spec/cassette_library/LocSearch/_import_from_sru_response/should_import_a_manifestation_that_has_invalid_classification.yml +7 -7
- data/spec/cassette_library/LocSearch/_import_from_sru_response/should_import_another_serial.yml +33 -29
- data/spec/cassette_library/LocSearch/_import_from_sru_response/should_import_audio_book.yml +7 -7
- data/spec/cassette_library/LocSearch/_import_from_sru_response/should_import_e-resource.yml +7 -7
- data/spec/cassette_library/LocSearch/_import_from_sru_response/should_import_e-resource_packaged_.yml +7 -7
- data/spec/cassette_library/LocSearch/_import_from_sru_response/should_import_extent.yml +17 -16
- data/spec/cassette_library/LocSearch/_import_from_sru_response/should_import_lccn_exact_math.yml +7 -7
- data/spec/cassette_library/LocSearch/_import_from_sru_response/should_import_notated_music.yml +7 -7
- data/spec/cassette_library/LocSearch/_import_from_sru_response/should_import_note_fields.yml +7 -7
- data/spec/cassette_library/LocSearch/_import_from_sru_response/should_import_publication_year.yml +26 -21
- data/spec/cassette_library/LocSearch/_import_from_sru_response/should_import_serial.yml +30 -29
- data/spec/cassette_library/LocSearch/_import_from_sru_response/should_import_video_publication.yml +7 -7
- data/spec/cassette_library/LocSearch/_import_from_sru_response/should_parse_title_information_properly.yml +20 -19
- data/spec/cassette_library/LocSearch/_import_from_sru_response/should_support_name_and_title_subjects.yml +7 -7
- data/spec/cassette_library/LocSearch/_search/should_return_a_search_result.yml +189 -184
- data/spec/cassette_library/LocSearchController/GET_index/should_get_index.yml +189 -184
- data/spec/cassette_library/LocSearchController/GET_index/should_get_index_with_page_parameter.yml +177 -171
- data/spec/cassette_library/LocSearchController/POST_create/should_create_a_bibliographic_record_if_lccn_is_set.yml +19 -22
- data/spec/cassette_library/LocSearchController/POST_create/should_not_create_a_bibliographic_record_if_lccn_is_not_set.yml +5 -5
- data/spec/cassette_library/loc_search/index/loc_search_menu/should_reflect_query_params_for_views.yml +140 -155
- data/spec/controllers/loc_search_controller_spec.rb +16 -16
- data/spec/dummy/app/models/application_record.rb +3 -0
- data/spec/dummy/bin/rails +1 -1
- data/spec/dummy/bin/setup +21 -12
- data/spec/dummy/bin/update +29 -0
- data/spec/dummy/bin/yarn +11 -0
- data/spec/dummy/config/application.rb +5 -17
- data/spec/dummy/config/cable.yml +10 -0
- data/spec/dummy/config/database.yml +17 -22
- data/spec/dummy/config/environment.rb +1 -1
- data/spec/dummy/config/environments/development.rb +24 -11
- data/spec/dummy/config/environments/production.rb +28 -16
- data/spec/dummy/config/environments/test.rb +6 -8
- data/spec/dummy/config/initializers/application_controller_renderer.rb +8 -0
- data/spec/dummy/config/initializers/assets.rb +14 -0
- data/spec/dummy/config/initializers/cookies_serializer.rb +5 -0
- data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/spec/dummy/config/initializers/wrap_parameters.rb +2 -2
- data/spec/dummy/config/puma.rb +56 -0
- data/spec/dummy/config/secrets.yml +15 -5
- data/spec/dummy/config/spring.rb +6 -0
- data/spec/dummy/config/sunspot.yml +23 -0
- data/spec/dummy/db/migrate/001_create_agents.rb +7 -7
- data/spec/dummy/db/migrate/002_devise_create_users.rb +1 -1
- data/spec/dummy/db/migrate/005_create_manifestations.rb +10 -10
- data/spec/dummy/db/migrate/006_create_items.rb +6 -6
- data/spec/dummy/db/migrate/012_create_owns.rb +3 -3
- data/spec/dummy/db/migrate/015_create_creates.rb +3 -3
- data/spec/dummy/db/migrate/029_create_subjects.rb +1 -1
- data/spec/dummy/db/migrate/041_create_roles.rb +1 -1
- data/spec/dummy/db/migrate/047_create_produces.rb +3 -3
- data/spec/dummy/db/migrate/059_create_libraries.rb +8 -10
- data/spec/dummy/db/migrate/069_create_shelves.rb +4 -5
- data/spec/dummy/db/migrate/073_create_carrier_types.rb +2 -2
- data/spec/dummy/db/migrate/077_create_user_groups.rb +2 -2
- data/spec/dummy/db/migrate/080_create_library_groups.rb +3 -4
- data/spec/dummy/db/migrate/112_create_frequencies.rb +2 -2
- data/spec/dummy/db/migrate/117_create_form_of_works.rb +2 -2
- data/spec/dummy/db/migrate/120_create_baskets.rb +3 -4
- data/spec/dummy/db/migrate/124_create_bookstores.rb +2 -2
- data/spec/dummy/db/migrate/125_create_donates.rb +3 -3
- data/spec/dummy/db/migrate/130_create_request_status_types.rb +2 -2
- data/spec/dummy/db/migrate/131_create_request_types.rb +2 -2
- data/spec/dummy/db/migrate/133_create_agent_merges.rb +2 -2
- data/spec/dummy/db/migrate/134_create_agent_merge_lists.rb +1 -1
- data/spec/dummy/db/migrate/142_create_classifications.rb +1 -1
- data/spec/dummy/db/migrate/144_create_classification_types.rb +1 -1
- data/spec/dummy/db/migrate/145_create_subject_heading_types.rb +1 -1
- data/spec/dummy/db/migrate/146_create_subject_types.rb +1 -1
- data/spec/dummy/db/migrate/149_create_message_templates.rb +1 -1
- data/spec/dummy/db/migrate/154_create_messages.rb +1 -1
- data/spec/dummy/db/migrate/20080819181903_create_message_requests.rb +1 -1
- data/spec/dummy/db/migrate/20080830154109_create_realizes.rb +3 -3
- data/spec/dummy/db/migrate/20080830172106_create_exemplifies.rb +1 -1
- data/spec/dummy/db/migrate/20080905191442_create_agent_types.rb +2 -2
- data/spec/dummy/db/migrate/20081006090811_create_subscriptions.rb +5 -8
- data/spec/dummy/db/migrate/20081006093246_create_subscribes.rb +5 -6
- data/spec/dummy/db/migrate/20081023092436_create_search_engines.rb +6 -6
- data/spec/dummy/db/migrate/20081025083323_create_countries.rb +5 -5
- data/spec/dummy/db/migrate/20081025083905_create_languages.rb +6 -6
- data/spec/dummy/db/migrate/20081027150907_create_picture_files.rb +2 -2
- data/spec/dummy/db/migrate/20081028083142_create_agent_import_files.rb +1 -1
- data/spec/dummy/db/migrate/20081028083208_create_resource_import_files.rb +1 -1
- data/spec/dummy/db/migrate/20090705133942_add_attachments_picture_to_picture_file.rb +1 -1
- data/spec/dummy/db/migrate/20090705212043_add_attachments_attachment_to_manifestation.rb +1 -1
- data/spec/dummy/db/migrate/20090719201843_create_extents.rb +1 -1
- data/spec/dummy/db/migrate/20090720091106_create_medium_of_performances.rb +2 -2
- data/spec/dummy/db/migrate/20090720091429_create_content_types.rb +2 -2
- data/spec/dummy/db/migrate/20090812151902_create_agent_relationship_types.rb +2 -2
- data/spec/dummy/db/migrate/20091012101112_add_dcndl_schema.rb +1 -1
- data/spec/dummy/db/migrate/20091025080447_create_licenses.rb +2 -2
- data/spec/dummy/db/migrate/20091202124834_create_versions.rb +1 -1
- data/spec/dummy/db/migrate/20091214131723_create_series_statements.rb +1 -1
- data/spec/dummy/db/migrate/20100129142347_create_import_requests.rb +1 -1
- data/spec/dummy/db/migrate/20100211105551_add_admin_networks_to_library_group.rb +1 -1
- data/spec/dummy/db/migrate/20100223121519_rename_series_statement_title_to_original_title.rb +1 -1
- data/spec/dummy/db/migrate/20100314190054_add_opening_hour_to_library.rb +1 -1
- data/spec/dummy/db/migrate/20100321235924_add_series_statement_identifier_to_series_statement.rb +1 -1
- data/spec/dummy/db/migrate/20100525124311_create_manifestation_relationships.rb +1 -1
- data/spec/dummy/db/migrate/20100606065209_create_user_has_roles.rb +1 -1
- data/spec/dummy/db/migrate/20100606073747_create_agent_relationships.rb +1 -1
- data/spec/dummy/db/migrate/20100607044753_create_manifestation_relationship_types.rb +2 -2
- data/spec/dummy/db/migrate/20100814091104_add_position_to_agent_relationship.rb +1 -1
- data/spec/dummy/db/migrate/20100925043847_create_resource_import_results.rb +1 -1
- data/spec/dummy/db/migrate/20100925074559_create_agent_import_results.rb +1 -1
- data/spec/dummy/db/migrate/20101212070145_add_acquired_at_to_item.rb +1 -1
- data/spec/dummy/db/migrate/20110222073537_add_url_to_library_group.rb +2 -2
- data/spec/dummy/db/migrate/20110301035123_add_pub_date_to_manifestation.rb +1 -1
- data/spec/dummy/db/migrate/20110301121550_add_birth_date_and_death_date_to_agent.rb +1 -1
- data/spec/dummy/db/migrate/20110318183304_add_valid_period_for_new_user_to_user_group.rb +2 -2
- data/spec/dummy/db/migrate/20110603184217_add_edit_mode_to_resource_import_file.rb +1 -1
- data/spec/dummy/db/migrate/20110619064807_add_edition_string_to_manifestation.rb +1 -1
- data/spec/dummy/db/migrate/20110620173525_add_bookstore_id_to_item.rb +1 -1
- data/spec/dummy/db/migrate/20110627034940_create_series_statement_merge_lists.rb +1 -1
- data/spec/dummy/db/migrate/20110627035057_create_series_statement_merges.rb +3 -3
- data/spec/dummy/db/migrate/20110913115320_add_lft_and_rgt_to_message.rb +1 -1
- data/spec/dummy/db/migrate/20110913120629_add_lft_and_rgt_to_classification.rb +1 -1
- data/spec/dummy/db/migrate/20110916091020_add_volume_number_to_manifestation.rb +1 -1
- data/spec/dummy/db/migrate/20110916103953_add_manifestaiton_id_to_series_statement.rb +1 -1
- data/spec/dummy/db/migrate/20110918162329_add_note_to_series_statement.rb +1 -1
- data/spec/dummy/db/migrate/20111124110059_create_create_types.rb +1 -1
- data/spec/dummy/db/migrate/20111124110319_create_realize_types.rb +1 -1
- data/spec/dummy/db/migrate/20111124110355_create_produce_types.rb +1 -1
- data/spec/dummy/db/migrate/20111124112131_add_create_type_to_create.rb +1 -1
- data/spec/dummy/db/migrate/20120105074911_add_isil_to_library.rb +1 -1
- data/spec/dummy/db/migrate/20120125050502_add_depth_to_message.rb +1 -1
- data/spec/dummy/db/migrate/20120125152919_add_title_subseries_transcription_to_series_statement.rb +1 -1
- data/spec/dummy/db/migrate/20120129014038_create_budget_types.rb +1 -1
- data/spec/dummy/db/migrate/20120129020544_add_budget_type_id_to_item.rb +1 -1
- data/spec/dummy/db/migrate/20120319120638_add_content_type_id_to_manifestation.rb +2 -2
- data/spec/dummy/db/migrate/20120319173203_create_accepts.rb +4 -7
- data/spec/dummy/db/migrate/20120406020752_add_url_to_subject.rb +1 -1
- data/spec/dummy/db/migrate/20120410104851_add_year_of_publication_to_manifestation.rb +1 -1
- data/spec/dummy/db/migrate/20120413072700_add_picture_meta_to_picture_file.rb +1 -1
- data/spec/dummy/db/migrate/20120413100352_add_fingerprint_to_picture_file.rb +1 -1
- data/spec/dummy/db/migrate/20120413161340_add_fingerprint_to_resource_import_file.rb +1 -1
- data/spec/dummy/db/migrate/20120413161403_add_fingerprint_to_agent_import_file.rb +1 -1
- data/spec/dummy/db/migrate/20120413170705_add_error_message_to_resource_import_file.rb +1 -1
- data/spec/dummy/db/migrate/20120413170720_add_error_message_to_agent_import_file.rb +1 -1
- data/spec/dummy/db/migrate/20120415164821_add_attachment_meta_to_manifestation.rb +1 -1
- data/spec/dummy/db/migrate/20120418081407_add_month_of_publication_to_manifestation.rb +1 -1
- data/spec/dummy/db/migrate/20120510140958_add_closed_to_shelf.rb +2 -2
- data/spec/dummy/db/migrate/20120511072422_add_agent_identifier_to_agent.rb +1 -1
- data/spec/dummy/db/migrate/20120602141129_add_edit_mode_to_agent_import_file.rb +1 -1
- data/spec/dummy/db/migrate/20121116031206_add_fulltext_content_to_manifestation.rb +1 -1
- data/spec/dummy/db/migrate/20130221154434_add_additional_attributes_to_user.rb +1 -1
- data/spec/dummy/db/migrate/20130412083556_add_latitude_and_longitude_to_library.rb +1 -1
- data/spec/dummy/db/migrate/20130421093852_add_periodical_to_manifestation.rb +1 -1
- data/spec/dummy/db/migrate/20130421155019_add_creator_string_to_series_statement.rb +1 -1
- data/spec/dummy/db/migrate/20130421164124_add_series_master_to_series_statement.rb +1 -1
- data/spec/dummy/db/migrate/20130429020822_add_root_manifestation_id_to_series_statement.rb +1 -1
- data/spec/dummy/db/migrate/20130504133816_add_manifestation_id_to_subject.rb +1 -1
- data/spec/dummy/db/migrate/20130504143515_add_manifestation_id_to_classification.rb +1 -1
- data/spec/dummy/db/migrate/20130504195916_add_subject_heading_type_id_to_subject.rb +1 -1
- data/spec/dummy/db/migrate/20130506175303_create_identifier_types.rb +1 -1
- data/spec/dummy/db/migrate/20130506175834_create_identifiers.rb +3 -3
- data/spec/dummy/db/migrate/20130509185724_add_statement_of_responsibility_to_manifestation.rb +1 -1
- data/spec/dummy/db/migrate/20140110122216_create_user_import_files.rb +2 -2
- data/spec/dummy/db/migrate/20140110131010_create_user_import_results.rb +3 -3
- data/spec/dummy/db/migrate/20140122054321_create_profiles.rb +1 -1
- data/spec/dummy/db/migrate/20140518111006_create_message_transitions.rb +1 -1
- data/spec/dummy/db/migrate/20140518135713_create_message_request_transitions.rb +1 -1
- data/spec/dummy/db/migrate/20140519170214_create_resource_import_file_transitions.rb +1 -1
- data/spec/dummy/db/migrate/20140519171220_create_import_request_transitions.rb +1 -1
- data/spec/dummy/db/migrate/20140524020735_create_agent_import_file_transitions.rb +1 -1
- data/spec/dummy/db/migrate/20140524074813_create_user_import_file_transitions.rb +2 -3
- data/spec/dummy/db/migrate/20140610123439_drop_email_unique_constraint_enju_leaf_rc10.rb +1 -1
- data/spec/dummy/db/migrate/20140614065404_create_resource_export_files.rb +1 -1
- data/spec/dummy/db/migrate/20140614141500_create_resource_export_file_transitions.rb +1 -1
- data/spec/dummy/db/migrate/20140628072217_add_user_encoding_to_user_import_file.rb +1 -1
- data/spec/dummy/db/migrate/20140628073524_add_user_encoding_to_agent_import_file.rb +1 -1
- data/spec/dummy/db/migrate/20140628073535_add_user_encoding_to_resource_import_file.rb +1 -1
- data/spec/dummy/db/migrate/20140709113413_create_user_export_files.rb +2 -2
- data/spec/dummy/db/migrate/20140709113905_create_user_export_file_transitions.rb +2 -2
- data/spec/dummy/db/migrate/20140720140916_add_binding_item_identifier_to_item.rb +1 -1
- data/spec/dummy/db/migrate/20140720170714_add_default_library_id_to_user_import_file.rb +2 -2
- data/spec/dummy/db/migrate/20140720170735_add_default_user_group_id_to_user_import_file.rb +2 -2
- data/spec/dummy/db/migrate/20140721151416_add_default_shelf_id_to_resource_import_file.rb +1 -1
- data/spec/dummy/db/migrate/20140802082007_add_manifestation_id_to_item.rb +1 -1
- data/spec/dummy/db/migrate/20140811031145_add_expired_at_to_profile.rb +1 -1
- data/spec/dummy/db/migrate/20140813182425_add_publication_place_to_manifestation.rb +1 -1
- data/spec/dummy/db/migrate/20140817155043_add_extent_of_text_to_manifestation.rb +1 -1
- data/spec/dummy/db/migrate/20140821151023_create_colors.rb +2 -4
- data/spec/dummy/db/migrate/20140822114527_add_error_message_to_resource_import_result.rb +1 -1
- data/spec/dummy/db/migrate/20140823083524_add_extent_to_manifestation.rb +1 -1
- data/spec/dummy/db/migrate/20140823094847_add_dimensions_to_manifestation.rb +1 -1
- data/spec/dummy/db/migrate/20140823095740_rename_manifestation_periodical_to_serial.rb +1 -1
- data/spec/dummy/db/migrate/20141003181336_add_full_name_transcription_to_profile.rb +1 -1
- data/spec/dummy/db/migrate/20141003182825_add_date_of_birth_to_profile.rb +1 -1
- data/spec/dummy/db/migrate/20150117111136_add_foreign_key_to_items_referencing_manifestations.rb +1 -1
- data/spec/dummy/db/migrate/20150221063719_add_settings_to_library_group.rb +1 -1
- data/spec/dummy/db/migrate/20150506105356_add_error_message_to_user_import_result.rb +1 -1
- data/spec/dummy/db/migrate/20150924115059_create_withdraws.rb +4 -6
- data/spec/dummy/db/migrate/20151125004028_add_profile_id_to_agent.rb +1 -1
- data/spec/dummy/db/migrate/20151213070943_add_translation_table_to_library_group.rb +12 -7
- data/spec/dummy/db/migrate/20151213072705_add_footer_banner_to_library_group.rb +16 -3
- data/spec/dummy/db/migrate/20160610093229_add_html_snippet_to_library_group.rb +1 -1
- data/spec/dummy/db/migrate/20160627232219_add_most_recent_to_user_import_file_transitions.rb +1 -1
- data/spec/dummy/db/migrate/20160627232316_add_most_recent_to_user_export_file_transitions.rb +1 -1
- data/spec/dummy/db/migrate/20160703185015_add_most_recent_to_message_transitions.rb +1 -1
- data/spec/dummy/db/migrate/20160801080612_add_most_recent_to_import_request_transitions.rb +1 -1
- data/spec/dummy/db/migrate/20160801080619_add_most_recent_to_resource_import_file_transitions.rb +1 -1
- data/spec/dummy/db/migrate/20160801080637_add_most_recent_to_resource_export_file_transitions.rb +1 -1
- data/spec/dummy/db/migrate/20160801080643_add_most_recent_to_agent_import_file_transitions.rb +1 -1
- data/spec/dummy/db/migrate/20160811102604_add_picture_width_to_picture_file.rb +1 -1
- data/spec/dummy/db/migrate/20160813191647_add_max_number_of_results_to_library_group.rb +1 -1
- data/spec/dummy/db/migrate/20160813191733_add_family_name_first_to_library_group.rb +1 -1
- data/spec/dummy/db/migrate/20160813192542_add_pub_year_facet_range_interval_to_library_group.rb +1 -1
- data/spec/dummy/db/migrate/20160813203039_add_user_id_to_library_group.rb +1 -1
- data/spec/dummy/db/migrate/20160814165332_add_most_recent_to_message_request_transitions.rb +1 -1
- data/spec/dummy/db/migrate/20160820004638_add_attachment_attachment_to_carrier_types.rb +1 -1
- data/spec/dummy/db/migrate/20170305064014_add_csv_charset_conversion_to_library_group.rb +5 -0
- data/spec/dummy/db/migrate/20171014084528_add_header_logo_to_library_group.rb +5 -0
- data/spec/dummy/db/migrate/20171119051258_set_not_null_to_manifestation_id_on_items.rb +5 -0
- data/spec/dummy/db/migrate/20171126133835_rename_login_banner_to_old_login_banner.rb +5 -0
- data/spec/dummy/db/migrate/20171126135238_add_foreign_key_to_library_group_id_on_library.rb +5 -0
- data/spec/dummy/db/migrate/20180102162311_add_header_logo_meta_to_library_group.rb +5 -0
- data/spec/dummy/db/migrate/20180107160726_add_constraints_to_most_recent_for_user_import_file_transitions.rb +13 -0
- data/spec/dummy/db/migrate/20180107160740_add_constraints_to_most_recent_for_user_export_file_transitions.rb +13 -0
- data/spec/dummy/db/migrate/20180107161311_add_constraints_to_most_recent_for_agent_import_file_transitions.rb +13 -0
- data/spec/dummy/db/migrate/20180107161331_add_constraints_to_most_recent_for_resource_import_file_transitions.rb +13 -0
- data/spec/dummy/db/migrate/20180107161347_add_constraints_to_most_recent_for_resource_export_file_transitions.rb +13 -0
- data/spec/dummy/db/migrate/20180107161410_add_constraints_to_most_recent_for_import_request_transitions.rb +13 -0
- data/spec/dummy/db/migrate/20190713114940_add_profile_id_to_user.rb +5 -0
- data/spec/dummy/db/migrate/20190713115451_add_full_name_translations_to_profile.rb +5 -0
- data/spec/dummy/db/migrate/20190818075603_add_memo_to_manifestation.rb +5 -0
- data/spec/dummy/db/migrate/20190818075628_add_memo_to_item.rb +5 -0
- data/spec/dummy/db/migrate/20191219122214_create_custom_properties.rb +12 -0
- data/spec/dummy/db/schema.rb +688 -692
- data/spec/models/loc_search_spec.rb +143 -143
- data/spec/rails_helper.rb +1 -4
- metadata +321 -251
- data/README.rdoc +0 -11
@@ -8,7 +8,7 @@ http_interactions:
|
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- Faraday v0.
|
11
|
+
- Faraday v0.13.1
|
12
12
|
Accept-Encoding:
|
13
13
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
14
14
|
Accept:
|
@@ -19,9 +19,9 @@ http_interactions:
|
|
19
19
|
message: OK
|
20
20
|
headers:
|
21
21
|
Content-Length:
|
22
|
-
- '
|
22
|
+
- '40150'
|
23
23
|
Server:
|
24
|
-
- Metaproxy/1.
|
24
|
+
- Metaproxy/1.13.0
|
25
25
|
Connection:
|
26
26
|
- Keep-Alive
|
27
27
|
Content-Type:
|
@@ -30,7 +30,7 @@ http_interactions:
|
|
30
30
|
encoding: UTF-8
|
31
31
|
string: "<?xml version=\"1.0\"?>\n<zs:searchRetrieveResponse xmlns:zs=\"http://www.loc.gov/zing/srw/\"><zs:version>1.1</zs:version><zs:numberOfRecords>10000</zs:numberOfRecords><zs:records><zs:record><zs:recordSchema>mods</zs:recordSchema><zs:recordPacking>xml</zs:recordPacking><zs:recordData><mods
|
32
32
|
xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://www.loc.gov/mods/v3\"
|
33
|
-
version=\"3.
|
33
|
+
version=\"3.6\" xsi:schemaLocation=\"http://www.loc.gov/mods/v3 http://www.loc.gov/standards/mods/v3/mods-3-6.xsd\">\n
|
34
34
|
\ <titleInfo>\n <title>$#*! my dad says</title>\n <partName>The truth
|
35
35
|
about dads and moms</partName>\n </titleInfo>\n <titleInfo type=\"alternative\">\n
|
36
36
|
\ <title>Truth about dads and moms</title>\n </titleInfo>\n <titleInfo
|
@@ -68,10 +68,10 @@ http_interactions:
|
|
68
68
|
authority=\"marcorg\">DLC</recordContentSource>\n <recordCreationDate encoding=\"marc\">140609</recordCreationDate>\n
|
69
69
|
\ <recordChangeDate encoding=\"iso8601\">20140609105314.0</recordChangeDate>\n
|
70
70
|
\ <recordIdentifier>18181426</recordIdentifier>\n <recordOrigin>Converted
|
71
|
-
from MARCXML to MODS version 3.
|
72
|
-
1.
|
71
|
+
from MARCXML to MODS version 3.6 using MARC21slim2MODS3-6.xsl\n\t\t\t\t(Revision
|
72
|
+
1.117 2017/02/14)</recordOrigin>\n </recordInfo>\n</mods></zs:recordData><zs:recordPosition>1</zs:recordPosition></zs:record><zs:record><zs:recordSchema>mods</zs:recordSchema><zs:recordPacking>xml</zs:recordPacking><zs:recordData><mods
|
73
73
|
xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://www.loc.gov/mods/v3\"
|
74
|
-
version=\"3.
|
74
|
+
version=\"3.6\" xsi:schemaLocation=\"http://www.loc.gov/mods/v3 http://www.loc.gov/standards/mods/v3/mods-3-6.xsd\">\n
|
75
75
|
\ <titleInfo>\n <title>1 & 2 Tesalonika, James, 1, 2, & 3 John</title>\n
|
76
76
|
\ </titleInfo>\n <titleInfo type=\"uniform\">\n <title>Bible</title>\n
|
77
77
|
\ <partName>New Testament. Selections. Mayoyao Ifugao</partName>\n </titleInfo>\n
|
@@ -89,26 +89,29 @@ http_interactions:
|
|
89
89
|
authority=\"marcorg\">DLC</recordContentSource>\n <recordCreationDate encoding=\"marc\">020614</recordCreationDate>\n
|
90
90
|
\ <recordChangeDate encoding=\"iso8601\">20130528124142.0</recordChangeDate>\n
|
91
91
|
\ <recordIdentifier>12818077</recordIdentifier>\n <recordOrigin>Converted
|
92
|
-
from MARCXML to MODS version 3.
|
93
|
-
1.
|
92
|
+
from MARCXML to MODS version 3.6 using MARC21slim2MODS3-6.xsl\n\t\t\t\t(Revision
|
93
|
+
1.117 2017/02/14)</recordOrigin>\n </recordInfo>\n</mods></zs:recordData><zs:recordPosition>2</zs:recordPosition></zs:record><zs:record><zs:recordSchema>mods</zs:recordSchema><zs:recordPacking>xml</zs:recordPacking><zs:recordData><mods
|
94
94
|
xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://www.loc.gov/mods/v3\"
|
95
|
-
version=\"3.
|
95
|
+
version=\"3.6\" xsi:schemaLocation=\"http://www.loc.gov/mods/v3 http://www.loc.gov/standards/mods/v3/mods-3-6.xsd\">\n
|
96
96
|
\ <titleInfo>\n <title>1,001 best low-carb recipes</title>\n <subTitle>delicious,
|
97
97
|
healthy, easy-to-make recipes for cutting carbs</subTitle>\n </titleInfo>\n
|
98
98
|
\ <titleInfo type=\"alternative\">\n <title>One thousand one low-carb recipes</title>\n
|
99
99
|
\ </titleInfo>\n <titleInfo type=\"uniform\">\n <title>1,001 low-carb
|
100
100
|
recipes for life</title>\n </titleInfo>\n <name type=\"personal\">\n <namePart>Spitler,
|
101
|
-
Sue
|
102
|
-
|
103
|
-
|
104
|
-
\
|
105
|
-
|
106
|
-
\
|
107
|
-
|
101
|
+
Sue</namePart>\n <role>\n <roleTerm type=\"text\">editor.</roleTerm>\n
|
102
|
+
\ </role>\n </name>\n <name type=\"personal\">\n <namePart>Yoakam,
|
103
|
+
Linda R.</namePart>\n <role>\n <roleTerm type=\"text\">editor.</roleTerm>\n
|
104
|
+
\ </role>\n </name>\n <typeOfResource>text</typeOfResource>\n <genre
|
105
|
+
authority=\"rdacontent\">text</genre>\n <originInfo>\n <place>\n <placeTerm
|
106
|
+
type=\"code\" authority=\"marccountry\">ilu</placeTerm>\n </place>\n <dateIssued
|
107
|
+
encoding=\"marc\">2016</dateIssued>\n <copyrightDate encoding=\"marc\">2016</copyrightDate>\n
|
108
|
+
\ <issuance>monographic</issuance>\n </originInfo>\n <originInfo eventType=\"publication\">\n
|
109
|
+
\ <place>\n <placeTerm type=\"text\">Chicago :</placeTerm>\n </place>\n
|
110
|
+
\ <publisher>Surrey Books, an imprint of Agate Publishing, Inc.,</publisher>\n
|
108
111
|
\ <dateIssued>[2016]</dateIssued>\n </originInfo>\n <language>\n <languageTerm
|
109
112
|
authority=\"iso639-2b\" type=\"code\">eng</languageTerm>\n </language>\n
|
110
|
-
\ <physicalDescription>\n <form authority=\"marcform\">print</form>\n <extent>
|
111
|
-
cm.</extent>\n <form type=\"media\" authority=\"rdamedia\">unmediated</form>\n
|
113
|
+
\ <physicalDescription>\n <form authority=\"marcform\">print</form>\n <extent>x,
|
114
|
+
518 pages ; 26 cm.</extent>\n <form type=\"media\" authority=\"rdamedia\">unmediated</form>\n
|
112
115
|
\ <form type=\"carrier\" authority=\"rdacarrier\">volume</form>\n </physicalDescription>\n
|
113
116
|
\ <abstract type=\"Summary\">\"A redesigned and reformatted version of a title
|
114
117
|
now returning to print, this second edition of 1,001 Best Low-Carb Recipes
|
@@ -141,11 +144,11 @@ http_interactions:
|
|
141
144
|
5: Seafood -- Chapter 6: Vegetables and Side Dishes -- Chapter 7: Salads and
|
142
145
|
Dressings -- Chapter 8: Snacks, Appetizers, and Pizza -- Chapter 9: Desserts
|
143
146
|
-- Index.</tableOfContents>\n <note type=\"statement of responsibility\"
|
144
|
-
altRepGroup=\"00\">edited by Sue Spitler with Linda R. Yoakam.</note>\n
|
145
|
-
index.</note>\n <note>Revision of: 1,001 low-carb recipes
|
146
|
-
by Sue Spitler with Linda R. Yoakam. c2004.</note>\n <note>
|
147
|
-
|
148
|
-
|
147
|
+
altRepGroup=\"00\">edited by Sue Spitler with Linda R. Yoakam, MS, RD.</note>\n
|
148
|
+
\ <note>Includes index.</note>\n <note>Revision of: 1,001 low-carb recipes
|
149
|
+
for life / edited by Sue Spitler with Linda R. Yoakam. c2004.</note>\n <note>Includes
|
150
|
+
index.</note>\n <subject authority=\"lcsh\">\n <topic>Low-carbohydrate
|
151
|
+
diet</topic>\n <genre>Recipes</genre>\n </subject>\n <subject authority=\"bisacsh\">\n
|
149
152
|
\ <topic>COOKING / Health & Healing / Low Carbohydrate</topic>\n </subject>\n
|
150
153
|
\ <subject authority=\"bisacsh\">\n <topic>COOKING / Courses & Dishes
|
151
154
|
/ General</topic>\n </subject>\n <subject authority=\"bisacsh\">\n <topic>COOKING
|
@@ -156,19 +159,19 @@ http_interactions:
|
|
156
159
|
\ <classification authority=\"bisacsh\">CKB108000 CKB101000 CKB070000 CKB039000</classification>\n
|
157
160
|
\ <relatedItem type=\"series\">\n <titleInfo>\n <title>1,001</title>\n
|
158
161
|
\ </titleInfo>\n </relatedItem>\n <identifier type=\"isbn\">9781572841840
|
159
|
-
(paperback)</identifier>\n <identifier type=\"isbn\"
|
160
|
-
|
161
|
-
|
162
|
-
\ <recordInfo>\n <descriptionStandard>rda</descriptionStandard>\n
|
163
|
-
authority=\"marcorg\">DLC</recordContentSource>\n
|
164
|
-
\ <
|
165
|
-
\
|
166
|
-
from MARCXML to MODS version 3.
|
167
|
-
1.
|
162
|
+
(paperback)</identifier>\n <identifier type=\"isbn\">1572841842 (paperback)</identifier>\n
|
163
|
+
\ <identifier type=\"isbn\" invalid=\"yes\">9781572847705 (ebook)</identifier>\n
|
164
|
+
\ <identifier type=\"isbn\" invalid=\"yes\">1572847700 (ebook)</identifier>\n
|
165
|
+
\ <identifier type=\"lccn\">2015031870</identifier>\n <recordInfo>\n <descriptionStandard>rda</descriptionStandard>\n
|
166
|
+
\ <recordContentSource authority=\"marcorg\">DLC</recordContentSource>\n
|
167
|
+
\ <recordCreationDate encoding=\"marc\">150909</recordCreationDate>\n <recordChangeDate
|
168
|
+
encoding=\"iso8601\">20170710144843.0</recordChangeDate>\n <recordIdentifier>18776592</recordIdentifier>\n
|
169
|
+
\ <recordOrigin>Converted from MARCXML to MODS version 3.6 using MARC21slim2MODS3-6.xsl\n\t\t\t\t(Revision
|
170
|
+
1.117 2017/02/14)</recordOrigin>\n <languageOfCataloging>\n <languageTerm
|
168
171
|
authority=\"iso639-2b\" type=\"code\">eng</languageTerm>\n </languageOfCataloging>\n
|
169
172
|
\ </recordInfo>\n</mods></zs:recordData><zs:recordPosition>3</zs:recordPosition></zs:record><zs:record><zs:recordSchema>mods</zs:recordSchema><zs:recordPacking>xml</zs:recordPacking><zs:recordData><mods
|
170
173
|
xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://www.loc.gov/mods/v3\"
|
171
|
-
version=\"3.
|
174
|
+
version=\"3.6\" xsi:schemaLocation=\"http://www.loc.gov/mods/v3 http://www.loc.gov/standards/mods/v3/mods-3-6.xsd\">\n
|
172
175
|
\ <titleInfo>\n <title>1,001 ingenious gardening ideas</title>\n <subTitle>new,
|
173
176
|
fun, and fabulous tips that will change the way you garden-forever!</subTitle>\n
|
174
177
|
\ </titleInfo>\n <titleInfo type=\"alternative\">\n <title>One thousand
|
@@ -199,12 +202,12 @@ http_interactions:
|
|
199
202
|
paper)</identifier>\n <identifier type=\"lccn\">99006038</identifier>\n <recordInfo>\n
|
200
203
|
\ <descriptionStandard>aacr</descriptionStandard>\n <recordContentSource
|
201
204
|
authority=\"marcorg\">DLC</recordContentSource>\n <recordCreationDate encoding=\"marc\">990115</recordCreationDate>\n
|
202
|
-
\ <recordChangeDate encoding=\"iso8601\">
|
205
|
+
\ <recordChangeDate encoding=\"iso8601\">20161013093819.0</recordChangeDate>\n
|
203
206
|
\ <recordIdentifier>739641</recordIdentifier>\n <recordOrigin>Converted
|
204
|
-
from MARCXML to MODS version 3.
|
205
|
-
1.
|
207
|
+
from MARCXML to MODS version 3.6 using MARC21slim2MODS3-6.xsl\n\t\t\t\t(Revision
|
208
|
+
1.117 2017/02/14)</recordOrigin>\n </recordInfo>\n</mods></zs:recordData><zs:recordPosition>4</zs:recordPosition></zs:record><zs:record><zs:recordSchema>mods</zs:recordSchema><zs:recordPacking>xml</zs:recordPacking><zs:recordData><mods
|
206
209
|
xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://www.loc.gov/mods/v3\"
|
207
|
-
version=\"3.
|
210
|
+
version=\"3.6\" xsi:schemaLocation=\"http://www.loc.gov/mods/v3 http://www.loc.gov/standards/mods/v3/mods-3-6.xsd\">\n
|
208
211
|
\ <titleInfo>\n <title>1,001 statistics practice problems for dummies</title>\n
|
209
212
|
\ </titleInfo>\n <titleInfo type=\"alternative\">\n <title>Statistics
|
210
213
|
for dummies</title>\n </titleInfo>\n <titleInfo type=\"alternative\">\n
|
@@ -327,114 +330,12 @@ http_interactions:
|
|
327
330
|
authority=\"marcorg\">ZGD</recordContentSource>\n <recordCreationDate encoding=\"marc\">131031</recordCreationDate>\n
|
328
331
|
\ <recordChangeDate encoding=\"iso8601\">20150508162158.0</recordChangeDate>\n
|
329
332
|
\ <recordIdentifier>17924313</recordIdentifier>\n <recordOrigin>Converted
|
330
|
-
from MARCXML to MODS version 3.
|
331
|
-
1.
|
333
|
+
from MARCXML to MODS version 3.6 using MARC21slim2MODS3-6.xsl\n\t\t\t\t(Revision
|
334
|
+
1.117 2017/02/14)</recordOrigin>\n <languageOfCataloging>\n <languageTerm
|
332
335
|
authority=\"iso639-2b\" type=\"code\">eng</languageTerm>\n </languageOfCataloging>\n
|
333
336
|
\ </recordInfo>\n</mods></zs:recordData><zs:recordPosition>5</zs:recordPosition></zs:record><zs:record><zs:recordSchema>mods</zs:recordSchema><zs:recordPacking>xml</zs:recordPacking><zs:recordData><mods
|
334
337
|
xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://www.loc.gov/mods/v3\"
|
335
|
-
version=\"3.
|
336
|
-
\ <titleInfo>\n <title>1,012 GMAT practice questions</title>\n </titleInfo>\n
|
337
|
-
\ <titleInfo type=\"alternative\">\n <title>One thousand twelve GMAT practice
|
338
|
-
questions</title>\n </titleInfo>\n <titleInfo type=\"alternative\">\n <title>1,012
|
339
|
-
GMAT</title>\n </titleInfo>\n <typeOfResource>text</typeOfResource>\n <genre
|
340
|
-
authority=\"fast\">Examinations.</genre>\n <genre authority=\"fast\">Periodicals.</genre>\n
|
341
|
-
\ <genre authority=\"fast\">Study guides.</genre>\n <originInfo>\n <place>\n
|
342
|
-
\ <placeTerm type=\"code\" authority=\"marccountry\">nyu</placeTerm>\n
|
343
|
-
\ </place>\n <place>\n <placeTerm type=\"text\">New York, NY</placeTerm>\n
|
344
|
-
\ </place>\n <publisher>Princeton Review</publisher>\n <dateIssued
|
345
|
-
encoding=\"marc\" point=\"start\">2009</dateIssued>\n <dateIssued encoding=\"marc\"
|
346
|
-
point=\"end\">2099</dateIssued>\n <issuance>serial</issuance>\n <frequency>Every
|
347
|
-
two to three years</frequency>\n <frequency authority=\"marcfrequency\">Biennial</frequency>\n
|
348
|
-
\ </originInfo>\n <language>\n <languageTerm authority=\"iso639-2b\" type=\"code\">eng</languageTerm>\n
|
349
|
-
\ </language>\n <physicalDescription>\n <form authority=\"marcform\">print</form>\n
|
350
|
-
\ </physicalDescription>\n <note type=\"date/sequential designation\">Began
|
351
|
-
in 2009.</note>\n <note>At head of title: The Princeton Review.</note>\n
|
352
|
-
\ <note type=\"numbering\">First issue lacks designation but copyrighted 2009.</note>\n
|
353
|
-
\ <subject>\n <geographicCode authority=\"marcgac\">n-us---</geographicCode>\n
|
354
|
-
\ </subject>\n <subject authority=\"lcsh\">\n <topic>Graduate Management
|
355
|
-
Admission Test</topic>\n <genre>Study guides</genre>\n </subject>\n <subject
|
356
|
-
authority=\"lcsh\">\n <topic>Business</topic>\n <topic>Examinations,
|
357
|
-
questions, etc</topic>\n <genre>Periodicals</genre>\n </subject>\n <subject
|
358
|
-
authority=\"lcsh\">\n <topic>Management</topic>\n <geographic>United
|
359
|
-
States</geographic>\n <genre>Examinations, questions, etc</genre>\n <genre>Periodicals</genre>\n
|
360
|
-
\ </subject>\n <subject authority=\"fast\">\n <topic>Business</topic>\n
|
361
|
-
\ <topic>Examinations, questions, etc</topic>\n </subject>\n <subject
|
362
|
-
authority=\"fast\">\n <topic>Graduate Management Admission Test</topic>\n
|
363
|
-
\ </subject>\n <subject authority=\"fast\">\n <topic>Management</topic>\n
|
364
|
-
\ </subject>\n <subject authority=\"fast\">\n <geographic>United States</geographic>\n
|
365
|
-
\ </subject>\n <classification authority=\"lcc\">HF1118 .A15</classification>\n
|
366
|
-
\ <classification authority=\"ddc\" edition=\"14\">650.076</classification>\n
|
367
|
-
\ <relatedItem type=\"succeeding\">\n <titleInfo>\n <title>1,037 practice
|
368
|
-
questions for the new GMAT</title>\n </titleInfo>\n <identifier type=\"issn\">2325-3495</identifier>\n
|
369
|
-
\ <identifier type=\"local\">(DLC) 2012204312</identifier>\n <identifier
|
370
|
-
type=\"local\">(OCoLC)816513528</identifier>\n </relatedItem>\n <identifier
|
371
|
-
type=\"issn\">1946-3073</identifier>\n <identifier type=\"issn-l\">1946-3073</identifier>\n
|
372
|
-
\ <identifier type=\"lccn\">2009202106</identifier>\n <identifier type=\"oclc\">ocn297530915</identifier>\n
|
373
|
-
\ <identifier type=\"stock number\" displayLabel=\"$19.00 (single issue)\">The
|
374
|
-
Princeton Review, 1745 Broadway, Maildrop 15-1, New York, N.Y. 10019</identifier>\n
|
375
|
-
\ <recordInfo>\n <descriptionStandard>aacr</descriptionStandard>\n <recordContentSource
|
376
|
-
authority=\"marcorg\">NSDP</recordContentSource>\n <recordCreationDate
|
377
|
-
encoding=\"marc\">090109</recordCreationDate>\n <recordChangeDate encoding=\"iso8601\">20150922075657.0</recordChangeDate>\n
|
378
|
-
\ <recordIdentifier>15582586</recordIdentifier>\n <recordOrigin>Converted
|
379
|
-
from MARCXML to MODS version 3.5 using MARC21slim2MODS3-5.xsl\n\t\t\t\t(Revision
|
380
|
-
1.106 2014/12/19)</recordOrigin>\n <languageOfCataloging>\n <languageTerm
|
381
|
-
authority=\"iso639-2b\" type=\"code\">eng</languageTerm>\n </languageOfCataloging>\n
|
382
|
-
\ </recordInfo>\n</mods></zs:recordData><zs:recordPosition>6</zs:recordPosition></zs:record><zs:record><zs:recordSchema>mods</zs:recordSchema><zs:recordPacking>xml</zs:recordPacking><zs:recordData><mods
|
383
|
-
xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://www.loc.gov/mods/v3\"
|
384
|
-
version=\"3.5\" xsi:schemaLocation=\"http://www.loc.gov/mods/v3 http://www.loc.gov/standards/mods/v3/mods-3-5.xsd\">\n
|
385
|
-
\ <titleInfo>\n <title>1,037 practice questions for the new GMAT</title>\n
|
386
|
-
\ </titleInfo>\n <titleInfo type=\"alternative\">\n <title>One thousand
|
387
|
-
thirty seven practice questions for the new GMAT</title>\n </titleInfo>\n
|
388
|
-
\ <titleInfo type=\"alternative\">\n <title>1,037 GMAT</title>\n </titleInfo>\n
|
389
|
-
\ <name type=\"corporate\">\n <namePart>Princeton Review (Firm)</namePart>\n
|
390
|
-
\ <role>\n <roleTerm type=\"text\">issuing body.</roleTerm>\n </role>\n
|
391
|
-
\ </name>\n <typeOfResource>text</typeOfResource>\n <genre authority=\"rdacontent\">text</genre>\n
|
392
|
-
\ <genre authority=\"fast\">Examinations.</genre>\n <genre authority=\"fast\">Periodicals.</genre>\n
|
393
|
-
\ <genre authority=\"fast\">Study guides.</genre>\n <originInfo>\n <place>\n
|
394
|
-
\ <placeTerm type=\"code\" authority=\"marccountry\">mau</placeTerm>\n
|
395
|
-
\ </place>\n <dateIssued encoding=\"marc\" point=\"start\">2012</dateIssued>\n
|
396
|
-
\ <dateIssued encoding=\"marc\" point=\"end\">9999</dateIssued>\n <issuance>serial</issuance>\n
|
397
|
-
\ <frequency>Every two to three years</frequency>\n <frequency authority=\"marcfrequency\">Completely
|
398
|
-
irregular</frequency>\n </originInfo>\n <originInfo eventType=\"publication\">\n
|
399
|
-
\ <place>\n <placeTerm type=\"text\">Framingham, MA :</placeTerm>\n
|
400
|
-
\ </place>\n <publisher>The Princeton Review,</publisher>\n <dateIssued>[2012]-</dateIssued>\n
|
401
|
-
\ </originInfo>\n <language>\n <languageTerm authority=\"iso639-2b\" type=\"code\">eng</languageTerm>\n
|
402
|
-
\ </language>\n <physicalDescription>\n <form authority=\"marcform\">print</form>\n
|
403
|
-
\ <extent>volumes ; 28 cm</extent>\n <form type=\"media\" authority=\"rdamedia\">unmediated</form>\n
|
404
|
-
\ <form type=\"carrier\" authority=\"rdacarrier\">volume</form>\n </physicalDescription>\n
|
405
|
-
\ <note type=\"statement of responsibility\" altRepGroup=\"00\">the Princeton
|
406
|
-
Review.</note>\n <note type=\"date/sequential designation\">Began in 2012.</note>\n
|
407
|
-
\ <subject>\n <geographicCode authority=\"marcgac\">n-us---</geographicCode>\n
|
408
|
-
\ </subject>\n <subject authority=\"lcsh\">\n <topic>Graduate Management
|
409
|
-
Admission Test</topic>\n <genre>Study guides</genre>\n </subject>\n <subject
|
410
|
-
authority=\"lcsh\">\n <topic>Business</topic>\n <topic>Examinations,
|
411
|
-
questions, etc</topic>\n <genre>Periodicals</genre>\n </subject>\n <subject
|
412
|
-
authority=\"lcsh\">\n <topic>Management</topic>\n <geographic>United
|
413
|
-
States</geographic>\n <genre>Examinations, questions, etc</genre>\n <genre>Periodicals</genre>\n
|
414
|
-
\ </subject>\n <subject authority=\"fast\">\n <topic>Business</topic>\n
|
415
|
-
\ <topic>Examinations, questions, etc</topic>\n </subject>\n <subject
|
416
|
-
authority=\"fast\">\n <topic>Graduate Management Admission Test</topic>\n
|
417
|
-
\ </subject>\n <subject authority=\"fast\">\n <topic>Management</topic>\n
|
418
|
-
\ </subject>\n <subject authority=\"fast\">\n <geographic>United States</geographic>\n
|
419
|
-
\ </subject>\n <classification authority=\"lcc\">HF1118 .A15</classification>\n
|
420
|
-
\ <classification authority=\"ddc\" edition=\"14\">650.076</classification>\n
|
421
|
-
\ <relatedItem type=\"preceding\">\n <titleInfo>\n <title>1,012 GMAT
|
422
|
-
practice questions</title>\n </titleInfo>\n <identifier type=\"issn\">1946-3073</identifier>\n
|
423
|
-
\ <identifier type=\"local\">(DLC) 2009202106</identifier>\n <identifier
|
424
|
-
type=\"local\">(OCoLC)297530915</identifier>\n </relatedItem>\n <identifier
|
425
|
-
type=\"issn\">2325-3495</identifier>\n <identifier type=\"issn\" invalid=\"yes\">1946-3073</identifier>\n
|
426
|
-
\ <identifier type=\"lccn\">2012204312</identifier>\n <identifier type=\"oclc\">ocn816513528</identifier>\n
|
427
|
-
\ <identifier type=\"stock number\">The Princeton Review, 111 Speen St., Ste.,
|
428
|
-
550, Framingtham, MA 01701</identifier>\n <recordInfo>\n <descriptionStandard>rda</descriptionStandard>\n
|
429
|
-
\ <recordContentSource authority=\"marcorg\">DLC</recordContentSource>\n
|
430
|
-
\ <recordCreationDate encoding=\"marc\">120711</recordCreationDate>\n <recordChangeDate
|
431
|
-
encoding=\"iso8601\">20150711155858.0</recordChangeDate>\n <recordIdentifier>17460729</recordIdentifier>\n
|
432
|
-
\ <recordOrigin>Converted from MARCXML to MODS version 3.5 using MARC21slim2MODS3-5.xsl\n\t\t\t\t(Revision
|
433
|
-
1.106 2014/12/19)</recordOrigin>\n <languageOfCataloging>\n <languageTerm
|
434
|
-
authority=\"iso639-2b\" type=\"code\">eng</languageTerm>\n </languageOfCataloging>\n
|
435
|
-
\ </recordInfo>\n</mods></zs:recordData><zs:recordPosition>7</zs:recordPosition></zs:record><zs:record><zs:recordSchema>mods</zs:recordSchema><zs:recordPacking>xml</zs:recordPacking><zs:recordData><mods
|
436
|
-
xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://www.loc.gov/mods/v3\"
|
437
|
-
version=\"3.5\" xsi:schemaLocation=\"http://www.loc.gov/mods/v3 http://www.loc.gov/standards/mods/v3/mods-3-5.xsd\">\n
|
338
|
+
version=\"3.6\" xsi:schemaLocation=\"http://www.loc.gov/mods/v3 http://www.loc.gov/standards/mods/v3/mods-3-6.xsd\">\n
|
438
339
|
\ <titleInfo>\n <title>10 real SATs</title>\n </titleInfo>\n <titleInfo
|
439
340
|
type=\"alternative\">\n <title>Ten real SATs</title>\n </titleInfo>\n
|
440
341
|
\ <name type=\"corporate\">\n <namePart>College Entrance Examination Board</namePart>\n
|
@@ -455,10 +356,10 @@ http_interactions:
|
|
455
356
|
\ <recordContentSource authority=\"marcorg\">IStc</recordContentSource>\n
|
456
357
|
\ <recordCreationDate encoding=\"marc\">970516</recordCreationDate>\n <recordChangeDate
|
457
358
|
encoding=\"iso8601\">20050929180225.0</recordChangeDate>\n <recordIdentifier>4019494</recordIdentifier>\n
|
458
|
-
\ <recordOrigin>Converted from MARCXML to MODS version 3.
|
459
|
-
1.
|
359
|
+
\ <recordOrigin>Converted from MARCXML to MODS version 3.6 using MARC21slim2MODS3-6.xsl\n\t\t\t\t(Revision
|
360
|
+
1.117 2017/02/14)</recordOrigin>\n </recordInfo>\n</mods></zs:recordData><zs:recordPosition>6</zs:recordPosition></zs:record><zs:record><zs:recordSchema>mods</zs:recordSchema><zs:recordPacking>xml</zs:recordPacking><zs:recordData><mods
|
460
361
|
xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://www.loc.gov/mods/v3\"
|
461
|
-
version=\"3.
|
362
|
+
version=\"3.6\" xsi:schemaLocation=\"http://www.loc.gov/mods/v3 http://www.loc.gov/standards/mods/v3/mods-3-6.xsd\">\n
|
462
363
|
\ <titleInfo>\n <title>10 SATs</title>\n <subTitle>plus advice from
|
463
364
|
the College Board on how to prepare for them</subTitle>\n </titleInfo>\n
|
464
365
|
\ <titleInfo type=\"alternative\">\n <title>Ten SATs</title>\n </titleInfo>\n
|
@@ -482,12 +383,12 @@ http_interactions:
|
|
482
383
|
(pbk.) :</identifier>\n <identifier type=\"lccn\">87063591</identifier>\n
|
483
384
|
\ <recordInfo>\n <descriptionStandard>aacr</descriptionStandard>\n <recordContentSource
|
484
385
|
authority=\"marcorg\">DLC</recordContentSource>\n <recordCreationDate encoding=\"marc\">871230</recordCreationDate>\n
|
485
|
-
\ <recordChangeDate encoding=\"iso8601\">
|
386
|
+
\ <recordChangeDate encoding=\"iso8601\">20161117090338.0</recordChangeDate>\n
|
486
387
|
\ <recordIdentifier>2424452</recordIdentifier>\n <recordOrigin>Converted
|
487
|
-
from MARCXML to MODS version 3.
|
488
|
-
1.
|
388
|
+
from MARCXML to MODS version 3.6 using MARC21slim2MODS3-6.xsl\n\t\t\t\t(Revision
|
389
|
+
1.117 2017/02/14)</recordOrigin>\n </recordInfo>\n</mods></zs:recordData><zs:recordPosition>7</zs:recordPosition></zs:record><zs:record><zs:recordSchema>mods</zs:recordSchema><zs:recordPacking>xml</zs:recordPacking><zs:recordData><mods
|
489
390
|
xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://www.loc.gov/mods/v3\"
|
490
|
-
version=\"3.
|
391
|
+
version=\"3.6\" xsi:schemaLocation=\"http://www.loc.gov/mods/v3 http://www.loc.gov/standards/mods/v3/mods-3-6.xsd\">\n
|
491
392
|
\ <titleInfo>\n <title>10 SATs</title>\n <subTitle>scholastic aptitude
|
492
393
|
tests of the College Board</subTitle>\n </titleInfo>\n <titleInfo type=\"alternative\">\n
|
493
394
|
\ <title>10 S.A.T.s</title>\n </titleInfo>\n <titleInfo type=\"alternative\">\n
|
@@ -509,9 +410,93 @@ http_interactions:
|
|
509
410
|
type=\"lccn\">83071936</identifier>\n <recordInfo>\n <descriptionStandard>aacr</descriptionStandard>\n
|
510
411
|
\ <recordContentSource authority=\"marcorg\">DLC</recordContentSource>\n
|
511
412
|
\ <recordCreationDate encoding=\"marc\">840130</recordCreationDate>\n <recordChangeDate
|
512
|
-
encoding=\"iso8601\">
|
513
|
-
\ <recordOrigin>Converted from MARCXML to MODS version 3.
|
514
|
-
1.
|
413
|
+
encoding=\"iso8601\">20161117082749.0</recordChangeDate>\n <recordIdentifier>3298317</recordIdentifier>\n
|
414
|
+
\ <recordOrigin>Converted from MARCXML to MODS version 3.6 using MARC21slim2MODS3-6.xsl\n\t\t\t\t(Revision
|
415
|
+
1.117 2017/02/14)</recordOrigin>\n </recordInfo>\n</mods></zs:recordData><zs:recordPosition>8</zs:recordPosition></zs:record><zs:record><zs:recordSchema>mods</zs:recordSchema><zs:recordPacking>xml</zs:recordPacking><zs:recordData><mods
|
416
|
+
xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://www.loc.gov/mods/v3\"
|
417
|
+
version=\"3.6\" xsi:schemaLocation=\"http://www.loc.gov/mods/v3 http://www.loc.gov/standards/mods/v3/mods-3-6.xsd\">\n
|
418
|
+
\ <titleInfo>\n <title>10 SATs</title>\n <subTitle>the actual and complete
|
419
|
+
scholastic aptitude test plus advice from the College Board on how to prepare
|
420
|
+
for it</subTitle>\n </titleInfo>\n <titleInfo type=\"alternative\">\n <title>Ten
|
421
|
+
SATs</title>\n </titleInfo>\n <name type=\"corporate\">\n <namePart>College
|
422
|
+
Entrance Examination Board</namePart>\n </name>\n <typeOfResource>text</typeOfResource>\n
|
423
|
+
\ <originInfo>\n <place>\n <placeTerm type=\"code\" authority=\"marccountry\">nyu</placeTerm>\n
|
424
|
+
\ </place>\n <place>\n <placeTerm type=\"text\">New York</placeTerm>\n
|
425
|
+
\ </place>\n <publisher>College Entrance Examination Board</publisher>\n
|
426
|
+
\ <publisher>Distributed by Scribner</publisher>\n <dateIssued>c1986</dateIssued>\n
|
427
|
+
\ <dateIssued encoding=\"marc\">1986</dateIssued>\n <edition>2nd ed.</edition>\n
|
428
|
+
\ <issuance>monographic</issuance>\n </originInfo>\n <language>\n <languageTerm
|
429
|
+
authority=\"iso639-2b\" type=\"code\">eng</languageTerm>\n </language>\n
|
430
|
+
\ <physicalDescription>\n <form authority=\"marcform\">print</form>\n <extent>304
|
431
|
+
p. : ill. ; 28 cm.</extent>\n </physicalDescription>\n <subject authority=\"lcsh\">\n
|
432
|
+
\ <topic>SAT (Educational test)</topic>\n </subject>\n <subject authority=\"lcsh\">\n
|
433
|
+
\ <topic>SAT (Educational test)</topic>\n <topic>Study guides</topic>\n
|
434
|
+
\ </subject>\n <classification authority=\"lcc\">LB2353.57 .A16 1986</classification>\n
|
435
|
+
\ <classification authority=\"ddc\" edition=\"19\">371.2/6</classification>\n
|
436
|
+
\ <identifier type=\"isbn\">0874472466 (pbk.) :</identifier>\n <identifier
|
437
|
+
type=\"lccn\">85073338</identifier>\n <recordInfo>\n <descriptionStandard>aacr</descriptionStandard>\n
|
438
|
+
\ <recordContentSource authority=\"marcorg\">DLC</recordContentSource>\n
|
439
|
+
\ <recordCreationDate encoding=\"marc\">851021</recordCreationDate>\n <recordChangeDate
|
440
|
+
encoding=\"iso8601\">20161117082741.0</recordChangeDate>\n <recordIdentifier>500315</recordIdentifier>\n
|
441
|
+
\ <recordOrigin>Converted from MARCXML to MODS version 3.6 using MARC21slim2MODS3-6.xsl\n\t\t\t\t(Revision
|
442
|
+
1.117 2017/02/14)</recordOrigin>\n </recordInfo>\n</mods></zs:recordData><zs:recordPosition>9</zs:recordPosition></zs:record><zs:record><zs:recordSchema>mods</zs:recordSchema><zs:recordPacking>xml</zs:recordPacking><zs:recordData><mods
|
443
|
+
xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://www.loc.gov/mods/v3\"
|
444
|
+
version=\"3.6\" xsi:schemaLocation=\"http://www.loc.gov/mods/v3 http://www.loc.gov/standards/mods/v3/mods-3-6.xsd\">\n
|
445
|
+
\ <titleInfo>\n <title>100 contractors receiving the largest dollar volume
|
446
|
+
of prime contract awards for research, development, test, and evaluation</title>\n
|
447
|
+
\ </titleInfo>\n <titleInfo type=\"alternative\">\n <title>One hundred
|
448
|
+
contractors receiving the largest dollar volume prime contract awards for
|
449
|
+
research, development, test, and evaluation</title>\n </titleInfo>\n <titleInfo
|
450
|
+
type=\"alternative\">\n <title>100 contractors receiving the largest dollar
|
451
|
+
volume of prime contract awards for RDT & E</title>\n </titleInfo>\n
|
452
|
+
\ <name type=\"corporate\">\n <namePart>United States</namePart>\n <namePart>Department
|
453
|
+
of Defense.</namePart>\n <namePart>Washington Headquarters Services.</namePart>\n
|
454
|
+
\ <namePart>Directorate for Information Operations and Reports.</namePart>\n
|
455
|
+
\ </name>\n <typeOfResource>text</typeOfResource>\n <genre authority=\"rdacontent\">text</genre>\n
|
456
|
+
\ <originInfo>\n <place>\n <placeTerm type=\"code\" authority=\"marccountry\">dcu</placeTerm>\n
|
457
|
+
\ </place>\n <place>\n <placeTerm type=\"text\">Washington, D.C.]</placeTerm>\n
|
458
|
+
\ </place>\n <publisher>Dept. of Defense, Washington Headquarters Services,
|
459
|
+
Directorate for Information Operations and Reports</publisher>\n <publisher>For
|
460
|
+
sale by the Supt. of Docs, U.S. G.P.O.</publisher>\n <dateIssued>1996-[1997]</dateIssued>\n
|
461
|
+
\ <dateIssued encoding=\"marc\" point=\"start\">1996</dateIssued>\n <dateIssued
|
462
|
+
encoding=\"marc\" point=\"end\">1997</dateIssued>\n <issuance>serial</issuance>\n
|
463
|
+
\ <frequency>Annual</frequency>\n <frequency authority=\"marcfrequency\">Annual</frequency>\n
|
464
|
+
\ </originInfo>\n <language>\n <languageTerm authority=\"iso639-2b\" type=\"code\">eng</languageTerm>\n
|
465
|
+
\ </language>\n <physicalDescription>\n <form authority=\"marcform\">print</form>\n
|
466
|
+
\ <extent>volumes ; 28 cm</extent>\n <form type=\"media\" authority=\"rdamedia\">unmediated</form>\n
|
467
|
+
\ <form type=\"carrier\" authority=\"rdacarrier\">volume</form>\n </physicalDescription>\n
|
468
|
+
\ <note type=\"date/sequential designation\">Fiscal year 1996-fiscal year
|
469
|
+
1997.</note>\n <note>Distributed to depository libraries on microfiche.</note>\n
|
470
|
+
\ <note type=\"numbering\">Report covers fiscal year.</note>\n <subject>\n
|
471
|
+
\ <geographicCode authority=\"marcgac\">n-us---</geographicCode>\n </subject>\n
|
472
|
+
\ <subject authority=\"lcsh\">\n <topic>Defense contracts</topic>\n <geographic>United
|
473
|
+
States</geographic>\n <genre>Periodicals</genre>\n </subject>\n <subject
|
474
|
+
authority=\"lcsh\">\n <geographic>United States</geographic>\n <topic>Armed
|
475
|
+
Forces</topic>\n <topic>Procurement</topic>\n <genre>Periodicals</genre>\n
|
476
|
+
\ </subject>\n <classification authority=\"lcc\">UC267 .A15</classification>\n
|
477
|
+
\ <classification authority=\"ddc\" edition=\"19\">355.6/211/0973</classification>\n
|
478
|
+
\ <relatedItem type=\"otherFormat\">\n <originInfo>\n <publisher>Supt.
|
479
|
+
of Docs., U.S.G.P.O.</publisher>\n </originInfo>\n <identifier type=\"local\">(DLC)sn
|
480
|
+
98038271</identifier>\n <identifier type=\"local\">(OCoLC)40131503</identifier>\n
|
481
|
+
\ </relatedItem>\n <relatedItem type=\"preceding\">\n <titleInfo>\n <title>500
|
482
|
+
contractors receiving the largest dollar volume of prime contract awards for
|
483
|
+
research, development, test, and evaluation</title>\n </titleInfo>\n <identifier
|
484
|
+
type=\"issn\">0884-1314</identifier>\n <identifier type=\"local\">(DLC)
|
485
|
+
\ 85641927</identifier>\n <identifier type=\"local\">(OCoLC)9878607</identifier>\n
|
486
|
+
\ </relatedItem>\n <relatedItem type=\"succeeding\">\n <titleInfo>\n <title>100
|
487
|
+
contractors receiving the largest dollar volume of prime contract awards for
|
488
|
+
research, development, test, and evaluation (Online)</title>\n </titleInfo>\n
|
489
|
+
\ <identifier type=\"issn\">1936-3257</identifier>\n <identifier type=\"local\">(DLC)
|
490
|
+
\ 2012219066</identifier>\n <identifier type=\"local\">(OCoLC)42909785</identifier>\n
|
491
|
+
\ </relatedItem>\n <identifier type=\"lccn\">98640735</identifier>\n <identifier
|
492
|
+
type=\"oclc\">ocm37715440</identifier>\n <recordInfo>\n <descriptionStandard>aacr</descriptionStandard>\n
|
493
|
+
\ <recordContentSource authority=\"marcorg\">DGAO</recordContentSource>\n
|
494
|
+
\ <recordCreationDate encoding=\"marc\">971001</recordCreationDate>\n <recordChangeDate
|
495
|
+
encoding=\"iso8601\">20130505155748.0</recordChangeDate>\n <recordIdentifier>11496755</recordIdentifier>\n
|
496
|
+
\ <recordOrigin>Converted from MARCXML to MODS version 3.6 using MARC21slim2MODS3-6.xsl\n\t\t\t\t(Revision
|
497
|
+
1.117 2017/02/14)</recordOrigin>\n <languageOfCataloging>\n <languageTerm
|
498
|
+
authority=\"iso639-2b\" type=\"code\">eng</languageTerm>\n </languageOfCataloging>\n
|
499
|
+
\ </recordInfo>\n</mods></zs:recordData><zs:recordPosition>10</zs:recordPosition></zs:record></zs:records><zs:nextRecordPosition>11</zs:nextRecordPosition><zs:echoedSearchRetrieveRequest><zs:version>1.1</zs:version><zs:query>test</zs:query><zs:maximumRecords>10</zs:maximumRecords><zs:recordPacking>xml</zs:recordPacking><zs:recordSchema>mods</zs:recordSchema></zs:echoedSearchRetrieveRequest></zs:searchRetrieveResponse>\n"
|
515
500
|
http_version:
|
516
|
-
recorded_at:
|
517
|
-
recorded_with: VCR
|
501
|
+
recorded_at: Sun, 24 Dec 2017 12:57:45 GMT
|
502
|
+
recorded_with: VCR 4.0.0
|
@@ -10,35 +10,35 @@ describe LocSearchController do
|
|
10
10
|
describe "GET index" do
|
11
11
|
login_fixture_librarian
|
12
12
|
|
13
|
-
it "should get index", :
|
14
|
-
get :index, :query
|
15
|
-
expect(
|
13
|
+
it "should get index", vcr: true do
|
14
|
+
get :index, params: { query: 'library' }
|
15
|
+
expect(assigns(:books)).not_to be_empty
|
16
16
|
end
|
17
17
|
|
18
|
-
it "should be empty if a query is not set", :
|
18
|
+
it "should be empty if a query is not set", vcr: true do
|
19
19
|
get :index
|
20
|
-
expect(
|
20
|
+
expect(assigns(:books)).to be_empty
|
21
21
|
end
|
22
22
|
|
23
|
-
it "should get index with page parameter", :
|
24
|
-
get :index, :query
|
25
|
-
expect(
|
23
|
+
it "should get index with page parameter", vcr: true do
|
24
|
+
get :index, params: { query: 'library', page: 2 }
|
25
|
+
expect(assigns(:books)).not_to be_empty
|
26
26
|
end
|
27
27
|
end
|
28
28
|
|
29
29
|
describe "POST create" do
|
30
30
|
login_fixture_librarian
|
31
31
|
|
32
|
-
it "should create a bibliographic record if lccn is set", :
|
33
|
-
post :create, :book
|
34
|
-
expect(
|
35
|
-
expect(
|
32
|
+
it "should create a bibliographic record if lccn is set", vcr: true do
|
33
|
+
post :create, params: { book: {lccn: '2013385616'} }
|
34
|
+
expect(assigns(:manifestation).identifier_contents(:lccn)).to eq ['2013385616']
|
35
|
+
expect(response).to redirect_to manifestation_url(assigns(:manifestation))
|
36
36
|
end
|
37
37
|
|
38
|
-
it "should not create a bibliographic record if lccn is not set", :
|
39
|
-
post :create, :book
|
40
|
-
expect(
|
41
|
-
expect(
|
38
|
+
it "should not create a bibliographic record if lccn is not set", vcr: true do
|
39
|
+
post :create, params: { book: { } }
|
40
|
+
expect(assigns(:manifestation)).to be_nil
|
41
|
+
expect(response).to redirect_to loc_search_index_url
|
42
42
|
end
|
43
43
|
end
|
44
44
|
end
|
data/spec/dummy/bin/rails
CHANGED
data/spec/dummy/bin/setup
CHANGED
@@ -1,29 +1,38 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
require 'pathname'
|
3
|
+
require 'fileutils'
|
4
|
+
include FileUtils
|
3
5
|
|
4
6
|
# path to your application root.
|
5
|
-
APP_ROOT = Pathname.new File.expand_path('../../',
|
7
|
+
APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
|
6
8
|
|
7
|
-
|
9
|
+
def system!(*args)
|
10
|
+
system(*args) || abort("\n== Command #{args} failed ==")
|
11
|
+
end
|
12
|
+
|
13
|
+
chdir APP_ROOT do
|
8
14
|
# This script is a starting point to setup your application.
|
9
|
-
# Add necessary setup steps to this file
|
15
|
+
# Add necessary setup steps to this file.
|
16
|
+
|
17
|
+
puts '== Installing dependencies =='
|
18
|
+
system! 'gem install bundler --conservative'
|
19
|
+
system('bundle check') || system!('bundle install')
|
20
|
+
|
21
|
+
# Install JavaScript dependencies if using Yarn
|
22
|
+
# system('bin/yarn')
|
10
23
|
|
11
|
-
puts "== Installing dependencies =="
|
12
|
-
system "gem install bundler --conservative"
|
13
|
-
system "bundle check || bundle install"
|
14
24
|
|
15
25
|
# puts "\n== Copying sample files =="
|
16
|
-
# unless File.exist?(
|
17
|
-
#
|
26
|
+
# unless File.exist?('config/database.yml')
|
27
|
+
# cp 'config/database.yml.sample', 'config/database.yml'
|
18
28
|
# end
|
19
29
|
|
20
30
|
puts "\n== Preparing database =="
|
21
|
-
system
|
31
|
+
system! 'bin/rails db:setup'
|
22
32
|
|
23
33
|
puts "\n== Removing old logs and tempfiles =="
|
24
|
-
system
|
25
|
-
system "rm -rf tmp/cache"
|
34
|
+
system! 'bin/rails log:clear tmp:clear'
|
26
35
|
|
27
36
|
puts "\n== Restarting application server =="
|
28
|
-
system
|
37
|
+
system! 'bin/rails restart'
|
29
38
|
end
|
@@ -0,0 +1,29 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
require 'pathname'
|
3
|
+
require 'fileutils'
|
4
|
+
include FileUtils
|
5
|
+
|
6
|
+
# path to your application root.
|
7
|
+
APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
|
8
|
+
|
9
|
+
def system!(*args)
|
10
|
+
system(*args) || abort("\n== Command #{args} failed ==")
|
11
|
+
end
|
12
|
+
|
13
|
+
chdir APP_ROOT do
|
14
|
+
# This script is a way to update your development environment automatically.
|
15
|
+
# Add necessary update steps to this file.
|
16
|
+
|
17
|
+
puts '== Installing dependencies =='
|
18
|
+
system! 'gem install bundler --conservative'
|
19
|
+
system('bundle check') || system!('bundle install')
|
20
|
+
|
21
|
+
puts "\n== Updating database =="
|
22
|
+
system! 'bin/rails db:migrate'
|
23
|
+
|
24
|
+
puts "\n== Removing old logs and tempfiles =="
|
25
|
+
system! 'bin/rails log:clear tmp:clear'
|
26
|
+
|
27
|
+
puts "\n== Restarting application server =="
|
28
|
+
system! 'bin/rails restart'
|
29
|
+
end
|
data/spec/dummy/bin/yarn
ADDED
@@ -0,0 +1,11 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
VENDOR_PATH = File.expand_path('..', __dir__)
|
3
|
+
Dir.chdir(VENDOR_PATH) do
|
4
|
+
begin
|
5
|
+
exec "yarnpkg #{ARGV.join(" ")}"
|
6
|
+
rescue Errno::ENOENT
|
7
|
+
$stderr.puts "Yarn executable was not detected in the system."
|
8
|
+
$stderr.puts "Download Yarn at https://yarnpkg.com/en/docs/install"
|
9
|
+
exit 1
|
10
|
+
end
|
11
|
+
end
|