enju_seed 0.2.3 → 0.3.0.beta.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (209) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +17 -8
  3. data/app/assets/config/enju_seed_manifest.js +0 -0
  4. data/app/controllers/my_accounts_controller.rb +14 -13
  5. data/app/controllers/profiles_controller.rb +30 -29
  6. data/app/controllers/roles_controller.rb +2 -1
  7. data/app/models/concerns/enju_seed/enju_user.rb +22 -26
  8. data/app/models/concerns/master_model.rb +5 -6
  9. data/app/models/identity.rb +1 -1
  10. data/app/models/profile.rb +3 -3
  11. data/app/models/role.rb +2 -1
  12. data/app/models/user_has_role.rb +2 -2
  13. data/app/views/my_accounts/_edit_credential.html.slim +63 -0
  14. data/app/views/my_accounts/_form.html.slim +20 -0
  15. data/app/views/my_accounts/_show.html.slim +1 -0
  16. data/app/views/my_accounts/edit.html.slim +30 -0
  17. data/app/views/my_accounts/show.html+phone.slim +1 -0
  18. data/app/views/my_accounts/show.html.slim +57 -0
  19. data/app/views/profiles/_edit_credential.html.slim +67 -0
  20. data/app/views/profiles/_edit_profile.html.slim +40 -0
  21. data/app/views/profiles/_form.html.slim +12 -0
  22. data/app/views/profiles/_show.html.slim +1 -0
  23. data/app/views/profiles/edit.html.slim +30 -0
  24. data/app/views/profiles/index.html.slim +61 -0
  25. data/app/views/profiles/new.html.slim +65 -0
  26. data/app/views/profiles/show.html+phone.slim +1 -0
  27. data/app/views/profiles/show.html.slim +67 -0
  28. data/app/views/roles/_form.html.slim +16 -0
  29. data/app/views/roles/edit.html.slim +15 -0
  30. data/app/views/roles/index.html.slim +27 -0
  31. data/app/views/roles/new.html.slim +13 -0
  32. data/app/views/roles/show.html.slim +46 -0
  33. data/db/migrate/041_create_roles.rb +3 -3
  34. data/db/migrate/20130221154434_add_additional_attributes_to_user.rb +3 -3
  35. data/lib/enju_seed.rb +2 -3
  36. data/lib/enju_seed/engine.rb +1 -2
  37. data/lib/enju_seed/localized_name.rb +1 -3
  38. data/lib/enju_seed/version.rb +1 -1
  39. data/spec/controllers/my_accounts_controller_spec.rb +79 -79
  40. data/spec/controllers/profiles_controller_spec.rb +210 -210
  41. data/spec/controllers/roles_controller_spec.rb +47 -47
  42. data/spec/dummy/app/helpers/application_helper.rb +1 -1
  43. data/spec/dummy/app/models/user.rb +2 -2
  44. data/spec/dummy/bin/setup +8 -8
  45. data/spec/dummy/config/application.rb +2 -18
  46. data/spec/dummy/config/database.yml +70 -10
  47. data/spec/dummy/config/environment.rb +1 -1
  48. data/spec/dummy/config/environments/development.rb +24 -11
  49. data/spec/dummy/config/environments/production.rb +24 -17
  50. data/spec/dummy/config/environments/test.rb +6 -6
  51. data/spec/dummy/config/initializers/assets.rb +1 -1
  52. data/spec/dummy/config/initializers/friendly_id.rb +75 -75
  53. data/spec/dummy/db/migrate/001_create_agents.rb +6 -6
  54. data/spec/dummy/db/migrate/002_devise_create_users.rb +5 -6
  55. data/spec/dummy/db/migrate/005_create_manifestations.rb +12 -12
  56. data/spec/dummy/db/migrate/006_create_items.rb +5 -5
  57. data/spec/dummy/db/migrate/012_create_owns.rb +2 -2
  58. data/spec/dummy/db/migrate/015_create_creates.rb +2 -2
  59. data/spec/dummy/db/migrate/032_create_checkins.rb +1 -1
  60. data/spec/dummy/db/migrate/033_create_checkouts.rb +4 -4
  61. data/spec/dummy/db/migrate/035_create_reserves.rb +5 -5
  62. data/spec/dummy/db/migrate/047_create_produces.rb +2 -2
  63. data/spec/dummy/db/migrate/059_create_libraries.rb +6 -4
  64. data/spec/dummy/db/migrate/069_create_shelves.rb +2 -1
  65. data/spec/dummy/db/migrate/073_create_carrier_types.rb +1 -1
  66. data/spec/dummy/db/migrate/077_create_user_groups.rb +1 -1
  67. data/spec/dummy/db/migrate/080_create_library_groups.rb +2 -1
  68. data/spec/dummy/db/migrate/112_create_frequencies.rb +1 -1
  69. data/spec/dummy/db/migrate/117_create_form_of_works.rb +1 -1
  70. data/spec/dummy/db/migrate/120_create_baskets.rb +2 -1
  71. data/spec/dummy/db/migrate/121_create_checked_items.rb +3 -3
  72. data/spec/dummy/db/migrate/124_create_bookstores.rb +1 -1
  73. data/spec/dummy/db/migrate/125_create_donates.rb +2 -2
  74. data/spec/dummy/db/migrate/127_create_use_restrictions.rb +1 -1
  75. data/spec/dummy/db/migrate/129_create_item_has_use_restrictions.rb +2 -2
  76. data/spec/dummy/db/migrate/130_create_request_status_types.rb +1 -1
  77. data/spec/dummy/db/migrate/131_create_request_types.rb +1 -1
  78. data/spec/dummy/db/migrate/132_create_circulation_statuses.rb +1 -1
  79. data/spec/dummy/db/migrate/133_create_agent_merges.rb +1 -1
  80. data/spec/dummy/db/migrate/149_create_message_templates.rb +5 -5
  81. data/spec/dummy/db/migrate/154_create_messages.rb +2 -2
  82. data/spec/dummy/db/migrate/20080830154109_create_realizes.rb +2 -2
  83. data/spec/dummy/db/migrate/20080830172106_create_exemplifies.rb +13 -0
  84. data/spec/dummy/db/migrate/20080905191442_create_agent_types.rb +1 -1
  85. data/spec/dummy/db/migrate/20081006090811_create_subscriptions.rb +5 -2
  86. data/spec/dummy/db/migrate/20081006093246_create_subscribes.rb +2 -1
  87. data/spec/dummy/db/migrate/20081023092436_create_search_engines.rb +5 -5
  88. data/spec/dummy/db/migrate/20081025083323_create_countries.rb +8 -9
  89. data/spec/dummy/db/migrate/20081025083905_create_languages.rb +5 -6
  90. data/spec/dummy/db/migrate/20081027150907_create_picture_files.rb +1 -1
  91. data/spec/dummy/db/migrate/20081030023412_create_checkout_types.rb +1 -1
  92. data/spec/dummy/db/migrate/20081030023518_create_user_group_has_checkout_types.rb +8 -8
  93. data/spec/dummy/db/migrate/20081030023615_create_carrier_type_has_checkout_types.rb +3 -3
  94. data/spec/dummy/db/migrate/20081212075554_create_checkout_stat_has_manifestations.rb +4 -4
  95. data/spec/dummy/db/migrate/20081215094955_create_checkout_stat_has_users.rb +3 -3
  96. data/spec/dummy/db/migrate/20081216190517_create_reserve_stat_has_manifestations.rb +3 -3
  97. data/spec/dummy/db/migrate/20081220034117_create_reserve_stat_has_users.rb +2 -2
  98. data/spec/dummy/db/migrate/20090720091106_create_medium_of_performances.rb +1 -1
  99. data/spec/dummy/db/migrate/20090720091429_create_content_types.rb +1 -1
  100. data/spec/dummy/db/migrate/20090812151902_create_agent_relationship_types.rb +1 -1
  101. data/spec/dummy/db/migrate/20090831220301_create_lending_policies.rb +6 -6
  102. data/spec/dummy/db/migrate/20091025080447_create_licenses.rb +1 -1
  103. data/spec/dummy/db/migrate/20100607044753_create_manifestation_relationship_types.rb +1 -1
  104. data/spec/dummy/db/migrate/20110222073537_add_url_to_library_group.rb +1 -1
  105. data/spec/dummy/db/migrate/20110318183304_add_valid_period_for_new_user_to_user_group.rb +1 -1
  106. data/spec/dummy/db/migrate/20110627035057_create_series_statement_merges.rb +3 -3
  107. data/spec/dummy/db/migrate/20110627122938_add_number_of_day_to_notify_overdue_to_user_group.rb +3 -3
  108. data/spec/dummy/db/migrate/20120125050502_add_depth_to_message.rb +0 -1
  109. data/spec/dummy/db/migrate/20120125152919_add_title_subseries_transcription_to_series_statement.rb +0 -1
  110. data/spec/dummy/db/migrate/20120129020544_add_budget_type_id_to_item.rb +0 -1
  111. data/spec/dummy/db/migrate/20120319120638_add_content_type_id_to_manifestation.rb +1 -2
  112. data/spec/dummy/db/migrate/20120319173203_create_accepts.rb +6 -3
  113. data/spec/dummy/db/migrate/20120510140958_add_closed_to_shelf.rb +1 -1
  114. data/spec/dummy/db/migrate/20130416054135_add_circulation_status_id_to_item.rb +2 -2
  115. data/spec/dummy/db/migrate/20130506175834_create_identifiers.rb +2 -2
  116. data/spec/dummy/db/migrate/20130519065638_add_lock_version_to_reserve.rb +1 -1
  117. data/spec/dummy/db/migrate/20130519065837_add_lock_version_to_checkin.rb +1 -1
  118. data/spec/dummy/db/migrate/20140518050147_create_reserve_transitions.rb +2 -2
  119. data/spec/dummy/db/migrate/20140518111006_create_message_transitions.rb +2 -2
  120. data/spec/dummy/db/migrate/20140518135713_create_message_request_transitions.rb +3 -3
  121. data/spec/dummy/db/migrate/20140519170214_create_resource_import_file_transitions.rb +4 -4
  122. data/spec/dummy/db/migrate/20140519171220_create_import_request_transitions.rb +3 -3
  123. data/spec/dummy/db/migrate/20140524020735_create_agent_import_file_transitions.rb +3 -3
  124. data/spec/dummy/db/migrate/20140524074813_create_user_import_file_transitions.rb +3 -3
  125. data/spec/dummy/db/migrate/20140528045518_create_user_checkout_stat_transitions.rb +3 -3
  126. data/spec/dummy/db/migrate/20140528045539_create_user_reserve_stat_transitions.rb +3 -3
  127. data/spec/dummy/db/migrate/20140528045600_create_manifestation_checkout_stat_transitions.rb +4 -4
  128. data/spec/dummy/db/migrate/20140528045617_create_manifestation_reserve_stat_transitions.rb +4 -4
  129. data/spec/dummy/db/migrate/20140614065404_create_resource_export_files.rb +0 -1
  130. data/spec/dummy/db/migrate/20140614141500_create_resource_export_file_transitions.rb +4 -4
  131. data/spec/dummy/db/migrate/20140709113413_create_user_export_files.rb +0 -1
  132. data/spec/dummy/db/migrate/20140709113905_create_user_export_file_transitions.rb +4 -4
  133. data/spec/dummy/db/migrate/20140810091231_add_checkout_icalendar_token_to_profile.rb +1 -1
  134. data/spec/dummy/db/migrate/20140810091417_add_save_checkout_history_to_profile.rb +1 -1
  135. data/spec/dummy/db/migrate/20140821151023_create_colors.rb +3 -1
  136. data/spec/dummy/db/migrate/20141029131633_create_periodicals.rb +11 -0
  137. data/spec/dummy/db/migrate/20150124152756_add_foreign_key_to_shelves_referencing_libraries.rb +6 -0
  138. data/spec/dummy/db/migrate/20150221063719_add_settings_to_library_group.rb +1 -1
  139. data/spec/dummy/db/migrate/20150302110310_add_attachment_id_to_manifestation.rb +7 -0
  140. data/spec/dummy/db/migrate/20150304183215_add_picture_id_to_picture_file.rb +7 -0
  141. data/spec/dummy/db/migrate/20150305025906_add_resource_import_id_to_resource_import_file.rb +7 -0
  142. data/spec/dummy/db/migrate/20150305030046_add_resource_export_id_to_resource_export_file.rb +8 -0
  143. data/spec/dummy/db/migrate/20150305031709_add_agent_import_id_to_agent_import_file.rb +7 -0
  144. data/spec/dummy/db/migrate/20150305105231_add_attachment_fingerprint_to_manifestation.rb +5 -0
  145. data/spec/dummy/db/migrate/20150420145354_add_attachment_to_carrier_type.rb +8 -0
  146. data/spec/dummy/db/migrate/20150420145420_add_attachment_to_content_type.rb +8 -0
  147. data/spec/dummy/db/migrate/20150924115059_create_withdraws.rb +5 -3
  148. data/spec/dummy/db/migrate/20151213070943_add_translation_table_to_library_group.rb +2 -4
  149. data/spec/dummy/db/migrate/20151213072705_add_footer_banner_to_library_group.rb +2 -19
  150. data/spec/dummy/db/migrate/20151216123621_create_doi_records.rb +12 -0
  151. data/spec/dummy/db/migrate/20160319144230_create_issn_records.rb +12 -0
  152. data/spec/dummy/db/migrate/20160506144040_create_isbn_records.rb +12 -0
  153. data/spec/dummy/db/migrate/20160513000929_create_agent_names.rb +18 -0
  154. data/spec/dummy/db/migrate/20160801080612_add_most_recent_to_import_request_transitions.rb +9 -0
  155. data/spec/dummy/db/migrate/20160801080619_add_most_recent_to_resource_import_file_transitions.rb +9 -0
  156. data/spec/dummy/db/migrate/20160801080637_add_most_recent_to_resource_export_file_transitions.rb +9 -0
  157. data/spec/dummy/db/migrate/20160801080643_add_most_recent_to_agent_import_file_transitions.rb +9 -0
  158. data/spec/dummy/db/migrate/20161111175127_add_attachment_data_to_manifestation.rb +5 -0
  159. data/spec/dummy/db/migrate/20161111193255_add_attachment_data_to_carrier_type.rb +5 -0
  160. data/spec/dummy/db/migrate/20161111193346_add_attachment_data_to_content_type.rb +5 -0
  161. data/spec/dummy/db/migrate/20161112122706_add_attachment_data_to_resource_import_file.rb +5 -0
  162. data/spec/dummy/db/migrate/20161112122750_add_attachment_data_to_resource_export_file.rb +5 -0
  163. data/spec/dummy/db/migrate/20161112122814_add_attachment_data_to_agent_import_file.rb +5 -0
  164. data/spec/dummy/db/schema.rb +1418 -1402
  165. data/spec/factories/profile.rb +10 -10
  166. data/spec/factories/user.rb +10 -10
  167. data/spec/factories/user_group.rb +2 -2
  168. data/spec/fixtures/library_groups.yml +1 -0
  169. data/spec/models/profile_spec.rb +20 -19
  170. data/spec/models/role_spec.rb +7 -7
  171. data/spec/models/user_has_role_spec.rb +1 -2
  172. data/spec/models/user_spec.rb +25 -26
  173. data/spec/rails_helper.rb +7 -6
  174. data/spec/requests/profiles_spec.rb +3 -3
  175. data/spec/routing/profiles_routing_spec.rb +16 -18
  176. data/spec/routing/roles_routing_spec.rb +16 -18
  177. data/spec/routing/users_spec.rb +6 -7
  178. data/spec/spec_helper.rb +47 -49
  179. data/spec/support/controller_macros.rb +9 -9
  180. data/spec/views/my_accounts/show.html.erb_spec.rb +6 -6
  181. data/spec/views/profiles/edit.html.erb_spec.rb +7 -7
  182. data/spec/views/profiles/index.html.erb_spec.rb +3 -3
  183. data/spec/views/profiles/new.html.erb_spec.rb +5 -6
  184. data/spec/views/profiles/show.html.erb_spec.rb +3 -3
  185. metadata +323 -323
  186. data/app/views/my_accounts/_edit_credential.html.erb +0 -99
  187. data/app/views/my_accounts/_form.html.erb +0 -24
  188. data/app/views/my_accounts/_show.html.erb +0 -1
  189. data/app/views/my_accounts/edit.html.erb +0 -32
  190. data/app/views/my_accounts/show.html.erb +0 -49
  191. data/app/views/profiles/_edit_profile.html.erb +0 -42
  192. data/app/views/profiles/_form.html.erb +0 -15
  193. data/app/views/profiles/_show.html.erb +0 -1
  194. data/app/views/profiles/edit.html.erb +0 -33
  195. data/app/views/profiles/index.html.erb +0 -70
  196. data/app/views/profiles/new.html.erb +0 -88
  197. data/app/views/profiles/show.html+phone.erb +0 -1
  198. data/app/views/profiles/show.html.erb +0 -67
  199. data/app/views/roles/_form.html.erb +0 -19
  200. data/app/views/roles/edit.html.erb +0 -13
  201. data/app/views/roles/index.html.erb +0 -32
  202. data/app/views/roles/new.html.erb +0 -12
  203. data/app/views/roles/show.html.erb +0 -46
  204. data/lib/generators/enju_seed/update/update_generator.rb +0 -9
  205. data/spec/dummy/db/migrate/20170305064014_add_csv_charset_conversion_to_library_group.rb +0 -5
  206. data/spec/dummy/db/migrate/20171014084528_add_header_logo_to_library_group.rb +0 -5
  207. data/spec/dummy/db/migrate/20171126133835_rename_login_banner_to_old_login_banner.rb +0 -5
  208. data/spec/dummy/db/migrate/20171126135238_add_foreign_key_to_library_group_id_on_library.rb +0 -5
  209. data/spec/dummy/db/migrate/20180102162311_add_header_logo_meta_to_library_group.rb +0 -5
@@ -1,35 +1,33 @@
1
- require "spec_helper"
1
+ require 'spec_helper'
2
2
 
3
3
  describe RolesController do
4
- describe "routing" do
5
-
6
- it "recognizes and generates #index" do
7
- { :get => "/roles" }.should route_to(:controller => "roles", :action => "index")
4
+ describe 'routing' do
5
+ it 'recognizes and generates #index' do
6
+ { get: '/roles' }.should route_to(controller: 'roles', action: 'index')
8
7
  end
9
8
 
10
- #it "recognizes and generates #new" do
9
+ # it "recognizes and generates #new" do
11
10
  # { :get => "/roles/new" }.should route_to(:controller => "roles", :action => "new")
12
- #end
11
+ # end
13
12
 
14
- it "recognizes and generates #show" do
15
- { :get => "/roles/1" }.should route_to(:controller => "roles", :action => "show", :id => "1")
13
+ it 'recognizes and generates #show' do
14
+ { get: '/roles/1' }.should route_to(controller: 'roles', action: 'show', id: '1')
16
15
  end
17
16
 
18
- it "recognizes and generates #edit" do
19
- { :get => "/roles/1/edit" }.should route_to(:controller => "roles", :action => "edit", :id => "1")
17
+ it 'recognizes and generates #edit' do
18
+ { get: '/roles/1/edit' }.should route_to(controller: 'roles', action: 'edit', id: '1')
20
19
  end
21
20
 
22
- #it "recognizes and generates #create" do
21
+ # it "recognizes and generates #create" do
23
22
  # { :post => "/roles" }.should route_to(:controller => "roles", :action => "create")
24
- #end
23
+ # end
25
24
 
26
- it "recognizes and generates #update" do
27
- { :put => "/roles/1" }.should route_to(:controller => "roles", :action => "update", :id => "1")
25
+ it 'recognizes and generates #update' do
26
+ { put: '/roles/1' }.should route_to(controller: 'roles', action: 'update', id: '1')
28
27
  end
29
28
 
30
- #it "recognizes and generates #destroy" do
29
+ # it "recognizes and generates #destroy" do
31
30
  # { :delete => "/roles/1" }.should route_to(:controller => "roles", :action => "destroy", :id => "1")
32
- #end
33
-
31
+ # end
34
32
  end
35
33
  end
@@ -1,14 +1,13 @@
1
- require "spec_helper"
1
+ require 'spec_helper'
2
2
 
3
3
  describe ProfilesController do
4
- describe "routing" do
5
-
6
- it "recognizes and generates #new" do
7
- { get: "/users/sign_in" }.should route_to(controller: "devise/sessions", action: "new")
4
+ describe 'routing' do
5
+ it 'recognizes and generates #new' do
6
+ { get: '/users/sign_in' }.should route_to(controller: 'devise/sessions', action: 'new')
8
7
  end
9
8
 
10
- it "recognizes and generates #destroy" do
11
- { delete: "/users/sign_out" }.should route_to(controller: "devise/sessions", action: "destroy")
9
+ it 'recognizes and generates #destroy' do
10
+ { delete: '/users/sign_out' }.should route_to(controller: 'devise/sessions', action: 'destroy')
12
11
  end
13
12
  end
14
13
  end
@@ -47,53 +47,51 @@ RSpec.configure do |config|
47
47
  # triggering implicit auto-inclusion in groups with matching metadata.
48
48
  config.shared_context_metadata_behavior = :apply_to_host_groups
49
49
 
50
- # The settings below are suggested to provide a good initial experience
51
- # with RSpec, but feel free to customize to your heart's content.
52
- =begin
53
- # This allows you to limit a spec run to individual examples or groups
54
- # you care about by tagging them with `:focus` metadata. When nothing
55
- # is tagged with `:focus`, all examples get run. RSpec also provides
56
- # aliases for `it`, `describe`, and `context` that include `:focus`
57
- # metadata: `fit`, `fdescribe` and `fcontext`, respectively.
58
- config.filter_run_when_matching :focus
59
-
60
- # Allows RSpec to persist some state between runs in order to support
61
- # the `--only-failures` and `--next-failure` CLI options. We recommend
62
- # you configure your source control system to ignore this file.
63
- config.example_status_persistence_file_path = "spec/examples.txt"
64
-
65
- # Limits the available syntax to the non-monkey patched syntax that is
66
- # recommended. For more details, see:
67
- # - http://rspec.info/blog/2012/06/rspecs-new-expectation-syntax/
68
- # - http://www.teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/
69
- # - http://rspec.info/blog/2014/05/notable-changes-in-rspec-3/#zero-monkey-patching-mode
70
- config.disable_monkey_patching!
71
-
72
- # Many RSpec users commonly either run the entire suite or an individual
73
- # file, and it's useful to allow more verbose output when running an
74
- # individual spec file.
75
- if config.files_to_run.one?
76
- # Use the documentation formatter for detailed output,
77
- # unless a formatter has already been configured
78
- # (e.g. via a command-line flag).
79
- config.default_formatter = 'doc'
80
- end
81
-
82
- # Print the 10 slowest examples and example groups at the
83
- # end of the spec run, to help surface which specs are running
84
- # particularly slow.
85
- config.profile_examples = 10
86
-
87
- # Run specs in random order to surface order dependencies. If you find an
88
- # order dependency and want to debug it, you can fix the order by providing
89
- # the seed, which is printed after each run.
90
- # --seed 1234
91
- config.order = :random
92
-
93
- # Seed global randomization in this process using the `--seed` CLI option.
94
- # Setting this allows you to use `--seed` to deterministically reproduce
95
- # test failures related to randomization by passing the same `--seed` value
96
- # as the one that triggered the failure.
97
- Kernel.srand config.seed
98
- =end
50
+ # The settings below are suggested to provide a good initial experience
51
+ # with RSpec, but feel free to customize to your heart's content.
52
+ # # This allows you to limit a spec run to individual examples or groups
53
+ # # you care about by tagging them with `:focus` metadata. When nothing
54
+ # # is tagged with `:focus`, all examples get run. RSpec also provides
55
+ # # aliases for `it`, `describe`, and `context` that include `:focus`
56
+ # # metadata: `fit`, `fdescribe` and `fcontext`, respectively.
57
+ # config.filter_run_when_matching :focus
58
+ #
59
+ # # Allows RSpec to persist some state between runs in order to support
60
+ # # the `--only-failures` and `--next-failure` CLI options. We recommend
61
+ # # you configure your source control system to ignore this file.
62
+ # config.example_status_persistence_file_path = "spec/examples.txt"
63
+ #
64
+ # # Limits the available syntax to the non-monkey patched syntax that is
65
+ # # recommended. For more details, see:
66
+ # # - http://rspec.info/blog/2012/06/rspecs-new-expectation-syntax/
67
+ # # - http://www.teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/
68
+ # # - http://rspec.info/blog/2014/05/notable-changes-in-rspec-3/#zero-monkey-patching-mode
69
+ # config.disable_monkey_patching!
70
+ #
71
+ # # Many RSpec users commonly either run the entire suite or an individual
72
+ # # file, and it's useful to allow more verbose output when running an
73
+ # # individual spec file.
74
+ # if config.files_to_run.one?
75
+ # # Use the documentation formatter for detailed output,
76
+ # # unless a formatter has already been configured
77
+ # # (e.g. via a command-line flag).
78
+ # config.default_formatter = 'doc'
79
+ # end
80
+ #
81
+ # # Print the 10 slowest examples and example groups at the
82
+ # # end of the spec run, to help surface which specs are running
83
+ # # particularly slow.
84
+ # config.profile_examples = 10
85
+ #
86
+ # # Run specs in random order to surface order dependencies. If you find an
87
+ # # order dependency and want to debug it, you can fix the order by providing
88
+ # # the seed, which is printed after each run.
89
+ # # --seed 1234
90
+ # config.order = :random
91
+ #
92
+ # # Seed global randomization in this process using the `--seed` CLI option.
93
+ # # Setting this allows you to use `--seed` to deterministically reproduce
94
+ # # test failures related to randomization by passing the same `--seed` value
95
+ # # as the one that triggered the failure.
96
+ # Kernel.srand config.seed
99
97
  end
@@ -1,28 +1,28 @@
1
1
  module ControllerMacros
2
2
  def login_admin
3
3
  before(:each) do
4
- @request.env["devise.mapping"] = Devise.mappings[:admin]
5
- sign_in FactoryBot.create(:admin)
4
+ @request.env['devise.mapping'] = Devise.mappings[:admin]
5
+ sign_in FactoryGirl.create(:admin)
6
6
  end
7
7
  end
8
8
 
9
9
  def login_librarian
10
10
  before(:each) do
11
- @request.env["devise.mapping"] = Devise.mappings[:librarian]
12
- sign_in FactoryBot.create(:librarian)
11
+ @request.env['devise.mapping'] = Devise.mappings[:librarian]
12
+ sign_in FactoryGirl.create(:librarian)
13
13
  end
14
14
  end
15
15
 
16
16
  def login_user
17
17
  before(:each) do
18
- @request.env["devise.mapping"] = Devise.mappings[:user]
19
- sign_in FactoryBot.create(:user)
18
+ @request.env['devise.mapping'] = Devise.mappings[:user]
19
+ sign_in FactoryGirl.create(:user)
20
20
  end
21
21
  end
22
22
 
23
23
  def login_fixture_admin
24
24
  before(:each) do
25
- @request.env["devise.mapping"] = Devise.mappings[:admin]
25
+ @request.env['devise.mapping'] = Devise.mappings[:admin]
26
26
  @user = users(:admin)
27
27
  sign_in @user
28
28
  end
@@ -30,7 +30,7 @@ module ControllerMacros
30
30
 
31
31
  def login_fixture_librarian
32
32
  before(:each) do
33
- @request.env["devise.mapping"] = Devise.mappings[:librarian]
33
+ @request.env['devise.mapping'] = Devise.mappings[:librarian]
34
34
  @user = users(:librarian1)
35
35
  sign_in @user
36
36
  end
@@ -38,7 +38,7 @@ module ControllerMacros
38
38
 
39
39
  def login_fixture_user
40
40
  before(:each) do
41
- @request.env["devise.mapping"] = Devise.mappings[:user]
41
+ @request.env['devise.mapping'] = Devise.mappings[:user]
42
42
  @user = users(:user1)
43
43
  sign_in @user
44
44
  end
@@ -1,39 +1,39 @@
1
1
  require 'spec_helper'
2
2
 
3
- describe "my_accounts/show" do
3
+ describe 'my_accounts/show' do
4
4
  fixtures :all
5
5
 
6
6
  before(:each) do
7
7
  @profile = assign(:profile, profiles(:admin))
8
8
  end
9
9
 
10
- describe "when logged in as Librarian" do
10
+ describe 'when logged in as Librarian' do
11
11
  before(:each) do
12
12
  @profile = assign(:profile, profiles(:librarian2))
13
13
  user = users(:librarian1)
14
14
  view.stub(:current_user).and_return(user)
15
15
  end
16
16
 
17
- it "renders attributes in <p>" do
17
+ it 'renders attributes in <p>' do
18
18
  allow(view).to receive(:policy).and_return double(update?: true, destroy?: true)
19
19
  render
20
20
  # Run the generator again with the --webrat flag if you want to use webrat matchers
21
21
  end
22
22
 
23
- it "cannot be deletable by other librarian" do
23
+ it 'cannot be deletable by other librarian' do
24
24
  allow(view).to receive(:policy).and_return double(update?: true, destroy?: true)
25
25
  render
26
26
  end
27
27
  end
28
28
 
29
- describe "when logged in as User" do
29
+ describe 'when logged in as User' do
30
30
  before(:each) do
31
31
  @profile = assign(:profile, profiles(:user2))
32
32
  user = users(:librarian1)
33
33
  view.stub(:current_user).and_return(user)
34
34
  end
35
35
 
36
- it "renders attributes in <p>" do
36
+ it 'renders attributes in <p>' do
37
37
  allow(view).to receive(:policy).and_return double(update?: true, destroy?: true)
38
38
  render
39
39
  end
@@ -1,6 +1,6 @@
1
1
  require 'spec_helper'
2
2
 
3
- describe "profiles/edit" do
3
+ describe 'profiles/edit' do
4
4
  fixtures :all
5
5
 
6
6
  before(:each) do
@@ -12,28 +12,28 @@ describe "profiles/edit" do
12
12
  view.stub(:current_user).and_return(User.friendly.find('enjuadmin'))
13
13
  end
14
14
 
15
- describe "when logged in as librarian" do
15
+ describe 'when logged in as librarian' do
16
16
  before(:each) do
17
17
  @profile = assign(:profile, profiles(:librarian2))
18
18
  user = users(:librarian1)
19
19
  view.stub(:current_user).and_return(user)
20
20
  end
21
21
 
22
- it "renders the edit user form" do
22
+ it 'renders the edit user form' do
23
23
  allow(view).to receive(:policy).and_return double(destroy?: true)
24
24
  render
25
- assert_select "form", action: profiles_path(@profile), method: "post" do
26
- assert_select "input#profile_user_number", name: "profile[user_number]"
25
+ assert_select 'form', action: profiles_path(@profile), method: 'post' do
26
+ assert_select 'input#profile_user_number', name: 'profile[user_number]'
27
27
  end
28
28
  end
29
29
 
30
30
  it "should not display 'delete' link" do
31
31
  allow(view).to receive(:policy).and_return double(destroy?: false)
32
32
  render
33
- expect(rendered).not_to have_selector("a[href='#{profile_path(@profile.id)}'][data-method='delete']")
33
+ expect(rendered).not_to have_selector("a[href='#{profile_path(@profile.id)}'][data-method='delete']")
34
34
  end
35
35
 
36
- it "should disable role selection" do
36
+ it 'should disable role selection' do
37
37
  allow(view).to receive(:policy).and_return double(destroy?: true)
38
38
  render
39
39
  expect(rendered).to have_selector("select#profile_user_attributes_user_has_role_attributes_role_id[disabled='disabled']")
@@ -1,6 +1,6 @@
1
1
  require 'spec_helper'
2
2
 
3
- describe "profiles/index" do
3
+ describe 'profiles/index' do
4
4
  fixtures :all
5
5
 
6
6
  before(:each) do
@@ -10,10 +10,10 @@ describe "profiles/index" do
10
10
  view.stub(:params).and_return(ActionController::Parameters.new)
11
11
  end
12
12
 
13
- it "renders a list of profiles" do
13
+ it 'renders a list of profiles' do
14
14
  allow(view).to receive(:policy).and_return double(create?: true, update?: true, destroy?: true)
15
15
  render
16
16
  # Run the generator again with the --webrat flag if you want to use webrat matchers
17
- assert_select "tr>td", :text => 'enjuadmin'
17
+ assert_select 'tr>td', text: 'enjuadmin'
18
18
  end
19
19
  end
@@ -1,12 +1,11 @@
1
1
  require 'spec_helper'
2
2
 
3
- describe "profiles/new" do
3
+ describe 'profiles/new' do
4
4
  fixtures :user_groups
5
5
 
6
6
  before(:each) do
7
7
  assign(:profile, stub_model(Profile,
8
- :user_group_id => 1
9
- ).as_new_record)
8
+ user_group_id: 1).as_new_record)
10
9
  assign(:user_groups, UserGroup.all)
11
10
  assign(:libraries, Library.all)
12
11
  assign(:roles, Role.all)
@@ -14,12 +13,12 @@ describe "profiles/new" do
14
13
  view.stub(:current_user).and_return(User.friendly.find('enjuadmin'))
15
14
  end
16
15
 
17
- it "renders new user form" do
16
+ it 'renders new user form' do
18
17
  render
19
18
 
20
19
  # Run the generator again with the --webrat flag if you want to use webrat matchers
21
- assert_select "form", action: profiles_path, method: "post" do
22
- assert_select "input#profile_user_number", name: "profile[user_number]"
20
+ assert_select 'form', action: profiles_path, method: 'post' do
21
+ assert_select 'input#profile_user_number', name: 'profile[user_number]'
23
22
  end
24
23
  end
25
24
  end
@@ -1,6 +1,6 @@
1
1
  require 'spec_helper'
2
2
 
3
- describe "profiles/show" do
3
+ describe 'profiles/show' do
4
4
  fixtures :all
5
5
 
6
6
  before(:each) do
@@ -8,14 +8,14 @@ describe "profiles/show" do
8
8
  view.stub(:current_user).and_return(User.friendly.find('enjuadmin'))
9
9
  end
10
10
 
11
- describe "when logged in as Librarian" do
11
+ describe 'when logged in as Librarian' do
12
12
  before(:each) do
13
13
  @profile = assign(:profile, profiles(:librarian2))
14
14
  user = users(:librarian1)
15
15
  view.stub(:current_user).and_return(user)
16
16
  end
17
17
 
18
- it "cannot be deletable by other librarian" do
18
+ it 'cannot be deletable by other librarian' do
19
19
  allow(view).to receive(:policy).and_return double(update?: true, destroy?: true)
20
20
  render
21
21
  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.2.3
4
+ version: 0.3.0.beta.1
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-01-07 00:00:00.000000000 Z
11
+ date: 2016-11-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -16,42 +16,42 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 4.2.6
19
+ version: 5.0.0
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: 4.2.6
26
+ version: 5.0.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: friendly_id
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '5.2'
33
+ version: '5.1'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '5.2'
40
+ version: '5.1'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: devise
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '4.4'
47
+ version: '4.2'
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.4'
54
+ version: '4.2'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: pundit
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -72,14 +72,14 @@ dependencies:
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: '0.9'
75
+ version: '0.8'
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: '0.9'
82
+ version: '0.8'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: strip_attributes
85
85
  requirement: !ruby/object:Gem::Requirement
@@ -114,14 +114,14 @@ dependencies:
114
114
  requirements:
115
115
  - - "~>"
116
116
  - !ruby/object:Gem::Version
117
- version: '2.5'
117
+ version: '2.3'
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.3'
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: sunspot_rails
127
127
  requirement: !ruby/object:Gem::Requirement
@@ -156,14 +156,14 @@ dependencies:
156
156
  requirements:
157
157
  - - "~>"
158
158
  - !ruby/object:Gem::Version
159
- version: '6.0'
159
+ version: '5.2'
160
160
  type: :runtime
161
161
  prerelease: false
162
162
  version_requirements: !ruby/object:Gem::Requirement
163
163
  requirements:
164
164
  - - "~>"
165
165
  - !ruby/object:Gem::Version
166
- version: '6.0'
166
+ version: '5.2'
167
167
  - !ruby/object:Gem::Dependency
168
168
  name: rails_autolink
169
169
  requirement: !ruby/object:Gem::Requirement
@@ -179,7 +179,7 @@ dependencies:
179
179
  - !ruby/object:Gem::Version
180
180
  version: '0'
181
181
  - !ruby/object:Gem::Dependency
182
- name: paperclip
182
+ name: shrine
183
183
  requirement: !ruby/object:Gem::Requirement
184
184
  requirements:
185
185
  - - ">="
@@ -212,72 +212,30 @@ dependencies:
212
212
  requirements:
213
213
  - - "~>"
214
214
  - !ruby/object:Gem::Version
215
- version: '2.5'
216
- type: :runtime
217
- prerelease: false
218
- version_requirements: !ruby/object:Gem::Requirement
219
- requirements:
220
- - - "~>"
221
- - !ruby/object:Gem::Version
222
- version: '2.5'
223
- - !ruby/object:Gem::Dependency
224
- name: simple_form
225
- requirement: !ruby/object:Gem::Requirement
226
- requirements:
227
- - - ">="
228
- - !ruby/object:Gem::Version
229
- version: '0'
230
- type: :runtime
231
- prerelease: false
232
- version_requirements: !ruby/object:Gem::Requirement
233
- requirements:
234
- - - ">="
235
- - !ruby/object:Gem::Version
236
- version: '0'
237
- - !ruby/object:Gem::Dependency
238
- name: validates_timeliness
239
- requirement: !ruby/object:Gem::Requirement
240
- requirements:
241
- - - "~>"
242
- - !ruby/object:Gem::Version
243
- version: '4.0'
244
- type: :runtime
245
- prerelease: false
246
- version_requirements: !ruby/object:Gem::Requirement
247
- requirements:
248
- - - "~>"
249
- - !ruby/object:Gem::Version
250
- version: '4.0'
251
- - !ruby/object:Gem::Dependency
252
- name: rsolr
253
- requirement: !ruby/object:Gem::Requirement
254
- requirements:
255
- - - "~>"
256
- - !ruby/object:Gem::Version
257
- version: '1.1'
215
+ version: '2.3'
258
216
  type: :runtime
259
217
  prerelease: false
260
218
  version_requirements: !ruby/object:Gem::Requirement
261
219
  requirements:
262
220
  - - "~>"
263
221
  - !ruby/object:Gem::Version
264
- version: '1.1'
222
+ version: '2.3'
265
223
  - !ruby/object:Gem::Dependency
266
- name: globalize
224
+ name: json_pure
267
225
  requirement: !ruby/object:Gem::Requirement
268
226
  requirements:
269
227
  - - "~>"
270
228
  - !ruby/object:Gem::Version
271
- version: 5.1.0.beta2
229
+ version: 1.8.3
272
230
  type: :runtime
273
231
  prerelease: false
274
232
  version_requirements: !ruby/object:Gem::Requirement
275
233
  requirements:
276
234
  - - "~>"
277
235
  - !ruby/object:Gem::Version
278
- version: 5.1.0.beta2
236
+ version: 1.8.3
279
237
  - !ruby/object:Gem::Dependency
280
- name: globalize-accessors
238
+ name: simple_form
281
239
  requirement: !ruby/object:Gem::Requirement
282
240
  requirements:
283
241
  - - ">="
@@ -291,21 +249,21 @@ dependencies:
291
249
  - !ruby/object:Gem::Version
292
250
  version: '0'
293
251
  - !ruby/object:Gem::Dependency
294
- name: enju_leaf
252
+ name: validates_timeliness
295
253
  requirement: !ruby/object:Gem::Requirement
296
254
  requirements:
297
255
  - - "~>"
298
256
  - !ruby/object:Gem::Version
299
- version: 1.2.1
300
- type: :development
257
+ version: '4.0'
258
+ type: :runtime
301
259
  prerelease: false
302
260
  version_requirements: !ruby/object:Gem::Requirement
303
261
  requirements:
304
262
  - - "~>"
305
263
  - !ruby/object:Gem::Version
306
- version: 1.2.1
264
+ version: '4.0'
307
265
  - !ruby/object:Gem::Dependency
308
- name: sqlite3
266
+ name: pg
309
267
  requirement: !ruby/object:Gem::Requirement
310
268
  requirements:
311
269
  - - ">="
@@ -333,7 +291,7 @@ dependencies:
333
291
  - !ruby/object:Gem::Version
334
292
  version: '0'
335
293
  - !ruby/object:Gem::Dependency
336
- name: factory_bot_rails
294
+ name: factory_girl_rails
337
295
  requirement: !ruby/object:Gem::Requirement
338
296
  requirements:
339
297
  - - ">="
@@ -389,7 +347,7 @@ dependencies:
389
347
  - !ruby/object:Gem::Version
390
348
  version: '0'
391
349
  - !ruby/object:Gem::Dependency
392
- name: coveralls
350
+ name: simplecov
393
351
  requirement: !ruby/object:Gem::Requirement
394
352
  requirements:
395
353
  - - ">="
@@ -412,6 +370,7 @@ files:
412
370
  - MIT-LICENSE
413
371
  - README.rdoc
414
372
  - Rakefile
373
+ - app/assets/config/enju_seed_manifest.js
415
374
  - app/controllers/my_accounts_controller.rb
416
375
  - app/controllers/profiles_controller.rb
417
376
  - app/controllers/roles_controller.rb
@@ -424,26 +383,28 @@ files:
424
383
  - app/policies/application_policy.rb
425
384
  - app/policies/profile_policy.rb
426
385
  - app/policies/role_policy.rb
427
- - app/views/my_accounts/_edit_credential.html.erb
428
- - app/views/my_accounts/_form.html.erb
429
- - app/views/my_accounts/_show.html.erb
430
- - app/views/my_accounts/edit.html.erb
386
+ - app/views/my_accounts/_edit_credential.html.slim
387
+ - app/views/my_accounts/_form.html.slim
388
+ - app/views/my_accounts/_show.html.slim
389
+ - app/views/my_accounts/edit.html.slim
431
390
  - app/views/my_accounts/show.html+phone.erb
432
- - app/views/my_accounts/show.html.erb
391
+ - app/views/my_accounts/show.html+phone.slim
392
+ - app/views/my_accounts/show.html.slim
433
393
  - app/views/profiles/_edit_credential.html.erb
434
- - app/views/profiles/_edit_profile.html.erb
435
- - app/views/profiles/_form.html.erb
436
- - app/views/profiles/_show.html.erb
437
- - app/views/profiles/edit.html.erb
438
- - app/views/profiles/index.html.erb
439
- - app/views/profiles/new.html.erb
440
- - app/views/profiles/show.html+phone.erb
441
- - app/views/profiles/show.html.erb
442
- - app/views/roles/_form.html.erb
443
- - app/views/roles/edit.html.erb
444
- - app/views/roles/index.html.erb
445
- - app/views/roles/new.html.erb
446
- - app/views/roles/show.html.erb
394
+ - app/views/profiles/_edit_credential.html.slim
395
+ - app/views/profiles/_edit_profile.html.slim
396
+ - app/views/profiles/_form.html.slim
397
+ - app/views/profiles/_show.html.slim
398
+ - app/views/profiles/edit.html.slim
399
+ - app/views/profiles/index.html.slim
400
+ - app/views/profiles/new.html.slim
401
+ - app/views/profiles/show.html+phone.slim
402
+ - app/views/profiles/show.html.slim
403
+ - app/views/roles/_form.html.slim
404
+ - app/views/roles/edit.html.slim
405
+ - app/views/roles/index.html.slim
406
+ - app/views/roles/new.html.slim
407
+ - app/views/roles/show.html.slim
447
408
  - config/routes.rb
448
409
  - db/migrate/041_create_roles.rb
449
410
  - db/migrate/20100606065209_create_user_has_roles.rb
@@ -459,7 +420,6 @@ files:
459
420
  - lib/enju_seed/engine.rb
460
421
  - lib/enju_seed/localized_name.rb
461
422
  - lib/enju_seed/version.rb
462
- - lib/generators/enju_seed/update/update_generator.rb
463
423
  - lib/tasks/enju_seed_tasks.rake
464
424
  - spec/controllers/my_accounts_controller_spec.rb
465
425
  - spec/controllers/profiles_controller_spec.rb
@@ -530,6 +490,7 @@ files:
530
490
  - spec/dummy/db/migrate/154_create_messages.rb
531
491
  - spec/dummy/db/migrate/20080819181903_create_message_requests.rb
532
492
  - spec/dummy/db/migrate/20080830154109_create_realizes.rb
493
+ - spec/dummy/db/migrate/20080830172106_create_exemplifies.rb
533
494
  - spec/dummy/db/migrate/20080905191442_create_agent_types.rb
534
495
  - spec/dummy/db/migrate/20081006090811_create_subscriptions.rb
535
496
  - spec/dummy/db/migrate/20081006093246_create_subscribes.rb
@@ -664,14 +625,28 @@ files:
664
625
  - spec/dummy/db/migrate/20140823095740_rename_manifestation_periodical_to_serial.rb
665
626
  - spec/dummy/db/migrate/20141014065831_add_shelf_id_to_checkout.rb
666
627
  - spec/dummy/db/migrate/20141020120523_add_library_id_to_checkout.rb
628
+ - spec/dummy/db/migrate/20141029131633_create_periodicals.rb
667
629
  - spec/dummy/db/migrate/20150106001709_create_demands.rb
668
630
  - spec/dummy/db/migrate/20150117111136_add_foreign_key_to_items_referencing_manifestations.rb
631
+ - spec/dummy/db/migrate/20150124152756_add_foreign_key_to_shelves_referencing_libraries.rb
669
632
  - spec/dummy/db/migrate/20150221063719_add_settings_to_library_group.rb
633
+ - spec/dummy/db/migrate/20150302110310_add_attachment_id_to_manifestation.rb
634
+ - spec/dummy/db/migrate/20150304183215_add_picture_id_to_picture_file.rb
635
+ - spec/dummy/db/migrate/20150305025906_add_resource_import_id_to_resource_import_file.rb
636
+ - spec/dummy/db/migrate/20150305030046_add_resource_export_id_to_resource_export_file.rb
637
+ - spec/dummy/db/migrate/20150305031709_add_agent_import_id_to_agent_import_file.rb
638
+ - spec/dummy/db/migrate/20150305105231_add_attachment_fingerprint_to_manifestation.rb
639
+ - spec/dummy/db/migrate/20150420145354_add_attachment_to_carrier_type.rb
640
+ - spec/dummy/db/migrate/20150420145420_add_attachment_to_content_type.rb
670
641
  - spec/dummy/db/migrate/20150506105356_add_error_message_to_user_import_result.rb
671
642
  - spec/dummy/db/migrate/20150924115059_create_withdraws.rb
672
643
  - spec/dummy/db/migrate/20151125004028_add_profile_id_to_agent.rb
673
644
  - spec/dummy/db/migrate/20151213070943_add_translation_table_to_library_group.rb
674
645
  - spec/dummy/db/migrate/20151213072705_add_footer_banner_to_library_group.rb
646
+ - spec/dummy/db/migrate/20151216123621_create_doi_records.rb
647
+ - spec/dummy/db/migrate/20160319144230_create_issn_records.rb
648
+ - spec/dummy/db/migrate/20160506144040_create_isbn_records.rb
649
+ - spec/dummy/db/migrate/20160513000929_create_agent_names.rb
675
650
  - spec/dummy/db/migrate/20160610093229_add_html_snippet_to_library_group.rb
676
651
  - spec/dummy/db/migrate/20160627232219_add_most_recent_to_user_import_file_transitions.rb
677
652
  - spec/dummy/db/migrate/20160627232316_add_most_recent_to_user_export_file_transitions.rb
@@ -682,15 +657,20 @@ files:
682
657
  - spec/dummy/db/migrate/20160703184805_add_most_recent_to_user_reserve_stat_transitions.rb
683
658
  - spec/dummy/db/migrate/20160703185015_add_most_recent_to_message_transitions.rb
684
659
  - spec/dummy/db/migrate/20160703190209_add_foreign_key_on_manifestation_id_to_reserve.rb
660
+ - spec/dummy/db/migrate/20160801080612_add_most_recent_to_import_request_transitions.rb
661
+ - spec/dummy/db/migrate/20160801080619_add_most_recent_to_resource_import_file_transitions.rb
662
+ - spec/dummy/db/migrate/20160801080637_add_most_recent_to_resource_export_file_transitions.rb
663
+ - spec/dummy/db/migrate/20160801080643_add_most_recent_to_agent_import_file_transitions.rb
685
664
  - spec/dummy/db/migrate/20160813191647_add_max_number_of_results_to_library_group.rb
686
665
  - spec/dummy/db/migrate/20160813191733_add_family_name_first_to_library_group.rb
687
666
  - spec/dummy/db/migrate/20160813192542_add_pub_year_facet_range_interval_to_library_group.rb
688
667
  - spec/dummy/db/migrate/20160813203039_add_user_id_to_library_group.rb
689
- - spec/dummy/db/migrate/20170305064014_add_csv_charset_conversion_to_library_group.rb
690
- - spec/dummy/db/migrate/20171014084528_add_header_logo_to_library_group.rb
691
- - spec/dummy/db/migrate/20171126133835_rename_login_banner_to_old_login_banner.rb
692
- - spec/dummy/db/migrate/20171126135238_add_foreign_key_to_library_group_id_on_library.rb
693
- - spec/dummy/db/migrate/20180102162311_add_header_logo_meta_to_library_group.rb
668
+ - spec/dummy/db/migrate/20161111175127_add_attachment_data_to_manifestation.rb
669
+ - spec/dummy/db/migrate/20161111193255_add_attachment_data_to_carrier_type.rb
670
+ - spec/dummy/db/migrate/20161111193346_add_attachment_data_to_content_type.rb
671
+ - spec/dummy/db/migrate/20161112122706_add_attachment_data_to_resource_import_file.rb
672
+ - spec/dummy/db/migrate/20161112122750_add_attachment_data_to_resource_export_file.rb
673
+ - spec/dummy/db/migrate/20161112122814_add_attachment_data_to_agent_import_file.rb
694
674
  - spec/dummy/db/schema.rb
695
675
  - spec/dummy/public/404.html
696
676
  - spec/dummy/public/422.html
@@ -740,278 +720,298 @@ required_ruby_version: !ruby/object:Gem::Requirement
740
720
  version: '0'
741
721
  required_rubygems_version: !ruby/object:Gem::Requirement
742
722
  requirements:
743
- - - ">="
723
+ - - ">"
744
724
  - !ruby/object:Gem::Version
745
- version: '0'
725
+ version: 1.3.1
746
726
  requirements: []
747
727
  rubyforge_project:
748
- rubygems_version: 2.6.14
728
+ rubygems_version: 2.6.4
749
729
  signing_key:
750
730
  specification_version: 4
751
731
  summary: enju_seed plugin
752
732
  test_files:
753
- - spec/spec_helper.rb
754
- - spec/dummy/app/models/user.rb
755
- - spec/dummy/app/controllers/application_controller.rb
756
- - spec/dummy/app/views/layouts/application.html.erb
757
- - spec/dummy/app/assets/javascripts/application.js
758
- - spec/dummy/app/assets/stylesheets/application.css
759
- - spec/dummy/app/helpers/application_helper.rb
760
- - spec/dummy/bin/rake
761
- - spec/dummy/bin/setup
762
- - spec/dummy/bin/bundle
763
- - spec/dummy/bin/rails
764
- - spec/dummy/config/secrets.yml
765
- - spec/dummy/config/routes.rb
733
+ - spec/views/my_accounts/show.html.erb_spec.rb
734
+ - spec/views/profiles/new.html.erb_spec.rb
735
+ - spec/views/profiles/edit.html.erb_spec.rb
736
+ - spec/views/profiles/show.html.erb_spec.rb
737
+ - spec/views/profiles/index.html.erb_spec.rb
738
+ - spec/fixtures/profiles.yml
739
+ - spec/fixtures/roles.yml
740
+ - spec/fixtures/messages.yml
741
+ - spec/fixtures/user_groups.yml
742
+ - spec/fixtures/libraries.yml
743
+ - spec/fixtures/message_requests.yml
744
+ - spec/fixtures/message_templates.yml
745
+ - spec/fixtures/users.yml
746
+ - spec/fixtures/library_groups.yml
747
+ - spec/fixtures/user_has_roles.yml
748
+ - spec/dummy/Rakefile
749
+ - spec/dummy/README.rdoc
766
750
  - spec/dummy/config/locales/en.yml
751
+ - spec/dummy/config/boot.rb
752
+ - spec/dummy/config/environment.rb
753
+ - spec/dummy/config/database.yml
767
754
  - spec/dummy/config/environments/production.rb
768
755
  - spec/dummy/config/environments/development.rb
769
756
  - spec/dummy/config/environments/test.rb
770
- - spec/dummy/config/environment.rb
771
- - spec/dummy/config/application.rb
772
- - spec/dummy/config/database.yml
773
- - spec/dummy/config/boot.rb
757
+ - spec/dummy/config/initializers/devise.rb
774
758
  - spec/dummy/config/initializers/backtrace_silencers.rb
775
- - spec/dummy/config/initializers/mime_types.rb
776
- - spec/dummy/config/initializers/filter_parameter_logging.rb
777
- - spec/dummy/config/initializers/session_store.rb
778
759
  - spec/dummy/config/initializers/wrap_parameters.rb
779
760
  - spec/dummy/config/initializers/assets.rb
780
- - spec/dummy/config/initializers/cookies_serializer.rb
781
- - spec/dummy/config/initializers/devise.rb
782
761
  - spec/dummy/config/initializers/friendly_id.rb
762
+ - spec/dummy/config/initializers/session_store.rb
763
+ - spec/dummy/config/initializers/cookies_serializer.rb
764
+ - spec/dummy/config/initializers/mime_types.rb
783
765
  - spec/dummy/config/initializers/secret_token.rb
784
766
  - spec/dummy/config/initializers/inflections.rb
785
- - spec/dummy/config.ru
786
- - spec/dummy/Rakefile
787
- - spec/dummy/public/favicon.ico
788
- - spec/dummy/public/422.html
789
- - spec/dummy/public/500.html
790
- - spec/dummy/public/404.html
791
- - spec/dummy/db/schema.rb
792
- - spec/dummy/db/migrate/20170305064014_add_csv_charset_conversion_to_library_group.rb
793
- - spec/dummy/db/migrate/20140810061942_add_user_id_to_user_checkout_stat.rb
794
- - spec/dummy/db/migrate/20140823095740_rename_manifestation_periodical_to_serial.rb
795
- - spec/dummy/db/migrate/20130416054135_add_circulation_status_id_to_item.rb
796
- - spec/dummy/db/migrate/20090720091429_create_content_types.rb
797
- - spec/dummy/db/migrate/20140709113413_create_user_export_files.rb
798
- - spec/dummy/db/migrate/20081220023628_create_user_reserve_stats.rb
767
+ - spec/dummy/config/initializers/filter_parameter_logging.rb
768
+ - spec/dummy/config/application.rb
769
+ - spec/dummy/config/secrets.yml
770
+ - spec/dummy/config/routes.rb
771
+ - spec/dummy/db/migrate/20161111193255_add_attachment_data_to_carrier_type.rb
799
772
  - spec/dummy/db/migrate/20140823094847_add_dimensions_to_manifestation.rb
800
- - spec/dummy/db/migrate/035_create_reserves.rb
801
- - spec/dummy/db/migrate/047_create_produces.rb
802
- - spec/dummy/db/migrate/20090720091106_create_medium_of_performances.rb
803
- - spec/dummy/db/migrate/20160610093229_add_html_snippet_to_library_group.rb
773
+ - spec/dummy/db/migrate/20140709113905_create_user_export_file_transitions.rb
774
+ - spec/dummy/db/migrate/20120602141129_add_edit_mode_to_agent_import_file.rb
775
+ - spec/dummy/db/migrate/20120413161340_add_fingerprint_to_resource_import_file.rb
776
+ - spec/dummy/db/migrate/120_create_baskets.rb
777
+ - spec/dummy/db/migrate/20110301134521_add_expire_date_to_reserve.rb
778
+ - spec/dummy/db/migrate/20110627034940_create_series_statement_merge_lists.rb
779
+ - spec/dummy/db/migrate/20151125004028_add_profile_id_to_agent.rb
780
+ - spec/dummy/db/migrate/20151216123621_create_doi_records.rb
781
+ - spec/dummy/db/migrate/20120129014038_create_budget_types.rb
782
+ - spec/dummy/db/migrate/20141029131633_create_periodicals.rb
783
+ - spec/dummy/db/migrate/20130421155019_add_creator_string_to_series_statement.rb
784
+ - spec/dummy/db/migrate/20150221063719_add_settings_to_library_group.rb
804
785
  - spec/dummy/db/migrate/20151213072705_add_footer_banner_to_library_group.rb
805
- - spec/dummy/db/migrate/20120413100352_add_fingerprint_to_picture_file.rb
806
- - spec/dummy/db/migrate/20111124110355_create_produce_types.rb
807
- - spec/dummy/db/migrate/20120413072700_add_picture_meta_to_picture_file.rb
808
- - spec/dummy/db/migrate/20120319173203_create_accepts.rb
809
- - spec/dummy/db/migrate/20101212070145_add_acquired_at_to_item.rb
810
- - spec/dummy/db/migrate/20140518111006_create_message_transitions.rb
811
- - spec/dummy/db/migrate/20140528045539_create_user_reserve_stat_transitions.rb
812
- - spec/dummy/db/migrate/124_create_bookstores.rb
813
- - spec/dummy/db/migrate/20140519170214_create_resource_import_file_transitions.rb
814
- - spec/dummy/db/migrate/20110318183304_add_valid_period_for_new_user_to_user_group.rb
815
- - spec/dummy/db/migrate/20120510140958_add_closed_to_shelf.rb
816
- - spec/dummy/db/migrate/20160813203039_add_user_id_to_library_group.rb
817
- - spec/dummy/db/migrate/20081030023412_create_checkout_types.rb
818
- - spec/dummy/db/migrate/20171126133835_rename_login_banner_to_old_login_banner.rb
819
- - spec/dummy/db/migrate/20150106001709_create_demands.rb
820
- - spec/dummy/db/migrate/20121116031206_add_fulltext_content_to_manifestation.rb
821
- - spec/dummy/db/migrate/20140810091231_add_checkout_icalendar_token_to_profile.rb
822
- - spec/dummy/db/migrate/015_create_creates.rb
823
- - spec/dummy/db/migrate/20081025083905_create_languages.rb
824
- - spec/dummy/db/migrate/20130421093852_add_periodical_to_manifestation.rb
825
- - spec/dummy/db/migrate/20171014084528_add_header_logo_to_library_group.rb
826
- - spec/dummy/db/migrate/20140720170714_add_default_library_id_to_user_import_file.rb
827
- - spec/dummy/db/migrate/20120125152919_add_title_subseries_transcription_to_series_statement.rb
828
- - spec/dummy/db/migrate/20160703190209_add_foreign_key_on_manifestation_id_to_reserve.rb
829
- - spec/dummy/db/migrate/20081212075554_create_checkout_stat_has_manifestations.rb
830
- - spec/dummy/db/migrate/20140628072217_add_user_encoding_to_user_import_file.rb
831
- - spec/dummy/db/migrate/20100606073747_create_agent_relationships.rb
832
- - spec/dummy/db/migrate/20130412083556_add_latitude_and_longitude_to_library.rb
833
- - spec/dummy/db/migrate/20160703184619_add_most_recent_to_reserve_transitions.rb
834
- - spec/dummy/db/migrate/20120418081407_add_month_of_publication_to_manifestation.rb
835
- - spec/dummy/db/migrate/20130304015019_add_postponed_at_to_reserve.rb
836
- - spec/dummy/db/migrate/20140822114527_add_error_message_to_resource_import_result.rb
837
786
  - spec/dummy/db/migrate/132_create_circulation_statuses.rb
838
- - spec/dummy/db/migrate/20100211105551_add_admin_networks_to_library_group.rb
839
- - spec/dummy/db/migrate/130_create_request_status_types.rb
840
- - spec/dummy/db/migrate/20140528045600_create_manifestation_checkout_stat_transitions.rb
841
- - spec/dummy/db/migrate/20091012101112_add_dcndl_schema.rb
842
787
  - spec/dummy/db/migrate/20130519065638_add_lock_version_to_reserve.rb
843
- - spec/dummy/db/migrate/20100925043847_create_resource_import_results.rb
844
- - spec/dummy/db/migrate/20150117111136_add_foreign_key_to_items_referencing_manifestations.rb
845
- - spec/dummy/db/migrate/20090321130448_add_completed_at_to_user_checkout_stat.rb
846
- - spec/dummy/db/migrate/20100314190054_add_opening_hour_to_library.rb
847
- - spec/dummy/db/migrate/20100525124311_create_manifestation_relationships.rb
848
- - spec/dummy/db/migrate/20140614065404_create_resource_export_files.rb
849
- - spec/dummy/db/migrate/20160813192542_add_pub_year_facet_range_interval_to_library_group.rb
850
- - spec/dummy/db/migrate/20140821151023_create_colors.rb
851
- - spec/dummy/db/migrate/20140110122216_create_user_import_files.rb
852
- - spec/dummy/db/migrate/20140110131010_create_user_import_results.rb
853
- - spec/dummy/db/migrate/20110627035057_create_series_statement_merges.rb
854
- - spec/dummy/db/migrate/20140518135713_create_message_request_transitions.rb
855
- - spec/dummy/db/migrate/131_create_request_types.rb
788
+ - spec/dummy/db/migrate/20150924115059_create_withdraws.rb
789
+ - spec/dummy/db/migrate/20081215094302_create_user_checkout_stats.rb
856
790
  - spec/dummy/db/migrate/20081006093246_create_subscribes.rb
857
- - spec/dummy/db/migrate/20120410104851_add_year_of_publication_to_manifestation.rb
858
- - spec/dummy/db/migrate/133_create_agent_merges.rb
859
- - spec/dummy/db/migrate/20081212080038_create_manifestation_checkout_stats.rb
860
- - spec/dummy/db/migrate/20110627122938_add_number_of_day_to_notify_overdue_to_user_group.rb
861
791
  - spec/dummy/db/migrate/059_create_libraries.rb
862
- - spec/dummy/db/migrate/20110627034940_create_series_statement_merge_lists.rb
863
- - spec/dummy/db/migrate/20120413170720_add_error_message_to_agent_import_file.rb
864
- - spec/dummy/db/migrate/20140709113905_create_user_export_file_transitions.rb
865
- - spec/dummy/db/migrate/20140519171220_create_import_request_transitions.rb
866
- - spec/dummy/db/migrate/080_create_library_groups.rb
867
- - spec/dummy/db/migrate/20110301134521_add_expire_date_to_reserve.rb
868
- - spec/dummy/db/migrate/20091214131723_create_series_statements.rb
869
- - spec/dummy/db/migrate/20120413170705_add_error_message_to_resource_import_file.rb
870
- - spec/dummy/db/migrate/20081025083323_create_countries.rb
871
- - spec/dummy/db/migrate/20120105074911_add_isil_to_library.rb
872
- - spec/dummy/db/migrate/20080905191442_create_agent_types.rb
873
- - spec/dummy/db/migrate/20160703184723_add_most_recent_to_manifestation_reserve_stat_transitions.rb
874
- - spec/dummy/db/migrate/006_create_items.rb
875
- - spec/dummy/db/migrate/069_create_shelves.rb
876
- - spec/dummy/db/migrate/20081220034117_create_reserve_stat_has_users.rb
877
- - spec/dummy/db/migrate/20140802082007_add_manifestation_id_to_item.rb
878
- - spec/dummy/db/migrate/20100321235924_add_series_statement_identifier_to_series_statement.rb
879
- - spec/dummy/db/migrate/20150506105356_add_error_message_to_user_import_result.rb
880
- - spec/dummy/db/migrate/20110916091020_add_volume_number_to_manifestation.rb
881
- - spec/dummy/db/migrate/20110913115320_add_lft_and_rgt_to_message.rb
882
- - spec/dummy/db/migrate/20160627232316_add_most_recent_to_user_export_file_transitions.rb
883
- - spec/dummy/db/migrate/20141020120523_add_library_id_to_checkout.rb
884
- - spec/dummy/db/migrate/20110621093332_remove_expire_date_from_reserve.rb
885
- - spec/dummy/db/migrate/20081006090811_create_subscriptions.rb
886
- - spec/dummy/db/migrate/077_create_user_groups.rb
887
- - spec/dummy/db/migrate/127_create_use_restrictions.rb
888
- - spec/dummy/db/migrate/134_create_agent_merge_lists.rb
889
- - spec/dummy/db/migrate/033_create_checkouts.rb
890
- - spec/dummy/db/migrate/20140524074813_create_user_import_file_transitions.rb
891
- - spec/dummy/db/migrate/20081215094955_create_checkout_stat_has_users.rb
892
- - spec/dummy/db/migrate/20160627232219_add_most_recent_to_user_import_file_transitions.rb
893
- - spec/dummy/db/migrate/20100129142347_create_import_requests.rb
894
- - spec/dummy/db/migrate/125_create_donates.rb
895
- - spec/dummy/db/migrate/20120129020544_add_budget_type_id_to_item.rb
792
+ - spec/dummy/db/migrate/20081023092436_create_search_engines.rb
793
+ - spec/dummy/db/migrate/20091012101112_add_dcndl_schema.rb
794
+ - spec/dummy/db/migrate/20160703185015_add_most_recent_to_message_transitions.rb
795
+ - spec/dummy/db/migrate/20120125050502_add_depth_to_message.rb
896
796
  - spec/dummy/db/migrate/20081028083142_create_agent_import_files.rb
897
- - spec/dummy/db/migrate/20151125004028_add_profile_id_to_agent.rb
797
+ - spec/dummy/db/migrate/20111124110059_create_create_types.rb
798
+ - spec/dummy/db/migrate/20160610093229_add_html_snippet_to_library_group.rb
799
+ - spec/dummy/db/migrate/20120511072422_add_agent_identifier_to_agent.rb
800
+ - spec/dummy/db/migrate/20141020120523_add_library_id_to_checkout.rb
898
801
  - spec/dummy/db/migrate/20110918162329_add_note_to_series_statement.rb
802
+ - spec/dummy/db/migrate/20100925074559_create_agent_import_results.rb
803
+ - spec/dummy/db/migrate/20120510140958_add_closed_to_shelf.rb
804
+ - spec/dummy/db/migrate/20140810061942_add_user_id_to_user_checkout_stat.rb
805
+ - spec/dummy/db/migrate/20081027150907_create_picture_files.rb
806
+ - spec/dummy/db/migrate/20140524020735_create_agent_import_file_transitions.rb
807
+ - spec/dummy/db/migrate/20110627035057_create_series_statement_merges.rb
808
+ - spec/dummy/db/migrate/20091214131723_create_series_statements.rb
809
+ - spec/dummy/db/migrate/20100129142347_create_import_requests.rb
810
+ - spec/dummy/db/migrate/20100321235924_add_series_statement_identifier_to_series_statement.rb
811
+ - spec/dummy/db/migrate/20160801080643_add_most_recent_to_agent_import_file_transitions.rb
812
+ - spec/dummy/db/migrate/032_create_checkins.rb
899
813
  - spec/dummy/db/migrate/154_create_messages.rb
900
- - spec/dummy/db/migrate/20120424103932_add_librarian_id_to_checked_item.rb
901
814
  - spec/dummy/db/migrate/001_create_agents.rb
815
+ - spec/dummy/db/migrate/20130416054135_add_circulation_status_id_to_item.rb
816
+ - spec/dummy/db/migrate/20140528045600_create_manifestation_checkout_stat_transitions.rb
817
+ - spec/dummy/db/migrate/20081212075554_create_checkout_stat_has_manifestations.rb
818
+ - spec/dummy/db/migrate/20160703184805_add_most_recent_to_user_reserve_stat_transitions.rb
819
+ - spec/dummy/db/migrate/20140528045518_create_user_checkout_stat_transitions.rb
820
+ - spec/dummy/db/migrate/20081006090811_create_subscriptions.rb
821
+ - spec/dummy/db/migrate/20160703184650_add_most_recent_to_manifestation_checkout_stat_transitions.rb
822
+ - spec/dummy/db/migrate/20161112122706_add_attachment_data_to_resource_import_file.rb
823
+ - spec/dummy/db/migrate/20081220023628_create_user_reserve_stats.rb
824
+ - spec/dummy/db/migrate/20140720140916_add_binding_item_identifier_to_item.rb
825
+ - spec/dummy/db/migrate/20160813191733_add_family_name_first_to_library_group.rb
826
+ - spec/dummy/db/migrate/149_create_message_templates.rb
827
+ - spec/dummy/db/migrate/033_create_checkouts.rb
828
+ - spec/dummy/db/migrate/20081025083905_create_languages.rb
829
+ - spec/dummy/db/migrate/20120413170720_add_error_message_to_agent_import_file.rb
830
+ - spec/dummy/db/migrate/20160513000929_create_agent_names.rb
831
+ - spec/dummy/db/migrate/20130519065837_add_lock_version_to_checkin.rb
832
+ - spec/dummy/db/migrate/20140528045539_create_user_reserve_stat_transitions.rb
833
+ - spec/dummy/db/migrate/20140628073535_add_user_encoding_to_resource_import_file.rb
834
+ - spec/dummy/db/migrate/20140628072217_add_user_encoding_to_user_import_file.rb
835
+ - spec/dummy/db/migrate/20150305031709_add_agent_import_id_to_agent_import_file.rb
836
+ - spec/dummy/db/migrate/20160813191647_add_max_number_of_results_to_library_group.rb
837
+ - spec/dummy/db/migrate/20090321130448_add_completed_at_to_user_checkout_stat.rb
838
+ - spec/dummy/db/migrate/20140110122216_create_user_import_files.rb
839
+ - spec/dummy/db/migrate/20140822114527_add_error_message_to_resource_import_result.rb
840
+ - spec/dummy/db/migrate/20150117111136_add_foreign_key_to_items_referencing_manifestations.rb
841
+ - spec/dummy/db/migrate/20081220034117_create_reserve_stat_has_users.rb
842
+ - spec/dummy/db/migrate/20081212080038_create_manifestation_checkout_stats.rb
902
843
  - spec/dummy/db/migrate/20100223121519_rename_series_statement_title_to_original_title.rb
903
- - spec/dummy/db/migrate/20140720170735_add_default_user_group_id_to_user_import_file.rb
904
- - spec/dummy/db/migrate/20090812151902_create_agent_relationship_types.rb
905
844
  - spec/dummy/db/migrate/20120415164821_add_attachment_meta_to_manifestation.rb
906
- - spec/dummy/db/migrate/20171126135238_add_foreign_key_to_library_group_id_on_library.rb
907
- - spec/dummy/db/migrate/20110301035123_add_pub_date_to_manifestation.rb
908
- - spec/dummy/db/migrate/20150221063719_add_settings_to_library_group.rb
909
- - spec/dummy/db/migrate/20140528045518_create_user_checkout_stat_transitions.rb
910
- - spec/dummy/db/migrate/20160703184747_add_most_recent_to_user_checkout_stat_transitions.rb
911
- - spec/dummy/db/migrate/20120129014038_create_budget_types.rb
845
+ - spec/dummy/db/migrate/20130304015019_add_postponed_at_to_reserve.rb
846
+ - spec/dummy/db/migrate/20080819181903_create_message_requests.rb
847
+ - spec/dummy/db/migrate/20161112122750_add_attachment_data_to_resource_export_file.rb
848
+ - spec/dummy/db/migrate/20140518050147_create_reserve_transitions.rb
849
+ - spec/dummy/db/migrate/20100525124311_create_manifestation_relationships.rb
850
+ - spec/dummy/db/migrate/20160627232316_add_most_recent_to_user_export_file_transitions.rb
851
+ - spec/dummy/db/migrate/20110620173525_add_bookstore_id_to_item.rb
852
+ - spec/dummy/db/migrate/20160506144040_create_isbn_records.rb
853
+ - spec/dummy/db/migrate/20150305025906_add_resource_import_id_to_resource_import_file.rb
854
+ - spec/dummy/db/migrate/20120105074911_add_isil_to_library.rb
855
+ - spec/dummy/db/migrate/20150420145354_add_attachment_to_carrier_type.rb
856
+ - spec/dummy/db/migrate/20150506105356_add_error_message_to_user_import_result.rb
857
+ - spec/dummy/db/migrate/20081030023518_create_user_group_has_checkout_types.rb
858
+ - spec/dummy/db/migrate/20120319120638_add_content_type_id_to_manifestation.rb
859
+ - spec/dummy/db/migrate/20110328130826_add_current_checkout_count_to_user_group_has_checkout_type.rb
860
+ - spec/dummy/db/migrate/006_create_items.rb
861
+ - spec/dummy/db/migrate/20150305030046_add_resource_export_id_to_resource_export_file.rb
862
+ - spec/dummy/db/migrate/20140528045617_create_manifestation_reserve_stat_transitions.rb
863
+ - spec/dummy/db/migrate/20140810091417_add_save_checkout_history_to_profile.rb
864
+ - spec/dummy/db/migrate/20140720170714_add_default_library_id_to_user_import_file.rb
865
+ - spec/dummy/db/migrate/20111129044509_add_pickup_location_to_reserve.rb
866
+ - spec/dummy/db/migrate/20100314190054_add_opening_hour_to_library.rb
867
+ - spec/dummy/db/migrate/20110916091020_add_volume_number_to_manifestation.rb
868
+ - spec/dummy/db/migrate/20140813182425_add_publication_place_to_manifestation.rb
869
+ - spec/dummy/db/migrate/20110621093332_remove_expire_date_from_reserve.rb
870
+ - spec/dummy/db/migrate/20090720091106_create_medium_of_performances.rb
871
+ - spec/dummy/db/migrate/20100925043847_create_resource_import_results.rb
872
+ - spec/dummy/db/migrate/20140519171220_create_import_request_transitions.rb
873
+ - spec/dummy/db/migrate/20150304183215_add_picture_id_to_picture_file.rb
874
+ - spec/dummy/db/migrate/20120418081407_add_month_of_publication_to_manifestation.rb
875
+ - spec/dummy/db/migrate/121_create_checked_items.rb
876
+ - spec/dummy/db/migrate/20130506175834_create_identifiers.rb
877
+ - spec/dummy/db/migrate/20100606073747_create_agent_relationships.rb
878
+ - spec/dummy/db/migrate/20140518111006_create_message_transitions.rb
879
+ - spec/dummy/db/migrate/20140519170214_create_resource_import_file_transitions.rb
880
+ - spec/dummy/db/migrate/20160703184723_add_most_recent_to_manifestation_reserve_stat_transitions.rb
912
881
  - spec/dummy/db/migrate/112_create_frequencies.rb
882
+ - spec/dummy/db/migrate/20120413161403_add_fingerprint_to_agent_import_file.rb
883
+ - spec/dummy/db/migrate/20091025080447_create_licenses.rb
913
884
  - spec/dummy/db/migrate/20110603184217_add_edit_mode_to_resource_import_file.rb
914
- - spec/dummy/db/migrate/20080830154109_create_realizes.rb
915
- - spec/dummy/db/migrate/20140528045617_create_manifestation_reserve_stat_transitions.rb
916
- - spec/dummy/db/migrate/20120413161340_add_fingerprint_to_resource_import_file.rb
917
- - spec/dummy/db/migrate/20081030023518_create_user_group_has_checkout_types.rb
918
- - spec/dummy/db/migrate/20111124110059_create_create_types.rb
885
+ - spec/dummy/db/migrate/20140721151416_add_default_shelf_id_to_resource_import_file.rb
886
+ - spec/dummy/db/migrate/20161111193346_add_attachment_data_to_content_type.rb
887
+ - spec/dummy/db/migrate/20150420145420_add_attachment_to_content_type.rb
888
+ - spec/dummy/db/migrate/20150305105231_add_attachment_fingerprint_to_manifestation.rb
889
+ - spec/dummy/db/migrate/20090705133942_add_attachments_picture_to_picture_file.rb
890
+ - spec/dummy/db/migrate/20160703184619_add_most_recent_to_reserve_transitions.rb
891
+ - spec/dummy/db/migrate/20140823095740_rename_manifestation_periodical_to_serial.rb
892
+ - spec/dummy/db/migrate/20100211105551_add_admin_networks_to_library_group.rb
893
+ - spec/dummy/db/migrate/20100814091104_add_position_to_agent_relationship.rb
894
+ - spec/dummy/db/migrate/20140802082007_add_manifestation_id_to_item.rb
895
+ - spec/dummy/db/migrate/20080905191442_create_agent_types.rb
896
+ - spec/dummy/db/migrate/20081215094955_create_checkout_stat_has_users.rb
897
+ - spec/dummy/db/migrate/077_create_user_groups.rb
898
+ - spec/dummy/db/migrate/20140810091231_add_checkout_icalendar_token_to_profile.rb
899
+ - spec/dummy/db/migrate/20120413100352_add_fingerprint_to_picture_file.rb
900
+ - spec/dummy/db/migrate/20151213070943_add_translation_table_to_library_group.rb
901
+ - spec/dummy/db/migrate/20120125152919_add_title_subseries_transcription_to_series_statement.rb
902
+ - spec/dummy/db/migrate/20160319144230_create_issn_records.rb
903
+ - spec/dummy/db/migrate/130_create_request_status_types.rb
904
+ - spec/dummy/db/migrate/20090812151902_create_agent_relationship_types.rb
905
+ - spec/dummy/db/migrate/20110301121550_add_birth_date_and_death_date_to_agent.rb
906
+ - spec/dummy/db/migrate/20130506175303_create_identifier_types.rb
907
+ - spec/dummy/db/migrate/20111124110319_create_realize_types.rb
908
+ - spec/dummy/db/migrate/20150106001709_create_demands.rb
909
+ - spec/dummy/db/migrate/20120413072700_add_picture_meta_to_picture_file.rb
910
+ - spec/dummy/db/migrate/20140628073524_add_user_encoding_to_agent_import_file.rb
919
911
  - spec/dummy/db/migrate/129_create_item_has_use_restrictions.rb
920
- - spec/dummy/db/migrate/20120319120638_add_content_type_id_to_manifestation.rb
921
- - spec/dummy/db/migrate/20180102162311_add_header_logo_meta_to_library_group.rb
922
- - spec/dummy/db/migrate/20081027150907_create_picture_files.rb
923
912
  - spec/dummy/db/migrate/20100607044753_create_manifestation_relationship_types.rb
924
- - spec/dummy/db/migrate/20130421164124_add_series_master_to_series_statement.rb
925
- - spec/dummy/db/migrate/20160703185015_add_most_recent_to_message_transitions.rb
926
- - spec/dummy/db/migrate/20111124112131_add_create_type_to_create.rb
927
- - spec/dummy/db/migrate/005_create_manifestations.rb
928
- - spec/dummy/db/migrate/20151213070943_add_translation_table_to_library_group.rb
929
- - spec/dummy/db/migrate/20081216190724_create_manifestation_reserve_stats.rb
930
- - spec/dummy/db/migrate/20160703184650_add_most_recent_to_manifestation_checkout_stat_transitions.rb
931
- - spec/dummy/db/migrate/032_create_checkins.rb
932
- - spec/dummy/db/migrate/20120602141129_add_edit_mode_to_agent_import_file.rb
933
- - spec/dummy/db/migrate/20130421155019_add_creator_string_to_series_statement.rb
934
- - spec/dummy/db/migrate/20100814091104_add_position_to_agent_relationship.rb
913
+ - spec/dummy/db/migrate/20160801080619_add_most_recent_to_resource_import_file_transitions.rb
914
+ - spec/dummy/db/migrate/20160627232219_add_most_recent_to_user_import_file_transitions.rb
915
+ - spec/dummy/db/migrate/127_create_use_restrictions.rb
935
916
  - spec/dummy/db/migrate/20141014065831_add_shelf_id_to_checkout.rb
936
- - spec/dummy/db/migrate/117_create_form_of_works.rb
937
- - spec/dummy/db/migrate/20080819181903_create_message_requests.rb
938
- - spec/dummy/db/migrate/20130506175834_create_identifiers.rb
939
- - spec/dummy/db/migrate/20081216190517_create_reserve_stat_has_manifestations.rb
940
- - spec/dummy/db/migrate/20140810091417_add_save_checkout_history_to_profile.rb
941
- - spec/dummy/db/migrate/20100925074559_create_agent_import_results.rb
942
- - spec/dummy/db/migrate/20081215094302_create_user_checkout_stats.rb
943
- - spec/dummy/db/migrate/073_create_carrier_types.rb
917
+ - spec/dummy/db/migrate/20081030023615_create_carrier_type_has_checkout_types.rb
918
+ - spec/dummy/db/migrate/012_create_owns.rb
919
+ - spec/dummy/db/migrate/20111124112131_add_create_type_to_create.rb
920
+ - spec/dummy/db/migrate/20080830154109_create_realizes.rb
921
+ - spec/dummy/db/migrate/20130421164124_add_series_master_to_series_statement.rb
922
+ - spec/dummy/db/migrate/20080830172106_create_exemplifies.rb
944
923
  - spec/dummy/db/migrate/20081028083208_create_resource_import_files.rb
945
- - spec/dummy/db/migrate/20111124110319_create_realize_types.rb
946
- - spec/dummy/db/migrate/20110620173525_add_bookstore_id_to_item.rb
947
- - spec/dummy/db/migrate/20081023092436_create_search_engines.rb
948
- - spec/dummy/db/migrate/20120125050502_add_depth_to_message.rb
949
- - spec/dummy/db/migrate/20150924115059_create_withdraws.rb
950
- - spec/dummy/db/migrate/149_create_message_templates.rb
951
- - spec/dummy/db/migrate/20140720140916_add_binding_item_identifier_to_item.rb
924
+ - spec/dummy/db/migrate/20120129020544_add_budget_type_id_to_item.rb
925
+ - spec/dummy/db/migrate/20140524074813_create_user_import_file_transitions.rb
926
+ - spec/dummy/db/migrate/20090831220301_create_lending_policies.rb
927
+ - spec/dummy/db/migrate/20150124152756_add_foreign_key_to_shelves_referencing_libraries.rb
928
+ - spec/dummy/db/migrate/20140821151023_create_colors.rb
929
+ - spec/dummy/db/migrate/20081216190517_create_reserve_stat_has_manifestations.rb
930
+ - spec/dummy/db/migrate/20130412083556_add_latitude_and_longitude_to_library.rb
931
+ - spec/dummy/db/migrate/20120410104851_add_year_of_publication_to_manifestation.rb
932
+ - spec/dummy/db/migrate/035_create_reserves.rb
933
+ - spec/dummy/db/migrate/005_create_manifestations.rb
934
+ - spec/dummy/db/migrate/20110301035123_add_pub_date_to_manifestation.rb
935
+ - spec/dummy/db/migrate/20081025083323_create_countries.rb
936
+ - spec/dummy/db/migrate/20161111175127_add_attachment_data_to_manifestation.rb
937
+ - spec/dummy/db/migrate/20160703190209_add_foreign_key_on_manifestation_id_to_reserve.rb
938
+ - spec/dummy/db/migrate/20140709113413_create_user_export_files.rb
952
939
  - spec/dummy/db/migrate/20090705212043_add_attachments_attachment_to_manifestation.rb
953
- - spec/dummy/db/migrate/012_create_owns.rb
940
+ - spec/dummy/db/migrate/073_create_carrier_types.rb
941
+ - spec/dummy/db/migrate/20161112122814_add_attachment_data_to_agent_import_file.rb
942
+ - spec/dummy/db/migrate/20150302110310_add_attachment_id_to_manifestation.rb
943
+ - spec/dummy/db/migrate/015_create_creates.rb
944
+ - spec/dummy/db/migrate/20130421093852_add_periodical_to_manifestation.rb
945
+ - spec/dummy/db/migrate/20120319173203_create_accepts.rb
946
+ - spec/dummy/db/migrate/20121116031206_add_fulltext_content_to_manifestation.rb
947
+ - spec/dummy/db/migrate/20120413170705_add_error_message_to_resource_import_file.rb
948
+ - spec/dummy/db/migrate/20110916103953_add_manifestaiton_id_to_series_statement.rb
949
+ - spec/dummy/db/migrate/131_create_request_types.rb
950
+ - spec/dummy/db/migrate/20140823083524_add_extent_to_manifestation.rb
954
951
  - spec/dummy/db/migrate/20140614141500_create_resource_export_file_transitions.rb
955
- - spec/dummy/db/migrate/20081030023615_create_carrier_type_has_checkout_types.rb
956
- - spec/dummy/db/migrate/002_devise_create_users.rb
957
- - spec/dummy/db/migrate/20110619064807_add_edition_string_to_manifestation.rb
958
- - spec/dummy/db/migrate/20160813191647_add_max_number_of_results_to_library_group.rb
959
- - spec/dummy/db/migrate/20140524020735_create_agent_import_file_transitions.rb
960
- - spec/dummy/db/migrate/20090831220301_create_lending_policies.rb
961
- - spec/dummy/db/migrate/20130519065837_add_lock_version_to_checkin.rb
962
- - spec/dummy/db/migrate/20091025080447_create_licenses.rb
963
- - spec/dummy/db/migrate/121_create_checked_items.rb
964
- - spec/dummy/db/migrate/20130303124821_add_retained_at_to_reserve.rb
965
- - spec/dummy/db/migrate/20110328130826_add_current_checkout_count_to_user_group_has_checkout_type.rb
966
- - spec/dummy/db/migrate/20120413161403_add_fingerprint_to_agent_import_file.rb
952
+ - spec/dummy/db/migrate/124_create_bookstores.rb
953
+ - spec/dummy/db/migrate/20110318183304_add_valid_period_for_new_user_to_user_group.rb
967
954
  - spec/dummy/db/migrate/20130429020822_add_root_manifestation_id_to_series_statement.rb
968
- - spec/dummy/db/migrate/20090705133942_add_attachments_picture_to_picture_file.rb
969
- - spec/dummy/db/migrate/20160703184805_add_most_recent_to_user_reserve_stat_transitions.rb
955
+ - spec/dummy/db/migrate/20101212070145_add_acquired_at_to_item.rb
956
+ - spec/dummy/db/migrate/080_create_library_groups.rb
957
+ - spec/dummy/db/migrate/20090720091429_create_content_types.rb
958
+ - spec/dummy/db/migrate/069_create_shelves.rb
959
+ - spec/dummy/db/migrate/134_create_agent_merge_lists.rb
960
+ - spec/dummy/db/migrate/20110627122938_add_number_of_day_to_notify_overdue_to_user_group.rb
961
+ - spec/dummy/db/migrate/20130303124821_add_retained_at_to_reserve.rb
962
+ - spec/dummy/db/migrate/20120424103932_add_librarian_id_to_checked_item.rb
963
+ - spec/dummy/db/migrate/133_create_agent_merges.rb
964
+ - spec/dummy/db/migrate/20160801080612_add_most_recent_to_import_request_transitions.rb
965
+ - spec/dummy/db/migrate/20140110131010_create_user_import_results.rb
966
+ - spec/dummy/db/migrate/20160813203039_add_user_id_to_library_group.rb
967
+ - spec/dummy/db/migrate/20160801080637_add_most_recent_to_resource_export_file_transitions.rb
970
968
  - spec/dummy/db/migrate/20110222073537_add_url_to_library_group.rb
971
- - spec/dummy/db/migrate/20120511072422_add_agent_identifier_to_agent.rb
972
- - spec/dummy/db/migrate/20110301121550_add_birth_date_and_death_date_to_agent.rb
973
- - spec/dummy/db/migrate/20160813191733_add_family_name_first_to_library_group.rb
974
- - spec/dummy/db/migrate/20140518050147_create_reserve_transitions.rb
975
- - spec/dummy/db/migrate/120_create_baskets.rb
976
- - spec/dummy/db/migrate/20140628073524_add_user_encoding_to_agent_import_file.rb
977
- - spec/dummy/db/migrate/20140721151416_add_default_shelf_id_to_resource_import_file.rb
978
- - spec/dummy/db/migrate/20140628073535_add_user_encoding_to_resource_import_file.rb
979
- - spec/dummy/db/migrate/20140823083524_add_extent_to_manifestation.rb
980
- - spec/dummy/db/migrate/20130506175303_create_identifier_types.rb
981
969
  - spec/dummy/db/migrate/20130509185724_add_statement_of_responsibility_to_manifestation.rb
982
- - spec/dummy/db/migrate/20110916103953_add_manifestaiton_id_to_series_statement.rb
983
- - spec/dummy/db/migrate/20140813182425_add_publication_place_to_manifestation.rb
984
- - spec/dummy/db/migrate/20111129044509_add_pickup_location_to_reserve.rb
985
- - spec/dummy/README.rdoc
986
- - spec/models/user_has_role_spec.rb
987
- - spec/models/profile_spec.rb
988
- - spec/models/user_spec.rb
989
- - spec/models/role_spec.rb
990
- - spec/requests/profiles_spec.rb
991
- - spec/support/controller_macros.rb
970
+ - spec/dummy/db/migrate/20160703184747_add_most_recent_to_user_checkout_stat_transitions.rb
971
+ - spec/dummy/db/migrate/20081216190724_create_manifestation_reserve_stats.rb
972
+ - spec/dummy/db/migrate/20110913115320_add_lft_and_rgt_to_message.rb
973
+ - spec/dummy/db/migrate/20081030023412_create_checkout_types.rb
974
+ - spec/dummy/db/migrate/117_create_form_of_works.rb
975
+ - spec/dummy/db/migrate/20140614065404_create_resource_export_files.rb
976
+ - spec/dummy/db/migrate/047_create_produces.rb
977
+ - spec/dummy/db/migrate/20140518135713_create_message_request_transitions.rb
978
+ - spec/dummy/db/migrate/20140720170735_add_default_user_group_id_to_user_import_file.rb
979
+ - spec/dummy/db/migrate/20111124110355_create_produce_types.rb
980
+ - spec/dummy/db/migrate/002_devise_create_users.rb
981
+ - spec/dummy/db/migrate/125_create_donates.rb
982
+ - spec/dummy/db/migrate/20110619064807_add_edition_string_to_manifestation.rb
983
+ - spec/dummy/db/migrate/20160813192542_add_pub_year_facet_range_interval_to_library_group.rb
984
+ - spec/dummy/db/schema.rb
985
+ - spec/dummy/app/views/layouts/application.html.erb
986
+ - spec/dummy/app/helpers/application_helper.rb
987
+ - spec/dummy/app/controllers/application_controller.rb
988
+ - spec/dummy/app/assets/javascripts/application.js
989
+ - spec/dummy/app/assets/stylesheets/application.css
990
+ - spec/dummy/app/models/user.rb
991
+ - spec/dummy/config.ru
992
+ - spec/dummy/bin/rake
993
+ - spec/dummy/bin/bundle
994
+ - spec/dummy/bin/setup
995
+ - spec/dummy/bin/rails
996
+ - spec/dummy/public/404.html
997
+ - spec/dummy/public/favicon.ico
998
+ - spec/dummy/public/422.html
999
+ - spec/dummy/public/500.html
1000
+ - spec/routing/users_spec.rb
1001
+ - spec/routing/roles_routing_spec.rb
1002
+ - spec/routing/profiles_routing_spec.rb
992
1003
  - spec/support/devise.rb
1004
+ - spec/support/controller_macros.rb
993
1005
  - spec/factories/profile.rb
994
1006
  - spec/factories/user_group.rb
995
1007
  - spec/factories/user.rb
996
- - spec/fixtures/message_requests.yml
997
- - spec/fixtures/profiles.yml
998
- - spec/fixtures/messages.yml
999
- - spec/fixtures/users.yml
1000
- - spec/fixtures/library_groups.yml
1001
- - spec/fixtures/user_groups.yml
1002
- - spec/fixtures/libraries.yml
1003
- - spec/fixtures/user_has_roles.yml
1004
- - spec/fixtures/roles.yml
1005
- - spec/fixtures/message_templates.yml
1006
- - spec/routing/roles_routing_spec.rb
1007
- - spec/routing/users_spec.rb
1008
- - spec/routing/profiles_routing_spec.rb
1008
+ - spec/spec_helper.rb
1009
+ - spec/rails_helper.rb
1010
+ - spec/models/profile_spec.rb
1011
+ - spec/models/user_has_role_spec.rb
1012
+ - spec/models/role_spec.rb
1013
+ - spec/models/user_spec.rb
1009
1014
  - spec/controllers/roles_controller_spec.rb
1010
- - spec/controllers/profiles_controller_spec.rb
1011
1015
  - spec/controllers/my_accounts_controller_spec.rb
1012
- - spec/views/my_accounts/show.html.erb_spec.rb
1013
- - spec/views/profiles/edit.html.erb_spec.rb
1014
- - spec/views/profiles/show.html.erb_spec.rb
1015
- - spec/views/profiles/new.html.erb_spec.rb
1016
- - spec/views/profiles/index.html.erb_spec.rb
1017
- - spec/rails_helper.rb
1016
+ - spec/controllers/profiles_controller_spec.rb
1017
+ - spec/requests/profiles_spec.rb