enju_seed 0.4.0.beta.1 → 0.4.0.beta.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (331) hide show
  1. checksums.yaml +5 -5
  2. data/README.md +6 -9
  3. data/Rakefile +7 -16
  4. data/app/controllers/profiles_controller.rb +30 -30
  5. data/app/controllers/roles_controller.rb +1 -2
  6. data/app/models/concerns/enju_seed/enju_user.rb +27 -23
  7. data/app/models/concerns/master_model.rb +3 -3
  8. data/app/models/profile.rb +13 -12
  9. data/app/models/role.rb +4 -4
  10. data/app/models/user_has_role.rb +2 -5
  11. data/app/views/my_accounts/_edit_credential.html.erb +9 -9
  12. data/app/views/profiles/_edit_credential.html.erb +6 -6
  13. data/app/views/profiles/new.html.erb +3 -3
  14. data/app/views/profiles/show.html.erb +1 -1
  15. data/app/views/roles/index.html.erb +1 -1
  16. data/app/views/roles/show.html.erb +2 -7
  17. data/db/migrate/041_create_roles.rb +7 -6
  18. data/db/migrate/20100606065209_create_user_has_roles.rb +3 -3
  19. data/db/migrate/20130221154434_add_additional_attributes_to_user.rb +2 -2
  20. data/db/migrate/20140122054321_create_profiles.rb +8 -5
  21. data/db/migrate/20140610123439_drop_email_unique_constraint_enju_leaf_rc10.rb +11 -0
  22. data/db/migrate/20140811031145_add_expired_at_to_profile.rb +1 -1
  23. data/db/migrate/20141003181336_add_full_name_transcription_to_profile.rb +1 -1
  24. data/db/migrate/20141003182825_add_date_of_birth_to_profile.rb +1 -1
  25. data/db/migrate/20190630151446_add_display_name_translations_to_role.rb +5 -0
  26. data/db/migrate/20190713114940_add_profile_id_to_user.rb +5 -0
  27. data/db/migrate/20190713115451_add_full_name_translations_to_profile.rb +5 -0
  28. data/lib/enju_seed.rb +2 -2
  29. data/lib/enju_seed/engine.rb +2 -2
  30. data/lib/enju_seed/version.rb +1 -1
  31. data/lib/generators/enju_seed/setup/setup_generator.rb +9 -0
  32. data/lib/generators/enju_seed/setup/templates/db/fixtures/roles.yml +38 -0
  33. data/lib/generators/enju_seed/update/update_generator.rb +9 -0
  34. data/lib/tasks/enju_seed_tasks.rake +8 -4
  35. data/spec/controllers/my_accounts_controller_spec.rb +56 -45
  36. data/spec/controllers/profiles_controller_spec.rb +144 -147
  37. data/spec/controllers/roles_controller_spec.rb +35 -35
  38. data/spec/dummy/Rakefile +1 -1
  39. data/spec/dummy/app/models/application_record.rb +3 -0
  40. data/spec/dummy/app/models/user.rb +2 -2
  41. data/spec/dummy/bin/bundle +1 -1
  42. data/spec/dummy/bin/rails +1 -1
  43. data/spec/dummy/bin/setup +19 -12
  44. data/spec/dummy/bin/update +31 -0
  45. data/spec/dummy/bin/yarn +11 -0
  46. data/spec/dummy/config.ru +2 -1
  47. data/spec/dummy/config/application.rb +6 -1
  48. data/spec/dummy/config/cable.yml +10 -0
  49. data/spec/dummy/config/database.yml +3 -2
  50. data/spec/dummy/config/environments/development.rb +1 -1
  51. data/spec/dummy/config/environments/production.rb +8 -3
  52. data/spec/dummy/config/environments/test.rb +1 -1
  53. data/spec/dummy/config/initializers/application_controller_renderer.rb +8 -0
  54. data/spec/dummy/config/initializers/assets.rb +7 -4
  55. data/spec/dummy/config/initializers/cookies_serializer.rb +2 -0
  56. data/spec/dummy/config/initializers/friendly_id.rb +75 -75
  57. data/spec/dummy/config/initializers/wrap_parameters.rb +2 -2
  58. data/spec/dummy/config/puma.rb +56 -0
  59. data/spec/dummy/config/routes.rb +4 -0
  60. data/spec/dummy/config/secrets.yml +15 -5
  61. data/spec/dummy/config/spring.rb +6 -0
  62. data/spec/dummy/db/migrate/001_create_agents.rb +7 -7
  63. data/spec/dummy/db/migrate/002_devise_create_users.rb +4 -3
  64. data/spec/dummy/db/migrate/005_create_manifestations.rb +5 -4
  65. data/spec/dummy/db/migrate/006_create_items.rb +4 -3
  66. data/spec/dummy/db/migrate/012_create_owns.rb +5 -3
  67. data/spec/dummy/db/migrate/015_create_creates.rb +5 -3
  68. data/spec/dummy/db/migrate/032_create_checkins.rb +1 -1
  69. data/spec/dummy/db/migrate/033_create_checkouts.rb +1 -1
  70. data/spec/dummy/db/migrate/035_create_reserves.rb +1 -1
  71. data/spec/dummy/db/migrate/047_create_produces.rb +5 -3
  72. data/spec/dummy/db/migrate/059_create_libraries.rb +7 -8
  73. data/spec/dummy/db/migrate/069_create_shelves.rb +3 -3
  74. data/spec/dummy/db/migrate/073_create_carrier_types.rb +2 -2
  75. data/spec/dummy/db/migrate/077_create_user_groups.rb +4 -4
  76. data/spec/dummy/db/migrate/080_create_library_groups.rb +6 -6
  77. data/spec/dummy/db/migrate/112_create_frequencies.rb +2 -2
  78. data/spec/dummy/db/migrate/117_create_form_of_works.rb +2 -2
  79. data/spec/dummy/db/migrate/120_create_baskets.rb +2 -2
  80. data/spec/dummy/db/migrate/121_create_checked_items.rb +1 -1
  81. data/spec/dummy/db/migrate/124_create_bookstores.rb +3 -3
  82. data/spec/dummy/db/migrate/125_create_donates.rb +3 -3
  83. data/spec/dummy/db/migrate/127_create_use_restrictions.rb +1 -1
  84. data/spec/dummy/db/migrate/129_create_item_has_use_restrictions.rb +1 -1
  85. data/spec/dummy/db/migrate/130_create_request_status_types.rb +3 -3
  86. data/spec/dummy/db/migrate/131_create_request_types.rb +3 -3
  87. data/spec/dummy/db/migrate/132_create_circulation_statuses.rb +1 -1
  88. data/spec/dummy/db/migrate/133_create_agent_merges.rb +2 -2
  89. data/spec/dummy/db/migrate/134_create_agent_merge_lists.rb +1 -1
  90. data/spec/dummy/db/migrate/149_create_message_templates.rb +18 -0
  91. data/spec/dummy/db/migrate/154_create_messages.rb +23 -0
  92. data/spec/dummy/db/migrate/20080819181903_create_message_requests.rb +18 -0
  93. data/spec/dummy/db/migrate/20080830154109_create_realizes.rb +5 -3
  94. data/spec/dummy/db/migrate/20080905191442_create_agent_types.rb +2 -2
  95. data/spec/dummy/db/migrate/20081006090811_create_subscriptions.rb +3 -5
  96. data/spec/dummy/db/migrate/20081006093246_create_subscribes.rb +4 -3
  97. data/spec/dummy/db/migrate/20081023092436_create_search_engines.rb +6 -6
  98. data/spec/dummy/db/migrate/20081025083323_create_countries.rb +5 -5
  99. data/spec/dummy/db/migrate/20081025083905_create_languages.rb +6 -6
  100. data/spec/dummy/db/migrate/20081027150907_create_picture_files.rb +2 -2
  101. data/spec/dummy/db/migrate/20081028083142_create_agent_import_files.rb +1 -1
  102. data/spec/dummy/db/migrate/20081028083208_create_resource_import_files.rb +1 -1
  103. data/spec/dummy/db/migrate/20081030023412_create_checkout_types.rb +1 -1
  104. data/spec/dummy/db/migrate/20081030023518_create_user_group_has_checkout_types.rb +1 -1
  105. data/spec/dummy/db/migrate/20081030023615_create_carrier_type_has_checkout_types.rb +1 -1
  106. data/spec/dummy/db/migrate/20081212075554_create_checkout_stat_has_manifestations.rb +1 -1
  107. data/spec/dummy/db/migrate/20081212080038_create_manifestation_checkout_stats.rb +1 -1
  108. data/spec/dummy/db/migrate/20081215094302_create_user_checkout_stats.rb +1 -1
  109. data/spec/dummy/db/migrate/20081215094955_create_checkout_stat_has_users.rb +1 -1
  110. data/spec/dummy/db/migrate/20081216190517_create_reserve_stat_has_manifestations.rb +1 -1
  111. data/spec/dummy/db/migrate/20081216190724_create_manifestation_reserve_stats.rb +1 -1
  112. data/spec/dummy/db/migrate/20081220023628_create_user_reserve_stats.rb +1 -1
  113. data/spec/dummy/db/migrate/20081220034117_create_reserve_stat_has_users.rb +1 -1
  114. data/spec/dummy/db/migrate/20090321130448_add_completed_at_to_user_checkout_stat.rb +1 -1
  115. data/spec/dummy/db/migrate/20090705133942_add_attachments_picture_to_picture_file.rb +1 -1
  116. data/spec/dummy/db/migrate/20090705212043_add_attachments_attachment_to_manifestation.rb +1 -1
  117. data/spec/dummy/db/migrate/20090720091106_create_medium_of_performances.rb +2 -2
  118. data/spec/dummy/db/migrate/20090720091429_create_content_types.rb +2 -2
  119. data/spec/dummy/db/migrate/20090812151902_create_agent_relationship_types.rb +2 -2
  120. data/spec/dummy/db/migrate/20090831220301_create_lending_policies.rb +21 -0
  121. data/spec/dummy/db/migrate/20091012101112_add_dcndl_schema.rb +1 -1
  122. data/spec/dummy/db/migrate/20091025080447_create_licenses.rb +2 -2
  123. data/spec/dummy/db/migrate/20091214131723_create_series_statements.rb +1 -1
  124. data/spec/dummy/db/migrate/20100129142347_create_import_requests.rb +7 -4
  125. data/spec/dummy/db/migrate/20100211105551_add_admin_networks_to_library_group.rb +2 -2
  126. data/spec/dummy/db/migrate/20100223121519_rename_series_statement_title_to_original_title.rb +1 -1
  127. data/spec/dummy/db/migrate/20100314190054_add_opening_hour_to_library.rb +1 -1
  128. data/spec/dummy/db/migrate/20100321235924_add_series_statement_identifier_to_series_statement.rb +1 -1
  129. data/spec/dummy/db/migrate/20100525124311_create_manifestation_relationships.rb +6 -4
  130. data/spec/dummy/db/migrate/20100606073747_create_agent_relationships.rb +1 -1
  131. data/spec/dummy/db/migrate/20100607044753_create_manifestation_relationship_types.rb +2 -2
  132. data/spec/dummy/db/migrate/20100814091104_add_position_to_agent_relationship.rb +1 -1
  133. data/spec/dummy/db/migrate/20100925043847_create_resource_import_results.rb +1 -1
  134. data/spec/dummy/db/migrate/20100925074559_create_agent_import_results.rb +1 -1
  135. data/spec/dummy/db/migrate/20101212070145_add_acquired_at_to_item.rb +1 -1
  136. data/spec/dummy/db/migrate/20110222073537_add_url_to_library_group.rb +2 -2
  137. data/spec/dummy/db/migrate/20110301035123_add_pub_date_to_manifestation.rb +1 -1
  138. data/spec/dummy/db/migrate/20110301121550_add_birth_date_and_death_date_to_agent.rb +1 -1
  139. data/spec/dummy/db/migrate/20110301134521_add_expire_date_to_reserve.rb +1 -1
  140. data/spec/dummy/db/migrate/20110318183304_add_valid_period_for_new_user_to_user_group.rb +2 -2
  141. data/spec/dummy/db/migrate/20110328130826_add_current_checkout_count_to_user_group_has_checkout_type.rb +1 -1
  142. data/spec/dummy/db/migrate/20110603184217_add_edit_mode_to_resource_import_file.rb +1 -1
  143. data/spec/dummy/db/migrate/20110619064807_add_edition_string_to_manifestation.rb +1 -1
  144. data/spec/dummy/db/migrate/20110620173525_add_bookstore_id_to_item.rb +1 -1
  145. data/spec/dummy/db/migrate/20110621093332_remove_expire_date_from_reserve.rb +1 -1
  146. data/spec/dummy/db/migrate/20110627034940_create_series_statement_merge_lists.rb +1 -1
  147. data/spec/dummy/db/migrate/20110627035057_create_series_statement_merges.rb +3 -3
  148. data/spec/dummy/db/migrate/20110627122938_add_number_of_day_to_notify_overdue_to_user_group.rb +1 -1
  149. data/spec/dummy/db/migrate/20110913115320_add_lft_and_rgt_to_message.rb +11 -0
  150. data/spec/dummy/db/migrate/20110916091020_add_volume_number_to_manifestation.rb +1 -1
  151. data/spec/dummy/db/migrate/20110916103953_add_manifestaiton_id_to_series_statement.rb +1 -1
  152. data/spec/dummy/db/migrate/20110918162329_add_note_to_series_statement.rb +1 -1
  153. data/spec/dummy/db/migrate/20111124110059_create_create_types.rb +1 -1
  154. data/spec/dummy/db/migrate/20111124110319_create_realize_types.rb +1 -1
  155. data/spec/dummy/db/migrate/20111124110355_create_produce_types.rb +1 -1
  156. data/spec/dummy/db/migrate/20111124112131_add_create_type_to_create.rb +1 -1
  157. data/spec/dummy/db/migrate/20111129044509_add_pickup_location_to_reserve.rb +1 -1
  158. data/spec/dummy/db/migrate/20120105074911_add_isil_to_library.rb +1 -1
  159. data/spec/dummy/db/migrate/20120125050502_add_depth_to_message.rb +6 -0
  160. data/spec/dummy/db/migrate/20120125152919_add_title_subseries_transcription_to_series_statement.rb +1 -1
  161. data/spec/dummy/db/migrate/20120129014038_create_budget_types.rb +1 -1
  162. data/spec/dummy/db/migrate/20120129020544_add_budget_type_id_to_item.rb +1 -1
  163. data/spec/dummy/db/migrate/20120319120638_add_content_type_id_to_manifestation.rb +2 -2
  164. data/spec/dummy/db/migrate/20120319173203_create_accepts.rb +4 -4
  165. data/spec/dummy/db/migrate/20120410104851_add_year_of_publication_to_manifestation.rb +1 -1
  166. data/spec/dummy/db/migrate/20120413072700_add_picture_meta_to_picture_file.rb +1 -1
  167. data/spec/dummy/db/migrate/20120413100352_add_fingerprint_to_picture_file.rb +1 -1
  168. data/spec/dummy/db/migrate/20120413161340_add_fingerprint_to_resource_import_file.rb +1 -1
  169. data/spec/dummy/db/migrate/20120413161403_add_fingerprint_to_agent_import_file.rb +1 -1
  170. data/spec/dummy/db/migrate/20120413170705_add_error_message_to_resource_import_file.rb +5 -0
  171. data/spec/dummy/db/migrate/20120413170720_add_error_message_to_agent_import_file.rb +5 -0
  172. data/spec/dummy/db/migrate/20120415164821_add_attachment_meta_to_manifestation.rb +1 -1
  173. data/spec/dummy/db/migrate/20120418081407_add_month_of_publication_to_manifestation.rb +1 -1
  174. data/spec/dummy/db/migrate/20120424103932_add_librarian_id_to_checked_item.rb +1 -1
  175. data/spec/dummy/db/migrate/20120510140958_add_closed_to_shelf.rb +2 -2
  176. data/spec/dummy/db/migrate/20120511072422_add_agent_identifier_to_agent.rb +1 -1
  177. data/spec/dummy/db/migrate/20120602141129_add_edit_mode_to_agent_import_file.rb +1 -1
  178. data/spec/dummy/db/migrate/20121116031206_add_fulltext_content_to_manifestation.rb +1 -1
  179. data/spec/dummy/db/migrate/20130303124821_add_retained_at_to_reserve.rb +1 -1
  180. data/spec/dummy/db/migrate/20130304015019_add_postponed_at_to_reserve.rb +1 -1
  181. data/spec/dummy/db/migrate/20130412083556_add_latitude_and_longitude_to_library.rb +1 -1
  182. data/spec/dummy/db/migrate/20130416054135_add_circulation_status_id_to_item.rb +1 -1
  183. data/spec/dummy/db/migrate/20130421093852_add_periodical_to_manifestation.rb +1 -1
  184. data/spec/dummy/db/migrate/20130421155019_add_creator_string_to_series_statement.rb +1 -1
  185. data/spec/dummy/db/migrate/20130421164124_add_series_master_to_series_statement.rb +1 -1
  186. data/spec/dummy/db/migrate/20130429020822_add_root_manifestation_id_to_series_statement.rb +1 -1
  187. data/spec/dummy/db/migrate/20130506175303_create_identifier_types.rb +1 -1
  188. data/spec/dummy/db/migrate/20130506175834_create_identifiers.rb +3 -2
  189. data/spec/dummy/db/migrate/20130509185724_add_statement_of_responsibility_to_manifestation.rb +1 -1
  190. data/spec/dummy/db/migrate/20130519065638_add_lock_version_to_reserve.rb +1 -1
  191. data/spec/dummy/db/migrate/20130519065837_add_lock_version_to_checkin.rb +1 -1
  192. data/spec/dummy/db/migrate/20140110122216_create_user_import_files.rb +3 -3
  193. data/spec/dummy/db/migrate/20140110131010_create_user_import_results.rb +3 -3
  194. data/spec/dummy/db/migrate/20140518050147_create_reserve_transitions.rb +3 -3
  195. data/spec/dummy/db/migrate/20140518111006_create_message_transitions.rb +18 -0
  196. data/spec/dummy/db/migrate/20140518135713_create_message_request_transitions.rb +18 -0
  197. data/spec/dummy/db/migrate/20140519170214_create_resource_import_file_transitions.rb +3 -3
  198. data/spec/dummy/db/migrate/20140519171220_create_import_request_transitions.rb +3 -3
  199. data/spec/dummy/db/migrate/20140524020735_create_agent_import_file_transitions.rb +3 -3
  200. data/spec/dummy/db/migrate/20140524074813_create_user_import_file_transitions.rb +2 -3
  201. data/spec/dummy/db/migrate/20140528045518_create_user_checkout_stat_transitions.rb +4 -4
  202. data/spec/dummy/db/migrate/20140528045539_create_user_reserve_stat_transitions.rb +4 -4
  203. data/spec/dummy/db/migrate/20140528045600_create_manifestation_checkout_stat_transitions.rb +5 -5
  204. data/spec/dummy/db/migrate/20140528045617_create_manifestation_reserve_stat_transitions.rb +5 -5
  205. data/spec/dummy/db/migrate/20140614065404_create_resource_export_files.rb +2 -1
  206. data/spec/dummy/db/migrate/20140614141500_create_resource_export_file_transitions.rb +3 -3
  207. data/spec/dummy/db/migrate/20140628072217_add_user_encoding_to_user_import_file.rb +1 -1
  208. data/spec/dummy/db/migrate/20140628073524_add_user_encoding_to_agent_import_file.rb +1 -1
  209. data/spec/dummy/db/migrate/20140628073535_add_user_encoding_to_resource_import_file.rb +1 -1
  210. data/spec/dummy/db/migrate/20140709113413_create_user_export_files.rb +3 -2
  211. data/spec/dummy/db/migrate/20140709113905_create_user_export_file_transitions.rb +2 -2
  212. data/spec/dummy/db/migrate/20140720140916_add_binding_item_identifier_to_item.rb +1 -1
  213. data/spec/dummy/db/migrate/20140720170714_add_default_library_id_to_user_import_file.rb +2 -2
  214. data/spec/dummy/db/migrate/20140720170735_add_default_user_group_id_to_user_import_file.rb +2 -2
  215. data/spec/dummy/db/migrate/20140721151416_add_default_shelf_id_to_resource_import_file.rb +1 -1
  216. data/spec/dummy/db/migrate/20140802082007_add_manifestation_id_to_item.rb +3 -2
  217. data/spec/dummy/db/migrate/20140810061942_add_user_id_to_user_checkout_stat.rb +1 -1
  218. data/spec/dummy/db/migrate/20140810091231_add_checkout_icalendar_token_to_profile.rb +1 -1
  219. data/spec/dummy/db/migrate/20140810091417_add_save_checkout_history_to_profile.rb +1 -1
  220. data/spec/dummy/db/migrate/20140813182425_add_publication_place_to_manifestation.rb +1 -1
  221. data/spec/dummy/db/migrate/20140821151023_create_colors.rb +2 -4
  222. data/spec/dummy/db/migrate/20140822114527_add_error_message_to_resource_import_result.rb +5 -0
  223. data/spec/dummy/db/migrate/20140823083524_add_extent_to_manifestation.rb +1 -1
  224. data/spec/dummy/db/migrate/20140823094847_add_dimensions_to_manifestation.rb +1 -1
  225. data/spec/dummy/db/migrate/20140823095740_rename_manifestation_periodical_to_serial.rb +1 -1
  226. data/spec/dummy/db/migrate/20141014065831_add_shelf_id_to_checkout.rb +1 -1
  227. data/spec/dummy/db/migrate/20141020120523_add_library_id_to_checkout.rb +1 -1
  228. data/spec/dummy/db/migrate/20150106001709_create_demands.rb +1 -1
  229. data/spec/dummy/db/migrate/20150117111136_add_foreign_key_to_items_referencing_manifestations.rb +5 -0
  230. data/spec/dummy/db/migrate/20150221063719_add_settings_to_library_group.rb +2 -2
  231. data/spec/dummy/db/migrate/20150506105356_add_error_message_to_user_import_result.rb +5 -0
  232. data/spec/dummy/db/migrate/20150924115059_create_withdraws.rb +4 -4
  233. data/spec/dummy/db/migrate/20151125004028_add_profile_id_to_agent.rb +1 -1
  234. data/spec/dummy/db/migrate/20151213070943_add_translation_table_to_library_group.rb +5 -3
  235. data/spec/dummy/db/migrate/20151213072705_add_footer_banner_to_library_group.rb +20 -3
  236. data/spec/dummy/db/migrate/20160610093229_add_html_snippet_to_library_group.rb +1 -1
  237. data/spec/dummy/db/migrate/20160627232219_add_most_recent_to_user_import_file_transitions.rb +1 -1
  238. data/spec/dummy/db/migrate/20160627232316_add_most_recent_to_user_export_file_transitions.rb +1 -1
  239. data/spec/dummy/db/migrate/20160703184619_add_most_recent_to_reserve_transitions.rb +1 -1
  240. data/spec/dummy/db/migrate/20160703184650_add_most_recent_to_manifestation_checkout_stat_transitions.rb +1 -1
  241. data/spec/dummy/db/migrate/20160703184723_add_most_recent_to_manifestation_reserve_stat_transitions.rb +1 -1
  242. data/spec/dummy/db/migrate/20160703184747_add_most_recent_to_user_checkout_stat_transitions.rb +1 -1
  243. data/spec/dummy/db/migrate/20160703184805_add_most_recent_to_user_reserve_stat_transitions.rb +1 -1
  244. data/spec/dummy/db/migrate/20160703185015_add_most_recent_to_message_transitions.rb +9 -0
  245. data/spec/dummy/db/migrate/20160703190209_add_foreign_key_on_manifestation_id_to_reserve.rb +5 -0
  246. data/spec/dummy/db/migrate/20160813191647_add_max_number_of_results_to_library_group.rb +1 -1
  247. data/spec/dummy/db/migrate/20160813191733_add_family_name_first_to_library_group.rb +1 -1
  248. data/spec/dummy/db/migrate/20160813192542_add_pub_year_facet_range_interval_to_library_group.rb +1 -1
  249. data/spec/dummy/db/migrate/20160813203039_add_user_id_to_library_group.rb +1 -1
  250. data/spec/dummy/db/migrate/20170305064014_add_csv_charset_conversion_to_library_group.rb +5 -0
  251. data/spec/dummy/db/migrate/20171014084528_add_header_logo_to_library_group.rb +5 -0
  252. data/spec/dummy/db/migrate/20171126133835_rename_login_banner_to_old_login_banner.rb +5 -0
  253. data/spec/dummy/db/migrate/20171126135238_add_foreign_key_to_library_group_id_on_library.rb +5 -0
  254. data/spec/dummy/db/migrate/20180102162311_add_header_logo_meta_to_library_group.rb +5 -0
  255. data/spec/dummy/db/migrate/20180107160726_add_constraints_to_most_recent_for_user_import_file_transitions.rb +13 -0
  256. data/spec/dummy/db/migrate/20180107160740_add_constraints_to_most_recent_for_user_export_file_transitions.rb +13 -0
  257. data/spec/dummy/db/migrate/20190630113817_add_display_name_translations_to_library_group.rb +12 -0
  258. data/spec/dummy/db/migrate/20190630115523_add_login_banner_translations_to_library_group.rb +6 -0
  259. data/spec/dummy/db/schema.rb +454 -492
  260. data/spec/dummy/db/test.sqlite3 +0 -0
  261. data/spec/dummy/package.json +5 -0
  262. data/spec/factories/profile.rb +8 -8
  263. data/spec/factories/user.rb +22 -25
  264. data/spec/factories/user_group.rb +1 -1
  265. data/spec/fixtures/libraries.yml +34 -33
  266. data/spec/fixtures/library_groups.yml +27 -14
  267. data/spec/fixtures/profiles.yml +36 -27
  268. data/spec/fixtures/roles.yml +8 -7
  269. data/spec/fixtures/user_groups.yml +11 -10
  270. data/spec/fixtures/user_has_roles.yml +2 -2
  271. data/spec/fixtures/users.yml +0 -7
  272. data/spec/models/profile_spec.rb +19 -17
  273. data/spec/models/role_spec.rb +13 -11
  274. data/spec/models/user_has_role_spec.rb +5 -4
  275. data/spec/models/user_spec.rb +16 -14
  276. data/spec/rails_helper.rb +14 -2
  277. data/spec/requests/profiles_spec.rb +3 -3
  278. data/spec/routing/profiles_routing_spec.rb +18 -16
  279. data/spec/routing/roles_routing_spec.rb +18 -16
  280. data/spec/routing/users_spec.rb +7 -6
  281. data/spec/spec_helper.rb +49 -47
  282. data/spec/support/controller_macros.rb +6 -6
  283. data/spec/system/profiles_spec.rb +39 -0
  284. data/spec/views/my_accounts/show.html.erb_spec.rb +6 -6
  285. data/spec/views/profiles/edit.html.erb_spec.rb +7 -7
  286. data/spec/views/profiles/index.html.erb_spec.rb +3 -3
  287. data/spec/views/profiles/new.html.erb_spec.rb +6 -5
  288. data/spec/views/profiles/show.html.erb_spec.rb +4 -4
  289. data/spec/views/roles/edit.html.erb_spec.rb +18 -0
  290. data/spec/views/roles/index.html.erb_spec.rb +14 -0
  291. data/spec/views/roles/new.html.erb_spec.rb +18 -0
  292. data/spec/views/roles/show.html.erb_spec.rb +14 -0
  293. metadata +148 -92
  294. data/app/models/identity.rb +0 -23
  295. data/app/policies/user_export_file_policy.rb +0 -21
  296. data/app/policies/user_import_file_policy.rb +0 -21
  297. data/app/policies/user_import_result_policy.rb +0 -21
  298. data/db/migrate/20150421023923_create_identities.rb +0 -12
  299. data/db/migrate/20151126005552_add_provider_to_identity.rb +0 -5
  300. data/db/migrate/20170114174536_add_profile_id_to_user.rb +0 -5
  301. data/lib/enju_seed/localized_name.rb +0 -13
  302. data/spec/dummy/db/migrate/20080830172106_create_exemplifies.rb +0 -11
  303. data/spec/dummy/db/migrate/20140529014410_create_item_transitions.rb +0 -15
  304. data/spec/dummy/db/migrate/20141029131633_create_periodicals.rb +0 -11
  305. data/spec/dummy/db/migrate/20150302110310_add_attachment_id_to_manifestation.rb +0 -7
  306. data/spec/dummy/db/migrate/20150304183215_add_picture_id_to_picture_file.rb +0 -7
  307. data/spec/dummy/db/migrate/20150305025906_add_resource_import_id_to_resource_import_file.rb +0 -7
  308. data/spec/dummy/db/migrate/20150305030046_add_resource_export_id_to_resource_export_file.rb +0 -8
  309. data/spec/dummy/db/migrate/20150305031709_add_agent_import_id_to_agent_import_file.rb +0 -7
  310. data/spec/dummy/db/migrate/20150305105231_add_attachment_fingerprint_to_manifestation.rb +0 -5
  311. data/spec/dummy/db/migrate/20150420145354_add_attachment_to_carrier_type.rb +0 -8
  312. data/spec/dummy/db/migrate/20150420145420_add_attachment_to_content_type.rb +0 -8
  313. data/spec/dummy/db/migrate/20151216123621_create_doi_records.rb +0 -12
  314. data/spec/dummy/db/migrate/20160319144230_create_issn_records.rb +0 -12
  315. data/spec/dummy/db/migrate/20160506144040_create_isbn_records.rb +0 -12
  316. data/spec/dummy/db/migrate/20160513000929_create_agent_names.rb +0 -18
  317. data/spec/dummy/db/migrate/20160801080612_add_most_recent_to_import_request_transitions.rb +0 -9
  318. data/spec/dummy/db/migrate/20160801080619_add_most_recent_to_resource_import_file_transitions.rb +0 -9
  319. data/spec/dummy/db/migrate/20160801080637_add_most_recent_to_resource_export_file_transitions.rb +0 -9
  320. data/spec/dummy/db/migrate/20160801080643_add_most_recent_to_agent_import_file_transitions.rb +0 -9
  321. data/spec/dummy/db/migrate/20160813191533_add_book_jacket_source_to_library_group.rb +0 -5
  322. data/spec/dummy/db/migrate/20160813191820_add_screenshot_generator_to_library_group.rb +0 -5
  323. data/spec/dummy/db/migrate/20161111175127_add_attachment_data_to_manifestation.rb +0 -5
  324. data/spec/dummy/db/migrate/20161111193255_add_attachment_data_to_carrier_type.rb +0 -5
  325. data/spec/dummy/db/migrate/20161111193346_add_attachment_data_to_content_type.rb +0 -5
  326. data/spec/dummy/db/migrate/20161112122706_add_attachment_data_to_resource_import_file.rb +0 -5
  327. data/spec/dummy/db/migrate/20161112122750_add_attachment_data_to_resource_export_file.rb +0 -5
  328. data/spec/dummy/db/migrate/20161112122814_add_attachment_data_to_agent_import_file.rb +0 -5
  329. data/spec/dummy/db/migrate/20161114083857_add_image_data_to_picture_file.rb +0 -5
  330. data/spec/dummy/db/migrate/20161115184747_add_attachment_data_to_user_import_file.rb +0 -5
  331. data/spec/dummy/db/migrate/20161115184756_add_attachment_data_to_user_export_file.rb +0 -5
@@ -0,0 +1,14 @@
1
+ require 'rails_helper'
2
+
3
+ RSpec.describe "roles/index", type: :view do
4
+ fixtures :roles
5
+ before(:each) do
6
+ assign(:roles, Role.all)
7
+ end
8
+
9
+ it "renders a list of roles" do
10
+ allow(view).to receive(:policy).and_return double(update?: true, destroy?: true)
11
+ render
12
+ assert_select "tr>td", text: "Librarian".to_s, count: 2
13
+ end
14
+ end
@@ -0,0 +1,18 @@
1
+ require 'rails_helper'
2
+
3
+ RSpec.describe "roles/new", type: :view do
4
+ before(:each) do
5
+ assign(:role, Role.new(
6
+ :name => "my_string"
7
+ ))
8
+ end
9
+
10
+ it "renders new role form" do
11
+ render
12
+
13
+ assert_select "form[action=?][method=?]", roles_path, "post" do
14
+
15
+ assert_select "input[name=?]", "role[name]"
16
+ end
17
+ end
18
+ end
@@ -0,0 +1,14 @@
1
+ require 'rails_helper'
2
+
3
+ RSpec.describe "roles/show", type: :view do
4
+ fixtures :roles
5
+ before(:each) do
6
+ @role = assign(:role, Role.find_by(name: 'User'))
7
+ end
8
+
9
+ it "renders attributes in <p>" do
10
+ allow(view).to receive(:policy).and_return double(update?: true, destroy?: true)
11
+ render
12
+ expect(rendered).to match(/User/)
13
+ end
14
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: enju_seed
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0.beta.1
4
+ version: 0.4.0.beta.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kosuke Tanabe
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-10-06 00:00:00.000000000 Z
11
+ date: 2019-08-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 5.2.0
19
+ version: '5.2'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 5.2.0
26
+ version: '5.2'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: friendly_id
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -44,14 +44,14 @@ dependencies:
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '4.5'
47
+ version: '4.6'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '4.5'
54
+ version: '4.6'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: pundit
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -86,14 +86,14 @@ dependencies:
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: '1.8'
89
+ version: '1.9'
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: '1.8'
96
+ version: '1.9'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: kaminari
99
99
  requirement: !ruby/object:Gem::Requirement
@@ -114,28 +114,28 @@ dependencies:
114
114
  requirements:
115
115
  - - "~>"
116
116
  - !ruby/object:Gem::Version
117
- version: '2.5'
117
+ version: '2.6'
118
118
  type: :runtime
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
122
  - - "~>"
123
123
  - !ruby/object:Gem::Version
124
- version: '2.5'
124
+ version: '2.6'
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: sunspot_rails
127
127
  requirement: !ruby/object:Gem::Requirement
128
128
  requirements:
129
129
  - - "~>"
130
130
  - !ruby/object:Gem::Version
131
- version: 2.3.0
131
+ version: '2.5'
132
132
  type: :runtime
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
136
  - - "~>"
137
137
  - !ruby/object:Gem::Version
138
- version: 2.3.0
138
+ version: '2.5'
139
139
  - !ruby/object:Gem::Dependency
140
140
  name: cocoon
141
141
  requirement: !ruby/object:Gem::Requirement
@@ -178,6 +178,20 @@ dependencies:
178
178
  - - ">="
179
179
  - !ruby/object:Gem::Version
180
180
  version: '0'
181
+ - !ruby/object:Gem::Dependency
182
+ name: paperclip
183
+ requirement: !ruby/object:Gem::Requirement
184
+ requirements:
185
+ - - ">="
186
+ - !ruby/object:Gem::Version
187
+ version: '0'
188
+ type: :runtime
189
+ prerelease: false
190
+ version_requirements: !ruby/object:Gem::Requirement
191
+ requirements:
192
+ - - ">="
193
+ - !ruby/object:Gem::Version
194
+ version: '0'
181
195
  - !ruby/object:Gem::Dependency
182
196
  name: kramdown
183
197
  requirement: !ruby/object:Gem::Requirement
@@ -198,14 +212,14 @@ dependencies:
198
212
  requirements:
199
213
  - - "~>"
200
214
  - !ruby/object:Gem::Version
201
- version: '2.5'
215
+ version: '2.6'
202
216
  type: :runtime
203
217
  prerelease: false
204
218
  version_requirements: !ruby/object:Gem::Requirement
205
219
  requirements:
206
220
  - - "~>"
207
221
  - !ruby/object:Gem::Version
208
- version: '2.5'
222
+ version: '2.6'
209
223
  - !ruby/object:Gem::Dependency
210
224
  name: simple_form
211
225
  requirement: !ruby/object:Gem::Requirement
@@ -226,14 +240,14 @@ dependencies:
226
240
  requirements:
227
241
  - - "~>"
228
242
  - !ruby/object:Gem::Version
229
- version: '4.0'
243
+ version: '4.1'
230
244
  type: :runtime
231
245
  prerelease: false
232
246
  version_requirements: !ruby/object:Gem::Requirement
233
247
  requirements:
234
248
  - - "~>"
235
249
  - !ruby/object:Gem::Version
236
- version: '4.0'
250
+ version: '4.1'
237
251
  - !ruby/object:Gem::Dependency
238
252
  name: json_translate
239
253
  requirement: !ruby/object:Gem::Requirement
@@ -249,19 +263,19 @@ dependencies:
249
263
  - !ruby/object:Gem::Version
250
264
  version: '4.0'
251
265
  - !ruby/object:Gem::Dependency
252
- name: statesman
266
+ name: enju_leaf
253
267
  requirement: !ruby/object:Gem::Requirement
254
268
  requirements:
255
269
  - - "~>"
256
270
  - !ruby/object:Gem::Version
257
- version: '3.4'
258
- type: :runtime
271
+ version: 1.4.0.beta.1
272
+ type: :development
259
273
  prerelease: false
260
274
  version_requirements: !ruby/object:Gem::Requirement
261
275
  requirements:
262
276
  - - "~>"
263
277
  - !ruby/object:Gem::Version
264
- version: '3.4'
278
+ version: 1.4.0.beta.1
265
279
  - !ruby/object:Gem::Dependency
266
280
  name: pg
267
281
  requirement: !ruby/object:Gem::Requirement
@@ -347,7 +361,35 @@ dependencies:
347
361
  - !ruby/object:Gem::Version
348
362
  version: '0'
349
363
  - !ruby/object:Gem::Dependency
350
- name: simplecov
364
+ name: coveralls
365
+ requirement: !ruby/object:Gem::Requirement
366
+ requirements:
367
+ - - ">="
368
+ - !ruby/object:Gem::Version
369
+ version: '0'
370
+ type: :development
371
+ prerelease: false
372
+ version_requirements: !ruby/object:Gem::Requirement
373
+ requirements:
374
+ - - ">="
375
+ - !ruby/object:Gem::Version
376
+ version: '0'
377
+ - !ruby/object:Gem::Dependency
378
+ name: selenium-webdriver
379
+ requirement: !ruby/object:Gem::Requirement
380
+ requirements:
381
+ - - ">="
382
+ - !ruby/object:Gem::Version
383
+ version: '0'
384
+ type: :development
385
+ prerelease: false
386
+ version_requirements: !ruby/object:Gem::Requirement
387
+ requirements:
388
+ - - ">="
389
+ - !ruby/object:Gem::Version
390
+ version: '0'
391
+ - !ruby/object:Gem::Dependency
392
+ name: puma
351
393
  requirement: !ruby/object:Gem::Requirement
352
394
  requirements:
353
395
  - - ">="
@@ -375,7 +417,7 @@ dependencies:
375
417
  - !ruby/object:Gem::Version
376
418
  version: '0'
377
419
  - !ruby/object:Gem::Dependency
378
- name: slim-rails
420
+ name: simplecov
379
421
  requirement: !ruby/object:Gem::Requirement
380
422
  requirements:
381
423
  - - ">="
@@ -404,16 +446,12 @@ files:
404
446
  - app/controllers/roles_controller.rb
405
447
  - app/models/concerns/enju_seed/enju_user.rb
406
448
  - app/models/concerns/master_model.rb
407
- - app/models/identity.rb
408
449
  - app/models/profile.rb
409
450
  - app/models/role.rb
410
451
  - app/models/user_has_role.rb
411
452
  - app/policies/application_policy.rb
412
453
  - app/policies/profile_policy.rb
413
454
  - app/policies/role_policy.rb
414
- - app/policies/user_export_file_policy.rb
415
- - app/policies/user_import_file_policy.rb
416
- - app/policies/user_import_result_policy.rb
417
455
  - app/views/my_accounts/_edit_credential.html.erb
418
456
  - app/views/my_accounts/_form.html.erb
419
457
  - app/views/my_accounts/_show.html.erb
@@ -439,16 +477,19 @@ files:
439
477
  - db/migrate/20100606065209_create_user_has_roles.rb
440
478
  - db/migrate/20130221154434_add_additional_attributes_to_user.rb
441
479
  - db/migrate/20140122054321_create_profiles.rb
480
+ - db/migrate/20140610123439_drop_email_unique_constraint_enju_leaf_rc10.rb
442
481
  - db/migrate/20140811031145_add_expired_at_to_profile.rb
443
482
  - db/migrate/20141003181336_add_full_name_transcription_to_profile.rb
444
483
  - db/migrate/20141003182825_add_date_of_birth_to_profile.rb
445
- - db/migrate/20150421023923_create_identities.rb
446
- - db/migrate/20151126005552_add_provider_to_identity.rb
447
- - db/migrate/20170114174536_add_profile_id_to_user.rb
484
+ - db/migrate/20190630151446_add_display_name_translations_to_role.rb
485
+ - db/migrate/20190713114940_add_profile_id_to_user.rb
486
+ - db/migrate/20190713115451_add_full_name_translations_to_profile.rb
448
487
  - lib/enju_seed.rb
449
488
  - lib/enju_seed/engine.rb
450
- - lib/enju_seed/localized_name.rb
451
489
  - lib/enju_seed/version.rb
490
+ - lib/generators/enju_seed/setup/setup_generator.rb
491
+ - lib/generators/enju_seed/setup/templates/db/fixtures/roles.yml
492
+ - lib/generators/enju_seed/update/update_generator.rb
452
493
  - lib/tasks/enju_seed_tasks.rake
453
494
  - spec/controllers/my_accounts_controller_spec.rb
454
495
  - spec/controllers/profiles_controller_spec.rb
@@ -459,20 +500,25 @@ files:
459
500
  - spec/dummy/app/assets/stylesheets/application.css
460
501
  - spec/dummy/app/controllers/application_controller.rb
461
502
  - spec/dummy/app/helpers/application_helper.rb
503
+ - spec/dummy/app/models/application_record.rb
462
504
  - spec/dummy/app/models/user.rb
463
505
  - spec/dummy/app/views/layouts/application.html.erb
464
506
  - spec/dummy/bin/bundle
465
507
  - spec/dummy/bin/rails
466
508
  - spec/dummy/bin/rake
467
509
  - spec/dummy/bin/setup
510
+ - spec/dummy/bin/update
511
+ - spec/dummy/bin/yarn
468
512
  - spec/dummy/config.ru
469
513
  - spec/dummy/config/application.rb
470
514
  - spec/dummy/config/boot.rb
515
+ - spec/dummy/config/cable.yml
471
516
  - spec/dummy/config/database.yml
472
517
  - spec/dummy/config/environment.rb
473
518
  - spec/dummy/config/environments/development.rb
474
519
  - spec/dummy/config/environments/production.rb
475
520
  - spec/dummy/config/environments/test.rb
521
+ - spec/dummy/config/initializers/application_controller_renderer.rb
476
522
  - spec/dummy/config/initializers/assets.rb
477
523
  - spec/dummy/config/initializers/backtrace_silencers.rb
478
524
  - spec/dummy/config/initializers/cookies_serializer.rb
@@ -485,8 +531,10 @@ files:
485
531
  - spec/dummy/config/initializers/session_store.rb
486
532
  - spec/dummy/config/initializers/wrap_parameters.rb
487
533
  - spec/dummy/config/locales/en.yml
534
+ - spec/dummy/config/puma.rb
488
535
  - spec/dummy/config/routes.rb
489
536
  - spec/dummy/config/secrets.yml
537
+ - spec/dummy/config/spring.rb
490
538
  - spec/dummy/db/migrate/001_create_agents.rb
491
539
  - spec/dummy/db/migrate/002_devise_create_users.rb
492
540
  - spec/dummy/db/migrate/005_create_manifestations.rb
@@ -515,8 +563,10 @@ files:
515
563
  - spec/dummy/db/migrate/132_create_circulation_statuses.rb
516
564
  - spec/dummy/db/migrate/133_create_agent_merges.rb
517
565
  - spec/dummy/db/migrate/134_create_agent_merge_lists.rb
566
+ - spec/dummy/db/migrate/149_create_message_templates.rb
567
+ - spec/dummy/db/migrate/154_create_messages.rb
568
+ - spec/dummy/db/migrate/20080819181903_create_message_requests.rb
518
569
  - spec/dummy/db/migrate/20080830154109_create_realizes.rb
519
- - spec/dummy/db/migrate/20080830172106_create_exemplifies.rb
520
570
  - spec/dummy/db/migrate/20080905191442_create_agent_types.rb
521
571
  - spec/dummy/db/migrate/20081006090811_create_subscriptions.rb
522
572
  - spec/dummy/db/migrate/20081006093246_create_subscribes.rb
@@ -543,6 +593,7 @@ files:
543
593
  - spec/dummy/db/migrate/20090720091106_create_medium_of_performances.rb
544
594
  - spec/dummy/db/migrate/20090720091429_create_content_types.rb
545
595
  - spec/dummy/db/migrate/20090812151902_create_agent_relationship_types.rb
596
+ - spec/dummy/db/migrate/20090831220301_create_lending_policies.rb
546
597
  - spec/dummy/db/migrate/20091012101112_add_dcndl_schema.rb
547
598
  - spec/dummy/db/migrate/20091025080447_create_licenses.rb
548
599
  - spec/dummy/db/migrate/20091214131723_create_series_statements.rb
@@ -571,6 +622,7 @@ files:
571
622
  - spec/dummy/db/migrate/20110627034940_create_series_statement_merge_lists.rb
572
623
  - spec/dummy/db/migrate/20110627035057_create_series_statement_merges.rb
573
624
  - spec/dummy/db/migrate/20110627122938_add_number_of_day_to_notify_overdue_to_user_group.rb
625
+ - spec/dummy/db/migrate/20110913115320_add_lft_and_rgt_to_message.rb
574
626
  - spec/dummy/db/migrate/20110916091020_add_volume_number_to_manifestation.rb
575
627
  - spec/dummy/db/migrate/20110916103953_add_manifestaiton_id_to_series_statement.rb
576
628
  - spec/dummy/db/migrate/20110918162329_add_note_to_series_statement.rb
@@ -580,6 +632,7 @@ files:
580
632
  - spec/dummy/db/migrate/20111124112131_add_create_type_to_create.rb
581
633
  - spec/dummy/db/migrate/20111129044509_add_pickup_location_to_reserve.rb
582
634
  - spec/dummy/db/migrate/20120105074911_add_isil_to_library.rb
635
+ - spec/dummy/db/migrate/20120125050502_add_depth_to_message.rb
583
636
  - spec/dummy/db/migrate/20120125152919_add_title_subseries_transcription_to_series_statement.rb
584
637
  - spec/dummy/db/migrate/20120129014038_create_budget_types.rb
585
638
  - spec/dummy/db/migrate/20120129020544_add_budget_type_id_to_item.rb
@@ -590,6 +643,8 @@ files:
590
643
  - spec/dummy/db/migrate/20120413100352_add_fingerprint_to_picture_file.rb
591
644
  - spec/dummy/db/migrate/20120413161340_add_fingerprint_to_resource_import_file.rb
592
645
  - spec/dummy/db/migrate/20120413161403_add_fingerprint_to_agent_import_file.rb
646
+ - spec/dummy/db/migrate/20120413170705_add_error_message_to_resource_import_file.rb
647
+ - spec/dummy/db/migrate/20120413170720_add_error_message_to_agent_import_file.rb
593
648
  - spec/dummy/db/migrate/20120415164821_add_attachment_meta_to_manifestation.rb
594
649
  - spec/dummy/db/migrate/20120418081407_add_month_of_publication_to_manifestation.rb
595
650
  - spec/dummy/db/migrate/20120424103932_add_librarian_id_to_checked_item.rb
@@ -613,6 +668,8 @@ files:
613
668
  - spec/dummy/db/migrate/20140110122216_create_user_import_files.rb
614
669
  - spec/dummy/db/migrate/20140110131010_create_user_import_results.rb
615
670
  - spec/dummy/db/migrate/20140518050147_create_reserve_transitions.rb
671
+ - spec/dummy/db/migrate/20140518111006_create_message_transitions.rb
672
+ - spec/dummy/db/migrate/20140518135713_create_message_request_transitions.rb
616
673
  - spec/dummy/db/migrate/20140519170214_create_resource_import_file_transitions.rb
617
674
  - spec/dummy/db/migrate/20140519171220_create_import_request_transitions.rb
618
675
  - spec/dummy/db/migrate/20140524020735_create_agent_import_file_transitions.rb
@@ -621,7 +678,6 @@ files:
621
678
  - spec/dummy/db/migrate/20140528045539_create_user_reserve_stat_transitions.rb
622
679
  - spec/dummy/db/migrate/20140528045600_create_manifestation_checkout_stat_transitions.rb
623
680
  - spec/dummy/db/migrate/20140528045617_create_manifestation_reserve_stat_transitions.rb
624
- - spec/dummy/db/migrate/20140529014410_create_item_transitions.rb
625
681
  - spec/dummy/db/migrate/20140614065404_create_resource_export_files.rb
626
682
  - spec/dummy/db/migrate/20140614141500_create_resource_export_file_transitions.rb
627
683
  - spec/dummy/db/migrate/20140628072217_add_user_encoding_to_user_import_file.rb
@@ -639,30 +695,20 @@ files:
639
695
  - spec/dummy/db/migrate/20140810091417_add_save_checkout_history_to_profile.rb
640
696
  - spec/dummy/db/migrate/20140813182425_add_publication_place_to_manifestation.rb
641
697
  - spec/dummy/db/migrate/20140821151023_create_colors.rb
698
+ - spec/dummy/db/migrate/20140822114527_add_error_message_to_resource_import_result.rb
642
699
  - spec/dummy/db/migrate/20140823083524_add_extent_to_manifestation.rb
643
700
  - spec/dummy/db/migrate/20140823094847_add_dimensions_to_manifestation.rb
644
701
  - spec/dummy/db/migrate/20140823095740_rename_manifestation_periodical_to_serial.rb
645
702
  - spec/dummy/db/migrate/20141014065831_add_shelf_id_to_checkout.rb
646
703
  - spec/dummy/db/migrate/20141020120523_add_library_id_to_checkout.rb
647
- - spec/dummy/db/migrate/20141029131633_create_periodicals.rb
648
704
  - spec/dummy/db/migrate/20150106001709_create_demands.rb
705
+ - spec/dummy/db/migrate/20150117111136_add_foreign_key_to_items_referencing_manifestations.rb
649
706
  - spec/dummy/db/migrate/20150221063719_add_settings_to_library_group.rb
650
- - spec/dummy/db/migrate/20150302110310_add_attachment_id_to_manifestation.rb
651
- - spec/dummy/db/migrate/20150304183215_add_picture_id_to_picture_file.rb
652
- - spec/dummy/db/migrate/20150305025906_add_resource_import_id_to_resource_import_file.rb
653
- - spec/dummy/db/migrate/20150305030046_add_resource_export_id_to_resource_export_file.rb
654
- - spec/dummy/db/migrate/20150305031709_add_agent_import_id_to_agent_import_file.rb
655
- - spec/dummy/db/migrate/20150305105231_add_attachment_fingerprint_to_manifestation.rb
656
- - spec/dummy/db/migrate/20150420145354_add_attachment_to_carrier_type.rb
657
- - spec/dummy/db/migrate/20150420145420_add_attachment_to_content_type.rb
707
+ - spec/dummy/db/migrate/20150506105356_add_error_message_to_user_import_result.rb
658
708
  - spec/dummy/db/migrate/20150924115059_create_withdraws.rb
659
709
  - spec/dummy/db/migrate/20151125004028_add_profile_id_to_agent.rb
660
710
  - spec/dummy/db/migrate/20151213070943_add_translation_table_to_library_group.rb
661
711
  - spec/dummy/db/migrate/20151213072705_add_footer_banner_to_library_group.rb
662
- - spec/dummy/db/migrate/20151216123621_create_doi_records.rb
663
- - spec/dummy/db/migrate/20160319144230_create_issn_records.rb
664
- - spec/dummy/db/migrate/20160506144040_create_isbn_records.rb
665
- - spec/dummy/db/migrate/20160513000929_create_agent_names.rb
666
712
  - spec/dummy/db/migrate/20160610093229_add_html_snippet_to_library_group.rb
667
713
  - spec/dummy/db/migrate/20160627232219_add_most_recent_to_user_import_file_transitions.rb
668
714
  - spec/dummy/db/migrate/20160627232316_add_most_recent_to_user_export_file_transitions.rb
@@ -671,26 +717,24 @@ files:
671
717
  - spec/dummy/db/migrate/20160703184723_add_most_recent_to_manifestation_reserve_stat_transitions.rb
672
718
  - spec/dummy/db/migrate/20160703184747_add_most_recent_to_user_checkout_stat_transitions.rb
673
719
  - spec/dummy/db/migrate/20160703184805_add_most_recent_to_user_reserve_stat_transitions.rb
674
- - spec/dummy/db/migrate/20160801080612_add_most_recent_to_import_request_transitions.rb
675
- - spec/dummy/db/migrate/20160801080619_add_most_recent_to_resource_import_file_transitions.rb
676
- - spec/dummy/db/migrate/20160801080637_add_most_recent_to_resource_export_file_transitions.rb
677
- - spec/dummy/db/migrate/20160801080643_add_most_recent_to_agent_import_file_transitions.rb
678
- - spec/dummy/db/migrate/20160813191533_add_book_jacket_source_to_library_group.rb
720
+ - spec/dummy/db/migrate/20160703185015_add_most_recent_to_message_transitions.rb
721
+ - spec/dummy/db/migrate/20160703190209_add_foreign_key_on_manifestation_id_to_reserve.rb
679
722
  - spec/dummy/db/migrate/20160813191647_add_max_number_of_results_to_library_group.rb
680
723
  - spec/dummy/db/migrate/20160813191733_add_family_name_first_to_library_group.rb
681
- - spec/dummy/db/migrate/20160813191820_add_screenshot_generator_to_library_group.rb
682
724
  - spec/dummy/db/migrate/20160813192542_add_pub_year_facet_range_interval_to_library_group.rb
683
725
  - spec/dummy/db/migrate/20160813203039_add_user_id_to_library_group.rb
684
- - spec/dummy/db/migrate/20161111175127_add_attachment_data_to_manifestation.rb
685
- - spec/dummy/db/migrate/20161111193255_add_attachment_data_to_carrier_type.rb
686
- - spec/dummy/db/migrate/20161111193346_add_attachment_data_to_content_type.rb
687
- - spec/dummy/db/migrate/20161112122706_add_attachment_data_to_resource_import_file.rb
688
- - spec/dummy/db/migrate/20161112122750_add_attachment_data_to_resource_export_file.rb
689
- - spec/dummy/db/migrate/20161112122814_add_attachment_data_to_agent_import_file.rb
690
- - spec/dummy/db/migrate/20161114083857_add_image_data_to_picture_file.rb
691
- - spec/dummy/db/migrate/20161115184747_add_attachment_data_to_user_import_file.rb
692
- - spec/dummy/db/migrate/20161115184756_add_attachment_data_to_user_export_file.rb
726
+ - spec/dummy/db/migrate/20170305064014_add_csv_charset_conversion_to_library_group.rb
727
+ - spec/dummy/db/migrate/20171014084528_add_header_logo_to_library_group.rb
728
+ - spec/dummy/db/migrate/20171126133835_rename_login_banner_to_old_login_banner.rb
729
+ - spec/dummy/db/migrate/20171126135238_add_foreign_key_to_library_group_id_on_library.rb
730
+ - spec/dummy/db/migrate/20180102162311_add_header_logo_meta_to_library_group.rb
731
+ - spec/dummy/db/migrate/20180107160726_add_constraints_to_most_recent_for_user_import_file_transitions.rb
732
+ - spec/dummy/db/migrate/20180107160740_add_constraints_to_most_recent_for_user_export_file_transitions.rb
733
+ - spec/dummy/db/migrate/20190630113817_add_display_name_translations_to_library_group.rb
734
+ - spec/dummy/db/migrate/20190630115523_add_login_banner_translations_to_library_group.rb
693
735
  - spec/dummy/db/schema.rb
736
+ - spec/dummy/db/test.sqlite3
737
+ - spec/dummy/package.json
694
738
  - spec/dummy/public/404.html
695
739
  - spec/dummy/public/422.html
696
740
  - spec/dummy/public/500.html
@@ -717,11 +761,16 @@ files:
717
761
  - spec/spec_helper.rb
718
762
  - spec/support/controller_macros.rb
719
763
  - spec/support/devise.rb
764
+ - spec/system/profiles_spec.rb
720
765
  - spec/views/my_accounts/show.html.erb_spec.rb
721
766
  - spec/views/profiles/edit.html.erb_spec.rb
722
767
  - spec/views/profiles/index.html.erb_spec.rb
723
768
  - spec/views/profiles/new.html.erb_spec.rb
724
769
  - spec/views/profiles/show.html.erb_spec.rb
770
+ - spec/views/roles/edit.html.erb_spec.rb
771
+ - spec/views/roles/index.html.erb_spec.rb
772
+ - spec/views/roles/new.html.erb_spec.rb
773
+ - spec/views/roles/show.html.erb_spec.rb
725
774
  homepage: https://github.com/next-l/enju_seed
726
775
  licenses: []
727
776
  metadata: {}
@@ -740,33 +789,39 @@ required_rubygems_version: !ruby/object:Gem::Requirement
740
789
  - !ruby/object:Gem::Version
741
790
  version: 1.3.1
742
791
  requirements: []
743
- rubyforge_project:
744
- rubygems_version: 2.6.14.1
792
+ rubygems_version: 3.0.3
745
793
  signing_key:
746
794
  specification_version: 4
747
795
  summary: enju_seed plugin
748
796
  test_files:
749
797
  - spec/spec_helper.rb
798
+ - spec/dummy/app/models/application_record.rb
750
799
  - spec/dummy/app/models/user.rb
751
800
  - spec/dummy/app/controllers/application_controller.rb
752
801
  - spec/dummy/app/views/layouts/application.html.erb
753
802
  - spec/dummy/app/assets/javascripts/application.js
754
803
  - spec/dummy/app/assets/stylesheets/application.css
755
804
  - spec/dummy/app/helpers/application_helper.rb
805
+ - spec/dummy/bin/update
756
806
  - spec/dummy/bin/rake
757
807
  - spec/dummy/bin/setup
758
808
  - spec/dummy/bin/bundle
809
+ - spec/dummy/bin/yarn
759
810
  - spec/dummy/bin/rails
760
811
  - spec/dummy/config/secrets.yml
761
812
  - spec/dummy/config/routes.rb
762
813
  - spec/dummy/config/locales/en.yml
814
+ - spec/dummy/config/cable.yml
763
815
  - spec/dummy/config/environments/production.rb
764
816
  - spec/dummy/config/environments/development.rb
765
817
  - spec/dummy/config/environments/test.rb
818
+ - spec/dummy/config/spring.rb
766
819
  - spec/dummy/config/environment.rb
767
820
  - spec/dummy/config/application.rb
821
+ - spec/dummy/config/puma.rb
768
822
  - spec/dummy/config/database.yml
769
823
  - spec/dummy/config/boot.rb
824
+ - spec/dummy/config/initializers/application_controller_renderer.rb
770
825
  - spec/dummy/config/initializers/backtrace_silencers.rb
771
826
  - spec/dummy/config/initializers/mime_types.rb
772
827
  - spec/dummy/config/initializers/filter_parameter_logging.rb
@@ -784,7 +839,10 @@ test_files:
784
839
  - spec/dummy/public/422.html
785
840
  - spec/dummy/public/500.html
786
841
  - spec/dummy/public/404.html
842
+ - spec/dummy/package.json
787
843
  - spec/dummy/db/schema.rb
844
+ - spec/dummy/db/test.sqlite3
845
+ - spec/dummy/db/migrate/20170305064014_add_csv_charset_conversion_to_library_group.rb
788
846
  - spec/dummy/db/migrate/20140810061942_add_user_id_to_user_checkout_stat.rb
789
847
  - spec/dummy/db/migrate/20140823095740_rename_manifestation_periodical_to_serial.rb
790
848
  - spec/dummy/db/migrate/20130416054135_add_circulation_status_id_to_item.rb
@@ -792,37 +850,36 @@ test_files:
792
850
  - spec/dummy/db/migrate/20140709113413_create_user_export_files.rb
793
851
  - spec/dummy/db/migrate/20081220023628_create_user_reserve_stats.rb
794
852
  - spec/dummy/db/migrate/20140823094847_add_dimensions_to_manifestation.rb
795
- - spec/dummy/db/migrate/20150305031709_add_agent_import_id_to_agent_import_file.rb
796
853
  - spec/dummy/db/migrate/035_create_reserves.rb
797
854
  - spec/dummy/db/migrate/047_create_produces.rb
798
855
  - spec/dummy/db/migrate/20090720091106_create_medium_of_performances.rb
799
- - spec/dummy/db/migrate/20150302110310_add_attachment_id_to_manifestation.rb
800
856
  - spec/dummy/db/migrate/20160610093229_add_html_snippet_to_library_group.rb
801
- - spec/dummy/db/migrate/20161115184756_add_attachment_data_to_user_export_file.rb
802
857
  - spec/dummy/db/migrate/20151213072705_add_footer_banner_to_library_group.rb
803
858
  - spec/dummy/db/migrate/20120413100352_add_fingerprint_to_picture_file.rb
804
859
  - spec/dummy/db/migrate/20111124110355_create_produce_types.rb
805
860
  - spec/dummy/db/migrate/20120413072700_add_picture_meta_to_picture_file.rb
806
861
  - spec/dummy/db/migrate/20120319173203_create_accepts.rb
807
862
  - spec/dummy/db/migrate/20101212070145_add_acquired_at_to_item.rb
863
+ - spec/dummy/db/migrate/20140518111006_create_message_transitions.rb
808
864
  - spec/dummy/db/migrate/20140528045539_create_user_reserve_stat_transitions.rb
809
865
  - spec/dummy/db/migrate/124_create_bookstores.rb
810
866
  - spec/dummy/db/migrate/20140519170214_create_resource_import_file_transitions.rb
811
867
  - spec/dummy/db/migrate/20110318183304_add_valid_period_for_new_user_to_user_group.rb
812
- - spec/dummy/db/migrate/20160506144040_create_isbn_records.rb
813
868
  - spec/dummy/db/migrate/20120510140958_add_closed_to_shelf.rb
814
869
  - spec/dummy/db/migrate/20160813203039_add_user_id_to_library_group.rb
815
870
  - spec/dummy/db/migrate/20081030023412_create_checkout_types.rb
816
- - spec/dummy/db/migrate/20150420145420_add_attachment_to_content_type.rb
871
+ - spec/dummy/db/migrate/20171126133835_rename_login_banner_to_old_login_banner.rb
817
872
  - spec/dummy/db/migrate/20150106001709_create_demands.rb
818
873
  - spec/dummy/db/migrate/20121116031206_add_fulltext_content_to_manifestation.rb
819
874
  - spec/dummy/db/migrate/20140810091231_add_checkout_icalendar_token_to_profile.rb
820
875
  - spec/dummy/db/migrate/015_create_creates.rb
821
876
  - spec/dummy/db/migrate/20081025083905_create_languages.rb
822
877
  - spec/dummy/db/migrate/20130421093852_add_periodical_to_manifestation.rb
878
+ - spec/dummy/db/migrate/20171014084528_add_header_logo_to_library_group.rb
823
879
  - spec/dummy/db/migrate/20140720170714_add_default_library_id_to_user_import_file.rb
824
880
  - spec/dummy/db/migrate/20120125152919_add_title_subseries_transcription_to_series_statement.rb
825
- - spec/dummy/db/migrate/20161111193255_add_attachment_data_to_carrier_type.rb
881
+ - spec/dummy/db/migrate/20180107160740_add_constraints_to_most_recent_for_user_export_file_transitions.rb
882
+ - spec/dummy/db/migrate/20160703190209_add_foreign_key_on_manifestation_id_to_reserve.rb
826
883
  - spec/dummy/db/migrate/20081212075554_create_checkout_stat_has_manifestations.rb
827
884
  - spec/dummy/db/migrate/20140628072217_add_user_encoding_to_user_import_file.rb
828
885
  - spec/dummy/db/migrate/20100606073747_create_agent_relationships.rb
@@ -830,14 +887,15 @@ test_files:
830
887
  - spec/dummy/db/migrate/20160703184619_add_most_recent_to_reserve_transitions.rb
831
888
  - spec/dummy/db/migrate/20120418081407_add_month_of_publication_to_manifestation.rb
832
889
  - spec/dummy/db/migrate/20130304015019_add_postponed_at_to_reserve.rb
890
+ - spec/dummy/db/migrate/20140822114527_add_error_message_to_resource_import_result.rb
833
891
  - spec/dummy/db/migrate/132_create_circulation_statuses.rb
834
892
  - spec/dummy/db/migrate/20100211105551_add_admin_networks_to_library_group.rb
835
- - spec/dummy/db/migrate/20161112122750_add_attachment_data_to_resource_export_file.rb
836
893
  - spec/dummy/db/migrate/130_create_request_status_types.rb
837
894
  - spec/dummy/db/migrate/20140528045600_create_manifestation_checkout_stat_transitions.rb
838
895
  - spec/dummy/db/migrate/20091012101112_add_dcndl_schema.rb
839
896
  - spec/dummy/db/migrate/20130519065638_add_lock_version_to_reserve.rb
840
897
  - spec/dummy/db/migrate/20100925043847_create_resource_import_results.rb
898
+ - spec/dummy/db/migrate/20150117111136_add_foreign_key_to_items_referencing_manifestations.rb
841
899
  - spec/dummy/db/migrate/20090321130448_add_completed_at_to_user_checkout_stat.rb
842
900
  - spec/dummy/db/migrate/20100314190054_add_opening_hour_to_library.rb
843
901
  - spec/dummy/db/migrate/20100525124311_create_manifestation_relationships.rb
@@ -847,25 +905,22 @@ test_files:
847
905
  - spec/dummy/db/migrate/20140110122216_create_user_import_files.rb
848
906
  - spec/dummy/db/migrate/20140110131010_create_user_import_results.rb
849
907
  - spec/dummy/db/migrate/20110627035057_create_series_statement_merges.rb
908
+ - spec/dummy/db/migrate/20140518135713_create_message_request_transitions.rb
850
909
  - spec/dummy/db/migrate/131_create_request_types.rb
851
- - spec/dummy/db/migrate/20160801080637_add_most_recent_to_resource_export_file_transitions.rb
852
910
  - spec/dummy/db/migrate/20081006093246_create_subscribes.rb
853
911
  - spec/dummy/db/migrate/20120410104851_add_year_of_publication_to_manifestation.rb
854
912
  - spec/dummy/db/migrate/133_create_agent_merges.rb
855
913
  - spec/dummy/db/migrate/20081212080038_create_manifestation_checkout_stats.rb
856
- - spec/dummy/db/migrate/20161112122814_add_attachment_data_to_agent_import_file.rb
857
914
  - spec/dummy/db/migrate/20110627122938_add_number_of_day_to_notify_overdue_to_user_group.rb
858
915
  - spec/dummy/db/migrate/059_create_libraries.rb
859
916
  - spec/dummy/db/migrate/20110627034940_create_series_statement_merge_lists.rb
917
+ - spec/dummy/db/migrate/20120413170720_add_error_message_to_agent_import_file.rb
860
918
  - spec/dummy/db/migrate/20140709113905_create_user_export_file_transitions.rb
861
- - spec/dummy/db/migrate/20160513000929_create_agent_names.rb
862
- - spec/dummy/db/migrate/20151216123621_create_doi_records.rb
863
919
  - spec/dummy/db/migrate/20140519171220_create_import_request_transitions.rb
864
920
  - spec/dummy/db/migrate/080_create_library_groups.rb
865
921
  - spec/dummy/db/migrate/20110301134521_add_expire_date_to_reserve.rb
866
- - spec/dummy/db/migrate/20161114083857_add_image_data_to_picture_file.rb
867
922
  - spec/dummy/db/migrate/20091214131723_create_series_statements.rb
868
- - spec/dummy/db/migrate/20161111193346_add_attachment_data_to_content_type.rb
923
+ - spec/dummy/db/migrate/20120413170705_add_error_message_to_resource_import_file.rb
869
924
  - spec/dummy/db/migrate/20081025083323_create_countries.rb
870
925
  - spec/dummy/db/migrate/20120105074911_add_isil_to_library.rb
871
926
  - spec/dummy/db/migrate/20080905191442_create_agent_types.rb
@@ -875,13 +930,14 @@ test_files:
875
930
  - spec/dummy/db/migrate/20081220034117_create_reserve_stat_has_users.rb
876
931
  - spec/dummy/db/migrate/20140802082007_add_manifestation_id_to_item.rb
877
932
  - spec/dummy/db/migrate/20100321235924_add_series_statement_identifier_to_series_statement.rb
933
+ - spec/dummy/db/migrate/20150506105356_add_error_message_to_user_import_result.rb
878
934
  - spec/dummy/db/migrate/20110916091020_add_volume_number_to_manifestation.rb
935
+ - spec/dummy/db/migrate/20110913115320_add_lft_and_rgt_to_message.rb
879
936
  - spec/dummy/db/migrate/20160627232316_add_most_recent_to_user_export_file_transitions.rb
880
937
  - spec/dummy/db/migrate/20141020120523_add_library_id_to_checkout.rb
881
938
  - spec/dummy/db/migrate/20110621093332_remove_expire_date_from_reserve.rb
882
939
  - spec/dummy/db/migrate/20081006090811_create_subscriptions.rb
883
940
  - spec/dummy/db/migrate/077_create_user_groups.rb
884
- - spec/dummy/db/migrate/20150305025906_add_resource_import_id_to_resource_import_file.rb
885
941
  - spec/dummy/db/migrate/127_create_use_restrictions.rb
886
942
  - spec/dummy/db/migrate/134_create_agent_merge_lists.rb
887
943
  - spec/dummy/db/migrate/033_create_checkouts.rb
@@ -894,49 +950,48 @@ test_files:
894
950
  - spec/dummy/db/migrate/20081028083142_create_agent_import_files.rb
895
951
  - spec/dummy/db/migrate/20151125004028_add_profile_id_to_agent.rb
896
952
  - spec/dummy/db/migrate/20110918162329_add_note_to_series_statement.rb
953
+ - spec/dummy/db/migrate/154_create_messages.rb
897
954
  - spec/dummy/db/migrate/20120424103932_add_librarian_id_to_checked_item.rb
898
955
  - spec/dummy/db/migrate/001_create_agents.rb
899
956
  - spec/dummy/db/migrate/20100223121519_rename_series_statement_title_to_original_title.rb
900
957
  - spec/dummy/db/migrate/20140720170735_add_default_user_group_id_to_user_import_file.rb
901
958
  - spec/dummy/db/migrate/20090812151902_create_agent_relationship_types.rb
902
- - spec/dummy/db/migrate/20150305030046_add_resource_export_id_to_resource_export_file.rb
903
959
  - spec/dummy/db/migrate/20120415164821_add_attachment_meta_to_manifestation.rb
960
+ - spec/dummy/db/migrate/20190630113817_add_display_name_translations_to_library_group.rb
961
+ - spec/dummy/db/migrate/20171126135238_add_foreign_key_to_library_group_id_on_library.rb
904
962
  - spec/dummy/db/migrate/20110301035123_add_pub_date_to_manifestation.rb
905
963
  - spec/dummy/db/migrate/20150221063719_add_settings_to_library_group.rb
906
964
  - spec/dummy/db/migrate/20140528045518_create_user_checkout_stat_transitions.rb
907
965
  - spec/dummy/db/migrate/20160703184747_add_most_recent_to_user_checkout_stat_transitions.rb
908
966
  - spec/dummy/db/migrate/20120129014038_create_budget_types.rb
909
- - spec/dummy/db/migrate/20160801080612_add_most_recent_to_import_request_transitions.rb
910
967
  - spec/dummy/db/migrate/112_create_frequencies.rb
911
968
  - spec/dummy/db/migrate/20110603184217_add_edit_mode_to_resource_import_file.rb
912
969
  - spec/dummy/db/migrate/20080830154109_create_realizes.rb
913
970
  - spec/dummy/db/migrate/20140528045617_create_manifestation_reserve_stat_transitions.rb
914
- - spec/dummy/db/migrate/20150420145354_add_attachment_to_carrier_type.rb
915
971
  - spec/dummy/db/migrate/20120413161340_add_fingerprint_to_resource_import_file.rb
916
972
  - spec/dummy/db/migrate/20081030023518_create_user_group_has_checkout_types.rb
917
973
  - spec/dummy/db/migrate/20111124110059_create_create_types.rb
918
974
  - spec/dummy/db/migrate/129_create_item_has_use_restrictions.rb
919
975
  - spec/dummy/db/migrate/20120319120638_add_content_type_id_to_manifestation.rb
920
- - spec/dummy/db/migrate/20160801080619_add_most_recent_to_resource_import_file_transitions.rb
921
- - spec/dummy/db/migrate/20150304183215_add_picture_id_to_picture_file.rb
976
+ - spec/dummy/db/migrate/20180102162311_add_header_logo_meta_to_library_group.rb
922
977
  - spec/dummy/db/migrate/20081027150907_create_picture_files.rb
923
978
  - spec/dummy/db/migrate/20100607044753_create_manifestation_relationship_types.rb
924
979
  - spec/dummy/db/migrate/20130421164124_add_series_master_to_series_statement.rb
980
+ - spec/dummy/db/migrate/20160703185015_add_most_recent_to_message_transitions.rb
925
981
  - spec/dummy/db/migrate/20111124112131_add_create_type_to_create.rb
926
982
  - spec/dummy/db/migrate/005_create_manifestations.rb
927
983
  - spec/dummy/db/migrate/20151213070943_add_translation_table_to_library_group.rb
928
984
  - spec/dummy/db/migrate/20081216190724_create_manifestation_reserve_stats.rb
929
- - spec/dummy/db/migrate/20080830172106_create_exemplifies.rb
985
+ - spec/dummy/db/migrate/20190630115523_add_login_banner_translations_to_library_group.rb
986
+ - spec/dummy/db/migrate/20180107160726_add_constraints_to_most_recent_for_user_import_file_transitions.rb
930
987
  - spec/dummy/db/migrate/20160703184650_add_most_recent_to_manifestation_checkout_stat_transitions.rb
931
988
  - spec/dummy/db/migrate/032_create_checkins.rb
932
- - spec/dummy/db/migrate/20160319144230_create_issn_records.rb
933
989
  - spec/dummy/db/migrate/20120602141129_add_edit_mode_to_agent_import_file.rb
934
- - spec/dummy/db/migrate/20160801080643_add_most_recent_to_agent_import_file_transitions.rb
935
990
  - spec/dummy/db/migrate/20130421155019_add_creator_string_to_series_statement.rb
936
991
  - spec/dummy/db/migrate/20100814091104_add_position_to_agent_relationship.rb
937
992
  - spec/dummy/db/migrate/20141014065831_add_shelf_id_to_checkout.rb
938
993
  - spec/dummy/db/migrate/117_create_form_of_works.rb
939
- - spec/dummy/db/migrate/20150305105231_add_attachment_fingerprint_to_manifestation.rb
994
+ - spec/dummy/db/migrate/20080819181903_create_message_requests.rb
940
995
  - spec/dummy/db/migrate/20130506175834_create_identifiers.rb
941
996
  - spec/dummy/db/migrate/20081216190517_create_reserve_stat_has_manifestations.rb
942
997
  - spec/dummy/db/migrate/20140810091417_add_save_checkout_history_to_profile.rb
@@ -947,25 +1002,24 @@ test_files:
947
1002
  - spec/dummy/db/migrate/20111124110319_create_realize_types.rb
948
1003
  - spec/dummy/db/migrate/20110620173525_add_bookstore_id_to_item.rb
949
1004
  - spec/dummy/db/migrate/20081023092436_create_search_engines.rb
950
- - spec/dummy/db/migrate/20161115184747_add_attachment_data_to_user_import_file.rb
1005
+ - spec/dummy/db/migrate/20120125050502_add_depth_to_message.rb
951
1006
  - spec/dummy/db/migrate/20150924115059_create_withdraws.rb
1007
+ - spec/dummy/db/migrate/149_create_message_templates.rb
952
1008
  - spec/dummy/db/migrate/20140720140916_add_binding_item_identifier_to_item.rb
953
1009
  - spec/dummy/db/migrate/20090705212043_add_attachments_attachment_to_manifestation.rb
954
1010
  - spec/dummy/db/migrate/012_create_owns.rb
955
- - spec/dummy/db/migrate/20160813191533_add_book_jacket_source_to_library_group.rb
956
1011
  - spec/dummy/db/migrate/20140614141500_create_resource_export_file_transitions.rb
957
1012
  - spec/dummy/db/migrate/20081030023615_create_carrier_type_has_checkout_types.rb
958
- - spec/dummy/db/migrate/20161111175127_add_attachment_data_to_manifestation.rb
959
1013
  - spec/dummy/db/migrate/002_devise_create_users.rb
960
1014
  - spec/dummy/db/migrate/20110619064807_add_edition_string_to_manifestation.rb
961
1015
  - spec/dummy/db/migrate/20160813191647_add_max_number_of_results_to_library_group.rb
962
1016
  - spec/dummy/db/migrate/20140524020735_create_agent_import_file_transitions.rb
1017
+ - spec/dummy/db/migrate/20090831220301_create_lending_policies.rb
963
1018
  - spec/dummy/db/migrate/20130519065837_add_lock_version_to_checkin.rb
964
1019
  - spec/dummy/db/migrate/20091025080447_create_licenses.rb
965
1020
  - spec/dummy/db/migrate/121_create_checked_items.rb
966
1021
  - spec/dummy/db/migrate/20130303124821_add_retained_at_to_reserve.rb
967
1022
  - spec/dummy/db/migrate/20110328130826_add_current_checkout_count_to_user_group_has_checkout_type.rb
968
- - spec/dummy/db/migrate/20140529014410_create_item_transitions.rb
969
1023
  - spec/dummy/db/migrate/20120413161403_add_fingerprint_to_agent_import_file.rb
970
1024
  - spec/dummy/db/migrate/20130429020822_add_root_manifestation_id_to_series_statement.rb
971
1025
  - spec/dummy/db/migrate/20090705133942_add_attachments_picture_to_picture_file.rb
@@ -974,7 +1028,6 @@ test_files:
974
1028
  - spec/dummy/db/migrate/20120511072422_add_agent_identifier_to_agent.rb
975
1029
  - spec/dummy/db/migrate/20110301121550_add_birth_date_and_death_date_to_agent.rb
976
1030
  - spec/dummy/db/migrate/20160813191733_add_family_name_first_to_library_group.rb
977
- - spec/dummy/db/migrate/20141029131633_create_periodicals.rb
978
1031
  - spec/dummy/db/migrate/20140518050147_create_reserve_transitions.rb
979
1032
  - spec/dummy/db/migrate/120_create_baskets.rb
980
1033
  - spec/dummy/db/migrate/20140628073524_add_user_encoding_to_agent_import_file.rb
@@ -983,17 +1036,16 @@ test_files:
983
1036
  - spec/dummy/db/migrate/20140823083524_add_extent_to_manifestation.rb
984
1037
  - spec/dummy/db/migrate/20130506175303_create_identifier_types.rb
985
1038
  - spec/dummy/db/migrate/20130509185724_add_statement_of_responsibility_to_manifestation.rb
986
- - spec/dummy/db/migrate/20160813191820_add_screenshot_generator_to_library_group.rb
987
1039
  - spec/dummy/db/migrate/20110916103953_add_manifestaiton_id_to_series_statement.rb
988
1040
  - spec/dummy/db/migrate/20140813182425_add_publication_place_to_manifestation.rb
989
1041
  - spec/dummy/db/migrate/20111129044509_add_pickup_location_to_reserve.rb
990
- - spec/dummy/db/migrate/20161112122706_add_attachment_data_to_resource_import_file.rb
991
1042
  - spec/dummy/README.rdoc
992
1043
  - spec/models/user_has_role_spec.rb
993
1044
  - spec/models/profile_spec.rb
994
1045
  - spec/models/user_spec.rb
995
1046
  - spec/models/role_spec.rb
996
1047
  - spec/requests/profiles_spec.rb
1048
+ - spec/system/profiles_spec.rb
997
1049
  - spec/support/controller_macros.rb
998
1050
  - spec/support/devise.rb
999
1051
  - spec/factories/profile.rb
@@ -1012,6 +1064,10 @@ test_files:
1012
1064
  - spec/controllers/roles_controller_spec.rb
1013
1065
  - spec/controllers/profiles_controller_spec.rb
1014
1066
  - spec/controllers/my_accounts_controller_spec.rb
1067
+ - spec/views/roles/edit.html.erb_spec.rb
1068
+ - spec/views/roles/show.html.erb_spec.rb
1069
+ - spec/views/roles/new.html.erb_spec.rb
1070
+ - spec/views/roles/index.html.erb_spec.rb
1015
1071
  - spec/views/my_accounts/show.html.erb_spec.rb
1016
1072
  - spec/views/profiles/edit.html.erb_spec.rb
1017
1073
  - spec/views/profiles/show.html.erb_spec.rb