enju_leaf 1.3.4 → 2.0.0.beta.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (326) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -4
  3. data/app/assets/javascripts/enju_leaf/application.js +12 -0
  4. data/app/assets/javascripts/{autocomplete_agent.js → enju_leaf/autocomplete_agent.js} +0 -0
  5. data/app/assets/javascripts/{menu.js → enju_leaf/menu.js} +0 -0
  6. data/app/assets/javascripts/enju_leaf/mobile.js +5 -0
  7. data/app/assets/javascripts/{portlets.js → enju_leaf/portlets.js} +0 -0
  8. data/app/assets/javascripts/{select_locale.js → enju_leaf/select_locale.js} +0 -0
  9. data/app/assets/stylesheets/{enju_leaf.css → enju_leaf/application.scss} +6 -6
  10. data/app/assets/stylesheets/{enju.css → enju_leaf/enju.css} +0 -0
  11. data/app/assets/stylesheets/{enju_mobile.css → enju_leaf/enju_mobile.css} +0 -0
  12. data/app/assets/stylesheets/{enju_print.css → enju_leaf/enju_print.css} +0 -0
  13. data/app/assets/stylesheets/{mobile.css → enju_leaf/mobile.css} +1 -1
  14. data/app/assets/stylesheets/{pagination.css → enju_leaf/pagination.css} +0 -0
  15. data/app/assets/stylesheets/{portlets.css → enju_leaf/portlets.css} +0 -0
  16. data/app/assets/stylesheets/{print.css → enju_leaf/print.css} +1 -1
  17. data/app/assets/stylesheets/{scaffold_modified.css → enju_leaf/scaffold_modified.css} +0 -0
  18. data/app/views/devise/registrations/edit.html.erb +1 -1
  19. data/app/views/layouts/application.html.erb +4 -4
  20. data/app/views/page/_include.html.erb +1 -1
  21. data/app/views/page/_index.html+phone.erb +1 -1
  22. data/app/views/page/_menu.html.erb +1 -1
  23. data/app/views/page/_mobile.html+phone.erb +2 -2
  24. data/app/views/page/about.en.html.erb +4 -4
  25. data/app/views/page/about.ja.html.erb +4 -4
  26. data/app/views/page/advanced_search.html.erb +5 -5
  27. data/app/views/page/configuration.html.erb +0 -2
  28. data/app/views/page/opensearch.xml.builder +2 -2
  29. data/config/locales/en.yml +0 -4
  30. data/config/locales/ja.yml +0 -4
  31. data/lib/enju_leaf/engine.rb +1 -1
  32. data/lib/enju_leaf/version.rb +1 -1
  33. data/lib/generators/enju_leaf/quick_install/quick_install_generator.rb +5 -2
  34. data/lib/generators/enju_leaf/setup/setup_generator.rb +22 -17
  35. data/lib/generators/enju_leaf/setup/templates/Procfile +2 -2
  36. data/lib/generators/enju_leaf/setup/templates/config/schedule.rb +2 -2
  37. data/lib/generators/enju_leaf/setup/templates/db/seeds.rb +0 -4
  38. data/lib/tasks/enju_leaf_tasks.rake +2 -5
  39. data/spec/acceptance/profile.rb +9 -0
  40. data/spec/controllers/page_controller_spec.rb +1 -1
  41. data/spec/dummy/app/assets/javascripts/application.js +3 -0
  42. data/spec/dummy/app/assets/stylesheets/application.css +1 -0
  43. data/spec/dummy/app/controllers/application_controller.rb +0 -1
  44. data/spec/dummy/bin/bundle +1 -1
  45. data/spec/dummy/bin/setup +1 -3
  46. data/spec/dummy/bin/update +4 -2
  47. data/spec/dummy/bin/yarn +3 -3
  48. data/spec/dummy/config.ru +3 -2
  49. data/spec/dummy/config/application.rb +3 -2
  50. data/spec/dummy/config/boot.rb +4 -9
  51. data/spec/dummy/config/cable.yml +10 -0
  52. data/spec/dummy/config/database.yml +70 -9
  53. data/spec/dummy/config/environments/development.rb +9 -2
  54. data/spec/dummy/config/environments/production.rb +7 -4
  55. data/spec/dummy/config/environments/test.rb +7 -1
  56. data/spec/dummy/config/initializers/assets.rb +1 -2
  57. data/spec/dummy/config/initializers/content_security_policy.rb +25 -0
  58. data/spec/dummy/config/locales/en.yml +30 -2
  59. data/spec/dummy/config/puma.rb +34 -0
  60. data/spec/dummy/config/routes.rb +2 -58
  61. data/spec/dummy/config/spring.rb +6 -0
  62. data/spec/dummy/config/storage.yml +34 -0
  63. data/spec/dummy/db/development.sqlite3 +0 -0
  64. data/spec/dummy/db/migrate/005_create_manifestations.rb +3 -3
  65. data/spec/dummy/db/migrate/127_create_use_restrictions.rb +3 -7
  66. data/spec/dummy/db/migrate/132_create_circulation_statuses.rb +3 -7
  67. data/spec/dummy/db/migrate/149_create_message_templates.rb +3 -8
  68. data/spec/dummy/db/migrate/154_create_messages.rb +6 -14
  69. data/spec/dummy/db/migrate/20080819181903_create_message_requests.rb +4 -4
  70. data/spec/dummy/db/migrate/20081025083323_create_countries.rb +6 -5
  71. data/spec/dummy/db/migrate/20081025083905_create_languages.rb +1 -0
  72. data/spec/dummy/db/migrate/20081027150907_create_picture_files.rb +1 -1
  73. data/spec/dummy/db/migrate/20090705212043_add_attachments_attachment_to_manifestation.rb +15 -0
  74. data/spec/dummy/db/migrate/20100606065209_create_user_has_roles.rb +2 -4
  75. data/spec/dummy/db/migrate/20110627122938_add_number_of_day_to_notify_overdue_to_user_group.rb +1 -1
  76. data/spec/dummy/db/migrate/20110913115320_add_lft_and_rgt_to_message.rb +1 -1
  77. data/spec/dummy/db/migrate/20120125050502_add_depth_to_message.rb +1 -1
  78. data/spec/dummy/db/migrate/20120125152919_add_title_subseries_transcription_to_series_statement.rb +1 -0
  79. data/spec/dummy/db/migrate/20120129020544_add_budget_type_id_to_item.rb +1 -0
  80. data/spec/dummy/db/migrate/20120319120638_add_content_type_id_to_manifestation.rb +1 -0
  81. data/spec/dummy/db/migrate/20120415164821_add_attachment_meta_to_manifestation.rb +5 -0
  82. data/spec/dummy/db/migrate/20130221154434_add_additional_attributes_to_user.rb +1 -1
  83. data/spec/dummy/db/migrate/20130506175834_create_identifiers.rb +1 -1
  84. data/spec/dummy/db/migrate/20140122054321_create_profiles.rb +4 -5
  85. data/spec/dummy/db/migrate/20140518111006_create_message_transitions.rb +4 -9
  86. data/spec/dummy/db/migrate/20140518135713_create_message_request_transitions.rb +4 -9
  87. data/spec/dummy/db/migrate/20140519170214_create_resource_import_file_transitions.rb +1 -1
  88. data/spec/dummy/db/migrate/20140519171220_create_import_request_transitions.rb +1 -1
  89. data/spec/dummy/db/migrate/20140524020735_create_agent_import_file_transitions.rb +1 -1
  90. data/spec/dummy/db/migrate/20140524074813_create_user_import_file_transitions.rb +1 -1
  91. data/spec/dummy/db/migrate/20140614141500_create_resource_export_file_transitions.rb +1 -1
  92. data/spec/dummy/db/migrate/20140709113905_create_user_export_file_transitions.rb +1 -1
  93. data/spec/dummy/db/migrate/20160319144230_create_issn_records.rb +11 -0
  94. data/spec/dummy/db/migrate/20160506144040_create_isbn_records.rb +11 -0
  95. data/spec/dummy/db/migrate/20160703185015_add_most_recent_to_message_transitions.rb +1 -1
  96. data/spec/dummy/db/migrate/20160813191533_add_book_jacket_source_to_library_group.rb +1 -1
  97. data/spec/dummy/db/migrate/20160813191820_add_screenshot_generator_to_library_group.rb +1 -1
  98. data/spec/dummy/db/migrate/20160814165332_add_most_recent_to_message_request_transitions.rb +9 -0
  99. data/spec/dummy/db/migrate/20160820004638_add_attachment_attachment_to_carrier_types.rb +11 -0
  100. data/spec/dummy/db/migrate/20170114174536_add_profile_id_to_user.rb +5 -0
  101. data/spec/dummy/db/migrate/20170116134107_create_issn_record_and_manifestations.rb +11 -0
  102. data/spec/dummy/db/migrate/20170116134120_create_isbn_record_and_manifestations.rb +11 -0
  103. data/spec/dummy/db/migrate/20171014084528_add_header_logo_to_library_group.rb +5 -0
  104. data/spec/dummy/db/migrate/20180107160726_add_constraints_to_most_recent_for_user_import_file_transitions.rb +13 -0
  105. data/spec/dummy/db/migrate/20180107160740_add_constraints_to_most_recent_for_user_export_file_transitions.rb +13 -0
  106. data/spec/dummy/db/migrate/20180107161311_add_constraints_to_most_recent_for_agent_import_file_transitions.rb +13 -0
  107. data/spec/dummy/db/migrate/20180107161331_add_constraints_to_most_recent_for_resource_import_file_transitions.rb +13 -0
  108. data/spec/dummy/db/migrate/20180107161347_add_constraints_to_most_recent_for_resource_export_file_transitions.rb +13 -0
  109. data/spec/dummy/db/migrate/20180107161410_add_constraints_to_most_recent_for_import_request_transitions.rb +13 -0
  110. data/spec/dummy/db/migrate/20180107162659_add_constraints_to_most_recent_for_message_transitions.rb +13 -0
  111. data/spec/dummy/db/migrate/20180107162711_add_constraints_to_most_recent_for_message_request_transitions.rb +13 -0
  112. data/spec/dummy/db/migrate/20181030072731_add_not_null_to_position_on_carrier_type.rb +14 -0
  113. data/spec/dummy/db/migrate/20190102034126_create_doi_records.rb +13 -0
  114. data/spec/dummy/db/migrate/20190208135957_create_active_storage_tables.active_storage.rb +27 -0
  115. data/spec/dummy/db/migrate/20190630113817_add_display_name_translations_to_library_group.rb +12 -0
  116. data/spec/dummy/db/migrate/20190630115523_add_login_banner_translations_to_library_group.rb +6 -0
  117. data/spec/dummy/db/migrate/20190630151446_add_display_name_translations_to_role.rb +5 -0
  118. data/spec/dummy/db/migrate/20190712163038_add_display_name_translations_to_carrier_type.rb +21 -0
  119. data/spec/dummy/db/schema.rb +265 -135
  120. data/spec/dummy/db/test.sqlite3 +0 -0
  121. data/spec/dummy/node_modules/jquery/AUTHORS.txt +278 -0
  122. data/spec/dummy/node_modules/jquery/LICENSE.txt +36 -0
  123. data/spec/dummy/node_modules/jquery/README.md +65 -0
  124. data/spec/dummy/node_modules/jquery/bower.json +14 -0
  125. data/spec/dummy/node_modules/jquery/dist/jquery.js +9814 -0
  126. data/spec/dummy/node_modules/jquery/dist/jquery.min.js +4 -0
  127. data/spec/dummy/node_modules/jquery/dist/jquery.min.map +1 -0
  128. data/spec/dummy/node_modules/jquery/external/sizzle/LICENSE.txt +36 -0
  129. data/spec/dummy/node_modules/jquery/external/sizzle/dist/sizzle.js +2143 -0
  130. data/spec/dummy/node_modules/jquery/external/sizzle/dist/sizzle.min.js +3 -0
  131. data/spec/dummy/node_modules/jquery/external/sizzle/dist/sizzle.min.map +1 -0
  132. data/spec/dummy/node_modules/jquery/package.json +84 -0
  133. data/spec/dummy/node_modules/jquery/src/ajax.js +845 -0
  134. data/spec/dummy/node_modules/jquery/src/ajax/jsonp.js +100 -0
  135. data/spec/dummy/node_modules/jquery/src/ajax/load.js +83 -0
  136. data/spec/dummy/node_modules/jquery/src/ajax/parseJSON.js +13 -0
  137. data/spec/dummy/node_modules/jquery/src/ajax/parseXML.js +27 -0
  138. data/spec/dummy/node_modules/jquery/src/ajax/script.js +68 -0
  139. data/spec/dummy/node_modules/jquery/src/ajax/var/location.js +3 -0
  140. data/spec/dummy/node_modules/jquery/src/ajax/var/nonce.js +5 -0
  141. data/spec/dummy/node_modules/jquery/src/ajax/var/rquery.js +3 -0
  142. data/spec/dummy/node_modules/jquery/src/ajax/xhr.js +167 -0
  143. data/spec/dummy/node_modules/jquery/src/attributes.js +11 -0
  144. data/spec/dummy/node_modules/jquery/src/attributes/attr.js +142 -0
  145. data/spec/dummy/node_modules/jquery/src/attributes/classes.js +177 -0
  146. data/spec/dummy/node_modules/jquery/src/attributes/prop.js +125 -0
  147. data/spec/dummy/node_modules/jquery/src/attributes/support.js +36 -0
  148. data/spec/dummy/node_modules/jquery/src/attributes/val.js +177 -0
  149. data/spec/dummy/node_modules/jquery/src/callbacks.js +232 -0
  150. data/spec/dummy/node_modules/jquery/src/core.js +494 -0
  151. data/spec/dummy/node_modules/jquery/src/core/access.js +65 -0
  152. data/spec/dummy/node_modules/jquery/src/core/init.js +134 -0
  153. data/spec/dummy/node_modules/jquery/src/core/parseHTML.js +41 -0
  154. data/spec/dummy/node_modules/jquery/src/core/ready.js +103 -0
  155. data/spec/dummy/node_modules/jquery/src/core/var/rsingleTag.js +5 -0
  156. data/spec/dummy/node_modules/jquery/src/css.js +502 -0
  157. data/spec/dummy/node_modules/jquery/src/css/addGetHookIf.js +24 -0
  158. data/spec/dummy/node_modules/jquery/src/css/adjustCSS.js +65 -0
  159. data/spec/dummy/node_modules/jquery/src/css/curCSS.js +60 -0
  160. data/spec/dummy/node_modules/jquery/src/css/defaultDisplay.js +72 -0
  161. data/spec/dummy/node_modules/jquery/src/css/hiddenVisibleSelectors.js +18 -0
  162. data/spec/dummy/node_modules/jquery/src/css/showHide.js +48 -0
  163. data/spec/dummy/node_modules/jquery/src/css/support.js +121 -0
  164. data/spec/dummy/node_modules/jquery/src/css/var/cssExpand.js +3 -0
  165. data/spec/dummy/node_modules/jquery/src/css/var/getStyles.js +15 -0
  166. data/spec/dummy/node_modules/jquery/src/css/var/isHidden.js +16 -0
  167. data/spec/dummy/node_modules/jquery/src/css/var/rmargin.js +3 -0
  168. data/spec/dummy/node_modules/jquery/src/css/var/rnumnonpx.js +5 -0
  169. data/spec/dummy/node_modules/jquery/src/css/var/swap.js +24 -0
  170. data/spec/dummy/node_modules/jquery/src/data.js +187 -0
  171. data/spec/dummy/node_modules/jquery/src/data/Data.js +200 -0
  172. data/spec/dummy/node_modules/jquery/src/data/var/acceptData.js +18 -0
  173. data/spec/dummy/node_modules/jquery/src/data/var/dataPriv.js +5 -0
  174. data/spec/dummy/node_modules/jquery/src/data/var/dataUser.js +5 -0
  175. data/spec/dummy/node_modules/jquery/src/deferred.js +158 -0
  176. data/spec/dummy/node_modules/jquery/src/deprecated.js +32 -0
  177. data/spec/dummy/node_modules/jquery/src/dimensions.js +54 -0
  178. data/spec/dummy/node_modules/jquery/src/effects.js +629 -0
  179. data/spec/dummy/node_modules/jquery/src/effects/Tween.js +121 -0
  180. data/spec/dummy/node_modules/jquery/src/effects/animatedSelector.js +13 -0
  181. data/spec/dummy/node_modules/jquery/src/event.js +711 -0
  182. data/spec/dummy/node_modules/jquery/src/event/ajax.js +20 -0
  183. data/spec/dummy/node_modules/jquery/src/event/alias.js +27 -0
  184. data/spec/dummy/node_modules/jquery/src/event/focusin.js +53 -0
  185. data/spec/dummy/node_modules/jquery/src/event/support.js +9 -0
  186. data/spec/dummy/node_modules/jquery/src/event/trigger.js +183 -0
  187. data/spec/dummy/node_modules/jquery/src/exports/amd.js +24 -0
  188. data/spec/dummy/node_modules/jquery/src/exports/global.js +26 -0
  189. data/spec/dummy/node_modules/jquery/src/intro.js +44 -0
  190. data/spec/dummy/node_modules/jquery/src/jquery.js +37 -0
  191. data/spec/dummy/node_modules/jquery/src/manipulation.js +481 -0
  192. data/spec/dummy/node_modules/jquery/src/manipulation/_evalUrl.js +20 -0
  193. data/spec/dummy/node_modules/jquery/src/manipulation/buildFragment.js +102 -0
  194. data/spec/dummy/node_modules/jquery/src/manipulation/getAll.js +21 -0
  195. data/spec/dummy/node_modules/jquery/src/manipulation/setGlobalEval.js +20 -0
  196. data/spec/dummy/node_modules/jquery/src/manipulation/support.js +33 -0
  197. data/spec/dummy/node_modules/jquery/src/manipulation/var/rcheckableType.js +3 -0
  198. data/spec/dummy/node_modules/jquery/src/manipulation/var/rscriptType.js +3 -0
  199. data/spec/dummy/node_modules/jquery/src/manipulation/var/rtagName.js +3 -0
  200. data/spec/dummy/node_modules/jquery/src/manipulation/wrapMap.js +27 -0
  201. data/spec/dummy/node_modules/jquery/src/offset.js +218 -0
  202. data/spec/dummy/node_modules/jquery/src/outro.js +2 -0
  203. data/spec/dummy/node_modules/jquery/src/queue.js +143 -0
  204. data/spec/dummy/node_modules/jquery/src/queue/delay.js +22 -0
  205. data/spec/dummy/node_modules/jquery/src/selector-native.js +211 -0
  206. data/spec/dummy/node_modules/jquery/src/selector-sizzle.js +14 -0
  207. data/spec/dummy/node_modules/jquery/src/selector.js +1 -0
  208. data/spec/dummy/node_modules/jquery/src/serialize.js +125 -0
  209. data/spec/dummy/node_modules/jquery/src/traversing.js +175 -0
  210. data/spec/dummy/node_modules/jquery/src/traversing/findFilter.js +100 -0
  211. data/spec/dummy/node_modules/jquery/src/traversing/var/dir.js +20 -0
  212. data/spec/dummy/node_modules/jquery/src/traversing/var/rneedsContext.js +6 -0
  213. data/spec/dummy/node_modules/jquery/src/traversing/var/siblings.js +15 -0
  214. data/spec/dummy/node_modules/jquery/src/var/arr.js +3 -0
  215. data/spec/dummy/node_modules/jquery/src/var/class2type.js +5 -0
  216. data/spec/dummy/node_modules/jquery/src/var/concat.js +5 -0
  217. data/spec/dummy/node_modules/jquery/src/var/document.js +3 -0
  218. data/spec/dummy/node_modules/jquery/src/var/documentElement.js +5 -0
  219. data/spec/dummy/node_modules/jquery/src/var/hasOwn.js +5 -0
  220. data/spec/dummy/node_modules/jquery/src/var/indexOf.js +5 -0
  221. data/spec/dummy/node_modules/jquery/src/var/pnum.js +3 -0
  222. data/spec/dummy/node_modules/jquery/src/var/push.js +5 -0
  223. data/spec/dummy/node_modules/jquery/src/var/rcssNum.js +7 -0
  224. data/spec/dummy/node_modules/jquery/src/var/rnotwhite.js +3 -0
  225. data/spec/dummy/node_modules/jquery/src/var/slice.js +5 -0
  226. data/spec/dummy/node_modules/jquery/src/var/support.js +5 -0
  227. data/spec/dummy/node_modules/jquery/src/var/toString.js +5 -0
  228. data/spec/dummy/node_modules/jquery/src/wrap.js +79 -0
  229. data/spec/dummy/package.json +5 -0
  230. data/spec/dummy/public/system/user_export_files/user_exports/000/000/003/original/user_export_file_20141214-44379-1fdvvdb.txt +8 -0
  231. data/spec/dummy/public/system/user_export_files/user_exports/000/000/003/original/user_export_file_20141225-67268-nerc4o.txt +8 -0
  232. data/spec/dummy/public/system/user_export_files/user_exports/000/000/003/original/user_export_file_20150123-14447-1lf8lc5.txt +8 -0
  233. data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141214-44379-1exy9mg.txt +8 -0
  234. data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141217-58343-ztcmne.txt +8 -0
  235. data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141217-58490-hnqvxg.txt +8 -0
  236. data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141217-58609-5iyax7.txt +8 -0
  237. data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141217-58776-1e9gg8b.txt +8 -0
  238. data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141217-58951-zfxzc6.txt +8 -0
  239. data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141217-59095-l3yd2t.txt +8 -0
  240. data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141217-59220-1mgboh1.txt +8 -0
  241. data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141217-59533-1ie807t.txt +8 -0
  242. data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141217-59716-m8uy9h.txt +8 -0
  243. data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141217-59834-1fcv3ir.txt +8 -0
  244. data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141217-59932-14y6v8m.txt +8 -0
  245. data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141217-60422-ksg8ww.txt +8 -0
  246. data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141217-60507-j2u5ra.txt +8 -0
  247. data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141217-60619-2j2h65.txt +8 -0
  248. data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141217-60822-1xdqwcc.txt +8 -0
  249. data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141217-60925-4d4ce1.txt +8 -0
  250. data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141217-61046-y4nspn.txt +8 -0
  251. data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141217-62053-1qsuqzd.txt +8 -0
  252. data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141217-62204-3quf6j.txt +8 -0
  253. data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141217-62472-w05wkf.txt +8 -0
  254. data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141218-67112-1viizrs.txt +8 -0
  255. data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141218-67232-11tcrfq.txt +8 -0
  256. data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141218-67342-1bajplt.txt +8 -0
  257. data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141218-67475-gmnmq4.txt +8 -0
  258. data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141220-74670-mxvkc6.txt +8 -0
  259. data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141220-74954-1m11avl.txt +8 -0
  260. data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141220-75054-1ac0xmz.txt +8 -0
  261. data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141220-75135-1r3z1p.txt +8 -0
  262. data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141220-75289-18xm9sx.txt +8 -0
  263. data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141220-75372-1ab1rn4.txt +8 -0
  264. data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141220-75612-14gavh8.txt +8 -0
  265. data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141220-75709-xgjjja.txt +8 -0
  266. data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141220-75832-uej6ye.txt +8 -0
  267. data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141220-75905-13kbauv.txt +8 -0
  268. data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141220-76001-13yt1kv.txt +8 -0
  269. data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141220-76158-1pitds8.txt +8 -0
  270. data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141220-76526-q0rb2j.txt +8 -0
  271. data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141220-76848-ya95k2.txt +8 -0
  272. data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141220-88475-165899e.txt +8 -0
  273. data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141220-89902-paupo2.txt +8 -0
  274. data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141220-90001-1eg9w1e.txt +8 -0
  275. data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141220-90157-bcu8m7.txt +8 -0
  276. data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141221-7985-u6s6l1.txt +8 -0
  277. data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141224-44711-1amcibm.txt +8 -0
  278. data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141224-44828-ap6n8d.txt +8 -0
  279. data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141225-48701-14hbzl1.txt +8 -0
  280. data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141225-49875-1pc6esj.txt +8 -0
  281. data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141225-64608-1wo1bpq.txt +8 -0
  282. data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141225-64763-daej3l.txt +8 -0
  283. data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141225-65000-1a7srlh.txt +8 -0
  284. data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141225-65196-ggad1c.txt +8 -0
  285. data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141225-65273-tt5ev2.txt +8 -0
  286. data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141225-65424-1d17hts.txt +8 -0
  287. data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141225-65662-1gqvlj3.txt +8 -0
  288. data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141225-65725-1qpz2tm.txt +8 -0
  289. data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141225-65807-t7cfln.txt +8 -0
  290. data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141225-65962-161pm01.txt +8 -0
  291. data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141225-66069-h9ftv6.txt +8 -0
  292. data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141225-66327-hsz0j4.txt +8 -0
  293. data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141225-67268-hqxt6v.txt +8 -0
  294. data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20150119-54567-1exwx4r.txt +8 -0
  295. data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20150120-80886-1whqn2s.txt +8 -0
  296. data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20150120-81115-hlvwc4.txt +8 -0
  297. data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20150121-86495-navftm.txt +8 -0
  298. data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20150121-86986-894a3i.txt +8 -0
  299. data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20150122-4492-vaml86.txt +8 -0
  300. data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20150123-14447-gy0ver.txt +8 -0
  301. data/spec/dummy/yarn.lock +8 -0
  302. data/spec/factories/agent.rb +1 -1
  303. data/spec/factories/library.rb +1 -1
  304. data/spec/factories/profile.rb +3 -3
  305. data/spec/factories/user.rb +25 -31
  306. data/spec/fixtures/carrier_types.yml +23 -24
  307. data/spec/fixtures/content_types.yml +78 -22
  308. data/spec/fixtures/libraries.yml +28 -31
  309. data/spec/fixtures/library_groups.yml +33 -16
  310. data/spec/fixtures/manifestations.yml +32 -27
  311. data/spec/fixtures/roles.yml +11 -12
  312. data/spec/fixtures/shelves.yml +14 -15
  313. data/spec/fixtures/user_groups.yml +9 -16
  314. data/spec/fixtures/user_has_roles.yml +2 -1
  315. data/spec/rails_helper.rb +11 -1
  316. data/spec/system/page_spec.rb +35 -0
  317. data/spec/views/page/configuration.html.erb_spec.rb +1 -1
  318. metadata +479 -93
  319. data/app/assets/javascripts/enju_leaf.js +0 -12
  320. data/app/assets/javascripts/mobile.js +0 -4
  321. data/spec/dummy/db/migrate/20151213070943_add_translation_table_to_library_group.rb +0 -25
  322. data/spec/dummy/db/migrate/20151213072705_add_footer_banner_to_library_group.rb +0 -22
  323. data/vendor/assets/javascripts/jquery.colorbox.js +0 -1105
  324. data/vendor/assets/javascripts/jquery.powertip.js +0 -1395
  325. data/vendor/assets/stylesheets/colorbox.css +0 -70
  326. data/vendor/assets/stylesheets/jquery.powertip.css +0 -105
@@ -1,36 +1,92 @@
1
- # Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
2
-
3
- one:
1
+ ---
2
+ content_type_00001:
4
3
  id: 1
5
4
  name: text
6
- display_name: text
7
- note: MyText
5
+ display_name_translations: {"en": "text", "ja": "文字"}
6
+ note:
8
7
  position: 1
9
-
10
- two:
8
+ content_type_00002:
11
9
  id: 2
12
- name: Cartographic Dataset
13
- display_name: Cartographic Dataset
14
- note: MyText
10
+ name: performed_music
11
+ display_name_translations: {"en": "Performed music", "ja": "音楽"}
12
+ note: 曲の演奏など
15
13
  position: 2
16
-
17
- three:
14
+ content_type_00003:
18
15
  id: 3
19
- name: Cartographic Image
20
- display_name: Cartographic Image
21
- note: MyText
16
+ name: two_dimensional_moving_image
17
+ display_name_translations: {"en": "Two-dimensional moving image", "ja": "動画"}
18
+ note:
22
19
  position: 3
20
+ content_type_00004:
21
+ id: 4
22
+ name: tactile_text
23
+ display_name_translations: "en: Tactile text\r\n\
24
+ ja: 点字など"
25
+ note: 触ることのできる文字
26
+ position: 4
27
+ content_type_00005:
28
+ id: 5
29
+ name: still_image
30
+ display_name_translations: "en: Still image\r\n\
31
+ ja: 画像"
32
+ note: 静止画像
33
+ position: 5
34
+ content_type_00006:
35
+ id: 6
36
+ name: cartographic_image
37
+ display_name_translations: "en: Cartographic image\r\n\
38
+ ja: 地図"
39
+ note:
40
+ position: 6
41
+ content_type_00007:
42
+ id: 7
43
+ name: spoken_word
44
+ display_name_translations: "en: Spoken word\r\n\
45
+ ja: 音声"
46
+ note: 読み上げ音声など
47
+ position: 7
48
+ content_type_00008:
49
+ id: 8
50
+ name: sounds
51
+ display_name_translations: "en: Sounds\r\n\
52
+ ja: 音"
53
+ note: 波音など
54
+ position: 8
55
+ content_type_00009:
56
+ id: 9
57
+ name: notated_music
58
+ display_name_translations: "en: Notated music\r\n\
59
+ ja: 楽譜"
60
+ note:
61
+ position: 9
62
+ content_type_00010:
63
+ id: 10
64
+ name: three_dimensional_moving_image
65
+ display_name_translations: {"en": "Three-dimensional moving image", "ja": "3D動画"}
66
+ note:
67
+ position: 10
68
+ content_type_00011:
69
+ id: 11
70
+ name: other
71
+ display_name_translations: {"en": "Other", "ja": "その他"}
72
+ note: LCMARCに由来
73
+ position: 11
74
+ content_type_00012:
75
+ id: 12
76
+ name: unspecified
77
+ display_name_translations: {"en": "Unspecified", "ja": "不明"}
78
+ note: LCMARCに由来
79
+ position: 12
23
80
 
24
81
  # == Schema Information
25
82
  #
26
83
  # Table name: content_types
27
84
  #
28
- # id :integer not null, primary key
29
- # name :string(255) not null
30
- # display_name :text
85
+ # id :bigint(8) not null, primary key
86
+ # name :string not null
87
+ # display_name_translations :text
31
88
  # note :text
32
- # position :integer
33
- # created_at :datetime
34
- # updated_at :datetime
89
+ # position :integer default(1), not null
90
+ # created_at :datetime not null
91
+ # updated_at :datetime not null
35
92
  #
36
-
@@ -2,7 +2,7 @@
2
2
  library_00001:
3
3
  name: web
4
4
  short_display_name: Web
5
- display_name: World Wide Web
5
+ display_name_translations: {"en": "World Wide Web", "ja": "ウェブ"}
6
6
  fax_number:
7
7
  updated_at: 2007-08-31 00:18:06.662349 +09:00
8
8
  telephone_number_1:
@@ -19,7 +19,7 @@ library_00001:
19
19
  library_00002:
20
20
  name: kamata
21
21
  short_display_name: 蒲田
22
- display_name: Kamata Library
22
+ display_name_translations: {"en": "Kamata Library", "ja": "蒲田図書館"}
23
23
  fax_number: ""
24
24
  updated_at: 2007-08-31 00:18:06.662349 +09:00
25
25
  telephone_number_1: 81-3-3732-5111
@@ -37,7 +37,7 @@ library_00002:
37
37
  library_00003:
38
38
  name: hachioji
39
39
  short_display_name: 八王子
40
- display_name: Hachioji Library
40
+ display_name_translations: {"en": "Hachioji Library", "ja": "八王子図書館"}
41
41
  fax_number: 042-637-2116
42
42
  updated_at: 2007-08-31 00:18:16.188285 +09:00
43
43
  telephone_number_1: 042-637-2033
@@ -54,7 +54,7 @@ library_00003:
54
54
  library_00004:
55
55
  name: mita
56
56
  short_display_name: 三田
57
- display_name: Mita Library
57
+ display_name_translations: {"en": "Mita Library", "ja": "三田図書館"}
58
58
  fax_number: ""
59
59
  updated_at: 2007-08-31 00:18:20.043951 +09:00
60
60
  telephone_number_1: ""
@@ -73,31 +73,28 @@ library_00004:
73
73
  #
74
74
  # Table name: libraries
75
75
  #
76
- # id :integer not null, primary key
77
- # name :string(255) not null
78
- # display_name :text
79
- # short_display_name :string(255) not null
80
- # zip_code :string(255)
81
- # street :text
82
- # locality :text
83
- # region :text
84
- # telephone_number_1 :string(255)
85
- # telephone_number_2 :string(255)
86
- # fax_number :string(255)
87
- # note :text
88
- # call_number_rows :integer default(1), not null
89
- # call_number_delimiter :string(255) default("|"), not null
90
- # library_group_id :integer default(1), not null
91
- # users_count :integer default(0), not null
92
- # position :integer
93
- # country_id :integer
94
- # created_at :datetime
95
- # updated_at :datetime
96
- # deleted_at :datetime
97
- # opening_hour :text
98
- # latitude :float
99
- # longitude :float
100
- # calil_systemid :string(255)
101
- # calil_neighborhood_systemid :text
76
+ # id :uuid not null, primary key
77
+ # name :string not null
78
+ # display_name_translations :jsonb not null
79
+ # short_display_name :string not null
80
+ # zip_code :string
81
+ # street :text
82
+ # locality :text
83
+ # region :text
84
+ # telephone_number_1 :string
85
+ # telephone_number_2 :string
86
+ # fax_number :string
87
+ # note :text
88
+ # call_number_rows :integer default(1), not null
89
+ # call_number_delimiter :string default("|"), not null
90
+ # library_group_id :bigint(8) not null
91
+ # users_count :integer default(0), not null
92
+ # position :integer default(1), not null
93
+ # country_id :bigint(8)
94
+ # created_at :datetime not null
95
+ # updated_at :datetime not null
96
+ # opening_hour :text
97
+ # isil :string
98
+ # latitude :float
99
+ # longitude :float
102
100
  #
103
-
@@ -1,33 +1,50 @@
1
1
  # Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
2
2
  one:
3
3
  id: 1
4
- name: unknown
5
- display_name: unknown
6
- short_name: unknown
4
+ name: enju_library
5
+ display_name_translations: {"en": "Enju Library", "ja": "えんじゅ図書館"}
6
+ short_name: enju_library
7
7
  note:
8
8
  my_networks: "0.0.0.0/0\r\n\
9
9
  ::/0"
10
10
  url: "http://localhost:3000/"
11
11
  position: 1
12
+ login_banner_translations: {"ja": "オープンソース図書館システム Next-L Enju です。このメッセージは管理者としてログインした後に変更することができます。",
13
+ "en": "Next-L Enju, an open-source integrated library system. You can edit this message after logging in as Administrator."}
14
+ footer_banner_translations: {"en":"[Next-L Enju Leaf __VERSION__](https://github.com/next-l/enju_leaf), an open source integrated library system | [About this system](/page/about) | [Report bugs](https://github.com/next-l/enju_leaf/issues) | [Manual](https://next-l.github.io/manual/1.3/)",
15
+ "ja":"[Next-L Enju Leaf __VERSION__](https://github.com/next-l/enju_leaf), オープンソース統合図書館システム | [このシステムについて](/page/about) | [不具合を報告する](https://github.com/next-l/enju_leaf/issues) | [マニュアル](https://next-l.github.io/manual/1.3/)"}
12
16
  admin_networks: "0.0.0.0/0\r\n\
13
17
  ::/0"
14
18
  user_id: 1
19
+ pub_year_facet_range_interval: 10
15
20
 
16
21
  # == Schema Information
17
22
  #
18
23
  # Table name: library_groups
19
24
  #
20
- # id :integer not null, primary key
21
- # name :string(255) not null
22
- # display_name :text
23
- # short_name :string(255) not null
24
- # my_networks :text
25
- # login_banner :text
26
- # note :text
27
- # country_id :integer
28
- # position :integer
29
- # created_at :datetime not null
30
- # updated_at :datetime not null
31
- # admin_networks :text
32
- # url :string(255) default("http://localhost:3000/")
25
+ # id :bigint(8) not null, primary key
26
+ # name :string not null
27
+ # display_name_translations :jsonb not null
28
+ # short_name :string not null
29
+ # my_networks :text
30
+ # old_login_banner :text
31
+ # note :text
32
+ # country_id :integer
33
+ # position :integer default(1), not null
34
+ # created_at :datetime not null
35
+ # updated_at :datetime not null
36
+ # admin_networks :text
37
+ # url :string default("http://localhost:3000/")
38
+ # settings :jsonb
39
+ # html_snippet :text
40
+ # book_jacket_source :string
41
+ # max_number_of_results :integer default(500)
42
+ # family_name_first :boolean default(TRUE)
43
+ # screenshot_generator :string
44
+ # pub_year_facet_range_interval :integer default(10)
45
+ # user_id :bigint(8)
46
+ # csv_charset_conversion :boolean default(FALSE), not null
47
+ # header_logo_meta :text
48
+ # login_banner_translations :jsonb not null
49
+ # footer_banner_translations :jsonb not null
33
50
  #
@@ -3,9 +3,9 @@ manifestation_00001:
3
3
  carrier_type_id: 1
4
4
  language_id: 1
5
5
  updated_at: 2007-11-19 16:59:00.293393 +09:00
6
- original_title: "\xE3\x82\x88\xE3\x81\x8F\xE3\x82\x8F\xE3\x81\x8B\xE3\x82\x8B\xE6\x9C\x80\xE6\x96\xB0Web\xE3\x82\xB5\xE3\x83\xBC\xE3\x83\x93\xE3\x82\xB9\xE6\x8A\x80\xE8\xA1\x93"
6
+ original_title: "よくわかる最新Webサービス技術の基本と仕組み : 標準Webシステム技術とeコマース基盤技術入門"
7
7
  price:
8
- manifestation_identifier:
8
+ manifestation_identifier: 00001
9
9
  depth:
10
10
  date_of_publication:
11
11
  access_address:
@@ -16,11 +16,13 @@ manifestation_00001:
16
16
  start_page: 1
17
17
  end_page: 100
18
18
  repository_content: true
19
+ extent: "123p"
20
+ dimensions: "25cm"
19
21
  manifestation_00002:
20
22
  carrier_type_id: 1
21
23
  language_id: 1
22
24
  updated_at: 2007-11-19 16:59:01.991512 +09:00
23
- original_title: "\xE6\x83\x85\xE5\xA0\xB1\xE9\x80\x9A\xE4\xBF\xA1\xE3\x83\x8F\xE3\x83\xB3\xE3\x83\x89\xE3\x83\x96\xE3\x83\x83\xE3\x82\xAF2005"
25
+ original_title: "情報通信ハンドブック : 情報通信の最新データがわかる 2005年版"
24
26
  price:
25
27
  manifestation_identifier:
26
28
  depth:
@@ -112,7 +114,7 @@ manifestation_00008:
112
114
  carrier_type_id: 1
113
115
  language_id: 1
114
116
  updated_at: 2007-11-19 16:59:07.463333 +09:00
115
- original_title: "Web\xE3\x82\xB5\xE3\x83\xBC\xE3\x83\x93\xE3\x82\xB9\xE5\xAE\x8C\xE5\x85\xA8\xE8\xA7\xA3\xE8\xAA\xAC"
117
+ original_title: "Webサービス完全解説 : 基礎からわかる次世代インターネット・テクノロジー"
116
118
  price:
117
119
  manifestation_identifier:
118
120
  depth:
@@ -161,7 +163,7 @@ manifestation_00021:
161
163
  depth:
162
164
  date_of_publication:
163
165
  access_address:
164
- id: 11
166
+ id: 21
165
167
  height:
166
168
  width:
167
169
  created_at: 2007-11-19 16:59:20.799724 +09:00
@@ -1815,26 +1817,32 @@ manifestation_00216:
1815
1817
  created_at: 2010-03-19 13:00:00 +9:00
1816
1818
  required_role_id: 1
1817
1819
  repository_content: false
1820
+ manifestation_00217:
1821
+ carrier_type_id: 1
1822
+ language_id: 77
1823
+ updated_at: 2014-12-20 16:44:00 +09:00
1824
+ original_title: "VRML2.0 : 3Dサイバースペース構築言語"
1825
+ content_type_id: 1
1826
+ year_of_publication: 1996
1827
+ statement_of_responsibility: "三浦憲二郎著"
1828
+ id: 217
1818
1829
 
1819
1830
  # == Schema Information
1820
1831
  #
1821
1832
  # Table name: manifestations
1822
1833
  #
1823
- # id :integer not null, primary key
1834
+ # id :uuid not null, primary key
1824
1835
  # original_title :text not null
1825
1836
  # title_alternative :text
1826
1837
  # title_transcription :text
1827
- # classification_number :string(255)
1828
- # manifestation_identifier :string(255)
1838
+ # classification_number :string
1839
+ # manifestation_identifier :string
1829
1840
  # date_of_publication :datetime
1830
1841
  # date_copyrighted :datetime
1831
1842
  # created_at :datetime not null
1832
1843
  # updated_at :datetime not null
1833
- # deleted_at :datetime
1834
- # access_address :string(255)
1844
+ # access_address :string
1835
1845
  # language_id :integer default(1), not null
1836
- # carrier_type_id :integer default(1), not null
1837
- # extent_id :integer default(1), not null
1838
1846
  # start_page :integer
1839
1847
  # end_page :integer
1840
1848
  # height :integer
@@ -1842,22 +1850,18 @@ manifestation_00216:
1842
1850
  # depth :integer
1843
1851
  # price :integer
1844
1852
  # fulltext :text
1845
- # volume_number_string :string(255)
1846
- # issue_number_string :string(255)
1847
- # serial_number_string :string(255)
1853
+ # volume_number_string :string
1854
+ # issue_number_string :string
1855
+ # serial_number_string :string
1848
1856
  # edition :integer
1849
1857
  # note :text
1850
1858
  # repository_content :boolean default(FALSE), not null
1851
1859
  # lock_version :integer default(0), not null
1852
1860
  # required_role_id :integer default(1), not null
1853
- # state :string(255)
1854
- # required_score :integer default(0), not null
1855
1861
  # frequency_id :integer default(1), not null
1856
1862
  # subscription_master :boolean default(FALSE), not null
1857
- # attachment_file_name :string(255)
1858
- # attachment_content_type :string(255)
1859
- # attachment_file_size :integer
1860
- # attachment_updated_at :datetime
1863
+ # carrier_type_id :uuid not null
1864
+ # nii_type_id :integer
1861
1865
  # title_alternative_transcription :text
1862
1866
  # description :text
1863
1867
  # abstract :text
@@ -1865,18 +1869,19 @@ manifestation_00216:
1865
1869
  # valid_until :datetime
1866
1870
  # date_submitted :datetime
1867
1871
  # date_accepted :datetime
1868
- # date_caputured :datetime
1869
- # pub_date :string(255)
1870
- # edition_string :string(255)
1872
+ # date_captured :datetime
1873
+ # pub_date :string
1874
+ # edition_string :string
1871
1875
  # volume_number :integer
1872
1876
  # issue_number :integer
1873
1877
  # serial_number :integer
1874
1878
  # content_type_id :integer default(1)
1875
1879
  # year_of_publication :integer
1876
- # attachment_meta :text
1877
1880
  # month_of_publication :integer
1878
1881
  # fulltext_content :boolean
1879
- # serial :boolean
1882
+ # serial :boolean
1880
1883
  # statement_of_responsibility :text
1884
+ # publication_place :text
1885
+ # extent :text
1886
+ # dimensions :text
1881
1887
  #
1882
-
@@ -1,25 +1,25 @@
1
1
  ---
2
2
  role_00001:
3
3
  name: Guest
4
- display_name: Guest
4
+ display_name_translations: {"en": "Guest", "ja": "ゲスト"}
5
5
  id: 1
6
6
  note:
7
7
  position: 1
8
8
  role_00002:
9
9
  name: User
10
- display_name: User
10
+ display_name_translations: {"en": "User", "ja": "一般利用者"}
11
11
  id: 2
12
12
  note:
13
13
  position: 2
14
14
  role_00003:
15
15
  name: Librarian
16
- display_name: Librarian
16
+ display_name_translations: {"en": "Librarian", "ja": "図書館員"}
17
17
  id: 3
18
18
  note:
19
19
  position: 3
20
20
  role_00004:
21
21
  name: Administrator
22
- display_name: Administrator
22
+ display_name_translations: {"en": "Administrator", "ja": "管理者"}
23
23
  id: 4
24
24
  note:
25
25
  position: 4
@@ -28,12 +28,11 @@ role_00004:
28
28
  #
29
29
  # Table name: roles
30
30
  #
31
- # id :integer not null, primary key
32
- # name :string not null
33
- # display_name :string
34
- # note :text
35
- # created_at :datetime
36
- # updated_at :datetime
37
- # score :integer default(0), not null
38
- # position :integer
31
+ # id :bigint(8) not null, primary key
32
+ # name :string not null
33
+ # display_name_translations :jsonb not null
34
+ # note :text
35
+ # position :integer
36
+ # created_at :datetime not null
37
+ # updated_at :datetime not null
39
38
  #