enju_flower 0.1.0.pre16 → 0.1.0.pre17
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/helpers/manifestations_helper.rb +17 -17
- data/app/views/manifestations/_attachment_file.html.erb +1 -1
- data/app/views/manifestations/_carrier_type_facet.html.erb +1 -1
- data/app/views/manifestations/_classification_facet.html.erb +2 -2
- data/app/views/manifestations/_holding.html.erb +1 -1
- data/app/views/manifestations/_index_form.html.erb +2 -2
- data/app/views/manifestations/_index_form_contributor.html.erb +2 -2
- data/app/views/manifestations/_index_form_creator.html.erb +2 -2
- data/app/views/manifestations/_index_form_item.html.erb +2 -2
- data/app/views/manifestations/_index_form_manifestation.html.erb +2 -2
- data/app/views/manifestations/_index_form_parent.html.erb +9 -3
- data/app/views/manifestations/_index_form_publisher.html.erb +2 -2
- data/app/views/manifestations/_index_form_series_statement.html.erb +3 -3
- data/app/views/manifestations/_language_facet.html.erb +2 -2
- data/app/views/manifestations/_library_facet.html.erb +1 -1
- data/app/views/manifestations/_list.html.erb +2 -2
- data/app/views/manifestations/_manifestation.html.erb +53 -51
- data/app/views/manifestations/_manifestation_list.html.erb +2 -2
- data/app/views/manifestations/_paginate_id_link.html.erb +2 -2
- data/app/views/manifestations/_pickup.html.erb +5 -5
- data/app/views/manifestations/_pub_year_facet.html.erb +1 -1
- data/app/views/manifestations/_question_list.html.erb +1 -1
- data/app/views/manifestations/_reservable_facet.html.erb +2 -2
- data/app/views/manifestations/_search_engine.html.erb +1 -1
- data/app/views/manifestations/_show_creators.html.erb +2 -2
- data/app/views/manifestations/_show_creators.mobile.erb +2 -2
- data/app/views/manifestations/_show_detail_librarian.html.erb +14 -10
- data/app/views/manifestations/_show_detail_user.html.erb +14 -10
- data/app/views/manifestations/_show_holding.html.erb +12 -10
- data/app/views/manifestations/_show_holding.mobile.erb +1 -1
- data/app/views/manifestations/_show_index.html.erb +7 -5
- data/app/views/manifestations/_show_index.mobile.erb +3 -3
- data/app/views/manifestations/_show_reservation.html.erb +5 -5
- data/app/views/manifestations/_show_series_index.html.erb +6 -3
- data/app/views/manifestations/_submenu_parent.html.erb +1 -1
- data/app/views/manifestations/_tab_list.html.erb +3 -3
- data/app/views/manifestations/_tab_menu.html.erb +1 -1
- data/app/views/manifestations/_title.html.erb +9 -6
- data/app/views/manifestations/_title.mobile.erb +6 -6
- data/app/views/manifestations/index.atom.builder +3 -3
- data/app/views/manifestations/index.html.erb +15 -14
- data/app/views/manifestations/index.mobile.erb +3 -3
- data/app/views/manifestations/index.mods.builder +1 -1
- data/app/views/manifestations/index.opds.builder +5 -5
- data/app/views/manifestations/index.rdf.builder +4 -4
- data/app/views/manifestations/index.rss.builder +6 -6
- data/app/views/manifestations/index.sru.builder +1 -1
- data/app/views/manifestations/show.html.erb +14 -14
- data/app/views/manifestations/show.mobile.erb +3 -3
- data/app/views/manifestations/show.mods.builder +1 -1
- data/app/views/manifestations/show.rdf.builder +1 -1
- data/app/views/page/_footer.html.erb +3 -2
- data/lib/enju_flower/version.rb +1 -1
- data/spec/controllers/manifestations_controller_spec.rb +22 -22
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/migrate/001_create_agents.rb +0 -1
- data/spec/dummy/db/migrate/{20111201155513_add_devise_to_users.rb → 002_devise_create_users.rb} +18 -16
- data/spec/dummy/db/migrate/005_create_manifestations.rb +4 -16
- data/spec/dummy/db/migrate/006_create_items.rb +0 -3
- data/spec/dummy/db/migrate/035_create_reserves.rb +0 -1
- data/spec/dummy/db/migrate/041_create_roles.rb +13 -0
- data/spec/dummy/db/migrate/077_create_user_groups.rb +3 -7
- data/spec/dummy/db/migrate/080_create_library_groups.rb +0 -1
- data/spec/dummy/db/migrate/20081006090811_create_subscriptions.rb +17 -0
- data/spec/dummy/db/migrate/20081006093246_create_subscribes.rb +14 -0
- data/spec/dummy/db/migrate/20081028083142_create_agent_import_files.rb +0 -2
- data/spec/dummy/db/migrate/20081028083208_create_resource_import_files.rb +1 -3
- data/spec/dummy/db/migrate/20081212080038_create_manifestation_checkout_stats.rb +0 -1
- data/spec/dummy/db/migrate/20081215094302_create_user_checkout_stats.rb +0 -1
- data/spec/dummy/db/migrate/20081216190724_create_manifestation_reserve_stats.rb +0 -1
- data/spec/dummy/db/migrate/20081220023628_create_user_reserve_stats.rb +0 -1
- data/spec/dummy/db/migrate/20090321130448_add_completed_at_to_user_checkout_stat.rb +0 -4
- data/spec/dummy/db/migrate/20100129142347_create_import_requests.rb +0 -1
- data/spec/dummy/db/migrate/20100314190054_add_opening_hour_to_library.rb +9 -0
- data/spec/dummy/db/migrate/{20111201163718_create_user_has_roles.rb → 20100606065209_create_user_has_roles.rb} +2 -0
- data/spec/dummy/db/migrate/20110318183304_add_valid_period_for_new_user_to_user_group.rb +0 -2
- data/spec/dummy/db/migrate/20110627034940_create_series_statement_merge_lists.rb +9 -0
- data/spec/dummy/db/migrate/20110627035057_create_series_statement_merges.rb +12 -0
- data/spec/dummy/db/migrate/20120319173203_create_accepts.rb +14 -0
- data/spec/dummy/db/migrate/20130221154434_add_additional_attributes_to_user.rb +1 -11
- data/spec/dummy/db/migrate/20130412083556_add_latitude_and_longitude_to_library.rb +6 -0
- data/spec/dummy/db/migrate/20140110122216_create_user_import_files.rb +18 -0
- data/spec/dummy/db/migrate/20140110131010_create_user_import_results.rb +11 -0
- data/spec/dummy/db/migrate/20140122054321_create_profiles.rb +20 -0
- data/spec/dummy/db/migrate/20140519170214_create_resource_import_file_transitions.rb +14 -0
- data/spec/dummy/db/migrate/20140519171220_create_import_request_transitions.rb +14 -0
- data/spec/dummy/db/migrate/20140524020735_create_agent_import_file_transitions.rb +14 -0
- data/spec/dummy/db/migrate/20140524074813_create_user_import_file_transitions.rb +14 -0
- data/spec/dummy/db/migrate/20140524135607_create_bookmark_stat_transitions.rb +14 -0
- data/spec/dummy/db/migrate/20140524142813_add_taggings_count_to_tag.rb +5 -0
- data/spec/dummy/db/migrate/20140610123439_drop_email_unique_constraint_enju_leaf_rc10.rb +11 -0
- data/spec/dummy/db/migrate/20140614065404_create_resource_export_files.rb +11 -0
- data/spec/dummy/db/migrate/20140614141500_create_resource_export_file_transitions.rb +14 -0
- data/spec/dummy/db/migrate/20140628072217_add_user_encoding_to_user_import_file.rb +5 -0
- data/spec/dummy/db/migrate/20140628073524_add_user_encoding_to_agent_import_file.rb +5 -0
- data/spec/dummy/db/migrate/20140628073535_add_user_encoding_to_resource_import_file.rb +5 -0
- data/spec/dummy/db/migrate/20140709113413_create_user_export_files.rb +11 -0
- data/spec/dummy/db/migrate/20140709113905_create_user_export_file_transitions.rb +14 -0
- data/spec/dummy/db/migrate/20140720140916_add_binding_item_identifier_to_item.rb +8 -0
- data/spec/dummy/db/migrate/20140720170714_add_default_library_id_to_user_import_file.rb +5 -0
- data/spec/dummy/db/migrate/20140720170735_add_default_user_group_id_to_user_import_file.rb +5 -0
- data/spec/dummy/db/migrate/20140721151416_add_default_shelf_id_to_resource_import_file.rb +5 -0
- data/spec/dummy/db/migrate/20140802082007_add_manifestation_id_to_item.rb +6 -0
- data/spec/dummy/db/migrate/20140810061942_add_user_id_to_user_checkout_stat.rb +12 -0
- data/spec/dummy/db/migrate/20140810091231_add_checkout_icalendar_token_to_profile.rb +6 -0
- data/spec/dummy/db/migrate/20140810091417_add_save_checkout_history_to_profile.rb +5 -0
- data/spec/dummy/db/migrate/20140811031145_add_expired_at_to_profile.rb +5 -0
- data/spec/dummy/db/migrate/20140812093836_add_share_bookmarks_to_profile.rb +5 -0
- data/spec/dummy/db/schema.rb +250 -252
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/solr/default/data/index/_1x.fdt +0 -0
- data/spec/dummy/solr/default/data/index/_1x.fnm +0 -0
- data/spec/dummy/solr/default/data/index/_1x.nvm +0 -0
- data/spec/dummy/solr/default/data/index/{_cx.si → _1x.si} +0 -0
- data/spec/dummy/solr/default/data/index/{_cx_Lucene41_0.tim → _1x_Lucene41_0.tim} +0 -0
- data/spec/dummy/solr/default/data/index/_1x_Lucene41_0.tip +0 -0
- data/spec/dummy/solr/default/data/index/_1y.fdt +0 -0
- data/spec/dummy/solr/default/data/index/_1y.fnm +0 -0
- data/spec/dummy/solr/default/data/index/_1y.nvm +0 -0
- data/spec/dummy/solr/default/data/index/{_cy.si → _1y.si} +0 -0
- data/spec/dummy/solr/default/data/index/{_cy_Lucene41_0.tim → _1y_Lucene41_0.tim} +0 -0
- data/spec/dummy/solr/default/data/index/{_cy_Lucene41_0.tip → _1y_Lucene41_0.tip} +0 -0
- data/spec/dummy/solr/default/data/index/_1z.fdt +0 -0
- data/spec/dummy/solr/default/data/index/_1z.fnm +0 -0
- data/spec/dummy/solr/default/data/index/_1z.nvm +0 -0
- data/spec/dummy/solr/default/data/index/{_cz.si → _1z.si} +0 -0
- data/spec/dummy/solr/default/data/index/{_cz_Lucene41_0.tim → _1z_Lucene41_0.tim} +0 -0
- data/spec/dummy/solr/default/data/index/{_cz_Lucene41_0.tip → _1z_Lucene41_0.tip} +0 -0
- data/spec/dummy/solr/default/data/index/segments.gen +0 -0
- data/spec/dummy/solr/default/data/index/segments_2p +0 -0
- data/spec/dummy/solr/default/data/tlog/{tlog.0000000000000000591 → tlog.0000000000000000093} +0 -0
- data/spec/dummy/solr/default/data/tlog/tlog.0000000000000000094 +0 -0
- data/spec/dummy/solr/default/data/tlog/{tlog.0000000000000000593 → tlog.0000000000000000095} +0 -0
- data/spec/dummy/tmp/cache/4F7/F90/default_role +0 -0
- data/spec/dummy/tmp/cache/6E4/420/search_engine_all +0 -0
- data/spec/factories/profile.rb +10 -0
- data/spec/factories/user.rb +0 -13
- data/spec/fixtures/import_requests.yml +0 -3
- data/spec/fixtures/items.yml +46 -21
- data/spec/fixtures/library_groups.yml +0 -2
- data/spec/fixtures/manifestations.yml +0 -2
- data/spec/fixtures/profiles.yml +98 -0
- data/spec/fixtures/reserve_transitions.yml +88 -0
- data/spec/fixtures/resource_import_files.yml +0 -4
- data/spec/fixtures/users.yml +0 -55
- metadata +158 -140
- data/spec/dummy/db/migrate/113_create_events.rb +0 -23
- data/spec/dummy/db/migrate/114_create_event_categories.rb +0 -16
- data/spec/dummy/db/migrate/149_create_message_templates.rb +0 -18
- data/spec/dummy/db/migrate/154_create_messages.rb +0 -24
- data/spec/dummy/db/migrate/20080819181903_create_message_requests.rb +0 -20
- data/spec/dummy/db/migrate/20081028093607_create_event_import_files.rb +0 -27
- data/spec/dummy/db/migrate/20081117143156_create_inventory_files.rb +0 -18
- data/spec/dummy/db/migrate/20081117143455_create_inventories.rb +0 -17
- data/spec/dummy/db/migrate/20090519203307_create_participates.rb +0 -17
- data/spec/dummy/db/migrate/20090706125521_add_attachments_inventory_to_inventory_file.rb +0 -15
- data/spec/dummy/db/migrate/20100527113752_create_delayed_jobs.rb +0 -21
- data/spec/dummy/db/migrate/20100925074639_create_event_import_results.rb +0 -15
- data/spec/dummy/db/migrate/20110425133109_add_issn_to_series_statement.rb +0 -9
- data/spec/dummy/db/migrate/20110618091240_add_periodical_to_series_statement.rb +0 -9
- data/spec/dummy/db/migrate/20110820131417_create_series_has_manifestations.rb +0 -13
- data/spec/dummy/db/migrate/20110913115320_add_lft_and_rgt_to_message.rb +0 -11
- data/spec/dummy/db/migrate/20110916053430_rename_manifestation_number_list_to_number_string.rb +0 -13
- data/spec/dummy/db/migrate/20111009183423_add_ndc_to_manifestation.rb +0 -9
- data/spec/dummy/db/migrate/20111201121844_create_roles.rb +0 -12
- data/spec/dummy/db/migrate/20111201155456_create_users.rb +0 -8
- data/spec/dummy/db/migrate/20120105101944_add_queue_to_delayed_jobs.rb +0 -9
- data/spec/dummy/db/migrate/20120125050502_add_depth_to_message.rb +0 -6
- data/spec/dummy/db/migrate/20120413051535_add_event_import_fingerprint_to_event_import_file.rb +0 -5
- data/spec/dummy/db/migrate/20120413100431_add_fingerprint_to_inventory_file.rb +0 -5
- data/spec/dummy/db/migrate/20120413170734_add_error_message_to_event_import_file.rb +0 -5
- data/spec/dummy/db/migrate/20120415060308_rename_resource_import_file_imported_at_to_executed_at.rb +0 -9
- data/spec/dummy/db/migrate/20120415060342_rename_event_import_file_imported_at_to_executed_at.rb +0 -9
- data/spec/dummy/db/migrate/20120728204337_create_series_statement_relationships.rb +0 -11
- data/spec/dummy/db/migrate/20130303104849_add_state_index_to_reserve.rb +0 -5
- data/spec/dummy/db/migrate/20140529014410_create_item_transitions.rb +0 -14
- data/spec/dummy/solr/default/data/index/_cx.fdt +0 -0
- data/spec/dummy/solr/default/data/index/_cx.fnm +0 -0
- data/spec/dummy/solr/default/data/index/_cx.nvm +0 -0
- data/spec/dummy/solr/default/data/index/_cx_Lucene41_0.tip +0 -0
- data/spec/dummy/solr/default/data/index/_cy.fdt +0 -0
- data/spec/dummy/solr/default/data/index/_cy.fnm +0 -0
- data/spec/dummy/solr/default/data/index/_cy.nvm +0 -0
- data/spec/dummy/solr/default/data/index/_cz.fdt +0 -0
- data/spec/dummy/solr/default/data/index/_cz.fnm +0 -0
- data/spec/dummy/solr/default/data/index/_cz.nvm +0 -0
- data/spec/dummy/solr/default/data/index/segments_gj +0 -0
- data/spec/dummy/solr/default/data/tlog/tlog.0000000000000000592 +0 -0
- /data/spec/dummy/solr/default/data/index/{_cx.fdx → _1x.fdx} +0 -0
- /data/spec/dummy/solr/default/data/index/{_cx.nvd → _1x.nvd} +0 -0
- /data/spec/dummy/solr/default/data/index/{_cx_Lucene41_0.doc → _1x_Lucene41_0.doc} +0 -0
- /data/spec/dummy/solr/default/data/index/{_cx_Lucene41_0.pos → _1x_Lucene41_0.pos} +0 -0
- /data/spec/dummy/solr/default/data/index/{_cy.fdx → _1y.fdx} +0 -0
- /data/spec/dummy/solr/default/data/index/{_cy.nvd → _1y.nvd} +0 -0
- /data/spec/dummy/solr/default/data/index/{_cy_Lucene41_0.doc → _1y_Lucene41_0.doc} +0 -0
- /data/spec/dummy/solr/default/data/index/{_cy_Lucene41_0.pos → _1y_Lucene41_0.pos} +0 -0
- /data/spec/dummy/solr/default/data/index/{_cz.fdx → _1z.fdx} +0 -0
- /data/spec/dummy/solr/default/data/index/{_cz.nvd → _1z.nvd} +0 -0
- /data/spec/dummy/solr/default/data/index/{_cz_Lucene41_0.doc → _1z_Lucene41_0.doc} +0 -0
- /data/spec/dummy/solr/default/data/index/{_cz_Lucene41_0.pos → _1z_Lucene41_0.pos} +0 -0
data/spec/fixtures/users.yml
CHANGED
@@ -1,106 +1,51 @@
|
|
1
1
|
---
|
2
2
|
admin:
|
3
3
|
updated_at: 2008-05-31 13:16:30.163731 +09:00
|
4
|
-
checkout_icalendar_token: 577830b08ecf9c4c4333d599a57a6f44a7fe76c0
|
5
4
|
encrypted_password: $2a$10$vHohD1WflnTIqAa8zMkF9evwAgIZRw3XuR4d3bi29M.jph/MB/AJi
|
6
|
-
user_group_id: 2
|
7
5
|
id: 1
|
8
|
-
note:
|
9
6
|
username: admin
|
10
|
-
library_id: 2
|
11
7
|
email: tanabe@kamata.lib.teu.ac.jp
|
12
8
|
created_at: 2007-11-19 16:58:32.111941 +09:00
|
13
|
-
save_checkout_history: true
|
14
|
-
required_role_id: 4
|
15
|
-
user_number: "00001"
|
16
|
-
locale: "ja"
|
17
9
|
librarian1:
|
18
10
|
updated_at: 2008-05-31 12:41:16.337474 +09:00
|
19
|
-
checkout_icalendar_token: AVRjefcBcey6f1WyYXDl
|
20
11
|
encrypted_password: $2a$10$9O2VuTccN4gHq36ARg0QReSrb1D7WrBBhZZ759RM9moHbB0W5zCzS
|
21
|
-
user_group_id: 1
|
22
12
|
id: 2
|
23
|
-
note:
|
24
13
|
username: librarian1
|
25
|
-
library_id: 1
|
26
14
|
email: librarian1@kamata.lib.teu.ac.jp
|
27
15
|
created_at: 2007-11-19 16:58:33.172441 +09:00
|
28
|
-
save_checkout_history: false
|
29
|
-
required_role_id: 1
|
30
|
-
user_number: "00002"
|
31
|
-
locale: "ja"
|
32
16
|
user1:
|
33
17
|
updated_at: 2008-05-31 13:02:25.101261 +09:00
|
34
|
-
checkout_icalendar_token: h75t40Hk364eBQOkmVnH
|
35
18
|
encrypted_password: $2a$10$JthS59A0BNkDOoFpCXM0V.GhhffKaoWKbzpPahYp/vTFrOyM7h/uW
|
36
|
-
user_group_id: 1
|
37
19
|
id: 3
|
38
|
-
note:
|
39
20
|
username: user1
|
40
|
-
library_id: 2
|
41
21
|
email: user1@kamata.lib.teu.ac.jp
|
42
22
|
created_at: 2007-11-19 16:58:34.637413 +09:00
|
43
|
-
save_checkout_history: true
|
44
|
-
required_role_id: 3
|
45
|
-
checkout_icalendar_token: e3e0277cbba03183c3a12d2b740f3eabebd7df0d
|
46
|
-
user_number: "00003"
|
47
|
-
locale: "ja"
|
48
23
|
librarian2:
|
49
24
|
updated_at: 2008-05-31 12:42:23.340575 +09:00
|
50
|
-
checkout_icalendar_token:
|
51
25
|
encrypted_password: $2a$10$YmmTGrYQ1Ir6oc7wXnp.GuNeO1eYLoP3sv8wMSIrTdaGw2BPwRrpS
|
52
|
-
user_group_id: 1
|
53
26
|
id: 4
|
54
|
-
note:
|
55
27
|
username: librarian2
|
56
|
-
library_id: 2
|
57
28
|
email: librarian2@library.example.jp
|
58
29
|
created_at: 2008-01-18 12:24:04.222344 +09:00
|
59
|
-
required_role_id: 1
|
60
|
-
user_number: "00004"
|
61
|
-
locale: "ja"
|
62
30
|
user2:
|
63
31
|
updated_at: 2008-05-31 12:42:44.711117 +09:00
|
64
|
-
checkout_icalendar_token:
|
65
32
|
encrypted_password: $2a$10$i7UjJhLVrJM/J7qaTwW39OXw1NiwowUEbtNHVDV0sqMLjX9.UO9ca
|
66
|
-
user_group_id: 1
|
67
33
|
id: 5
|
68
|
-
note:
|
69
34
|
username: user2
|
70
|
-
library_id: 1
|
71
35
|
email: user2@library.example.jp
|
72
36
|
created_at: 2008-01-18 13:29:06.922728 +09:00
|
73
|
-
required_role_id: 2
|
74
|
-
# user_number: '00005'
|
75
|
-
locale: "ja"
|
76
37
|
user3:
|
77
38
|
updated_at: 2008-05-31 13:02:25.101261 +09:00
|
78
|
-
checkout_icalendar_token: h75t40Hk364eBQOkmVnH
|
79
39
|
encrypted_password: cc53de0c2d9a1a228daa9a673ec824473747e17507a6c3c4f7e5eff8821f531d4b9e23616b3ddc66fe17006b2298a556fbd567ac080e87f00f37eef8cee6c417
|
80
|
-
user_group_id: 1
|
81
40
|
id: 6
|
82
|
-
note:
|
83
41
|
username: user3
|
84
|
-
library_id: 2
|
85
42
|
email: user3@kamata.lib.teu.ac.jp
|
86
43
|
created_at: 2007-11-19 16:58:34.637413 +09:00
|
87
|
-
required_role_id: 3
|
88
|
-
checkout_icalendar_token:
|
89
|
-
user_number: "00006"
|
90
|
-
locale: "ja"
|
91
44
|
user4:
|
92
45
|
updated_at: 2008-05-31 13:02:25.101261 +09:00
|
93
|
-
checkout_icalendar_token: h75t40Hk364eBQOkmVnH
|
94
46
|
encrypted_password: cc53de0c2d9a1a228daa9a673ec824473747e17507a6c3c4f7e5eff8821f531d4b9e23616b3ddc66fe17006b2298a556fbd567ac080e87f00f37eef8cee6c417
|
95
|
-
user_group_id: 1
|
96
47
|
id: 7
|
97
|
-
note:
|
98
48
|
username: user4
|
99
|
-
library_id: 2
|
100
49
|
email: user4@kamata.lib.teu.ac.jp
|
101
50
|
created_at: 2007-11-19 16:58:34.637413 +09:00
|
102
|
-
required_role_id: 3
|
103
|
-
checkout_icalendar_token:
|
104
|
-
user_number: "00007"
|
105
|
-
locale: "ja"
|
106
51
|
locked_at: <%= 1.day.ago %>
|