enju_leaf 1.1.0.rc7 → 1.1.0.rc8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (126) hide show
  1. checksums.yaml +4 -4
  2. data/README.rdoc +7 -4
  3. data/app/assets/javascripts/jquery.mobile-1.4.2.js +15056 -0
  4. data/app/assets/javascripts/mobile.js +1 -1
  5. data/app/assets/javascripts/profiles.js +2 -0
  6. data/app/assets/stylesheets/enju.css +1 -1
  7. data/app/assets/stylesheets/jquery.mobile-1.4.2.css +4698 -0
  8. data/app/assets/stylesheets/mobile.css +1 -1
  9. data/app/assets/stylesheets/normalize.css +406 -0
  10. data/app/assets/stylesheets/profiles.css +4 -0
  11. data/app/controllers/user_import_files_controller.rb +93 -0
  12. data/app/controllers/user_import_results_controller.rb +15 -0
  13. data/app/controllers/users_controller.rb +2 -2
  14. data/app/helpers/profiles_helper.rb +2 -0
  15. data/app/models/enju_leaf/ability.rb +12 -2
  16. data/app/models/profile.rb +15 -0
  17. data/app/models/user_import_file.rb +171 -0
  18. data/app/models/user_import_result.rb +9 -0
  19. data/app/views/kaminari/{_first_page.mobile.erb → enju_leaf_mobile/_first_page.html.erb} +0 -0
  20. data/app/views/kaminari/{_gap.mobile.erb → enju_leaf_mobile/_gap.html.erb} +0 -0
  21. data/app/views/kaminari/{_last_page.mobile.erb → enju_leaf_mobile/_last_page.html.erb} +0 -0
  22. data/app/views/kaminari/{_next_page.mobile.erb → enju_leaf_mobile/_next_page.html.erb} +0 -0
  23. data/app/views/kaminari/{_page.mobile.erb → enju_leaf_mobile/_page.html.erb} +0 -0
  24. data/app/views/kaminari/{_paginator.mobile.erb → enju_leaf_mobile/_paginator.html.erb} +0 -0
  25. data/app/views/kaminari/{_prev_page.mobile.erb → enju_leaf_mobile/_prev_page.html.erb} +0 -0
  26. data/app/views/page/_footer.html.erb +3 -3
  27. data/app/views/page/_menu.html.erb +1 -1
  28. data/app/views/page/about.en.html.erb +2 -2
  29. data/app/views/page/about.ja.html.erb +2 -2
  30. data/app/views/page/configuration.html.erb +12 -0
  31. data/app/views/page/import.html.erb +6 -5
  32. data/app/views/profiles/_form.html.erb +53 -0
  33. data/app/views/profiles/edit.html.erb +6 -0
  34. data/app/views/profiles/index.html.erb +43 -0
  35. data/app/views/profiles/new.html.erb +14 -0
  36. data/app/views/profiles/show.html.erb +54 -0
  37. data/app/views/user_groups/_form.html.erb +1 -1
  38. data/app/views/user_import_files/_form.html.erb +61 -0
  39. data/app/views/user_import_files/edit.html.erb +6 -0
  40. data/app/views/user_import_files/index.html.erb +43 -0
  41. data/app/views/user_import_files/new.html.erb +35 -0
  42. data/app/views/user_import_files/show.html.erb +59 -0
  43. data/app/views/user_import_results/_form.html.erb +29 -0
  44. data/app/views/user_import_results/index.html.erb +31 -0
  45. data/app/views/user_import_results/show.html.erb +19 -0
  46. data/app/views/users/new.html.erb +4 -4
  47. data/config/locales/translation_en.yml +17 -6
  48. data/config/locales/translation_ja.yml +17 -1
  49. data/config/routes.rb +8 -0
  50. data/db/migrate/20140110122216_create_user_import_files.rb +19 -0
  51. data/db/migrate/20140110131010_create_user_import_results.rb +11 -0
  52. data/db/migrate/20140122054321_create_profiles.rb +21 -0
  53. data/lib/enju_leaf/engine.rb +1 -0
  54. data/lib/enju_leaf/user.rb +6 -3
  55. data/lib/enju_leaf/version.rb +1 -1
  56. data/lib/generators/enju_leaf/setup/setup_generator.rb +3 -1
  57. data/lib/generators/enju_leaf/setup/templates/Procfile +3 -0
  58. data/lib/generators/enju_leaf/setup/templates/config/application.yml +1 -1
  59. data/lib/generators/enju_leaf/setup/templates/config/schedule.rb +1 -2
  60. data/spec/controllers/user_import_files_controller_spec.rb +294 -0
  61. data/spec/controllers/user_import_results_controller_spec.rb +137 -0
  62. data/spec/dummy/db/development.sqlite3 +0 -0
  63. data/spec/dummy/db/schema.rb +25 -1
  64. data/spec/dummy/db/test.sqlite3 +0 -0
  65. data/spec/dummy/private/system/user_import_files/user_imports/980/190/963/original/user_delete_file.tsv +4 -0
  66. data/spec/dummy/private/system/user_import_files/user_imports/980/190/963/original/user_import_file_sample.tsv +5 -0
  67. data/spec/dummy/private/system/user_import_files/user_imports/980/190/963/original/user_update_file.tsv +4 -0
  68. data/spec/dummy/private/system/user_import_files/user_imports/980/190/964/original/user_delete_file.tsv +4 -0
  69. data/spec/dummy/solr/default/data/index/segments.gen +0 -0
  70. data/spec/dummy/solr/default/data/index/segments_1la +0 -0
  71. data/spec/dummy/solr/default/data/tlog/{tlog.0000000000000000063 → tlog.0000000000000002051} +0 -0
  72. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000002052 +0 -0
  73. data/spec/dummy/solr/default/data/tlog/{tlog.0000000000000000065 → tlog.0000000000000002053} +0 -0
  74. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000002054 +0 -0
  75. data/spec/dummy/solr/default/data/tlog/{tlog.0000000000000000067 → tlog.0000000000000002055} +0 -0
  76. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000002056 +0 -0
  77. data/spec/dummy/solr/default/data/tlog/{tlog.0000000000000000069 → tlog.0000000000000002057} +0 -0
  78. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000002058 +0 -0
  79. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000002059 +0 -0
  80. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000002060 +0 -0
  81. data/spec/dummy/tmp/cache/4F7/F90/default_role +0 -0
  82. data/spec/dummy/tmp/cache/ACB/B20/manifestation_search_total +0 -0
  83. data/spec/dummy/tmp/cache/assets/test/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
  84. data/spec/dummy/tmp/cache/assets/test/sprockets/154f7b83f2da0e86effbe25f32135177 +0 -0
  85. data/spec/dummy/tmp/cache/assets/test/sprockets/1b984bdbd3204a51a82d0e01a1569e2d +0 -0
  86. data/spec/dummy/tmp/cache/assets/test/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
  87. data/spec/dummy/tmp/cache/assets/test/sprockets/3054c50144654f9c7e57bb0639a276e9 +0 -0
  88. data/spec/dummy/tmp/cache/assets/test/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
  89. data/spec/dummy/tmp/cache/assets/test/sprockets/3bd7a263237ba366f64d938fe5303757 +0 -0
  90. data/spec/dummy/tmp/cache/assets/test/sprockets/62899096da1a3e67660f3b88068be8c9 +0 -0
  91. data/spec/dummy/tmp/cache/assets/test/sprockets/65b2e4f67eab21b30217e29075f433b2 +0 -0
  92. data/spec/dummy/tmp/cache/assets/test/sprockets/87d24a3f43f175d4d17babe9203c79a7 +0 -0
  93. data/spec/dummy/tmp/cache/assets/test/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
  94. data/spec/dummy/tmp/cache/assets/test/sprockets/d38d8658b30de1d068603968227680d4 +0 -0
  95. data/spec/dummy/tmp/cache/assets/test/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
  96. data/spec/dummy/tmp/cache/assets/test/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
  97. data/spec/fixtures/user_import_files.yml +27 -0
  98. data/spec/fixtures/user_import_results.yml +13 -0
  99. data/spec/models/user_import_file_spec.rb +64 -0
  100. data/spec/models/user_import_result_spec.rb +7 -0
  101. data/vendor/assets/javascripts/jquery.colorbox.js +220 -213
  102. data/vendor/assets/stylesheets/colorbox.css +1 -1
  103. metadata +224 -150
  104. data/spec/cassette_library/ImportRequestsController/POST_create/When_logged_in_as_Administrator/with_valid_params/assigns_a_newly_created_import_request_as_import_request.yml +0 -620
  105. data/spec/cassette_library/ImportRequestsController/POST_create/When_logged_in_as_Administrator/with_valid_params/redirects_to_the_created_import_request.yml +0 -620
  106. data/spec/cassette_library/ImportRequestsController/POST_create/When_logged_in_as_Librarian/with_valid_params/assigns_a_newly_created_import_request_as_import_request.yml +0 -620
  107. data/spec/cassette_library/ImportRequestsController/POST_create/When_logged_in_as_Librarian/with_valid_params/redirects_to_the_created_import_request.yml +0 -620
  108. data/spec/cassette_library/Manifestation/should_import_isbn.yml +0 -537
  109. data/spec/cassette_library/Question/test_should_get_crd_search.yml +0 -437
  110. data/spec/dummy/solr/default/data/index/_z.fdt +0 -0
  111. data/spec/dummy/solr/default/data/index/_z.fdx +0 -0
  112. data/spec/dummy/solr/default/data/index/_z.fnm +0 -0
  113. data/spec/dummy/solr/default/data/index/_z.nvd +0 -0
  114. data/spec/dummy/solr/default/data/index/_z.nvm +0 -0
  115. data/spec/dummy/solr/default/data/index/_z.si +0 -0
  116. data/spec/dummy/solr/default/data/index/_z_Lucene41_0.doc +0 -0
  117. data/spec/dummy/solr/default/data/index/_z_Lucene41_0.pos +0 -0
  118. data/spec/dummy/solr/default/data/index/_z_Lucene41_0.tim +0 -0
  119. data/spec/dummy/solr/default/data/index/_z_Lucene41_0.tip +0 -0
  120. data/spec/dummy/solr/default/data/index/segments_21 +0 -0
  121. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000000062 +0 -0
  122. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000000064 +0 -0
  123. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000000066 +0 -0
  124. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000000068 +0 -0
  125. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000000070 +0 -0
  126. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000000071 +0 -0

There are too many changes on this page to be displayed.


The amount of changes on this page would crash your brower.

You can still verify the content by downloading the gem file manually.