enju_message 0.1.14.pre16 → 0.1.14.pre17

Sign up to get free protection for your applications and to get access to all the features.
Files changed (143) hide show
  1. checksums.yaml +4 -4
  2. data/app/controllers/message_requests_controller.rb +3 -3
  3. data/app/controllers/message_templates_controller.rb +72 -6
  4. data/app/views/message_requests/index.html.erb +1 -0
  5. data/app/views/message_templates/index.html.erb +1 -0
  6. data/app/views/messages/index.html.erb +2 -0
  7. data/lib/enju_message/engine.rb +0 -1
  8. data/lib/enju_message/version.rb +1 -1
  9. data/spec/dummy/config/environments/test.rb +2 -0
  10. data/spec/dummy/db/development.sqlite3 +0 -0
  11. data/spec/dummy/db/migrate/001_create_agents.rb +0 -1
  12. data/spec/dummy/db/migrate/005_create_manifestations.rb +44 -0
  13. data/spec/dummy/db/migrate/006_create_items.rb +21 -0
  14. data/spec/dummy/db/migrate/012_create_owns.rb +12 -0
  15. data/spec/dummy/db/migrate/015_create_creates.rb +12 -0
  16. data/spec/dummy/db/migrate/041_create_roles.rb +13 -0
  17. data/spec/dummy/db/migrate/047_create_produces.rb +12 -0
  18. data/spec/dummy/db/migrate/073_create_carrier_types.rb +11 -0
  19. data/spec/dummy/db/migrate/080_create_library_groups.rb +0 -1
  20. data/spec/dummy/db/migrate/112_create_frequencies.rb +12 -0
  21. data/spec/dummy/db/migrate/117_create_form_of_works.rb +12 -0
  22. data/spec/dummy/db/migrate/125_create_donates.rb +12 -0
  23. data/spec/dummy/db/migrate/20080830154109_create_realizes.rb +13 -0
  24. data/spec/dummy/db/migrate/20080830172106_create_exemplifies.rb +13 -0
  25. data/spec/dummy/db/migrate/20080905191442_create_agent_types.rb +1 -5
  26. data/spec/dummy/db/migrate/20081025083905_create_languages.rb +23 -0
  27. data/spec/dummy/db/migrate/20081027150907_create_picture_files.rb +15 -0
  28. data/spec/dummy/db/migrate/20081028083142_create_agent_import_files.rb +20 -0
  29. data/spec/dummy/db/migrate/20081028083208_create_resource_import_files.rb +20 -0
  30. data/spec/dummy/db/migrate/20090705133942_add_attachments_picture_to_picture_file.rb +15 -0
  31. data/spec/dummy/db/migrate/20090705212043_add_attachments_attachment_to_manifestation.rb +15 -0
  32. data/spec/dummy/db/migrate/20090719201843_create_extents.rb +12 -0
  33. data/spec/dummy/db/migrate/20090720091106_create_medium_of_performances.rb +12 -0
  34. data/spec/dummy/db/migrate/20090720091429_create_content_types.rb +12 -0
  35. data/spec/dummy/db/migrate/20090812151902_create_agent_relationship_types.rb +12 -0
  36. data/spec/dummy/db/migrate/20091012101112_add_dcndl_schema.rb +27 -0
  37. data/spec/dummy/db/migrate/20091025080447_create_licenses.rb +12 -0
  38. data/spec/dummy/db/migrate/20091214131723_create_series_statements.rb +13 -0
  39. data/spec/dummy/db/migrate/20100129142347_create_import_requests.rb +14 -0
  40. data/spec/dummy/db/migrate/20100223121519_rename_series_statement_title_to_original_title.rb +13 -0
  41. data/spec/dummy/db/migrate/20100321235924_add_series_statement_identifier_to_series_statement.rb +10 -0
  42. data/spec/dummy/db/migrate/20100525124311_create_manifestation_relationships.rb +13 -0
  43. data/spec/dummy/db/migrate/{20111201163718_create_user_has_roles.rb → 20100606065209_create_user_has_roles.rb} +2 -0
  44. data/spec/dummy/db/migrate/20100606073747_create_agent_relationships.rb +13 -0
  45. data/spec/dummy/db/migrate/20100607044753_create_manifestation_relationship_types.rb +12 -0
  46. data/spec/dummy/db/migrate/20100814091104_add_position_to_agent_relationship.rb +11 -0
  47. data/spec/dummy/db/migrate/20100925043847_create_resource_import_results.rb +15 -0
  48. data/spec/dummy/db/migrate/20100925074559_create_agent_import_results.rb +11 -0
  49. data/spec/dummy/db/migrate/20101212070145_add_acquired_at_to_item.rb +9 -0
  50. data/spec/dummy/db/migrate/20110301035123_add_pub_date_to_manifestation.rb +9 -0
  51. data/spec/dummy/db/migrate/20110603184217_add_edit_mode_to_resource_import_file.rb +9 -0
  52. data/spec/dummy/db/migrate/20110619064807_add_edition_string_to_manifestation.rb +9 -0
  53. data/spec/dummy/db/migrate/20110620173525_add_bookstore_id_to_item.rb +11 -0
  54. data/spec/dummy/db/migrate/20110627034940_create_series_statement_merge_lists.rb +9 -0
  55. data/spec/dummy/db/migrate/20110627035057_create_series_statement_merges.rb +12 -0
  56. data/spec/dummy/db/migrate/20110916091020_add_volume_number_to_manifestation.rb +13 -0
  57. data/spec/dummy/db/migrate/20110916103953_add_manifestaiton_id_to_series_statement.rb +10 -0
  58. data/spec/dummy/db/migrate/20110918162329_add_note_to_series_statement.rb +9 -0
  59. data/spec/dummy/db/migrate/{20111201121844_create_roles.rb → 20111124110059_create_create_types.rb} +2 -2
  60. data/spec/dummy/db/migrate/20111124110319_create_realize_types.rb +12 -0
  61. data/spec/dummy/db/migrate/20111124110355_create_produce_types.rb +12 -0
  62. data/spec/dummy/db/migrate/20111124112131_add_create_type_to_create.rb +7 -0
  63. data/spec/dummy/db/migrate/20120125152919_add_title_subseries_transcription_to_series_statement.rb +6 -0
  64. data/spec/dummy/db/migrate/20120129020544_add_budget_type_id_to_item.rb +6 -0
  65. data/spec/dummy/db/migrate/20120319120638_add_content_type_id_to_manifestation.rb +6 -0
  66. data/spec/dummy/db/migrate/20120410104851_add_year_of_publication_to_manifestation.rb +5 -0
  67. data/spec/dummy/db/migrate/20120413072700_add_picture_meta_to_picture_file.rb +5 -0
  68. data/spec/dummy/db/migrate/20120413100352_add_fingerprint_to_picture_file.rb +5 -0
  69. data/spec/dummy/db/migrate/20120413161340_add_fingerprint_to_resource_import_file.rb +5 -0
  70. data/spec/dummy/db/migrate/20120413161403_add_fingerprint_to_agent_import_file.rb +5 -0
  71. data/spec/dummy/db/migrate/20120413170705_add_error_message_to_resource_import_file.rb +5 -0
  72. data/spec/dummy/db/migrate/20120413170720_add_error_message_to_agent_import_file.rb +5 -0
  73. data/spec/dummy/db/migrate/20120415164821_add_attachment_meta_to_manifestation.rb +5 -0
  74. data/spec/dummy/db/migrate/20120418081407_add_month_of_publication_to_manifestation.rb +5 -0
  75. data/spec/dummy/db/migrate/20120511072422_add_agent_identifier_to_agent.rb +6 -0
  76. data/spec/dummy/db/migrate/20120602141129_add_edit_mode_to_agent_import_file.rb +5 -0
  77. data/spec/dummy/db/migrate/20121116031206_add_fulltext_content_to_manifestation.rb +5 -0
  78. data/spec/dummy/db/migrate/20130221154434_add_additional_attributes_to_user.rb +1 -11
  79. data/spec/dummy/db/migrate/20130421093852_add_periodical_to_manifestation.rb +5 -0
  80. data/spec/dummy/db/migrate/20130421155019_add_creator_string_to_series_statement.rb +7 -0
  81. data/spec/dummy/db/migrate/20130421164124_add_series_master_to_series_statement.rb +5 -0
  82. data/spec/dummy/db/migrate/20130429020822_add_root_manifestation_id_to_series_statement.rb +6 -0
  83. data/spec/dummy/db/migrate/20130506175303_create_identifier_types.rb +12 -0
  84. data/spec/dummy/db/migrate/20130506175834_create_identifiers.rb +15 -0
  85. data/spec/dummy/db/migrate/20130509185724_add_statement_of_responsibility_to_manifestation.rb +5 -0
  86. data/spec/dummy/db/migrate/20140519170214_create_resource_import_file_transitions.rb +14 -0
  87. data/spec/dummy/db/migrate/20140519171220_create_import_request_transitions.rb +14 -0
  88. data/spec/dummy/db/migrate/20140524020735_create_agent_import_file_transitions.rb +14 -0
  89. data/spec/dummy/db/migrate/20140614065404_create_resource_export_files.rb +11 -0
  90. data/spec/dummy/db/migrate/20140614141500_create_resource_export_file_transitions.rb +14 -0
  91. data/spec/dummy/db/migrate/20140628073524_add_user_encoding_to_agent_import_file.rb +5 -0
  92. data/spec/dummy/db/migrate/20140628073535_add_user_encoding_to_resource_import_file.rb +5 -0
  93. data/spec/dummy/db/migrate/20140720140916_add_binding_item_identifier_to_item.rb +8 -0
  94. data/spec/dummy/db/migrate/20140721151416_add_default_shelf_id_to_resource_import_file.rb +5 -0
  95. data/spec/dummy/db/migrate/20140802082007_add_manifestation_id_to_item.rb +6 -0
  96. data/spec/dummy/db/migrate/20140813182425_add_publication_place_to_manifestation.rb +5 -0
  97. data/spec/dummy/db/migrate/20140817155043_add_extent_of_text_to_manifestation.rb +5 -0
  98. data/spec/dummy/db/schema.rb +547 -50
  99. data/spec/dummy/db/test.sqlite3 +0 -0
  100. data/spec/dummy/solr/default/data/index/_q3.fdt +0 -0
  101. data/spec/dummy/solr/default/data/index/{_oj.si → _q3.si} +0 -0
  102. data/spec/dummy/solr/default/data/index/{_oj_Lucene41_0.tim → _q3_Lucene41_0.tim} +0 -0
  103. data/spec/dummy/solr/default/data/index/segments.gen +0 -0
  104. data/spec/dummy/solr/default/data/index/segments_17z +0 -0
  105. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000001572 +0 -0
  106. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000001573 +0 -0
  107. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000001574 +0 -0
  108. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000001575 +0 -0
  109. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000001576 +0 -0
  110. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000001577 +0 -0
  111. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000001578 +0 -0
  112. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000001579 +0 -0
  113. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000001580 +0 -0
  114. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000001581 +0 -0
  115. data/spec/factories/profile.rb +5 -1
  116. data/spec/factories/user.rb +0 -13
  117. data/spec/fixtures/library_groups.yml +0 -2
  118. metadata +216 -76
  119. data/spec/dummy/app/mailers/notifier.rb +0 -30
  120. data/spec/dummy/db/migrate/20100222124420_add_allow_bookmark_external_url_to_library_group.rb +0 -9
  121. data/spec/dummy/db/migrate/20100527113752_create_delayed_jobs.rb +0 -21
  122. data/spec/dummy/db/migrate/20111020063828_remove_dsbl_from_library_group.rb +0 -11
  123. data/spec/dummy/db/migrate/20111201121636_create_languages.rb +0 -16
  124. data/spec/dummy/solr/default/data/index/_oj.fdt +0 -0
  125. data/spec/dummy/solr/default/data/index/segments_14v +0 -0
  126. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000001460 +0 -0
  127. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000001461 +0 -0
  128. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000001462 +0 -0
  129. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000001463 +0 -0
  130. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000001464 +0 -0
  131. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000001465 +0 -0
  132. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000001466 +0 -0
  133. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000001467 +0 -0
  134. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000001468 +0 -0
  135. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000001469 +0 -0
  136. /data/spec/dummy/db/migrate/{20111201155456_devise_create_users.rb → 002_devise_create_users.rb} +0 -0
  137. /data/spec/dummy/solr/default/data/index/{_oj.fdx → _q3.fdx} +0 -0
  138. /data/spec/dummy/solr/default/data/index/{_oj.fnm → _q3.fnm} +0 -0
  139. /data/spec/dummy/solr/default/data/index/{_oj.nvd → _q3.nvd} +0 -0
  140. /data/spec/dummy/solr/default/data/index/{_oj.nvm → _q3.nvm} +0 -0
  141. /data/spec/dummy/solr/default/data/index/{_oj_Lucene41_0.doc → _q3_Lucene41_0.doc} +0 -0
  142. /data/spec/dummy/solr/default/data/index/{_oj_Lucene41_0.pos → _q3_Lucene41_0.pos} +0 -0
  143. /data/spec/dummy/solr/default/data/index/{_oj_Lucene41_0.tip → _q3_Lucene41_0.tip} +0 -0
Binary file
@@ -5,6 +5,10 @@ FactoryGirl.define do
5
5
  f.sequence(:user_number){|n| "user_number_#{n}"}
6
6
  f.library_id 2
7
7
  f.locale "ja"
8
- f.user{FactoryGirl.create(:user)}
8
+ after(:create) do |profile|
9
+ user = FactoryGirl.create(:user)
10
+ profile.user = user
11
+ profile.save
12
+ end
9
13
  end
10
14
  end
@@ -3,12 +3,8 @@ FactoryGirl.define do
3
3
  f.sequence(:username){|n| "admin_#{n}"}
4
4
  f.sequence(:email){|n| "admin_#{n}@example.jp"}
5
5
  f.email_confirmation{|u| u.email}
6
- f.library_id{FactoryGirl.create(:library).id}
7
6
  f.password 'adminpassword'
8
7
  f.password_confirmation 'adminpassword'
9
- f.user_group_id{UserGroup.where(:name => 'User').first.id}
10
- f.required_role_id{Role.find_by_name('User').id}
11
- f.locale 'ja'
12
8
  f.after(:create) do |user|
13
9
  user_has_role = UserHasRole.new
14
10
  user_has_role.assign_attributes({:user_id => user.id, :role_id => Role.find_by_name('Administrator').id})
@@ -21,12 +17,8 @@ FactoryGirl.define do
21
17
  f.sequence(:username){|n| "librarian_#{n}"}
22
18
  f.sequence(:email){|n| "librarian_#{n}@example.jp"}
23
19
  f.email_confirmation{|u| u.email}
24
- f.library_id{FactoryGirl.create(:library).id}
25
20
  f.password 'librarianpassword'
26
21
  f.password_confirmation 'librarianpassword'
27
- f.user_group_id{UserGroup.where(:name => 'User').first.id}
28
- f.required_role_id{Role.find_by_name('User').id}
29
- f.locale 'ja'
30
22
  f.after(:create) do |user|
31
23
  user_has_role = UserHasRole.new
32
24
  user_has_role.assign_attributes({:user_id => user.id, :role_id => Role.find_by_name('Librarian').id})
@@ -39,13 +31,8 @@ FactoryGirl.define do
39
31
  f.sequence(:username){|n| "user_#{n}"}
40
32
  f.sequence(:email){|n| "user_#{n}@example.jp"}
41
33
  f.email_confirmation{|u| u.email}
42
- f.library_id{FactoryGirl.create(:library).id}
43
34
  f.password 'userpassword'
44
35
  f.password_confirmation 'userpassword'
45
- f.user_group_id{UserGroup.where(:name => 'not_specified').first.id}
46
- f.required_role_id{Role.find_by_name('User').id}
47
- f.locale 'ja'
48
- f.sequence(:user_number){|n| "user_number_#{n}"}
49
36
  f.after(:create) do |user|
50
37
  user_has_role = UserHasRole.new
51
38
  user_has_role.assign_attributes({:user_id => user.id, :role_id => Role.find_by_name('User').id})
@@ -4,7 +4,6 @@ one:
4
4
  name: enju_library
5
5
  display_name: "<%= I18n.locale %>: Enju Library"
6
6
  short_name: enju
7
- email: next-l@library.example.jp
8
7
  note:
9
8
  my_networks: 0.0.0.0/0
10
9
  url: "http://localhost:3000/"
@@ -20,7 +19,6 @@ one:
20
19
  # name :string(255) not null
21
20
  # display_name :text
22
21
  # short_name :string(255) not null
23
- # email :string(255)
24
22
  # my_networks :text
25
23
  # login_banner :text
26
24
  # note :text
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: enju_message
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.14.pre16
4
+ version: 0.1.14.pre17
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kosuke Tanabe
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-08-16 00:00:00.000000000 Z
11
+ date: 2014-08-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: enju_seed
@@ -66,20 +66,6 @@ dependencies:
66
66
  - - ">="
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
- - !ruby/object:Gem::Dependency
70
- name: inherited_resources
71
- requirement: !ruby/object:Gem::Requirement
72
- requirements:
73
- - - ">="
74
- - !ruby/object:Gem::Version
75
- version: '0'
76
- type: :runtime
77
- prerelease: false
78
- version_requirements: !ruby/object:Gem::Requirement
79
- requirements:
80
- - - ">="
81
- - !ruby/object:Gem::Version
82
- version: '0'
83
69
  - !ruby/object:Gem::Dependency
84
70
  name: resque_mailer
85
71
  requirement: !ruby/object:Gem::Requirement
@@ -128,14 +114,14 @@ dependencies:
128
114
  requirements:
129
115
  - - "~>"
130
116
  - !ruby/object:Gem::Version
131
- version: 1.1.0.rc13
117
+ version: 1.1.0.rc14
132
118
  type: :development
133
119
  prerelease: false
134
120
  version_requirements: !ruby/object:Gem::Requirement
135
121
  requirements:
136
122
  - - "~>"
137
123
  - !ruby/object:Gem::Version
138
- version: 1.1.0.rc13
124
+ version: 1.1.0.rc14
139
125
  - !ruby/object:Gem::Dependency
140
126
  name: rspec-rails
141
127
  requirement: !ruby/object:Gem::Requirement
@@ -304,7 +290,6 @@ files:
304
290
  - spec/dummy/app/assets/stylesheets/application.css
305
291
  - spec/dummy/app/controllers/application_controller.rb
306
292
  - spec/dummy/app/helpers/application_helper.rb
307
- - spec/dummy/app/mailers/notifier.rb
308
293
  - spec/dummy/app/models/ability.rb
309
294
  - spec/dummy/app/models/setting.rb
310
295
  - spec/dummy/app/models/user.rb
@@ -328,50 +313,128 @@ files:
328
313
  - spec/dummy/config/initializers/wrap_parameters.rb
329
314
  - spec/dummy/config/locales/en.yml
330
315
  - spec/dummy/config/routes.rb
316
+ - spec/dummy/db/development.sqlite3
331
317
  - spec/dummy/db/migrate/001_create_agents.rb
318
+ - spec/dummy/db/migrate/002_devise_create_users.rb
319
+ - spec/dummy/db/migrate/005_create_manifestations.rb
320
+ - spec/dummy/db/migrate/006_create_items.rb
321
+ - spec/dummy/db/migrate/012_create_owns.rb
322
+ - spec/dummy/db/migrate/015_create_creates.rb
323
+ - spec/dummy/db/migrate/041_create_roles.rb
324
+ - spec/dummy/db/migrate/047_create_produces.rb
332
325
  - spec/dummy/db/migrate/059_create_libraries.rb
333
326
  - spec/dummy/db/migrate/069_create_shelves.rb
327
+ - spec/dummy/db/migrate/073_create_carrier_types.rb
334
328
  - spec/dummy/db/migrate/077_create_user_groups.rb
335
329
  - spec/dummy/db/migrate/080_create_library_groups.rb
330
+ - spec/dummy/db/migrate/112_create_frequencies.rb
331
+ - spec/dummy/db/migrate/117_create_form_of_works.rb
336
332
  - spec/dummy/db/migrate/120_create_baskets.rb
337
333
  - spec/dummy/db/migrate/124_create_bookstores.rb
334
+ - spec/dummy/db/migrate/125_create_donates.rb
338
335
  - spec/dummy/db/migrate/130_create_request_status_types.rb
339
336
  - spec/dummy/db/migrate/131_create_request_types.rb
337
+ - spec/dummy/db/migrate/20080830154109_create_realizes.rb
338
+ - spec/dummy/db/migrate/20080830172106_create_exemplifies.rb
340
339
  - spec/dummy/db/migrate/20080905191442_create_agent_types.rb
341
340
  - spec/dummy/db/migrate/20081006090811_create_subscriptions.rb
342
341
  - spec/dummy/db/migrate/20081006093246_create_subscribes.rb
343
342
  - spec/dummy/db/migrate/20081023092436_create_search_engines.rb
344
343
  - spec/dummy/db/migrate/20081025083323_create_countries.rb
344
+ - spec/dummy/db/migrate/20081025083905_create_languages.rb
345
+ - spec/dummy/db/migrate/20081027150907_create_picture_files.rb
346
+ - spec/dummy/db/migrate/20081028083142_create_agent_import_files.rb
347
+ - spec/dummy/db/migrate/20081028083208_create_resource_import_files.rb
348
+ - spec/dummy/db/migrate/20090705133942_add_attachments_picture_to_picture_file.rb
349
+ - spec/dummy/db/migrate/20090705212043_add_attachments_attachment_to_manifestation.rb
350
+ - spec/dummy/db/migrate/20090719201843_create_extents.rb
351
+ - spec/dummy/db/migrate/20090720091106_create_medium_of_performances.rb
352
+ - spec/dummy/db/migrate/20090720091429_create_content_types.rb
353
+ - spec/dummy/db/migrate/20090812151902_create_agent_relationship_types.rb
354
+ - spec/dummy/db/migrate/20091012101112_add_dcndl_schema.rb
355
+ - spec/dummy/db/migrate/20091025080447_create_licenses.rb
345
356
  - spec/dummy/db/migrate/20091202124834_create_versions.rb
357
+ - spec/dummy/db/migrate/20091214131723_create_series_statements.rb
358
+ - spec/dummy/db/migrate/20100129142347_create_import_requests.rb
346
359
  - spec/dummy/db/migrate/20100211105551_add_admin_networks_to_library_group.rb
347
- - spec/dummy/db/migrate/20100222124420_add_allow_bookmark_external_url_to_library_group.rb
360
+ - spec/dummy/db/migrate/20100223121519_rename_series_statement_title_to_original_title.rb
348
361
  - spec/dummy/db/migrate/20100314190054_add_opening_hour_to_library.rb
349
- - spec/dummy/db/migrate/20100527113752_create_delayed_jobs.rb
362
+ - spec/dummy/db/migrate/20100321235924_add_series_statement_identifier_to_series_statement.rb
363
+ - spec/dummy/db/migrate/20100525124311_create_manifestation_relationships.rb
364
+ - spec/dummy/db/migrate/20100606065209_create_user_has_roles.rb
365
+ - spec/dummy/db/migrate/20100606073747_create_agent_relationships.rb
366
+ - spec/dummy/db/migrate/20100607044753_create_manifestation_relationship_types.rb
367
+ - spec/dummy/db/migrate/20100814091104_add_position_to_agent_relationship.rb
368
+ - spec/dummy/db/migrate/20100925043847_create_resource_import_results.rb
369
+ - spec/dummy/db/migrate/20100925074559_create_agent_import_results.rb
370
+ - spec/dummy/db/migrate/20101212070145_add_acquired_at_to_item.rb
350
371
  - spec/dummy/db/migrate/20110222073537_add_url_to_library_group.rb
372
+ - spec/dummy/db/migrate/20110301035123_add_pub_date_to_manifestation.rb
351
373
  - spec/dummy/db/migrate/20110301121550_add_birth_date_and_death_date_to_agent.rb
352
374
  - spec/dummy/db/migrate/20110318183304_add_valid_period_for_new_user_to_user_group.rb
353
- - spec/dummy/db/migrate/20111020063828_remove_dsbl_from_library_group.rb
354
- - spec/dummy/db/migrate/20111201121636_create_languages.rb
355
- - spec/dummy/db/migrate/20111201121844_create_roles.rb
356
- - spec/dummy/db/migrate/20111201155456_devise_create_users.rb
357
- - spec/dummy/db/migrate/20111201163718_create_user_has_roles.rb
375
+ - spec/dummy/db/migrate/20110603184217_add_edit_mode_to_resource_import_file.rb
376
+ - spec/dummy/db/migrate/20110619064807_add_edition_string_to_manifestation.rb
377
+ - spec/dummy/db/migrate/20110620173525_add_bookstore_id_to_item.rb
378
+ - spec/dummy/db/migrate/20110627034940_create_series_statement_merge_lists.rb
379
+ - spec/dummy/db/migrate/20110627035057_create_series_statement_merges.rb
380
+ - spec/dummy/db/migrate/20110916091020_add_volume_number_to_manifestation.rb
381
+ - spec/dummy/db/migrate/20110916103953_add_manifestaiton_id_to_series_statement.rb
382
+ - spec/dummy/db/migrate/20110918162329_add_note_to_series_statement.rb
383
+ - spec/dummy/db/migrate/20111124110059_create_create_types.rb
384
+ - spec/dummy/db/migrate/20111124110319_create_realize_types.rb
385
+ - spec/dummy/db/migrate/20111124110355_create_produce_types.rb
386
+ - spec/dummy/db/migrate/20111124112131_add_create_type_to_create.rb
358
387
  - spec/dummy/db/migrate/20120105074911_add_isil_to_library.rb
388
+ - spec/dummy/db/migrate/20120125152919_add_title_subseries_transcription_to_series_statement.rb
359
389
  - spec/dummy/db/migrate/20120129014038_create_budget_types.rb
390
+ - spec/dummy/db/migrate/20120129020544_add_budget_type_id_to_item.rb
391
+ - spec/dummy/db/migrate/20120319120638_add_content_type_id_to_manifestation.rb
360
392
  - spec/dummy/db/migrate/20120319173203_create_accepts.rb
393
+ - spec/dummy/db/migrate/20120410104851_add_year_of_publication_to_manifestation.rb
394
+ - spec/dummy/db/migrate/20120413072700_add_picture_meta_to_picture_file.rb
395
+ - spec/dummy/db/migrate/20120413100352_add_fingerprint_to_picture_file.rb
396
+ - spec/dummy/db/migrate/20120413161340_add_fingerprint_to_resource_import_file.rb
397
+ - spec/dummy/db/migrate/20120413161403_add_fingerprint_to_agent_import_file.rb
398
+ - spec/dummy/db/migrate/20120413170705_add_error_message_to_resource_import_file.rb
399
+ - spec/dummy/db/migrate/20120413170720_add_error_message_to_agent_import_file.rb
400
+ - spec/dummy/db/migrate/20120415164821_add_attachment_meta_to_manifestation.rb
401
+ - spec/dummy/db/migrate/20120418081407_add_month_of_publication_to_manifestation.rb
361
402
  - spec/dummy/db/migrate/20120510140958_add_closed_to_shelf.rb
403
+ - spec/dummy/db/migrate/20120511072422_add_agent_identifier_to_agent.rb
404
+ - spec/dummy/db/migrate/20120602141129_add_edit_mode_to_agent_import_file.rb
405
+ - spec/dummy/db/migrate/20121116031206_add_fulltext_content_to_manifestation.rb
362
406
  - spec/dummy/db/migrate/20130221154434_add_additional_attributes_to_user.rb
363
407
  - spec/dummy/db/migrate/20130412083556_add_latitude_and_longitude_to_library.rb
408
+ - spec/dummy/db/migrate/20130421093852_add_periodical_to_manifestation.rb
409
+ - spec/dummy/db/migrate/20130421155019_add_creator_string_to_series_statement.rb
410
+ - spec/dummy/db/migrate/20130421164124_add_series_master_to_series_statement.rb
411
+ - spec/dummy/db/migrate/20130429020822_add_root_manifestation_id_to_series_statement.rb
412
+ - spec/dummy/db/migrate/20130506175303_create_identifier_types.rb
413
+ - spec/dummy/db/migrate/20130506175834_create_identifiers.rb
414
+ - spec/dummy/db/migrate/20130509185724_add_statement_of_responsibility_to_manifestation.rb
364
415
  - spec/dummy/db/migrate/20140110122216_create_user_import_files.rb
365
416
  - spec/dummy/db/migrate/20140110131010_create_user_import_results.rb
366
417
  - spec/dummy/db/migrate/20140122054321_create_profiles.rb
418
+ - spec/dummy/db/migrate/20140519170214_create_resource_import_file_transitions.rb
419
+ - spec/dummy/db/migrate/20140519171220_create_import_request_transitions.rb
420
+ - spec/dummy/db/migrate/20140524020735_create_agent_import_file_transitions.rb
367
421
  - spec/dummy/db/migrate/20140524074813_create_user_import_file_transitions.rb
368
422
  - spec/dummy/db/migrate/20140610123439_drop_email_unique_constraint_enju_leaf_rc10.rb
423
+ - spec/dummy/db/migrate/20140614065404_create_resource_export_files.rb
424
+ - spec/dummy/db/migrate/20140614141500_create_resource_export_file_transitions.rb
369
425
  - spec/dummy/db/migrate/20140628072217_add_user_encoding_to_user_import_file.rb
426
+ - spec/dummy/db/migrate/20140628073524_add_user_encoding_to_agent_import_file.rb
427
+ - spec/dummy/db/migrate/20140628073535_add_user_encoding_to_resource_import_file.rb
370
428
  - spec/dummy/db/migrate/20140709113413_create_user_export_files.rb
371
429
  - spec/dummy/db/migrate/20140709113905_create_user_export_file_transitions.rb
430
+ - spec/dummy/db/migrate/20140720140916_add_binding_item_identifier_to_item.rb
372
431
  - spec/dummy/db/migrate/20140720170714_add_default_library_id_to_user_import_file.rb
373
432
  - spec/dummy/db/migrate/20140720170735_add_default_user_group_id_to_user_import_file.rb
433
+ - spec/dummy/db/migrate/20140721151416_add_default_shelf_id_to_resource_import_file.rb
434
+ - spec/dummy/db/migrate/20140802082007_add_manifestation_id_to_item.rb
374
435
  - spec/dummy/db/migrate/20140811031145_add_expired_at_to_profile.rb
436
+ - spec/dummy/db/migrate/20140813182425_add_publication_place_to_manifestation.rb
437
+ - spec/dummy/db/migrate/20140817155043_add_extent_of_text_to_manifestation.rb
375
438
  - spec/dummy/db/schema.rb
376
439
  - spec/dummy/db/test.sqlite3
377
440
  - spec/dummy/public/404.html
@@ -390,28 +453,28 @@ files:
390
453
  - spec/dummy/solr/conf/spellings.txt
391
454
  - spec/dummy/solr/conf/stopwords.txt
392
455
  - spec/dummy/solr/conf/synonyms.txt
393
- - spec/dummy/solr/default/data/index/_oj.fdt
394
- - spec/dummy/solr/default/data/index/_oj.fdx
395
- - spec/dummy/solr/default/data/index/_oj.fnm
396
- - spec/dummy/solr/default/data/index/_oj.nvd
397
- - spec/dummy/solr/default/data/index/_oj.nvm
398
- - spec/dummy/solr/default/data/index/_oj.si
399
- - spec/dummy/solr/default/data/index/_oj_Lucene41_0.doc
400
- - spec/dummy/solr/default/data/index/_oj_Lucene41_0.pos
401
- - spec/dummy/solr/default/data/index/_oj_Lucene41_0.tim
402
- - spec/dummy/solr/default/data/index/_oj_Lucene41_0.tip
456
+ - spec/dummy/solr/default/data/index/_q3.fdt
457
+ - spec/dummy/solr/default/data/index/_q3.fdx
458
+ - spec/dummy/solr/default/data/index/_q3.fnm
459
+ - spec/dummy/solr/default/data/index/_q3.nvd
460
+ - spec/dummy/solr/default/data/index/_q3.nvm
461
+ - spec/dummy/solr/default/data/index/_q3.si
462
+ - spec/dummy/solr/default/data/index/_q3_Lucene41_0.doc
463
+ - spec/dummy/solr/default/data/index/_q3_Lucene41_0.pos
464
+ - spec/dummy/solr/default/data/index/_q3_Lucene41_0.tim
465
+ - spec/dummy/solr/default/data/index/_q3_Lucene41_0.tip
403
466
  - spec/dummy/solr/default/data/index/segments.gen
404
- - spec/dummy/solr/default/data/index/segments_14v
405
- - spec/dummy/solr/default/data/tlog/tlog.0000000000000001460
406
- - spec/dummy/solr/default/data/tlog/tlog.0000000000000001461
407
- - spec/dummy/solr/default/data/tlog/tlog.0000000000000001462
408
- - spec/dummy/solr/default/data/tlog/tlog.0000000000000001463
409
- - spec/dummy/solr/default/data/tlog/tlog.0000000000000001464
410
- - spec/dummy/solr/default/data/tlog/tlog.0000000000000001465
411
- - spec/dummy/solr/default/data/tlog/tlog.0000000000000001466
412
- - spec/dummy/solr/default/data/tlog/tlog.0000000000000001467
413
- - spec/dummy/solr/default/data/tlog/tlog.0000000000000001468
414
- - spec/dummy/solr/default/data/tlog/tlog.0000000000000001469
467
+ - spec/dummy/solr/default/data/index/segments_17z
468
+ - spec/dummy/solr/default/data/tlog/tlog.0000000000000001572
469
+ - spec/dummy/solr/default/data/tlog/tlog.0000000000000001573
470
+ - spec/dummy/solr/default/data/tlog/tlog.0000000000000001574
471
+ - spec/dummy/solr/default/data/tlog/tlog.0000000000000001575
472
+ - spec/dummy/solr/default/data/tlog/tlog.0000000000000001576
473
+ - spec/dummy/solr/default/data/tlog/tlog.0000000000000001577
474
+ - spec/dummy/solr/default/data/tlog/tlog.0000000000000001578
475
+ - spec/dummy/solr/default/data/tlog/tlog.0000000000000001579
476
+ - spec/dummy/solr/default/data/tlog/tlog.0000000000000001580
477
+ - spec/dummy/solr/default/data/tlog/tlog.0000000000000001581
415
478
  - spec/dummy/solr/development/data/index/segments.gen
416
479
  - spec/dummy/solr/development/data/index/segments_1
417
480
  - spec/dummy/solr/solr.xml
@@ -471,7 +534,6 @@ test_files:
471
534
  - spec/dummy/app/assets/stylesheets/application.css
472
535
  - spec/dummy/app/controllers/application_controller.rb
473
536
  - spec/dummy/app/helpers/application_helper.rb
474
- - spec/dummy/app/mailers/notifier.rb
475
537
  - spec/dummy/app/models/ability.rb
476
538
  - spec/dummy/app/models/setting.rb
477
539
  - spec/dummy/app/models/user.rb
@@ -495,50 +557,128 @@ test_files:
495
557
  - spec/dummy/config/locales/en.yml
496
558
  - spec/dummy/config/routes.rb
497
559
  - spec/dummy/config.ru
560
+ - spec/dummy/db/development.sqlite3
498
561
  - spec/dummy/db/migrate/001_create_agents.rb
562
+ - spec/dummy/db/migrate/002_devise_create_users.rb
563
+ - spec/dummy/db/migrate/005_create_manifestations.rb
564
+ - spec/dummy/db/migrate/006_create_items.rb
565
+ - spec/dummy/db/migrate/012_create_owns.rb
566
+ - spec/dummy/db/migrate/015_create_creates.rb
567
+ - spec/dummy/db/migrate/041_create_roles.rb
568
+ - spec/dummy/db/migrate/047_create_produces.rb
499
569
  - spec/dummy/db/migrate/059_create_libraries.rb
500
570
  - spec/dummy/db/migrate/069_create_shelves.rb
571
+ - spec/dummy/db/migrate/073_create_carrier_types.rb
501
572
  - spec/dummy/db/migrate/077_create_user_groups.rb
502
573
  - spec/dummy/db/migrate/080_create_library_groups.rb
574
+ - spec/dummy/db/migrate/112_create_frequencies.rb
575
+ - spec/dummy/db/migrate/117_create_form_of_works.rb
503
576
  - spec/dummy/db/migrate/120_create_baskets.rb
504
577
  - spec/dummy/db/migrate/124_create_bookstores.rb
578
+ - spec/dummy/db/migrate/125_create_donates.rb
505
579
  - spec/dummy/db/migrate/130_create_request_status_types.rb
506
580
  - spec/dummy/db/migrate/131_create_request_types.rb
581
+ - spec/dummy/db/migrate/20080830154109_create_realizes.rb
582
+ - spec/dummy/db/migrate/20080830172106_create_exemplifies.rb
507
583
  - spec/dummy/db/migrate/20080905191442_create_agent_types.rb
508
584
  - spec/dummy/db/migrate/20081006090811_create_subscriptions.rb
509
585
  - spec/dummy/db/migrate/20081006093246_create_subscribes.rb
510
586
  - spec/dummy/db/migrate/20081023092436_create_search_engines.rb
511
587
  - spec/dummy/db/migrate/20081025083323_create_countries.rb
588
+ - spec/dummy/db/migrate/20081025083905_create_languages.rb
589
+ - spec/dummy/db/migrate/20081027150907_create_picture_files.rb
590
+ - spec/dummy/db/migrate/20081028083142_create_agent_import_files.rb
591
+ - spec/dummy/db/migrate/20081028083208_create_resource_import_files.rb
592
+ - spec/dummy/db/migrate/20090705133942_add_attachments_picture_to_picture_file.rb
593
+ - spec/dummy/db/migrate/20090705212043_add_attachments_attachment_to_manifestation.rb
594
+ - spec/dummy/db/migrate/20090719201843_create_extents.rb
595
+ - spec/dummy/db/migrate/20090720091106_create_medium_of_performances.rb
596
+ - spec/dummy/db/migrate/20090720091429_create_content_types.rb
597
+ - spec/dummy/db/migrate/20090812151902_create_agent_relationship_types.rb
598
+ - spec/dummy/db/migrate/20091012101112_add_dcndl_schema.rb
599
+ - spec/dummy/db/migrate/20091025080447_create_licenses.rb
512
600
  - spec/dummy/db/migrate/20091202124834_create_versions.rb
601
+ - spec/dummy/db/migrate/20091214131723_create_series_statements.rb
602
+ - spec/dummy/db/migrate/20100129142347_create_import_requests.rb
513
603
  - spec/dummy/db/migrate/20100211105551_add_admin_networks_to_library_group.rb
514
- - spec/dummy/db/migrate/20100222124420_add_allow_bookmark_external_url_to_library_group.rb
604
+ - spec/dummy/db/migrate/20100223121519_rename_series_statement_title_to_original_title.rb
515
605
  - spec/dummy/db/migrate/20100314190054_add_opening_hour_to_library.rb
516
- - spec/dummy/db/migrate/20100527113752_create_delayed_jobs.rb
606
+ - spec/dummy/db/migrate/20100321235924_add_series_statement_identifier_to_series_statement.rb
607
+ - spec/dummy/db/migrate/20100525124311_create_manifestation_relationships.rb
608
+ - spec/dummy/db/migrate/20100606065209_create_user_has_roles.rb
609
+ - spec/dummy/db/migrate/20100606073747_create_agent_relationships.rb
610
+ - spec/dummy/db/migrate/20100607044753_create_manifestation_relationship_types.rb
611
+ - spec/dummy/db/migrate/20100814091104_add_position_to_agent_relationship.rb
612
+ - spec/dummy/db/migrate/20100925043847_create_resource_import_results.rb
613
+ - spec/dummy/db/migrate/20100925074559_create_agent_import_results.rb
614
+ - spec/dummy/db/migrate/20101212070145_add_acquired_at_to_item.rb
517
615
  - spec/dummy/db/migrate/20110222073537_add_url_to_library_group.rb
616
+ - spec/dummy/db/migrate/20110301035123_add_pub_date_to_manifestation.rb
518
617
  - spec/dummy/db/migrate/20110301121550_add_birth_date_and_death_date_to_agent.rb
519
618
  - spec/dummy/db/migrate/20110318183304_add_valid_period_for_new_user_to_user_group.rb
520
- - spec/dummy/db/migrate/20111020063828_remove_dsbl_from_library_group.rb
521
- - spec/dummy/db/migrate/20111201121636_create_languages.rb
522
- - spec/dummy/db/migrate/20111201121844_create_roles.rb
523
- - spec/dummy/db/migrate/20111201155456_devise_create_users.rb
524
- - spec/dummy/db/migrate/20111201163718_create_user_has_roles.rb
619
+ - spec/dummy/db/migrate/20110603184217_add_edit_mode_to_resource_import_file.rb
620
+ - spec/dummy/db/migrate/20110619064807_add_edition_string_to_manifestation.rb
621
+ - spec/dummy/db/migrate/20110620173525_add_bookstore_id_to_item.rb
622
+ - spec/dummy/db/migrate/20110627034940_create_series_statement_merge_lists.rb
623
+ - spec/dummy/db/migrate/20110627035057_create_series_statement_merges.rb
624
+ - spec/dummy/db/migrate/20110916091020_add_volume_number_to_manifestation.rb
625
+ - spec/dummy/db/migrate/20110916103953_add_manifestaiton_id_to_series_statement.rb
626
+ - spec/dummy/db/migrate/20110918162329_add_note_to_series_statement.rb
627
+ - spec/dummy/db/migrate/20111124110059_create_create_types.rb
628
+ - spec/dummy/db/migrate/20111124110319_create_realize_types.rb
629
+ - spec/dummy/db/migrate/20111124110355_create_produce_types.rb
630
+ - spec/dummy/db/migrate/20111124112131_add_create_type_to_create.rb
525
631
  - spec/dummy/db/migrate/20120105074911_add_isil_to_library.rb
632
+ - spec/dummy/db/migrate/20120125152919_add_title_subseries_transcription_to_series_statement.rb
526
633
  - spec/dummy/db/migrate/20120129014038_create_budget_types.rb
634
+ - spec/dummy/db/migrate/20120129020544_add_budget_type_id_to_item.rb
635
+ - spec/dummy/db/migrate/20120319120638_add_content_type_id_to_manifestation.rb
527
636
  - spec/dummy/db/migrate/20120319173203_create_accepts.rb
637
+ - spec/dummy/db/migrate/20120410104851_add_year_of_publication_to_manifestation.rb
638
+ - spec/dummy/db/migrate/20120413072700_add_picture_meta_to_picture_file.rb
639
+ - spec/dummy/db/migrate/20120413100352_add_fingerprint_to_picture_file.rb
640
+ - spec/dummy/db/migrate/20120413161340_add_fingerprint_to_resource_import_file.rb
641
+ - spec/dummy/db/migrate/20120413161403_add_fingerprint_to_agent_import_file.rb
642
+ - spec/dummy/db/migrate/20120413170705_add_error_message_to_resource_import_file.rb
643
+ - spec/dummy/db/migrate/20120413170720_add_error_message_to_agent_import_file.rb
644
+ - spec/dummy/db/migrate/20120415164821_add_attachment_meta_to_manifestation.rb
645
+ - spec/dummy/db/migrate/20120418081407_add_month_of_publication_to_manifestation.rb
528
646
  - spec/dummy/db/migrate/20120510140958_add_closed_to_shelf.rb
647
+ - spec/dummy/db/migrate/20120511072422_add_agent_identifier_to_agent.rb
648
+ - spec/dummy/db/migrate/20120602141129_add_edit_mode_to_agent_import_file.rb
649
+ - spec/dummy/db/migrate/20121116031206_add_fulltext_content_to_manifestation.rb
529
650
  - spec/dummy/db/migrate/20130221154434_add_additional_attributes_to_user.rb
530
651
  - spec/dummy/db/migrate/20130412083556_add_latitude_and_longitude_to_library.rb
652
+ - spec/dummy/db/migrate/20130421093852_add_periodical_to_manifestation.rb
653
+ - spec/dummy/db/migrate/20130421155019_add_creator_string_to_series_statement.rb
654
+ - spec/dummy/db/migrate/20130421164124_add_series_master_to_series_statement.rb
655
+ - spec/dummy/db/migrate/20130429020822_add_root_manifestation_id_to_series_statement.rb
656
+ - spec/dummy/db/migrate/20130506175303_create_identifier_types.rb
657
+ - spec/dummy/db/migrate/20130506175834_create_identifiers.rb
658
+ - spec/dummy/db/migrate/20130509185724_add_statement_of_responsibility_to_manifestation.rb
531
659
  - spec/dummy/db/migrate/20140110122216_create_user_import_files.rb
532
660
  - spec/dummy/db/migrate/20140110131010_create_user_import_results.rb
533
661
  - spec/dummy/db/migrate/20140122054321_create_profiles.rb
662
+ - spec/dummy/db/migrate/20140519170214_create_resource_import_file_transitions.rb
663
+ - spec/dummy/db/migrate/20140519171220_create_import_request_transitions.rb
664
+ - spec/dummy/db/migrate/20140524020735_create_agent_import_file_transitions.rb
534
665
  - spec/dummy/db/migrate/20140524074813_create_user_import_file_transitions.rb
535
666
  - spec/dummy/db/migrate/20140610123439_drop_email_unique_constraint_enju_leaf_rc10.rb
667
+ - spec/dummy/db/migrate/20140614065404_create_resource_export_files.rb
668
+ - spec/dummy/db/migrate/20140614141500_create_resource_export_file_transitions.rb
536
669
  - spec/dummy/db/migrate/20140628072217_add_user_encoding_to_user_import_file.rb
670
+ - spec/dummy/db/migrate/20140628073524_add_user_encoding_to_agent_import_file.rb
671
+ - spec/dummy/db/migrate/20140628073535_add_user_encoding_to_resource_import_file.rb
537
672
  - spec/dummy/db/migrate/20140709113413_create_user_export_files.rb
538
673
  - spec/dummy/db/migrate/20140709113905_create_user_export_file_transitions.rb
674
+ - spec/dummy/db/migrate/20140720140916_add_binding_item_identifier_to_item.rb
539
675
  - spec/dummy/db/migrate/20140720170714_add_default_library_id_to_user_import_file.rb
540
676
  - spec/dummy/db/migrate/20140720170735_add_default_user_group_id_to_user_import_file.rb
677
+ - spec/dummy/db/migrate/20140721151416_add_default_shelf_id_to_resource_import_file.rb
678
+ - spec/dummy/db/migrate/20140802082007_add_manifestation_id_to_item.rb
541
679
  - spec/dummy/db/migrate/20140811031145_add_expired_at_to_profile.rb
680
+ - spec/dummy/db/migrate/20140813182425_add_publication_place_to_manifestation.rb
681
+ - spec/dummy/db/migrate/20140817155043_add_extent_of_text_to_manifestation.rb
542
682
  - spec/dummy/db/schema.rb
543
683
  - spec/dummy/db/test.sqlite3
544
684
  - spec/dummy/public/404.html
@@ -558,28 +698,28 @@ test_files:
558
698
  - spec/dummy/solr/conf/spellings.txt
559
699
  - spec/dummy/solr/conf/stopwords.txt
560
700
  - spec/dummy/solr/conf/synonyms.txt
561
- - spec/dummy/solr/default/data/index/_oj.fdt
562
- - spec/dummy/solr/default/data/index/_oj.fdx
563
- - spec/dummy/solr/default/data/index/_oj.fnm
564
- - spec/dummy/solr/default/data/index/_oj.nvd
565
- - spec/dummy/solr/default/data/index/_oj.nvm
566
- - spec/dummy/solr/default/data/index/_oj.si
567
- - spec/dummy/solr/default/data/index/_oj_Lucene41_0.doc
568
- - spec/dummy/solr/default/data/index/_oj_Lucene41_0.pos
569
- - spec/dummy/solr/default/data/index/_oj_Lucene41_0.tim
570
- - spec/dummy/solr/default/data/index/_oj_Lucene41_0.tip
701
+ - spec/dummy/solr/default/data/index/_q3.fdt
702
+ - spec/dummy/solr/default/data/index/_q3.fdx
703
+ - spec/dummy/solr/default/data/index/_q3.fnm
704
+ - spec/dummy/solr/default/data/index/_q3.nvd
705
+ - spec/dummy/solr/default/data/index/_q3.nvm
706
+ - spec/dummy/solr/default/data/index/_q3.si
707
+ - spec/dummy/solr/default/data/index/_q3_Lucene41_0.doc
708
+ - spec/dummy/solr/default/data/index/_q3_Lucene41_0.pos
709
+ - spec/dummy/solr/default/data/index/_q3_Lucene41_0.tim
710
+ - spec/dummy/solr/default/data/index/_q3_Lucene41_0.tip
571
711
  - spec/dummy/solr/default/data/index/segments.gen
572
- - spec/dummy/solr/default/data/index/segments_14v
573
- - spec/dummy/solr/default/data/tlog/tlog.0000000000000001460
574
- - spec/dummy/solr/default/data/tlog/tlog.0000000000000001461
575
- - spec/dummy/solr/default/data/tlog/tlog.0000000000000001462
576
- - spec/dummy/solr/default/data/tlog/tlog.0000000000000001463
577
- - spec/dummy/solr/default/data/tlog/tlog.0000000000000001464
578
- - spec/dummy/solr/default/data/tlog/tlog.0000000000000001465
579
- - spec/dummy/solr/default/data/tlog/tlog.0000000000000001466
580
- - spec/dummy/solr/default/data/tlog/tlog.0000000000000001467
581
- - spec/dummy/solr/default/data/tlog/tlog.0000000000000001468
582
- - spec/dummy/solr/default/data/tlog/tlog.0000000000000001469
712
+ - spec/dummy/solr/default/data/index/segments_17z
713
+ - spec/dummy/solr/default/data/tlog/tlog.0000000000000001572
714
+ - spec/dummy/solr/default/data/tlog/tlog.0000000000000001573
715
+ - spec/dummy/solr/default/data/tlog/tlog.0000000000000001574
716
+ - spec/dummy/solr/default/data/tlog/tlog.0000000000000001575
717
+ - spec/dummy/solr/default/data/tlog/tlog.0000000000000001576
718
+ - spec/dummy/solr/default/data/tlog/tlog.0000000000000001577
719
+ - spec/dummy/solr/default/data/tlog/tlog.0000000000000001578
720
+ - spec/dummy/solr/default/data/tlog/tlog.0000000000000001579
721
+ - spec/dummy/solr/default/data/tlog/tlog.0000000000000001580
722
+ - spec/dummy/solr/default/data/tlog/tlog.0000000000000001581
583
723
  - spec/dummy/solr/development/data/index/segments.gen
584
724
  - spec/dummy/solr/development/data/index/segments_1
585
725
  - spec/dummy/solr/solr.xml
@@ -1,30 +0,0 @@
1
- class Notifier < ActionMailer::Base
2
- include Resque::Mailer
3
- if LibraryGroup.site_config.try(:url)
4
- uri = Addressable::URI.parse(LibraryGroup.site_config.url)
5
- default_url_options[:host] = uri.host
6
- default_url_options[:port] = uri.port
7
- else
8
- default_url_options[:host] = 'library.example.jp'
9
- default_url_options[:port] = 80
10
- end
11
-
12
- def message_notification(message_id)
13
- message = Message.find(message_id)
14
- I18n.locale = message.receiver.profile.locale.try(:to_sym) || I18n.default_locale
15
- from = "#{LibraryGroup.system_name(message.receiver.profile.locale)} <#{LibraryGroup.site_config.email}>"
16
- if message.subject
17
- subject = message.subject
18
- else
19
- subject = I18n.t('message.new_message_from_library', :library => LibraryGroup.system_name(message.receiver.user.profile.locale))
20
- end
21
- if message.sender
22
- @sender_name = message.sender.username
23
- else
24
- @sender_name = LibraryGroup.system_name(message.receiver.profile.locale)
25
- end
26
- @message = message
27
- @locale = message.receiver.profile.locale
28
- mail(:from => from, :to => message.receiver.email, :subject => subject)
29
- end
30
- end
@@ -1,9 +0,0 @@
1
- class AddAllowBookmarkExternalUrlToLibraryGroup < ActiveRecord::Migration
2
- def self.up
3
- add_column :library_groups, :allow_bookmark_external_url, :boolean, :null => false, :default => false
4
- end
5
-
6
- def self.down
7
- remove_column :library_groups, :allow_bookmark_external_url
8
- end
9
- end
@@ -1,21 +0,0 @@
1
- class CreateDelayedJobs < ActiveRecord::Migration
2
- def self.up
3
- create_table :delayed_jobs, :force => true do |table|
4
- table.integer :priority, :default => 0 # Allows some jobs to jump to the front of the queue
5
- table.integer :attempts, :default => 0 # Provides for retries, but still fail eventually.
6
- table.text :handler # YAML-encoded string of the object that will do work
7
- table.text :last_error # reason for last failure (See Note below)
8
- table.datetime :run_at # When to run. Could be Time.zone.now for immediately, or sometime in the future.
9
- table.datetime :locked_at # Set when a client is working on this object
10
- table.datetime :failed_at # Set when all retries have failed (actually, by default, the record is deleted instead)
11
- table.string :locked_by # Who is working on this object (if locked)
12
- table.timestamps
13
- end
14
-
15
- add_index :delayed_jobs, [:priority, :run_at], :name => 'delayed_jobs_priority'
16
- end
17
-
18
- def self.down
19
- drop_table :delayed_jobs
20
- end
21
- end
@@ -1,11 +0,0 @@
1
- class RemoveDsblFromLibraryGroup < ActiveRecord::Migration
2
- def up
3
- remove_column :library_groups, :use_dsbl
4
- remove_column :library_groups, :dsbl_list
5
- end
6
-
7
- def down
8
- add_column :library_groups, :dsbl_list, :text
9
- add_column :library_groups, :use_dsbl, :boolean
10
- end
11
- end